[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 13:14:02 CET 2016


On 02/01/2016 08:17 AM, Mats Peterson wrote:
> I don't understand what's so important about retaining monow inside
> FFmpeg when it comes to AVI, when it's obviously OK to convert 2 and 4
> bpp to pal8. Once again, if you want a straight passthrough of 1 bpp AVI
> video data, just use "-c:v copy".

You complain at 1 bpp data being converted to another pixel format when 
doing just "ffmpeg -i in.avi -c:v rawvideo out.avi". But you won't get 
any 2 bpp or 4 bpp video in the output file either. It will be 8 bpp 
(albeit without a palette, for some inexplicable reason). But that seems 
perfectly OK...

Mats



More information about the ffmpeg-devel mailing list