GNOME Bugzilla – Bug 338767
[matroska] file with H264 video + MPEG2-AAC audio does not work
Last modified: 2006-05-04 17:49:08 UTC
Steps to reproduce: gst-launch-0.10 playbin uri=file:///home/cschalle/Rufus/incoming/completed/Final.Fantasy.VII.Advent.Children-GiLgAmEsH.mkv Setting pipeline to PAUSED ... Pipeline is PREROLLING ... (gst-launch-0.10:17108): GStreamer-CRITICAL **: gst_debug_log_valist: assertion `category != NULL' failed ERROR: from element /playbin0: A subtitle stream was detected, but no video stream. Additional debug info: gstplaybasebin.c(1468): prepare_output (): /playbin0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Segmentation fault The Matroska file contains AAC audio and H264 video Stack trace: (gdb) cont Continuing. [New Thread -1265767520 (LWP 17170)] [New Thread -1276257376 (LWP 17171)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208363344 (LWP 17138)] 0x0031e372 in gst_element_remove_pad (element=0xa10a018, pad=0xa100810) at gstelement.c:743 743 g_critical ("Padname %s:%s does not belong to element %s when removing", (gdb) thread apply all bt
+ Trace 67659
Thread 6 (Thread -1276257376 (LWP 17171))
Thread 1 (Thread -1208363344 (LWP 17138))
Other information:
Stack trace from totem, gst-launch output here: gst-launch-0.10 -v playbin uri=file:///home/cschalle/Rufus/incoming/completed/Final.Fantasy.VII.Advent.Children-GiLgAmEsH.mkv Setting pipeline to PAUSED ... /playbin0/decoder.sink: caps = NULL /playbin0/decoder/typefind.src: caps = video/x-matroska Pipeline is PREROLLING ... (gst-launch-0.10:17192): GStreamer-CRITICAL **: gst_debug_log_valist: assertion `category != NULL' failed /playbin0/decoder.src0: caps = NULL /playbin0/decoder.src1: caps = NULL ERROR: from element /playbin0: A subtitle stream was detected, but no video stream. Additional debug info: gstplaybasebin.c(1468): prepare_output (): /playbin0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... /playbin0/decoder/matroskademux0.subtitle_00: caps = NULL /playbin0/decoder/matroskademux0.audio_00: caps = NULL Segmentation fault A GST_DEBUG log from totem is here: http://www.linuxrising.org/files/matroska.txt.bz2 and using gst-launch here: http://www.linuxrising.org/files/matroska-launch.bz2 The file plays in Xine and mplayer
2006-04-20 Tim-Philipp Müller <tim at centricular dot net> * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): Make mpeg2 aac audio work: create artificial private codec data chunk which faad2 seems to require, just as we do for mpeg4 aac. Also call gst_riff_init(). Partially fixes #338767. Works for me now, with the patch from bug #339047 applied as well.
This should be completely fixed now (should work with faad from current -bad release).