[FFmpeg-trac] #206(undetermined:new): Add support for 2bpp raw in AVI

FFmpeg trac at avcodec.org
Sun May 15 21:26:07 CEST 2011


#206: Add support for 2bpp raw in AVI
--------------------------+--------------------------
 Reporter:  ami_stuff     |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  unspecified
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+--------------------------
 AVI (NONE, 4colors) file created with QT, doesn't decode.

 Patch to fix this attached.

 {{{
 C:\>ffmpeg -i NONE_4colors.avi out.avi
 ffmpeg version git-N-29815-gde545d2, Copyright (c) 2000-2011 the FFmpeg
 develope
 rs
   built on May 11 2011 14:36:19 with gcc 4.5.3
   configuration: --enable-gpl --enable-version3 --enable-memalign-hack
 --enable-
 runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --
 enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger
  --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
 --enabl
 e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config
 =pkg-confi
 g
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  5. 0 / 53.  5. 0
   libavformat  53.  0. 3 / 53.  0. 3
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
 Input #0, avi, from 'NONE_4colors.avi':
   Duration: 00:00:05.96, start: 0.000000, bitrate: 1591 kb/s
     Stream #0.0: Video: rawvideo, yuv420p, 192x128, 25 tbr, 25 tbn, 25 tbc
     Stream #0.1: Audio: pcm_s16le, 22050 Hz, 1 channels, s16, 352 kb/s
 [buffer @ 01DA2620] w:192 h:128 pixfmt:yuv420p tb:1/1000000 sar:0/1
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf53.0.3
     Stream #0.0: Video: mpeg4, yuv420p, 192x128, q=2-31, 200 kb/s, 25 tbn,
 25 tb
 c
     Stream #0.1: Audio: mp2, 22050 Hz, 1 channels, s16, 64 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Press [q] to stop encoding
 Error while decoding stream #0.0
 Error while decoding stream #0.0
 Error while decoding stream #0.0
 Error while decoding stream #0.0
 Error while decoding stream #0.0
 Error while decoding stream #0.0
 [...]
 }}}

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


More information about the FFmpeg-trac mailing list