[FFmpeg-devel] [PATCH] doc/encoders: add libopenh264 entry

Clément Bœsch u at pkh.me
Tue Sep 8 16:49:33 CEST 2015


On Tue, Sep 08, 2015 at 03:59:50PM +0200, Stefano Sabatini wrote:
> ---
>  doc/encoders.texi | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 59 insertions(+)
> 
> diff --git a/doc/encoders.texi b/doc/encoders.texi
> index f9fe331..37a0330 100644
> --- a/doc/encoders.texi
> +++ b/doc/encoders.texi
> @@ -1342,6 +1342,65 @@ disabled
>  A description of some of the currently available video encoders
>  follows.
>  
> + at section libopenh264
> +
> +Cisco libopenh264 H.264/MPEG-4 AVC encoder wrapper.
> +
> +This encoder requires the presence of the libopenh264 headers and
> +library during configuration. You need to explicitly configure the
> +build with @code{--enable-libopenh264}.

You might want to add "The library is detected using pkg-config"

> +
> +This encoder currently supports only baseline profile.

Note: I feel like mentioning limitations in the documentation are going to
be forgotten when the code improves. Maybe we should mention "Update the
doc" along side the TODO of the feature in the code.

> +
> +For more information about the library see
> + at url{http://www.openh264.org}.
> +
> + at subsection Options
> +
> +The following FFmpeg global options affect the configurations of the
> +libopenh264 encoder.
> +
> + at table @option
> + at item b
> +Set the bitrate (as a number of bits per second).
> +
> + at item g
> +Set the GOP size.
> +
> + at item maxrate
> +Set the max bitrate (as a number of bits per second).
> +
> + at item flags +global_header
> +Set global header in the bitstream.
> +
> + at item slices
> +Set the number of slices, used in parallelized encoding. Default value
> +is 0. This is only used when @option{slice_mode} is set to
> + at samp{fixed}.
> +
> + at item slice_mode
> +Set slice mode. Can assume one of the follwing possible values:
> +
> + at table @samp
> + at item fixed
> +a fixed number of slices
> + at item rowmb
> +one slice per row of macroblocks
> + at item auto
> +automatic number of slices according to number of thread
> + at end table
> +
> +Default value is @samp{auto}.
> +
> + at item loopfilter
> +Enable loop filter, if set to 1 (automatically enabled). To disable
> +set a value of 0.
> +
> + at item profile
> +Set profile restrictions. If set to the value of @samp{main} enable
> +CABAC (set the @code{SEncParamExt.iEntropyCodingModeFlag} flag to 1).
> + at end table
> +

LGTM but I'm not familiar with the encoder

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150908/97340ac9/attachment.sig>


More information about the ffmpeg-devel mailing list