[FFmpeg-devel] [PATCH] lavc/dvdsubdec: accept palette from options.
Michael Niedermayer
michaelni at gmx.at
Sat Dec 1 15:59:30 CET 2012
On Sat, Dec 01, 2012 at 03:05:59PM +0100, Nicolas George wrote:
> On DVDs, the palette is part of the IFO file and therefore
> not available when reading from a dumped VOB file.
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> doc/decoders.texi | 22 +++++++++++++++++++
> libavcodec/dvdsubdec.c | 55 +++++++++++++++++++++++++++++++++++++++---------
> 2 files changed, 67 insertions(+), 10 deletions(-)
>
>
> I believe there is no maintainer for this file.
>
>
> diff --git a/doc/decoders.texi b/doc/decoders.texi
> index 87ad4ee..1373858 100644
> --- a/doc/decoders.texi
> +++ b/doc/decoders.texi
> @@ -61,3 +61,25 @@ use is purely internal and the format of the data it accepts is not publicly
> documented.
>
> @c man end AUDIO DECODERS
> +
> + at chapter Subtitles Decoders
> + at c man begin SUBTILES DECODERS
> +
> + at section dvdsub
> +
> +This codec decodes the bitmap subtitles used in DVDs; the same subtitles can
> +also be found in VobSub file pairs and in some Matroska files.
> +
> + at subsection @Options
> +
> + at table @option
> + at item palette
> +Specify the global palette used by the bitmaps. When stored in VobSub, the
> +palette is normally specified in the index file; in Matroska, the palette is
> +stored in the codec extra-data in the same format as in VobSub. In DVDs, the
> +palette is stored in the IFO file, and therefore not available when reading
> +from dumped VOB files. The format for this option is a string containing 16
> +24-bits hexadecimal numbers (without 0x prefix) separated by comas.
> + at end table
I think this need an example, people likely can understand the
syntax quicker from examples than a description of the syntax
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121201/20ab06bd/attachment.asc>
More information about the ffmpeg-devel
mailing list