[FFmpeg-devel] [PATCH v3] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw AVI video
matsp888 at yahoo.com
Mon Jan 25 01:58:21 CET 2016
On 01/25/2016 01:54 AM, Mats Peterson wrote:
> Microsoft's player doesn't even play raw 1-bit video for some reason,
> but that's not our problem, is it? All the documentation on Microsoft's
> site on 1-bit video tells us that it's palettized and not simply black &
> white. 1, 4, and 8 bit modes, all of them use the palette, if any,
> following the BITMAPINFOHEAER. 2-bit mode isn't even official, but still
> exists in FFmpeg.
And there is seldom documentation that EXPLICITLY says that 1-bit mode
is just black & white. Both PNG, TIFF, AVI and QuickTime can use any
color for the two indexes in 1-bit images or video.
More information about the ffmpeg-devel