at least for x265 you will have to add master-display and max-cll to the command line as parameters
"colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10)"
and may be ':max-cll=0,0'
don't think there is an option in ffmpeg to passthrough these settings to libx265
|