

In this example, it should be 9 for bt2020_ncl. PQ 18 sets Transfer Characteristics SMPTE 2086 HLGĬolorspace is the "matrix_coefficients." This should be set consistent with how the content was mastered. Sets BT2020 See page 5 and 6 of this document for more detail.ġ6 sets Transfer Characteristics to SMPTE 2084. In this example, the first pass is output to /dev/null and processed in memory during the second pass. maxrate 26800000 -minrate 8040000 -profile:v 2 -vcodec libvpx-vp9 \īreaking out the key parameters introduced here: ffmpeg color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \ Standards with VP9: ffmpeg -i strobe_scientist_18Mbps.webm -b:v 18000000 -pass 1 \ In the examples below we use a statically-built ffmpeg with 10-bit support.įollowing is a usable FFmpeg command line for HDR encoding to Your FFmpeg will need to have been built with 10-bit (or even 12-bit) support. FFmpeg command-line settings to enable VP9 Profile 2 and HDR EOTFs

YouTube HDR Creators Guide, and more info about VP9 Profiles can be More info can be found in the excellent and comprehensive On mobile, devices that support hardware-accelerated VP9 Profile 2.All LG 2017 HDR models (also some 2016 LG G6 models).Chrome 64 Canary on Windows 10 Fall Creators Update, with HDR flag turned.Encoded output reach:Ĭurrently and in general, target devices supported include any device that canĭecode VP9 Profile 2 and output to an HDR display. Supported by FFmpeg can be used as input (for example, VP9 Profile 2 and 3, Number of gradually-harmonizing standards.įor a maintained picture of HDR video evolution see the WikiPedia articleįFmpeg can be used along with VP9 to both (1) compress HDR sources to Standardĭynamic Range (SDR) outputs or (2) to repackage an HDR source into HDRĬurrently, when encoding HDR with VP9, any high bit depth (10-bit) codecs High Dynamic Range (HDR) video is a maturing technology.
