GNOME Bugzilla – Bug 140058
[msmpeg4] file with broken qscale/header does not play
Last modified: 2004-12-22 21:47:04 UTC
The movie found at http://sault.org/~tack/clips/clip.avi does not work with totem. It works with mplayer (cvs head and 0.8.20040325.1.fc1.fr) and xine [msmpeg4 @ 0x1470948]invalid qscale [msmpeg4 @ 0x1470948]header damaged ERROR default( 4199) gstffmpegdec.c(405):gst_ffmpegdec_chain:<ffdec_msmpeg40> ffdec_msmpeg4: decoding error [msmpeg4 @ 0x1470948]invalid qscale [msmpeg4 @ 0x1470948]header damaged ERROR default( 4199) gstffmpegdec.c(405):gst_ffmpegdec_chain:<ffdec_msmpeg40> ffdec_msmpeg4: decoding error MPlayer output: VIDEO: [DIVX] 616x460 24bpp 29.970 fps 1239.4 kbps (151.3 kbyte/s) Clip info: Software: MEncoder dev-CVS-040411-10:02-3.2.2 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 MP3lib: init layer2&3 finished, tables done AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... Starting playback... VDec: vo config request - 616 x 460 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
Whoops, typo in riff-media.c. Fixed in CVS.
For future reference, this patch did it: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/riff/riff-media.c.diff?r1=1.12&r2=1.13