[FFmpeg-devel] [PATCH] Enables parsing DVD color palette directly from IFO file
george at nsup.org
Fri Nov 14 23:41:20 CET 2014
Le quartidi 24 brumaire, an CCXXIII, Michael Niedermayer a écrit :
> libavformat OTOH could read the IFO file with avio_open2/avio_read
> into extradata or some newly added ifo specific side data
> and dvdsubdec.c could then parse the palette out of that.
That would work. It can be even reasonably simple: dvdsubdec already accepts
extradata with the Vobsub IDX syntax (the same way it is stored as codec
private data in Matroska). Unless I am mistaken, it would suffice to use a
BPrint buffer to write "palette: XXXXXX,XXXXXX..." and use
OTOH, if Shin-ichi is not motivated to change the patch once again, I
believe the version with fopen() is acceptable if marked experimental /
temporary in the docs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel