[FFmpeg-cvslog] doc/encoders: add documentation for libtwolame

Timothy Gu git at videolan.org
Thu Aug 29 00:22:02 CEST 2013


ffmpeg | branch: release/1.0 | Timothy Gu <timothygu99 at gmail.com> | Sat Jun  1 16:26:03 2013 -0700| [4c1544ecc8fb2c4eee8ba6201919681a3691033d] | committer: Timothy Gu

doc/encoders: add documentation for libtwolame
(cherry picked from commit ea038b996d5662702b2247a6aa919dee1cebc0be)

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>

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

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

diff --git a/doc/encoders.texi b/doc/encoders.texi
index 846d569..63ce92a 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -441,6 +441,69 @@ Enables the the encoder to use (on a frame by frame basis) either L/R
 stereo or mid/side stereo.
 @end multitable
 
+ at section libtwolame
+
+TwoLAME MP2 encoder wrapper
+
+Requires the presence of the libtwolame headers and library during
+configuration. You need to explicitly configure the build with
+ at code{--enable-libtwolame}.
+
+ at subsection Options Mapping
+
+The following options are supported by the libtwolame wrapper. The
+TwoLAME-equivalent options follow the FFmpeg ones and are in
+parentheses.
+
+ at table @option
+ at item b
+(b) Set bitrate in bits/s. Note that FFmpeg @code{b} option is
+expressed in bits/s, twolame @code{b} in kilobits/s. The default
+value is 128k.
+
+ at item q
+(V) Set quality for experimental VBR support. Maximum value range is
+from -50 to 50, useful range is from -10 to 10.
+
+ at item mode
+(mode) Set MPEG mode. Possible values:
+
+ at table @samp
+ at item auto
+Choose mode automatically based on the input. This is the default.
+ at item stereo
+Stereo
+ at item joint_stereo
+Joint stereo
+ at item dual_channel
+Dual channel
+ at item mono
+Mono
+ at end table
+
+ at item psymodel
+(psyc-mode) Set psychoacoustic model to use in encoding. The argument
+must be an integer between -1 and 4, inclusive. The higher the value,
+the better the quality. The default value is 3.
+
+ at item energy_levels
+(energy) Enable energy levels extensions when set to 1. The default
+value is 0 (disabled).
+
+ at item error_protection
+(protect) Enable CRC error protection when set to 1. The default value
+is 0 (disabled).
+
+ at item copyright
+(copyright) Set MPEG audio copyright flag when set to 1. The default
+value is 0 (disabled).
+
+ at item original
+(original) Set MPEG audio original flag when set to 1. The default
+value is 0 (disabled).
+
+ at end table
+
 @c man end AUDIO ENCODERS
 
 @chapter Video Encoders



More information about the ffmpeg-cvslog mailing list