[Ffmpeg-devel] MJPEG decoding error

Michael Niedermayer michaelni
Thu Dec 29 03:59:16 CET 2005


Hi


On Wed, Dec 28, 2005 at 04:03:11PM -1000, Steve Lhomme wrote:
> Hi,
> 
> I have an AVI file with MJPEG that can't be reencoded using FFMPEG, 
> although it plays fine in FFDShow. I verified and the code is similar. 
> The crash in FFMPEG happens when resampling the image before encoding. I 
> think that code is not used in FFDShow.
> 
> The URL to the crashing sample is :
> http://www.matroska.org/~robux4/drdivx/wiz011.avi
> 
> Anyone could investigate this ? I checked the latest CVS under MinGW and 
> I have the crash.

and a debugger and bugreports.html and so wheres the gdb output?

bug closed not reproduceable:
ffmpeg -i wiz011.avi -an -s 320x240 test.avi
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-pthreads --cc=/home/michael/bin/colorgcc --enable-mp3lame --enable-a52 --enable-vorbis --enable-faad --enable-gpl --enable-libogg 
  built on Dec 28 2005 16:49:31, gcc: 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
Input #0, avi, from 'wiz011.avi.1':
  Duration: 00:00:05.9, start: 0.000000, bitrate: 17667 kb/s
  Stream #0.0, 25.00 fps(r): Video: mjpeg, yuvj422p, 768x576
  Stream #0.1: Audio: pcm_s16le, 47993 Hz, stereo, 1535 kb/s
File 'test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'test.avi':
  Stream #0.0, 25.00 fps(c): Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
[mpeg4 @ 0x8349248]removing common factors from framerate
Press [q] to stop encoding
frame=  150 q=5.6 Lsize=     351kB time=6.0 bitrate= 478.6kbits/s    
video:342kB audio:0kB global headers:0kB muxing overhead 2.369741%


> 
> thanks
> 
> PS: for the record, the latest DV patch doesn't work when you call the 
> encoder twice (using libavcodec as a library called many times).

then why not submit a bugreport? roman shaposhnick almost certainly will
miss this PS note otherwise

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list