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

elupus elupus
Fri Jan 18 11:34:36 CET 2008


Ian Caulfield <ian.caulfield <at> gmail.com> writes:

> 
> On Jan 18, 2008 4:18 AM, M?ns Rullg?rd <mans <at> mansr.com> wrote:
> >
> > 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.
> 
> When Nero Digital shoves dvd subtitles into mp4 files, it seems to
> include the (binary) palette data from the IFO as extradata...
> 
> Ian
> 

  uint32_t palette[16]; /* New type struct {zero_1, Y, Cr, Cb} ? */

As taken from the PGC ifo struct. So just the 16 32bit values? Need some good 
way to tell them apart reliably then, any ideas?







More information about the ffmpeg-devel mailing list