[FFmpeg-devel] [PATCH] mov.c: factorize ff_mov_read_stsd_entries()

Baptiste Coudurier baptiste.coudurier
Sat Mar 14 03:28:42 CET 2009

On 3/13/2009 5:17 PM, Ronald S. Bultje wrote:
> Hi Baptiste,
> On Mon, Mar 9, 2009 at 8:05 PM, Baptiste Coudurier
> <baptiste.coudurier at gmail.com> wrote:
>> For mov then I guess it should be in extradata, since palette is in stsd.
> So can you help me get "quicktime_bmp.mov" work correctly on
> samples.mplayerhq.hu? That's like the only paletted file that I can
> find and it doesn't work correctly. :-). The file has multiple
> palettes. Having some pointers on what he palettes do and how to make
> that work with swscale would help a lot in refactoring it more
> thoroughly.

Humm. multiple stsd, or really multiple palette for one stsd ?

palette is stored in AVPicture->data[1] as uint32_t native endian.
How to format extradata is another question and this needs to be
settled. IMHO I would export whole stsd and provide an helper to
retrieve palette from stsd but I fear some people will be against :)

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list