[FFmpeg-cvslog] doc/encoders: add wavpackenc doc

Timothy Gu git at videolan.org
Sun Dec 29 13:12:12 CET 2013


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Tue Dec 17 21:12:08 2013 -0800| [f4c62b9f6405f363a74818272e6e51838b55f056] | committer: Stefano Sabatini

doc/encoders: add wavpackenc doc

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

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

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

diff --git a/doc/encoders.texi b/doc/encoders.texi
index 31af6d4..aa1af2c 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1144,6 +1144,7 @@ transient response is a higher bitrate.
 
 @end table
 
+ at anchor{libwavpack}
 @section libwavpack
 
 A wrapper providing WavPack encoding through libwavpack.
@@ -1155,7 +1156,7 @@ configuration. You need to explicitly configure the build with
 @code{--enable-libwavpack}.
 
 Note that a libavcodec-native encoder for the WavPack codec exists so users can
-encode audios with this codec without using this encoder.
+encode audios with this codec without using this encoder. See @ref{wavpackenc}.
 
 @subsection Options
 
@@ -1190,6 +1191,67 @@ Same as @samp{3}, but with extra processing enabled.
 @end table
 @end table
 
+ at anchor{wavpackenc}
+ at section wavpack
+
+WavPack lossless audio encoder.
+
+This is a libavcodec-native WavPack encoder. There is also an encoder based on
+libwavpack, but there is virtually no reason to use that encoder.
+
+See also @ref{libwavpack}.
+
+ at subsection Options
+
+The equivalent options for @command{wavpack} command line utility are listed in
+parentheses.
+
+ at subsubsection Shared options
+
+The following shared options are effective for this encoder. Only special notes
+about this particular encoder will be documented here. For the general meaning
+of the options, see @ref{codec-options,,the Codec Options chapter}.
+
+ at table @option
+ at item frame_size (@emph{--blocksize})
+For this encoder, the range for this option is between 128 and 131072. Default
+is automatically decided based on sample rate and number of channel.
+
+For the complete formula of calculating default, see
+ at file{libavcodec/wavpackenc.c}.
+
+ at item compression_level (@emph{-f}, @emph{-h}, @emph{-hh}, and @emph{-x})
+This option's syntax is consistent with @ref{libwavpack}'s.
+ at end table
+
+ at subsubsection Private options
+
+ at table @option
+ at item joint_stereo (@emph{-j})
+Set whether to enable joint stereo. Valid values are:
+
+ at table @samp
+ at item on (@emph{1})
+Force mid/side audio encoding.
+ at item off (@emph{0})
+Force left/right audio encoding.
+ at item auto
+Let the encoder decide automatically.
+ at end table
+
+ at item optimize_mono
+Set whether to enable optimization for mono. This option is only effective for
+non-mono streams. Available values:
+
+ at table @samp
+ at item on
+enabled
+ at item off
+disabled
+ at end table
+
+ at end table
+
 @c man end AUDIO ENCODERS
 
 @chapter Video Encoders



More information about the ffmpeg-cvslog mailing list