From fb3d8c23cc20efac83a66120821fc91697b52a0c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 22 Nov 2010 07:32:27 +0000 Subject: [PATCH] ffmpeg.c: document default metadata mappings Originally committed as revision 25795 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/ffmpeg-doc.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index ed46b49c00..397c3b4756 100644 --- a/doc/ffmpeg-doc.texi +++ b/doc/ffmpeg-doc.texi @@ -625,6 +625,12 @@ Optional @var{metadata} parameters specify, which metadata to copy - (g)lobal per-(p)rogram. All metadata specifiers other than global must be followed by the stream/chapter/program number. If metadata specifier is omitted, it defaults to global. + +By default, global metadata is copied from the first input file to all output files, +per-stream and per-chapter metadata is copied along with streams/chapters. These +default mappings are disabled by creating any mapping of the relevant type. A negative +file index can be used to create a dummy mapping that just disables automatic copying. + For example to copy metadata from the first stream of the input file to global metadata of the output file: @example