Skip to content

Commit

Permalink
doc/metadata: add notes and examples regarding metadata usage with ff…
Browse files Browse the repository at this point in the history
…mpeg
  • Loading branch information
saste committed Jun 10, 2013
1 parent d3e89f2 commit 57655c6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/metadata.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 57655c6

Please sign in to comment.