[FFmpeg-cvslog] doc: document using AVOptions in fftools.

Anton Khirnov git at videolan.org
Fri Jul 29 02:08:41 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jul 17 14:54:20 2011 +0200| [22b203baf81f8efcf134d2d27732ee6e842fdcb6] | committer: Anton Khirnov

doc: document using AVOptions in fftools.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22b203baf81f8efcf134d2d27732ee6e842fdcb6
---

 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 3a1cb3b..fec61cf 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
+
+ at section AVOptions
+
+These options are provided directly by the libavformat and libavcodec
+libraries. To see the list of available AVOptions, use the
+ at option{-help} option. They are separated into two categories:
+ at table @option
+ at 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.
+ at item private
+Are specific to the given container or codec. Private options are listed
+under their corresponding containers/codecs.
+ at 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:
+ at example
+ffmpeg -i input.flac -id3v2_version 3 out.mp3
+ at end example
+
+Note -nooption syntax cannot be used for boolean AVOptions, use -option
+0/-option 1.



More information about the ffmpeg-cvslog mailing list