[FFmpeg-devel] [PATCH] lavc/rawdec: Remove temporary monowhite switching code for 1 bpp AVI without a palette
    Mats Peterson 
    matsp888 at yahoo.com
       
    Wed Feb 17 13:37:13 CET 2016
    
    
  
On 02/17/2016 01:34 PM, Mats Peterson wrote:
> wm4 has already agreed on the redundancy of this one. And monow
> shouldn't be used for palettized data. 1 bpp AVI is palettized, not
> monochrome. Using monow/monob is suitable for file formats with explicit
> black and white modes like nut, TIFF and PNG.
>
> Mats
>
Things are already bad (incorrect stride and inclusion of the palette in 
the frames for AVI and QuickTime), so applying this won't make them any 
worse. Just tell users to use nut instead of AVI or QuickTime when 
creating files with "-vcodec rawvideo".
Mats
    
    
More information about the ffmpeg-devel
mailing list