Update MPV for HDR

This commit is contained in:
Aria 2025-04-30 11:43:13 +10:00
parent 714876fa07
commit 118baad7bc
Signed by: aria
GPG key ID: 19AB7AA462B8AB3B

View file

@ -49,10 +49,8 @@ blend-subtitles
hls-bitrate=max
hwdec=auto-safe
vo=gpu-next
hwdec=vulkan,vulkan-copy,auto-safe
profile=gpu-hq
gpu-context=wayland
screenshot-directory="/home/buymymojo/Pictures/MPV/"
@ -60,11 +58,12 @@ screenshot-directory="/home/buymymojo/Pictures/MPV/"
# Cache #
#########
cache=yes
cache-secs=300 # how many seconds of audio/video to prefetch if the cache is active
cache-secs=600 # how many seconds of audio/video to prefetch if the cache is active
vo=gpu-next
# vo=dmabuf-wayland
# gpu-api=vulkan
# gpu-context=waylandvk
gpu-api=vulkan
gpu-context=waylandvk
# vulkan-async-compute
# gpu-context=winvk
spirv-compiler=auto
@ -80,7 +79,7 @@ temporal-dither
# interpolation-threshold=0.0001
# video-sync=audio
# video-sync=display
# video-sync=display-resample-vdrop
video-sync=display-resample
video-crop=0x0+0+0
deband=yes
@ -108,18 +107,25 @@ scale-blur=0.981251
# [HDR]
# profile-decs=HDR_Content
# profile-cond=p["video-params/gamma"] == "pq"
# profile-restore=copy
# target-colorspace-hint=yes
target-colorspace-hint=auto
# tone-mapping=spline
# tone-mapping-mode=auto
# hdr-compute-peak=yes
# target-peak=auto
# gamut-mapping-mode=perceptual
# hdr-contrast-recovery=1.0
# disable icc-profile
#
# [HDR_MODE:DOVI]
# profile-restore=copy
# #Automatically enables profile if DoVi video is played. Seems to work but maybe there a better way?
# profile-cond=(p["video-dec-params/gamma"] == "auto")
# target-trc=pq
# target-prim=bt.2020
# #Adjust this to the peak brightness of your display. e.g. 800 for LG CX
# target-peak=1500
# #Only necessary if you are switching between different profiles like me SDR_TO_HDR tonemap profile
# tone-mapping-mode=auto
###################################
# Protocol Specific Configuration #