hdr tonemapping, how to configure? #15394
Replies: 6 comments 6 replies
-
Hey, i might be able to help you here.
I ended up using the linear-tone-mapping curve, as it preserves the saturation and detail in bright scenes, but adapts to scenes that are just dark. Additionally, i set the hdr-peak-percentile to 99,8 ... In that case 0,2% of the bright details can be clipped out, but this declines that your mapping will pump around at dark scenes, where e.g. a candle is glimming or something like that. Regarding the blacks: The following tutorial depends if you have a device, where the brightness-lever adjusts the background light (1) (monitor, TV) or where the brightness-lever adjusts the panel-offset (projectors with static light source, e.g. UHP lamp, (2)): |
Beta Was this translation helpful? Give feedback.
-
My next thought belongs into a second comment i guess. To keep things in order here. I also had troubles with blacks, and i recognized that when setting everything like explained above, some movies got a really decent greyish look, while others are perfect. Some movies won't go into zero on the blacks, worse examples are Inception or Prey. I was demanding for an adaptive black-level feature that measures the darkest pixels in the scene and adapts the tone-mapping curve so that pixels appear as zero: Ive attached the resulting compiled libplacebo-git version as an arch linux package: My settings with this libplacebo version are:
|
Beta Was this translation helpful? Give feedback.
-
Okay thank you, I will look into that when I'm again in HDR mode, but for now after 2 weeks full of comparisons I am burned out xD So after further testing I ended up using hdr-toys for all of the "color space" stuff (gamut-mapping and transfer function) and mpv only does the tone-mapping with 2094-10. On a SDR TV this gives you the best result. No clipped highlights, no crushed blacks, no washed out colors. Also good performance on crappy hardware :)
|
Beta Was this translation helpful? Give feedback.
-
Haha no, no stress but the last 2 weeks comparing all frames/scenes was a bit tedious. This is actually I think my 4th HDR tonemapping setup.
Awesome to find someone who also experiments with that stuff, there are not many people around for that. Hopefully mpv can improve on that in the future. Because as you have seen I have to use an external tool for that. |
Beta Was this translation helpful? Give feedback.
-
@stonix015 okay I found this scene 00:21:12 |
Beta Was this translation helpful? Give feedback.
-
Don't forget about https://mpv.io/manual/master/#options-tone-mapping-visualize to see what is the tone-mapping curve currently used. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a normal SDR TV and with mpv default settings I have noticed crushed blacks/artifacting in dark areas. So you loose detail and get some nasty color banding. This gets solved when you raise the brightness by 2-4 or switch
target-trc
from the defaultpq
tosrgb
orbt.1886
but this messes up dark scenes contrast and saturation.I'm not sure what to do at this point. You either get one (consistent contrast, saturation but crushed blacks) or the other (fine blacks but messed up saturation and contrast)
You have to watch these screenshots at fullscreen because here in the preview they all look broken/have banding
Thank you :)
sample to the first scene
Vikings.Valhalla.zip
corners and her dress, hair
in the middle of the arrow where it goes from shadow to highlight
marked with yellow, crushed red color
Beta Was this translation helpful? Give feedback.
All reactions