过期:HDR 转 SDR 的优化方案 #25
Replies: 11 comments 43 replies
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
HDR 映射上我个人目前还是选择 mpv 的内部映射算法,主要是上游近期已修复映射过饱和问题。shader 着色器映射方案虽然可玩性不小,不过 OSD 映射上的缺失还是痛点(mpv 本身的问题) 而且目前的 shader 组合方案测试下来也还不是很完善,mpv 的内部映射算法个人测试下效果最好的还是 --vo=gpu-next 下的 bt.2446a 映射曲线。 Edit: 发现 hdr-compute-peak 对 bt.2446a 的对比度有明显改善,恢复默认值。dovi 的 p5 无相关亮度峰值信息,可根据喜好自行为 p5 切换 hable 色调映射算法 个人的 HDR to SDR 映射方案的相关参数参考 vo=gpu-next
gpu-api=d3d11
target-prim=auto
target-trc=gamma2.2
target-peak=auto
tone-mapping=bt.2446a
tone-mapping-crosstalk=0.04
tone-mapping-mode=auto
gamut-mapping-mode=clip
hdr-compute-peak=auto
[HDR]
profile-desc=HDR配置参数
profile-cond=p["video-params/sig-peak"] > 1
profile-restore=copy
#target-peak=100
tone-mapping-mode=rgb
blend-subtitles=no
deband=no
vf=""
[hdr-spline]
profile-cond=p.tone_mapping == "spline" and p["video-params/sig-peak"] > 1000 / 203
profile-restore=copy
tone-mapping-param=0.15
[hdr-2390]
profile-cond=p.tone_mapping == "bt.2390" and p.current_vo == "gpu-next"
profile-restore=copy
tone-mapping-param=2.0
[hdr-peak]
profile-cond=p.tone_mapping == "reinhard" or p.tone_mapping == "bt.2390"
profile-restore=copy
hdr-compute-peak=no |
Beta Was this translation helpful? Give feedback.
4 replies
This comment has been hidden.
This comment has been hidden.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
本文以
vo=gpu-next
为必要条件目前的默认参数我认为没什么可调整的,也可以参考下面的讨论
如果觉得亮度总是在跳动那就在 mpv.conf 中加一行
hdr-compute-peak=no
Shader
但是我个人并不满意 mpv 的映射结果,所以自己做了转换着色器
https://github.com/natural-harmonia-gropius/hdr-toys
缺点是字幕会从 srgb 转成 bt.2100-pq 非常暗淡
LUT
目前 lut 不能在运行时改变
从达芬奇导出的 lut,和一个 Toru Yoshihara 从 youtube 反推的 lut,可作为输出参考
https://github.com/natural-harmonia-gropius/mpv_config/tree/master/portable_config/luts
Beta Was this translation helpful? Give feedback.
All reactions