[FFmpeg-trac] #52(FFmpeg:new): mjpeg decoder is broken (at least with ga61bc91)

FFmpeg trac at avcodec.org
Sat Apr 9 14:00:48 CEST 2011


#52: mjpeg decoder is broken (at least with ga61bc91)
--------------------------+---------------------
  Reporter:  ami_stuff    |      Owner:  michael
      Type:  defect       |     Status:  new
  Priority:  normal       |  Component:  FFmpeg
   Version:  unspecified  |   Keywords:
Blocked By:               |   Blocking:
Reproduced:  0            |   Analyzed:  0
--------------------------+---------------------
 Please test if this bug is still valid with the HEAD, ga61bc91 generates
 broken output for MJPEG decoder.

 http://samples.mplayerhq.hu/V-codecs/MJPEGs/pegasus_mjpeg/pegasus_mjpeg.avi

 C:\>ffmpeg -i C:\pegasus_mjpeg.avi -vcodec msmpeg4v2 out3.avi
 FFmpeg version git-N-28949-ga61bc91, Copyright (c) 2000-2011 the FFmpeg
 develope
 rs
   built on Apr  9 2011 00:01:59 with gcc 4.5.2
   configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
 os=mingw32
 --prefix=/ffmpeg/builds/git-N-28949-ga61bc91-static --enable-memalign-hack
 --dis
 able-shared --enable-static --enable-w32threads --disable-debug --enable-
 gpl --e
 nable-version3 --enable-runtime-cpudetect --enable-zlib --enable-bzlib
 --enable-
 avisynth --enable-postproc --enable-libmp3lame --enable-libx264 --enable-
 libvorb
 is --enable-libtheora --enable-libspeex --enable-libopencore-amrnb
 --enable-libo
 pencore-amrwb --enable-libxvid --enable-libgsm --enable-libvpx --disable-
 decoder
 =libvpx --enable-librtmp --enable-libopenjpeg --enable-frei0r --enable-
 libxavs -
 -cc='ccache i686-pc-mingw32-gcc'
   libavutil    50. 40. 1 / 50. 40. 1
   libavcodec   52.117. 0 / 52.117. 0
   libavformat  52.106. 0 / 52.106. 0
   libavdevice  52.  4. 0 / 52.  4. 0
   libavfilter   1. 77. 1 /  1. 77. 1
   libswscale    0. 13. 0 /  0. 13. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, avi, from 'C:\pegasus_mjpeg.avi':
   Duration: 00:02:29.60, start: 0.000000, bitrate: 448 kb/s
     Stream #0.0: Video: mjpeg, yuvj422p, 480x260, 20 tbr, 20 tbn, 20 tbc
     Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 319 kb/s
 Incompatible pixel format 'yuvj422p' for codec 'msmpeg4v2', auto-selecting
 forma
 t 'yuv420p'
 [buffer @ 01ca2540] w:480 h:260 pixfmt:yuvj422p
 [ffsink @ 01ca2760] auto-inserting filter 'auto-inserted scaler 0' between
 the f
 ilter 'src' and the filter 'out'
 [scale @ 01ca2a00] w:480 h:260 fmt:yuvj422p -> w:480 h:260 fmt:yuv420p
 flags:0x4

 [mp2 @ 01c9a2b0] The requested thread algorithm is not supported with this
 threa
 d library.
 Output #0, avi, to 'out3.avi':
   Metadata:
     ISFT            : Lavf52.106.0
     Stream #0.0: Video: msmpeg4v2, yuv420p, 480x260, q=2-31, 200 kb/s, 20
 tbn, 2
 0 tbc
     Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Press [q] to stop encoding
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 5 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 5 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 2 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 7 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 7 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 7 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 3 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 5 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 2 dct coefficients to -127..127
     Last message repeated 1 times
 [msmpeg4v2 @ 022297e0] warning, clipping 1 dct coefficients to -127..127
     Last message repeated 83 times   485kB time=9.55 bitrate= 415.7kbits/s
 frame=  218 fps= 78 q=31.0 Lsize=     573kB time=10.90 bitrate=
 430.7kbits/s

 video:459kB audio:89kB global headers:0kB muxing overhead 4.666883%

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/52>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list