From 57655c608078cc14476e798a1e31e5eeabf1b278 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 15 Apr 2011 16:14:22 +0200 Subject: [PATCH] doc/metadata: add notes and examples regarding metadata usage with ffmpeg --- doc/metadata.texi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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