(Improvement) HDR infoframe replacement with proper BT2020 values #721
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello again, and a happy new year to all of you. Thank you for merging the earlier HDR feature.
I kept a close watch on discussion and experiences people had with HDR, and identified some key issues:
After doing some research on the specification of the HDR infoframe, I constructed replacement metadata that matches with BT2020; the bytes for RGB primaries and whitepoint have been corrected for this color space. See the code for parameters used.
Results
People using
hdr=1
will now get a more accurate color reproduction in BT2020 color space. The colors will more closely resemble those of SDR while still providing enhanced brightness and contrast. DCI P3 remains available by usinghdr=2
, but the metadata does not change and will still advertise itself as BT2020.hdr=3
is also usable but requires careful tweaking.Recommendations
Since BT2020 is now accurate, I recommend users try out
hdr=1
again - without any color control options (all default). Previously, a lot of users went withhdr=2
as it provided a better color reproduction.When using any HDR option, please turn off the gamma filter in "Video Processing". Gamma is already set to 2.2 via the HDR infoframe.
Thank you!