[FFmpeg-cvslog] doc/encoders: document libtheora encoder

Stefano Sabatini git at videolan.org
Tue Nov 13 12:18:10 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Nov 11 12:40:46 2012 +0100| [9d2a7c04812ae6f3db2e58570242a15ff25a335a] | committer: Stefano Sabatini

doc/encoders: document libtheora encoder

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

 doc/encoders.texi |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index a7a2761..c37f256 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -420,6 +420,45 @@ Selected by Encoder (default)
 A description of some of the currently available video encoders
 follows.
 
+ at section libtheora
+
+Theora format supported through libtheora.
+
+Requires the presence of the libtheora headers and library during
+configuration. You need to explicitly configure the build with
+ at code{--enable-libtheora}.
+
+ at subsection Options
+
+The following global options are mapped to internal libtheora options
+which affect the quality and the bitrate of the encoded stream.
+
+ at table @option
+ at item b
+Set the video bitrate, only works if the @code{qscale} flag in
+ at option{flags} is not enabled.
+
+ at item flags
+Used to enable constant quality mode encoding through the
+ at option{qscale} flag, and to enable the @code{pass1} and @code{pass2}
+modes.
+
+ at item g
+Set the GOP size.
+
+ at item global_quality
+Set the global quality in lambda units, only works if the
+ at code{qscale} flag in @option{flags} is enabled. The value is clipped
+in the [0 - 10*@code{FF_QP2LAMBDA}] range, and then multiplied for 6.3
+to get a value in the native libtheora range [0-63].
+
+For example, to set maximum constant quality encoding with
+ at command{ffmpeg}:
+ at example
+ffmpeg -i INPUT -flags:v qscale -global_quality:v "10*QP2LAMBDA" -codec:v libtheora OUTPUT.ogg
+ at end example
+ at end table
+
 @section libvpx
 
 VP8 format supported through libvpx.



More information about the ffmpeg-cvslog mailing list