[FFmpeg-devel] [PATCH 2/3] Metadata muxer

Vladimir Pantelic vladoman
Wed Dec 15 16:49:34 CET 2010


Anton Khirnov wrote:
> Dumps all metadata to a text file for easy manual editing.
> ---
>   doc/ffmetadata.txt       |   50 ++++++++++++++++++++++
>   doc/general.texi         |    2 +
>   libavformat/Makefile     |    1 +
>   libavformat/allformats.c |    1 +
>   libavformat/meta.h       |   29 +++++++++++++
>   libavformat/metaenc.c    |  102 ++++++++++++++++++++++++++++++++++++++++++++++
>   6 files changed, 185 insertions(+), 0 deletions(-)
>   create mode 100644 doc/ffmetadata.txt
>   create mode 100644 libavformat/meta.h
>   create mode 100644 libavformat/metaenc.c
>
> diff --git a/doc/ffmetadata.txt b/doc/ffmetadata.txt
> new file mode 100644
> index 0000000..d1a545a
> --- /dev/null
> +++ b/doc/ffmetadata.txt
> @@ -0,0 +1,50 @@
> +The FFmpeg metadata format is a simple UTF-8 encoded INI-like text file intended
> +for easy manual editing of metadata and inserting them into a multimedia file.
> +
> +The file format is as follows:
> +
> +    * a file consists of a header and a number of metadata tags divided into
> +      sections, each on its own line.
> +
> +    * the header is a ';FFMETADATA' string, followed by a version number (now 1).
> +
> +    * metadata tags are of the form 'key=value'

maybe clarify what encoding is used?




More information about the ffmpeg-devel mailing list