doc/encoders: reformat and add some clarification in libtwolame doc
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
parent
40b8350b57
commit
e45e72f5f8
@ -496,24 +496,26 @@ Requires the presence of the libtwolame headers and library during
|
|||||||
configuration. You need to explicitly configure the build with
|
configuration. You need to explicitly configure the build with
|
||||||
@code{--enable-libtwolame}.
|
@code{--enable-libtwolame}.
|
||||||
|
|
||||||
@subsection Options Mapping
|
@subsection Options
|
||||||
|
|
||||||
The following options are supported by the libtwolame wrapper. The
|
The following options are supported by the libtwolame wrapper. The
|
||||||
TwoLAME-equivalent options follow the FFmpeg ones and are in
|
@command{twolame}-equivalent options follow the FFmpeg ones and are in
|
||||||
parentheses.
|
parentheses.
|
||||||
|
|
||||||
@table @option
|
@table @option
|
||||||
@item b
|
@item b (@emph{-b})
|
||||||
(b) Set bitrate in bits/s. Note that FFmpeg @code{b} option is
|
Set bitrate expressed in bits/s for CBR. @command{twolame} @option{b}
|
||||||
expressed in bits/s, twolame @code{b} in kilobits/s. The default
|
option is expressed in kilobits/s. Default value is 128k.
|
||||||
value is 128k.
|
|
||||||
|
|
||||||
@item q
|
@item q (@emph{-V})
|
||||||
(V) Set quality for experimental VBR support. Maximum value range is
|
Set quality for experimental VBR support. Maximum value range is
|
||||||
from -50 to 50, useful range is from -10 to 10.
|
from -50 to 50, useful range is from -10 to 10. The higher the
|
||||||
|
value, the better the quality. This option is valid only using the
|
||||||
|
@command{ffmpeg} command-line tool. For library interface users,
|
||||||
|
use @option{global_quality}.
|
||||||
|
|
||||||
@item mode
|
@item mode (@emph{--mode})
|
||||||
(mode) Set MPEG mode. Possible values:
|
Set the mode of the resulting audio. Possible values:
|
||||||
|
|
||||||
@table @samp
|
@table @samp
|
||||||
@item auto
|
@item auto
|
||||||
@ -528,26 +530,26 @@ Dual channel
|
|||||||
Mono
|
Mono
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item psymodel
|
@item psymodel (@emph{--psyc-mode})
|
||||||
(psyc-mode) Set psychoacoustic model to use in encoding. The argument
|
Set psychoacoustic model to use in encoding. The argument must be
|
||||||
must be an integer between -1 and 4, inclusive. The higher the value,
|
an integer between -1 and 4, inclusive. The higher the value, the
|
||||||
the better the quality. The default value is 3.
|
better the quality. The default value is 3.
|
||||||
|
|
||||||
@item energy_levels
|
@item energy_levels (@emph{--energy})
|
||||||
(energy) Enable energy levels extensions when set to 1. The default
|
Enable energy levels extensions when set to 1. The default value is
|
||||||
value is 0 (disabled).
|
0 (disabled).
|
||||||
|
|
||||||
@item error_protection
|
@item error_protection (@emph{--protect})
|
||||||
(protect) Enable CRC error protection when set to 1. The default value
|
Enable CRC error protection when set to 1. The default value is 0
|
||||||
is 0 (disabled).
|
(disabled).
|
||||||
|
|
||||||
@item copyright
|
@item copyright (@emph{--copyright})
|
||||||
(copyright) Set MPEG audio copyright flag when set to 1. The default
|
Set MPEG audio copyright flag when set to 1. The default value is 0
|
||||||
value is 0 (disabled).
|
(disabled).
|
||||||
|
|
||||||
@item original
|
@item original (@emph{--original})
|
||||||
(original) Set MPEG audio original flag when set to 1. The default
|
Set MPEG audio original flag when set to 1. The default value is 0
|
||||||
value is 0 (disabled).
|
(disabled).
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user