diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-07-17 14:54:20 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-28 17:36:38 +0200 |
commit | 22b203baf81f8efcf134d2d27732ee6e842fdcb6 (patch) | |
tree | 9338ffecf9434ba2364f81b14bcd9f622d29291f /doc | |
parent | 8ec19f84e12283dd79c16782ab55dd3b4e1ded66 (diff) | |
download | ffmpeg-22b203baf81f8efcf134d2d27732ee6e842fdcb6.tar.gz |
doc: document using AVOptions in fftools.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fftools-common-opts.texi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index 3a1cb3b23c..fec61cf8c9 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @@ -91,3 +91,28 @@ The use of the environment variable @env{NO_COLOR} is deprecated and will be dropped in a following Libav version. @end table + +@section AVOptions + +These options are provided directly by the libavformat and libavcodec +libraries. To see the list of available AVOptions, use the +@option{-help} option. They are separated into two categories: +@table @option +@item generic +Can be set for any container or codec. Generic options are listed under +AVFormatContext options for containers and under AVCodecContext options +for codecs. +@item private +Are specific to the given container or codec. Private options are listed +under their corresponding containers/codecs. +@end table + +For example to write an ID3v2.3 header instead of a default ID3v2.4 to +an MP3 file, use the @option{id3v2_version} private option of the MP3 +muxer: +@example +ffmpeg -i input.flac -id3v2_version 3 out.mp3 +@end example + +Note -nooption syntax cannot be used for boolean AVOptions, use -option +0/-option 1. |