[FFmpeg-devel] 1-bit QuickTime Animation (qtrle) not necessarily b/w

Mats Peterson matsp888 at yahoo.com
Mon Dec 21 05:06:45 CET 2015


More issues...

I've noticed that FFmpeg blindly assumes that 1-bit QuickTime Animation 
(qtrle) video is black & white. This is not necessarily true. The two 
colors can be any color, just like in 1-bit PNG. Unfortunately this 
black & white assumption for 1-bit video seems hardcoded into the qtrle 
decoder, since I've tried setting the palette to no avail. Below is a 
link to a sample clip of a rotating earth that uses blueish colors, and 
they will be correct in QuickTime, but not in FFmpeg.

https://drive.google.com/open?id=0B3_pEBoLs0faSW5CVU50U3hHT3c

Mats

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


More information about the ffmpeg-devel mailing list