From: Anton Khirnov Date: Mon, 22 Nov 2010 07:32:27 +0000 (+0000) Subject: ffmpeg.c: document default metadata mappings X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fb3d8c23cc20efac83a66120821fc91697b52a0c;p=ffmpeg ffmpeg.c: document default metadata mappings Originally committed as revision 25795 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index ed46b49c008..397c3b4756f 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