summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-29 09:16:42 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-05 11:16:02 +0200
commit039267f192f335144d9251e6f05a1513dd1e8ef1 (patch)
treeaa0188457d9fedb9d277490a3bd0c5f0e1b201ba /doc
parent33f75d72e6769c071899be545cc861620c88fddb (diff)
avconv: move metadata to options context.
It is now possible to set metadata on streams and chapters.
Diffstat (limited to 'doc')
-rw-r--r--doc/avconv.texi14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 959b781349..0b560440e9 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -160,14 +160,26 @@ interpreted as UTC.
If the year-month-day part is not specified it takes the current
year-month-day.
-@item -metadata @var{key}=@var{value}
+@item -metadata[:metadata_specifier] @var{key}=@var{value}
Set a metadata key/value pair.
+An optional @var{metadata_specifier} may be given to set metadata
+on streams or chapters. See @code{-map_metadata} documentation for
+details.
+
+This option overrides metadata set with @code{-map_metadata}. It is
+also possible to delete metadata by using an empty value.
+
For example, for setting the title in the output file:
@example
avconv -i in.avi -metadata title="my title" out.flv
@end example
+To set the language of the second stream:
+@example
+avconv -i INPUT -metadata:s:1 language=eng OUTPUT
+@end example
+
@item -v @var{number}
Set the logging verbosity level.