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 338767 - [matroska] file with H264 video + MPEG2-AAC audio does not work
[matroska] file with H264 video + MPEG2-AAC audio does not work
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal critical
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 339047
Blocks:
 
 
Reported: 2006-04-17 11:07 UTC by Christian Fredrik Kalager Schaller
Modified: 2006-05-04 17:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Christian Fredrik Kalager Schaller 2006-04-17 11:07:29 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

Thread 6 (Thread -1276257376 (LWP 17171))

  • #0 clone
    from /lib/libc.so.6
  • #1 ??
  • #2 ??

Thread 1 (Thread -1208363344 (LWP 17138))

  • #0 gst_element_remove_pad
    at gstelement.c line 743
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 gst_element_change_state
    at gstelement.c line 2177

Other information:
Comment 1 Christian Fredrik Kalager Schaller 2006-04-17 11:16:26 UTC
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
Comment 2 Tim-Philipp Müller 2006-04-20 09:12:59 UTC
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.

Comment 3 Tim-Philipp Müller 2006-05-04 17:49:08 UTC
This should be completely fixed now (should work with faad from current -bad release).