[FFmpeg-devel] [PATCH] doc/muxers: add ffmetadata
Gyan Doshi
ffmpeg at gyani.pro
Tue Mar 12 13:03:20 EET 2024
On 2024-03-12 04:25 pm, Stefano Sabatini wrote:
> ---
> doc/metadata.texi | 1 +
> doc/muxers.texi | 16 ++++++++++++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/doc/metadata.texi b/doc/metadata.texi
> index be91059a98..e081da7735 100644
> --- a/doc/metadata.texi
> +++ b/doc/metadata.texi
> @@ -1,3 +1,4 @@
> + at anchor{metadata}
> @chapter Metadata
> @c man begin METADATA
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index a697e4b153..0aaef2b520 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
> @@ -1429,6 +1429,22 @@ Use @command{ffmpeg} to convert the input:
> ffmpeg -i INPUT -s:v 720x480 -pix_fmt yuv411p -r 29.97 -ac 2 -ar 48000 -y out.dv
> @end example
>
> + at section ffmetadata
> +FFmpeg metadata muxer.
> +
> +This muxer writes the streams metadata in the @samp{ffmetadata}
> +format.
> +
> +See @ref{metadata,,the Metadata chapter,ffmpeg-formats} for
> +information about the format.
> +
> + at subsection Example
> +Copy an input file and insert metadata information from an @file{metadata.ffmeta} file in
> + at samp{ffmetadata} format:
> + at example
> +ffmpeg -i INPUT -i metadata.ffmeta -map_metadata 1 -codec copy OUTPUT
> + at end example
> +
The above example is for the demuxer only. Better to include an initial
step showing export.
Regards,
Gyan
More information about the ffmpeg-devel
mailing list