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 --enable-libopenh264. The library is detected using pkg-config.

For more information about the library see .

The following FFmpeg global options affect the configurations of the libopenh264 encoder.

'b'

Set the bitrate (as a number of bits per second).

'g'

Set the GOP size.

'maxrate'

Set the max bitrate (as a number of bits per second).

'flags +global_header'

Set global header in the bitstream.

'slices'

Set the number of slices, used in parallelized encoding. Default value is 0. This is only used when 'slice_mode' is set to 'fixed'.

'slice_mode'

Set slice mode. Can assume one of the following possible values:

'fixed'

a fixed number of slices

'rowmb'

one slice per row of macroblocks

'auto'

automatic number of slices according to number of threads

'dyn'

dynamic slicing

Default value is 'auto'.

'loopfilter'

Enable loop filter, if set to 1 (automatically enabled). To disable set a value of 0.

'profile'

Set profile restrictions. If set to the value of 'main' enable CABAC (set the SEncParamExt.iEntropyCodingModeFlag flag to 1).

'max_nal_size'

Set maximum NAL size in bytes.

'allow_skip_frames'

Allow skipping frames to hit the target bitrate if set to 1.