CJPG decodes B/W
Issue 777
Works fine with mplayer -vc cjpg
ffmpeg -v 9 -loglevel 99 -i levitprop01.avi
ffmpeg version N-32611-gd55b06b, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 15 2011 09:18:02 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
libavutil 51. 16. 0 / 51. 16. 0
libavcodec 53. 14. 0 / 53. 14. 0
libavformat 53. 12. 0 / 53. 12. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 40. 0 / 2. 40. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[avi @ 0x12fd780] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x12fdda0] use odml:1
[avi @ 0x12fd780] non-interleaved AVI
[mjpeg @ 0x12ff7a0] Unsupported bit depth: 0
[mjpeg @ 0x12ff7a0] buffer too small, expanding to 14530 bytes
[mjpeg @ 0x12ff7a0] marker=d8 avail_size_in_buf=14530
[mjpeg @ 0x12ff7a0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x12ff7a0] marker=db avail_size_in_buf=14528
[mjpeg @ 0x12ff7a0] index=0
[mjpeg @ 0x12ff7a0] qscale[0]: 6
[mjpeg @ 0x12ff7a0] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x12ff7a0] marker=db avail_size_in_buf=14459
[mjpeg @ 0x12ff7a0] index=1
[mjpeg @ 0x12ff7a0] qscale[1]: 13
[mjpeg @ 0x12ff7a0] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x12ff7a0] marker=c4 avail_size_in_buf=14390
[mjpeg @ 0x12ff7a0] class=0 index=0 nb_codes=12
[mjpeg @ 0x12ff7a0] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x12ff7a0] marker=c4 avail_size_in_buf=14357
[mjpeg @ 0x12ff7a0] class=1 index=0 nb_codes=251
[mjpeg @ 0x12ff7a0] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x12ff7a0] marker=c4 avail_size_in_buf=14174
[mjpeg @ 0x12ff7a0] class=0 index=1 nb_codes=12
[mjpeg @ 0x12ff7a0] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x12ff7a0] marker=c4 avail_size_in_buf=14141
[mjpeg @ 0x12ff7a0] class=1 index=1 nb_codes=251
[mjpeg @ 0x12ff7a0] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x12ff7a0] marker=c0 avail_size_in_buf=13958
[mjpeg @ 0x12ff7a0] sof0: picture: 352x288
[mjpeg @ 0x12ff7a0] component 0 2:2 id: 0 quant:0
[mjpeg @ 0x12ff7a0] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x12ff7a0] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x12ff7a0] pix fmt id 22111100
[mjpeg @ 0x12ff7a0] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x12ff7a0] marker=dd avail_size_in_buf=13939
[mjpeg @ 0x12ff7a0] restart interval: 1
[mjpeg @ 0x12ff7a0] marker parser used 4 bytes (32 bits)
[mjpeg @ 0x12ff7a0] escaping removed 2983 bytes
[mjpeg @ 0x12ff7a0] marker=da avail_size_in_buf=13933
[mjpeg @ 0x12ff7a0] component: 0
[mjpeg @ 0x12ff7a0] mjpeg decode frame unused 13933 bytes
[avi @ 0x12fd780] All info found
Input #0, avi, from 'levitprop01.avi':
Duration: 00:00:05.29, start: 0.000000, bitrate: 3202 kb/s
Stream #0.0, 1, 333333/10000000: Video: mjpeg (CJPG / 0x47504A43), yuvj420p, 352x288, 333333/10000000, 30 tbr, 30 tbn, 30 tbc
At least one output file must be specified
fixed