aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-04-15 16:14:22 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-06-11 01:07:16 +0200
commit57655c608078cc14476e798a1e31e5eeabf1b278 (patch)
treea693fa7c11b684e1f406ee841537675ac51c448a
parentd3e89f2641ba5a2c4d371bb955b3f1d0cc9c58b2 (diff)
downloadffmpeg-57655c608078cc14476e798a1e31e5eeabf1b278.tar.gz
doc/metadata: add notes and examples regarding metadata usage with ffmpeg
-rw-r--r--doc/metadata.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/metadata.texi b/doc/metadata.texi
index 2a285757cc..b7fc789e2a 100644
--- a/doc/metadata.texi
+++ b/doc/metadata.texi
@@ -65,4 +65,20 @@ title=chapter \#1
title=multi\
line
@end example
+
+By using the ffmetadata muxer and demuxer it is possible to extract
+metadata from an input file to an ffmetadata file, and then transcode
+the file into an output file with the edited ffmetadata file.
+
+Extracting an ffmetadata file with @file{ffmpeg} goes as follows:
+@example
+ffmpeg -i INPUT -f ffmetadata FFMETADATAFILE
+@end example
+
+Reinserting edited metadata information from the FFMETADATAFILE file can
+be done as:
+@example
+ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -codec copy OUTPUT
+@end example
+
@c man end METADATA