[FFmpeg-devel] [PATCH v3] lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut

Mats Peterson matsp888 at yahoo.com
Fri Feb 5 17:04:17 CET 2016


On 02/05/2016 05:00 PM, Mats Peterson wrote:
> On 02/05/2016 04:58 PM, Mats Peterson wrote:
>>
>> Alright, you were focusing on encoders here, yes, they aren't handled
>> here of course. I've only changed stuff to use pal8 correctly internally
>> on the *decoder* side for every codec. They should really be the ones
>> who fix, you're right.
>>
>> Mats
>>
>
> THE ENCODERS SHOULD BE THE ONES TO FIX. Hope I'm clear enough now.

And ideally, for example, the AVI muxer could use 1 bpp format if the 
palette only contains 2 colors in spite of being pal8, and it should put 
a 2-color palette in the output file, etc. A lot of work, which is most 
probably not justified, since one can always force the pixel format for 
the output file on the command line. The lack of palette when writing 
AVI files has to get fixed at some point though, regardless.

Mats


More information about the ffmpeg-devel mailing list