add mastering display color volume and content light level information to hevc_metadata bitstream filter
|Reported by:||sneaker||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
It's currently already possible to use the "hevc_metadata" bitstream filter (-bsf:v hevc_metadata) to add or change colour_primaries, transfer_characteristics and matrix_coefficients of a given HEVC bitstream losslessly. The only things missing to allow ffmpeg to properly set HDR metadata on existing HEVC streams would be to set SMPTE ST 2086 Mastering display color volume SEI and Content light level information SEI message (MaxCLL and MaxFALL).
This is useful because not all encoders currently allow setting those as well as in the case you forgot setting them during encode time.