[FFmpeg-trac] #1145(undetermined:new): jpeg: problem with MCU-rows and progressive mode

FFmpeg trac at avcodec.org
Wed Mar 28 21:17:48 CEST 2012


#1145: jpeg: problem with MCU-rows and progressive mode
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 jpeg: problem with MCU-rows and progressive mode

 The attached files are 24bpp (YCbCr), progressive, 1:1:1 (11:11:11)

 When "Restart Interval in MCU-Rows" option is set to other value than 0
 then FFmpeg decodes the file incorrectly.

 {{{
 C:\>ffmpeg -i MCU5.jpg out.bmp
 ffmpeg version N-39339-ga0340df Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Mar 28 2012 02:25:58 with gcc 4.5.0 20100414 (Fedora MinGW
 4.5.0-1.fc
 14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
 cpudetect
 --enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -
 lwinmm' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapshots/buil
 d/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/snapshots/b
 uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
 --enable-n
 onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
 libvorbis
 --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
 libopencor
 e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
   libavutil      51. 44.100 / 51. 44.100
   libavcodec     54. 12.100 / 54. 12.100
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 66.100 /  2. 66.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 10.100 /  0. 10.100
   libpostproc    52.  0.100 / 52.  0.100
 [mjpeg @ 0x1daa160] error count: 268435456
 [mjpeg @ 0x1daa160] error y=5 x=0
 [mjpeg @ 0x1daa160] error count: 268435456
 [mjpeg @ 0x1daa160] error y=5 x=0
 Input #0, image2, from 'MCU5.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj444p, 1024x768 [SAR 96:96 DAR 4:3], 25
 tbr, 2
 5 tbn, 25 tbc
 Incompatible pixel format 'yuvj444p' for codec 'bmp', auto-selecting
 format 'bgr
 24'
 [buffer @ 0x1db1320] w:1024 h:768 pixfmt:yuvj444p tb:1/1000000 sar:96/96
 sws_par
 am:
 [buffersink @ 0x1db15a0] auto-inserting filter 'auto-inserted scale 0'
 between t
 he filter 'src' and the filter 'out'
 [scale @ 0x1db1840] w:1024 h:768 fmt:yuvj444p sar:96/96 -> w:1024 h:768
 fmt:bgr2
 4 sar:1/1 flags:0x4
 Output #0, image2, to 'out.bmp':
   Metadata:
     encoder         : Lavf54.3.100
     Stream #0:0: Video: bmp, bgr24, 1024x768 [SAR 1:1 DAR 4:3], q=2-31,
 200 kb/s
 , 90k tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg -> bmp)
 Press [q] to stop, [?] for help
 [mjpeg @ 0x1daa160] error count: 268435456
 [mjpeg @ 0x1daa160] error y=5 x=0
 [mjpeg @ 0x1daa160] error count: 268435456
 [mjpeg @ 0x1daa160] error y=5 x=0
 frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 0.0kbits/
 s
 video:2304kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

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


More information about the FFmpeg-trac mailing list