-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a property that reports the mastering display metadata used by current video track #9620
Comments
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
Since the video was mastered on Display P3, it should be played on Display P3 for best results, shouldn't it? |
I'm sorry I'm confused. If the video suggest max luminance 1000nits and my display support max luminance 1600nits ( eg. Apple XDR Display ), should I enable tone mapping algorithm for that? |
I agree. So in this case, what value should I specify for --target-peak, since I can only specify one value instead of two (min and max) EDIT: Strangely, the doc reads
And
So everything should just work. However according to the issue, these options didn't seem to work without manually enabling. |
Mastering display color primaries is color primaries only, doesn't matter what transfer function it is. |
No. In this case, mpv will also not enable tone-mapping either. We only tone-map if the source mastering luminance exceeds the display capabilities. In practice, we clip the signal to the display mastering brightness, before tone mapping. If a video file contains image detail outside that brightness range, I consider it badly mastered. |
Again according to the issue, tone mapping didn't seem to work without manually enabling. hdr_test.mov |
In practice the first step will be to extend mpv to even include mastering metadata as part of video colorimetry. (And ideally, also allow overriding it using Right now mpv core ignores it. ( |
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
…lay-P3 primaries Ref: mpv-player/mpv#9620
We have video-params/primaries to test if the video source is HDR compatible. However it always reports bt.2020 despite the video suggests
Display P3
in mastering display metadata.It seems that video creators will only set
Display P3
in mastering display metadata as suggested by Apple, while Color primaries is always set asBT.2020
. Without a new property we can't know if the video suggests usingDisplay P3
or not.Expected behavior of the wanted feature
Provide a new property
video-params/mastering-display-metadata
that reports the mastering display metadata used by current video track, or null if unavailable.eg:
Alternative behavior of the wanted feature
N/A
Log file
N/A
The text was updated successfully, but these errors were encountered: