Opened 12 years ago

Closed 12 years ago

#907 closed defect (fixed)

ljpeg: 24bpp non-interleaved with MCU15 decodes incorrectly

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mjpeg ljpeg
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

interleaved file decodes ok

C:\>ffmpeg -i 24bpp_MCU15_noninterleaved.jpg hhhhh2.tif
ffmpeg version N-36622-g9273efa Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  9 2012 02:35:32 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. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
[mjpeg @ 0x2265b60] mjpeg_decode_dc: bad vlc: 0:0 (0x1d09a48)
    Last message repeated 1 times
Input #0, image2, from '24bpp_MCU15_noninterleaved.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, bgr24, 999x749 [SAR 96:96 DAR 999:749], 25 tbr, 2
5 tbn, 25 tbc
Incompatible pixel format 'bgr24' for codec 'tiff', auto-selecting format 'rgb24
'
[buffer @ 0x1d119e0] w:999 h:749 pixfmt:bgr24 tb:1/1000000 sar:96/96 sws_param:
[buffersink @ 0x1d11c60] auto-inserting filter 'auto-inserted scale 0' between t
he filter 'src' and the filter 'out'
[scale @ 0x1d111a0] w:999 h:749 fmt:bgr24 -> w:999 h:749 fmt:rgb24 flags:0x4
Output #0, image2, to 'hhhhh2.tif':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: tiff, rgb24, 999x749 [SAR 1:1 DAR 999:749], q=2-31, 200
kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> tiff)
Press [q] to stop, [?] for help
[mjpeg @ 0x2265b60] mjpeg_decode_dc: bad vlc: 0:0 (0x1d041e8)
    Last message repeated 1 times
frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:2201kB audio:0kB global headers:0kB muxing overhead -100.000000%

Attachments (2)

24bpp_MCU15_noninterleaved.jpg (2.4 MB ) - added by ami_stuff 12 years ago.
24bpp_MCU15_interleaved.jpg (2.4 MB ) - added by ami_stuff 12 years ago.

Change History (5)

by ami_stuff, 12 years ago

by ami_stuff, 12 years ago

Attachment: 24bpp_MCU15_interleaved.jpg added

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Keywords: mjpeg added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Carl Eugen Hoyos, 12 years ago

Keywords: ljpeg added

comment:3 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.