[FFmpeg-devel] [PATCH 2/2] avformat/avienc: reformat raw rgb to comply to specs
Mats Peterson
matsp888 at yahoo.com
Wed Feb 17 05:14:50 CET 2016
On 02/17/2016 04:56 AM, Mats Peterson wrote:
> On 02/17/2016 04:48 AM, Mats Peterson wrote:
>
>> AVI has support for palette switching by using the 'xxpc' chunk in the
>> video data for the record, but it hasn't been implemented yet. I suppose
>> it's enough to just add an "initial" palette to the BITMAPINFOHEADER in
>> the meantime.
>>
>> Mats
>>
>
>
> And that should be done for 1 bpp AVI as well (using 2 palette entries).
>
It should be done for any bit depth <= 8 bpp, at that, using 2^bitdepth
palette entries.
Mats
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
More information about the ffmpeg-devel
mailing list