doc/metadata: add notes and examples regarding metadata usage with ffmpeg

This commit is contained in:
Stefano Sabatini 2011-04-15 16:14:22 +02:00
parent d3e89f2641
commit 57655c6080
1 changed files with 16 additions and 0 deletions

View File

@ -65,4 +65,20 @@ title=chapter \#1
title=multi\ title=multi\
line line
@end example @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 @c man end METADATA