[FFmpeg-devel] [PATCH] lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit video
michael at niedermayer.cc
Sat Jan 2 13:33:27 CET 2016
On Wed, Dec 30, 2015 at 11:34:02AM +0100, Mats Peterson wrote:
> On 12/30/2015 08:35 AM, Mats Peterson wrote:
> >On 12/30/2015 08:17 AM, Mats Peterson wrote:
> >>When comparing the output in QuickTime and FFmpeg, I noticed that the
> >>background is blue in FFmpeg, while it is white (or transparent, if you
> >>will) in QuickTime. Hold your horses on this patch.
> >I noticed that the "alpha" component (there is NOTHING mentioned about
> >this component in the description of the color table in the QuickTime
> >File Format Specification, for the record) is set to "1" in the second
> >color in the color table. Just wanted to mention that.
> 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 ?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel