[FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

Mats Peterson matsp888 at yahoo.com
Sat Feb 13 13:52:14 CET 2016


On 02/13/2016 01:49 PM, Mats Peterson wrote:
>>
>> Sorry, wm4, I got heated up here. I understand your feelings. I will try
>> to limit the spam-like postings. Michael, given that there is no padding
>> of the lines for pal8 in nut, I understand that it's possible to
>> calculate the stride by dividing the packet size by (width * height).
>> It's only when using "-vcodec copy" that the stride will be different,
>> and then no palette will be included as well. I'll arrange something
>> here.
>>
>

I mean of course that it's possible to calculate the palette size by 
subtracting width * height from the packet size.

Mats



More information about the ffmpeg-devel mailing list