FFmpeg 4.3.8
Since* 4.3
#

Perform HDR(High Dynamic Range) to SDR(Standard Dynamic Range) conversion with tone-mapping. It maps the dynamic range of HDR10 content to the SDR content. It currently only accepts HDR10 as input.

It accepts the following parameters:

format

Specify the output pixel format.

Currently supported formats are:

  • p010
  • nv12

Default is nv12.

primaries, p

Set the output color primaries.

Default is same as input.

transfer, t

Set the output transfer characteristics.

Default is bt709.

matrix, m

Set the output colorspace matrix.

Default is same as input.

#

Example

  • Convert HDR(HDR10) video to bt2020-transfer-characteristic p010 format

    tonemap_vaapi=format=p010:t=bt2020-10