diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-19 21:14:37 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-20 10:05:04 +0200 |
commit | 52da548c7dabac364cc38e4239edc56a28d0d63c (patch) | |
tree | 13259aae27a288958109d8daf1b41462821c0a1f | |
parent | c5385147cd74bc1892650c47531c7797f22b0b1d (diff) | |
download | ffmpeg-52da548c7dabac364cc38e4239edc56a28d0d63c.tar.gz |
encoders.texi: add documentation for the libx264 encoder
Also remove -x264opts item from the ffmpeg manual, since it belongs to
the encoders section.
-rw-r--r-- | doc/encoders.texi | 63 | ||||
-rw-r--r-- | doc/ffmpeg.texi | 7 |
2 files changed, 63 insertions, 7 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi index a7193a6258..9f9e9a9284 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -370,3 +370,66 @@ is highly recommended that it be left as enabled except for testing purposes. @end table @c man end AUDIO ENCODERS + +@chapter Video Encoders +@c man begin VIDEO ENCODERS + +A description of some of the currently available video encoders +follows. + +@section libx264 + +H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 format supported through +libx264. + +Requires the presence of the libx64 headers and library during +configuration. You need to explicitely configure the build with +@code{--enable-libx264}. + +@subsection Options + +@table @option + +@item preset @var{preset_name} +Set the encoding preset. + +@item tune @var{tune_name} +Tune the encoding params. +Deprecated in favor of @var{x264_opts} + +@item fastfirstpass @var{bool} +Use fast settings when encoding first pass, default value is 1. +Deprecated in favor of @var{x264_opts}. + +@item profile @var{profile_name} +Set profile restrictions. +Deprecated in favor of @var{x264_opts}. + +@item level @var{level} +Specify level (as defined by Annex A). +Deprecated in favor of @var{x264_opts}. + +@item passlogfile @var{filename} +Specify filename for 2 pass stats. +Deprecated in favor of @var{x264_opts}. + +@item wpredp @var{wpred_type} +Specify Weighted prediction for P-frames. +Deprecated in favor of @var{x264_opts}. + +@item x264opts @var{options} +Allow to set any x264 option, see x264 manual for a list. + +@var{options} is a list of @var{key}=@var{value} couples separated by +":". +@end table + +For example to specify libx264 encoding options with @file{ffmpeg}: +@example +ffmpeg -i foo.mpg -vcodec libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv +@end example + +For more information about libx264 and the supported options see: +@url{http://www.videolan.org/developers/x264.html} + +@c man end VIDEO ENCODERS diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 0cf1a829b2..77fde18564 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -312,13 +312,6 @@ the input video. Use the option "-filters" to show all the available filters (including also sources and sinks). -@item -x264opts @var{option} -Allows you to set any x264 option, see x264 manual for a list. -@example -ffmpeg -i foo.mpg -vcodec libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv -@end example - - @end table @section Advanced Video Options |