[FFmpeg-devel] [PATCH] lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit video

Mats Peterson matsp888 at yahoo.com
Tue Dec 29 23:45:00 CET 2015


On 12/29/2015 11:41 PM, Mats Peterson wrote:
> On 12/29/2015 11:37 PM, Carl Eugen Hoyos wrote:
>> Mats Peterson <matsp888-at-yahoo.com <at> ffmpeg.org> writes:
>>
>>> Below are links to sample files, which should now be
>>> displayed properly with bluish colors
>>
>> Sorry, I am not a native speaker:
>> Could you explain what "should" means in
>> above sentence?
>>
>> Please trim your quotes, Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>
> Neither am I, Carl, so we're in the same boat. Anyway, the video sample
> description in that rotating earth file contains a 1-bit palette
> consisting of two bluish colors. In QuickTime in Windows or Mac they
> will render correctly, but without this patch, they (and all other 1-bit
> files with a palette) will be displayed in black & white.
>
> Mats
>

Just because the video is 1-bit, it doesn't mean it has to be black & 
white. Thw two colors can be anything.

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list