[FFmpeg-devel] qtpalette.h

Mike Melanson mike
Sun Mar 22 04:05:01 CET 2009

Ronald S. Bultje wrote:
> Hi,
> On Tue, Mar 10, 2009 at 12:35 AM, Mike Melanson <mike at multimedia.cx> wrote:
>> And I trust you tested this? Against some paletted QuickTime samples?
> No, for two reasons:
> 1- I can't find any movie files using this :-)

I did some checking at it turns out our FATE sample for qtrle-8bit uses 
the default palette handling code:


If you're still interested in pursuing this patch.

> 2- I think the palette handling code is broken, check e.g. [1], the
> start is garbled and the colors are WAY off (the ppt screen should be
> lightgray with a blue-ish header, instead of blue with a green
> header), this one doesn't use the default tables though (and is
> unaffected by the patch)

Agreed. It's also a shoehorning of another Microsoft format into a 
QuickTime file (MS RLE in QT). That might be the difference. Perhaps the 
palette needs to be unpacked in the opposite order.

     -Mike Melanson

More information about the ffmpeg-devel mailing list