[Ffmpeg-devel] MJPEG decoding error

Steve Lhomme slhomme
Thu Dec 29 04:46:16 CET 2005


Michael Niedermayer wrote:
>>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?

I have a debugger but it's not gdb. One of the main reason I (and a lot 
of people) stay away from MinGW is gdb. And as a matter of fact, it's 
not bundled with MinGW...

> 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%

Here is mine :

C:\Perso\Programmes\ffmpeg.cvs>ffmpeg -y -i c:\test\DivX\wiz011.avi -an 
-s 320x2
40 test.avi
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --enable-memalign-hack --enable-shared --disable-debug
   built on Dec 28 2005 14:48:21, gcc: 3.4.4 (mingw special)
Input #0, avi, from 'c:\test\DivX\wiz011.avi':
   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
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 @ 00684628]removing common factors from framerate

=> crash happens here.

>>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

Because it's much faster than sending a patch for it.





More information about the ffmpeg-devel mailing list