[FFmpeg-devel] [PATCH v4] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime video

Mats Peterson matsp888 at yahoo.com
Mon Jan 18 12:06:17 CET 2016


On 01/18/2016 12:02 PM, Michael Niedermayer wrote:
> the decoder should check the palette, and if it differs from
> black+white use PAL8
> users quite possible could complain if monochrome raw files suddenly
> become 8 times as large when its not needed

Well, there were no problems using pal8 all over for 1 bpp video in 
lavc/qtrle, so why should it matter now? The fact is 1 bpp video in 
QuickTime is NEVER monochrome, it is always palettized, even if the 
palette is only 2 colors of black & white.

Mats



More information about the ffmpeg-devel mailing list