summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-11-02 06:01:28 +0000
committerAnton Khirnov <wyskas@gmail.com>2010-11-02 06:01:28 +0000
commit1829e19528fe9f67e7884c6a136d007b8c1663b6 (patch)
tree9f858513e76328715cadd6d850e3633c75e3bf14 /doc
parent4f9d25ddc86f0b47a3158830b2e8b461765571e4 (diff)
downloadffmpeg-streaming-1829e19528fe9f67e7884c6a136d007b8c1663b6.zip
ffmpeg-streaming-1829e19528fe9f67e7884c6a136d007b8c1663b6.tar.gz
ffmpeg.c: extend map_meta_data to allow advanced mappings
i.e. to/from streams/chapters/programs. Originally committed as revision 25635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg-doc.texi12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index bf5bdf4..eb7c8fd 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -586,9 +586,19 @@ Set stream mapping from input streams to output streams.
Just enumerate the input streams in the order you want them in the output.
@var{sync_stream_id} if specified sets the input stream to sync
against.
-@item -map_meta_data @var{outfile}:@var{infile}
+@item -map_meta_data @var{outfile}[,@var{metadata}]:@var{infile}[,@var{metadata}]
Set meta data information of @var{outfile} from @var{infile}. Note that those
are file indices (zero-based), not filenames.
+Optional @var{metadata} parameters specify, which metadata to copy - (g)lobal
+(i.e. metadata that applies to the whole file), per-(s)tream, per-(c)hapter or
+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.
+For example to copy metadata from the first stream of the input file to global metadata
+of the output file:
+@example
+ffmpeg -i in.ogg -map_meta_data 0:0,s0 out.mp3
+@end example
@item -debug
Print specific debug info.
@item -benchmark
OpenPOWER on IntegriCloud