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

Mats Peterson matsp888 at yahoo.com
Sat Jan 2 14:16:12 CET 2016

On 01/02/2016 02:09 PM, Mats Peterson wrote:
> On 01/02/2016 01:33 PM, Michael Niedermayer wrote:
>>> One of the major peculiarities in my book is that the two blue
>>> colors in the video sample description and the white background are
>>> THREE colors together. Not exactly what I would call 1-bit video. I
>>> have absolutely no idea what they are doing in QuickTime, since this
>>> stuff is totally undocumented, but obviously they use three color
>>> indices in order to be able to provide this white background.
>> The Earth\ Spin\ 1-bit\ qtrle.mov file i have
>> (2a73988ea94a1201a9cf477d71d3ff29)
>> plays with 2 shades of blue in quicktime no white, identical to
>> what the output with this patch looks like
>> I will thus apply this patch unless there are some objections
>> where can i find the file that plays with 3 colors ?
> Yes there are two shades of blue on the globe, but don't you see the
> white background?
> Mats
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Furthermore, as I have written before, the 1-bit mode is not fully 
implemented/partly broken (the jagginess on the right edge shouldn't be 
there), but many files play OK in spite of this.


Mats Peterson

More information about the ffmpeg-devel mailing list