[FFmpeg-devel] [PATCH v3] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video in AVI

Mats Peterson matsp888 at yahoo.com
Mon Feb 1 18:00:33 CET 2016


On 02/01/2016 05:49 PM, Mats Peterson wrote:
-> You seem to love to bring this irrelevant subject up, Michael. Of course
> an 8 bpp file will be larger than a 1 bpp one, did you expect anything
> else? But what's the big deal with that? Nobody complains at "filesize
> explosion" when using 2 and 4 bpp as input files.
>

It's 2016, and I do think we can safely convert 1 bpp AVI to 8 bpp with 
default parameters without shocking too many people (give or take that 
the output AVI will lack a palette, something that needs fixing). It is 
already what happens with 1 bpp QuickTime (raw and RLE) and BMP. In the 
name of consistence, it's rather silly to just use monow for the single 
case of 1 bpp AVI without a palette. And it's not logical to use it for 
AVI at all, as I have already mentioned.

Mats



More information about the ffmpeg-devel mailing list