[FFmpeg-devel] [PATCH 3/6] ffmpeg.c: document default metadata mappings

Anton Khirnov anton
Tue Nov 2 22:04:02 CET 2010

 doc/ffmpeg-doc.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index eb7c8fd..b09e57c 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -594,6 +594,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
+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:

More information about the ffmpeg-devel mailing list