libx265


x265 H.265/HEVC encoder wrapper.

This encoder requires the presence of the libx265 headers and library during configuration. You need to explicitly configure the build with '--enable-libx265'.

'preset'

Set the x265 preset.

'tune'

Set the x265 tune parameter.

'profile'

Set profile restrictions.

'crf'

Set the quality for constant quality mode.

'forced-idr'

Normally, when forcing a I-frame type, the encoder can select any type of I-frame. This option forces it to choose an IDR-frame.

'x265-params'

Set x265 options using a list of key=value couples separated by ":". See x265 --help for a list of options.

For example to specify libx265 encoding options with '-x265-params':

ffmpeg -i input -c:v libx265 -x265-params crf=26:psy-rd=1 output.mp4