GNOME Bugzilla – Bug 341231
[qtdemux] [faad] audio in some superman trailers doesn't work
Last modified: 2006-05-10 17:45:29 UTC
Take: http://images.apple.com/movies/wb/superman_returns/superman_returns-tlr1_h480p.mov qtdemux claims this streams has the following caps: audio/mpeg, mpegversion=(int)4, framed=(boolean)true, rate=(int)1, channels=(int)3 which then interfers with our new faad magic and leads to one of the usual mysterious faad errors.
This only happens with the first trailer - the 2nd one (tlr2) plays fine for me.
Actually, I take that back - the normal small, medium and large trailers are fine in both tlr1 and tlr2, but the High Definition 480p/720p/1080p versions are broken. The main difference between the 2 would seem to be that the HD trailers have 5.1 AAC in them instead of stereo.
yow. version2 sample descriptiors are not parsed, setting a wrong samplerate/channels on the caps. Following patch fixes this. * gst/qtdemux/qtdemux.c: (qtdemux_parse), (qtdemux_dump_unknown), (qtdemux_parse_trak), (gst_qtdemux_handle_esds): Parse version 2 sample descriptions. Fixes #341231 Don't #define gst_util_dump_mem(), use something more specific instead to avoid confusion.