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

Mats Peterson matsp888 at yahoo.com
Sun Jan 31 19:04:49 CET 2016


On 01/31/2016 05:48 PM, Michael Niedermayer wrote:
>
> ffmpeg (the application) reads and writes multimedia files
> why should ffmpeg suddenly stop working well with monochrome ?
> (and require the user to per file convert to monochrome when the input
>   already is monochrome)
>
> Also we talk about the raw video decoder here, i suspect this is used
> for more cases than just avi
>

Why whould it "stop working well" with monochrome just because we use a 
different internal depth? And as I said, both QuickTime (raw and RLE) 
and BMP use pal8 exclusively for 1 bpp files. If you're willing to 
change the logic for these other formats as well, please go ahead. I 
won't do it.


> either way, as said iam happy to switch to using pal8 for monochrome
> avis if people want.
> I just dont know if people want that
>

Why shouldn't we be consequent and do the same thing as for other file 
formats and other depths? It's over my head.

Mats



More information about the ffmpeg-devel mailing list