[FFmpeg-devel] [PATCH] read palette information from extradata for dvd subtitle decoder

Måns Rullgård mans
Fri Jan 18 12:46:35 CET 2008


elupus wrote:
> M?ns Rullg?rd <mans <at> mansr.com> writes:
>
>>
>> elupus <elupus <at> ecce.se> writes:
>>
> --
>> >
>> > I suppose the string based extradata isn't the best way to store that
>> > stuff, but seems silly to invent a new format since matroska and vobsub idx
>> > files already use this.
>>
>> Sensible would be to use the same format as on actual DVDs.
>>
>
>
> That might get abit complicated. Palette is stored somewhere inside the PGC's
> ifo files. Don't exactly remember where, and providing the full ifo seems very
> much overkill + most of the structure it is part of is of no interest
> whatsoever.

The palette is stored in the IFO files simply as an array of 16 binary colour
values.  Nothing complicated at all.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list