After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666964 - x264enc: GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUTABLE (structure)' failed
x264enc: GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUT...
Status: RESOLVED DUPLICATE of bug 640272
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-28 19:45 UTC by Otávio Cipriani
Modified: 2011-12-29 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Otávio Cipriani 2011-12-28 19:45:21 UTC
When executing the command bellow, the following messages appear:

$ gst-launch-0.10 dvdreadsrc device=${ISO} num-buffers=300 title=2 ! dvddemux name=demuxer matroskamux name=muxer ! filesink location=${MKV} demuxer.video_00 ! multiqueue name=mq demuxer.subpicture_00 ! mq. demuxer.audio_00 ! mq. demuxer.audio_01 ! mq. mq. ! mpeg2dec ! dvdspu name=spu mq. ! spu. mq. ! ffdec_ac3 ! audioconvert ! ffenc_aac ! muxer. mq. ! ffdec_ac3 ! audioconvert ! ffenc_aac ! muxer. spu. ! x264enc psy-tune=2 speed-preset=7 profile=3 ! muxer.

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_id_set_value: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_id_set_value: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_remove_field: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_id_set_value: assertion `IS_MUTABLE (structure)' failed

(gst-launch-0.10:2355): GStreamer-CRITICAL **: gst_structure_id_set_value: assertion `IS_MUTABLE (structure)' failed

The MKV file is created and plays without errors.
Comment 1 Tim-Philipp Müller 2011-12-28 23:51:30 UTC
Could you run this (preferably after installing debugging symbols for gstreamer and the various plugin packages):

 $ export G_DEBUG=fatal_warnings
 $ gdb --args /usr/bin/gst-launch-0.10 dvdreadsrc ......
 (gdb) run
 ... wait until it aborts ..
 (gdb) bt
 ... copy'n'paste the output ...
 (gdb) k
Comment 2 Otávio Cipriani 2011-12-29 12:26:47 UTC
I don't know for sure if I installed all debug symbols, but here is the backtrace:

  • #0 raise
    from /lib/libc.so.6
  • #1 abort
    from /lib/libc.so.6
  • #2 g_logv
    from /lib/libglib-2.0.so.0
  • #3 g_log
    from /lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gstreamer-0.10/libgstx264.so
  • #5 gst_pad_send_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #6 gst_pad_push_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_pad_event_default
    from /usr/lib/libgstreamer-0.10.so.0
  • #8 gst_dvd_spu_video_event
    at gstdvdspu.c line 502
  • #9 gst_pad_send_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 gst_pad_push_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 gst_mpeg2dec_sink_event
    at gstmpeg2dec.c line 1344
  • #12 gst_pad_send_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_pad_push_event
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 ??
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #15 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 ??
    from /lib/libglib-2.0.so.0
  • #17 ??
    from /lib/libglib-2.0.so.0
  • #18 start_thread
    from /lib/libpthread.so.0
  • #19 clone
    from /lib/libc.so.6
  • #20 ??

Comment 3 Tim-Philipp Müller 2011-12-29 14:19:14 UTC
This looks like bug #640272, though it's hard to say for sure since you don't seem to have debugging symbols for gst-plugins-ugly / the x264enc plugin.

What's the output of:

 $ gst-inspect-0.10 x264enc | grep Version

?
Comment 4 Otávio Cipriani 2011-12-29 14:46:33 UTC
0.10.17
Comment 5 Tim-Philipp Müller 2011-12-29 15:04:11 UTC
Alright, I think this is a duplicate then. It should be fixed in 0.10.18. Thanks for the follow-up.

*** This bug has been marked as a duplicate of bug 640272 ***