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 330632 - [qtdemux] MP3 stream in MP4 container not playable
[qtdemux] MP3 stream in MP4 container not playable
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-10 08:16 UTC by Peter Eszlari
Modified: 2006-05-11 09:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Eszlari 2006-02-10 08:16:47 UTC
ftp://mirrors.blueyonder.co.uk/mirrors/ftp.planetquake3.net/movies/q3fuel2.zip

Playing this file crashes totem.

Video-only playback works:
gst-launch-0.10 filesrc location=q3fuel2.mp4 ! qtdemux ! ffdec_h264 ! xvimagesink

Audio-only playback does not work:
gst-launch-0.10 filesrc location=q3fuel2.mp4 ! qtdemux ! mad ! alsasink



Also files produced by MP4Box(gpac.sf.net) that contain an MP3 stream (e.g. encoded with LAME) don't work.
Comment 1 Peter Eszlari 2006-02-14 23:14:13 UTC
If you don't want to download such a big file, you can produce a sample yourself. All you need is lame and gpac (http://sourceforge.net/projects/gpac):

$ lame somefile.wav test.mp3
$ MP4box -add test.mp3 test.mp4
$ totem test.mp4
Comment 2 Edward Hervey 2006-02-15 12:58:08 UTC
the problem is qtdemux detects the audio stream as being an audio/mpeg, mpegversion=(int)4, framed=(boolean)true stream since it's got a 'mp4a' stream type...

Maybe there's more info in the 'iods' or 'avc1' atoms.

the good thing is that we play the video... whereas mplayer crashes :)
Comment 3 Peter Eszlari 2006-02-15 16:28:10 UTC
Which mplayer version are you using?
mplayer plays it fine here.
Comment 4 Edward Hervey 2006-02-15 16:32:21 UTC
MPlayer 1.0pre7try2-3.4.5 (C) 2000-2005 MPlayer Team
Comment 5 Peter Eszlari 2006-02-15 16:44:24 UTC
As they say on their mailing list: "Always use CVS!" :)

Mine is:  MPlayer dev-CVS-060118-13:12-3.3.6 (C) 2000-2006 MPlayer Team
Comment 6 Wim Taymans 2006-05-11 07:49:30 UTC
mp4a has a flag somewhere to indicate the mpeg version. we should use that flag.
Comment 7 Wim Taymans 2006-05-11 09:10:25 UTC
        * gst/qtdemux/qtdemux.c: (qtdemux_parse), (qtdemux_parse_trak),
        (gst_qtdemux_handle_esds):
        Figure out the real audio type in mp4a boxes by parsing the
        optional descriptors in the optional esds box. Promote the
        default AAC to mp3 when indicated. Fixes #330632.