From 098c1e9c035a23554038f1653e87e1e6c4086d67 Mon Sep 17 00:00:00 2001 From: gaitas13 <91051922+gaitas13@users.noreply.github.com> Date: Fri, 22 Aug 2025 13:55:43 +0200 Subject: [PATCH] updated mpv --- .config/mpv/mpv.conf | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 5e37057..a7d12aa 100755 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,6 +1,6 @@ profile=pc-stuff profile=tonemaping-pc -profile=pc-sdr-display-conf +#profile=pc-sdr-display-conf #profile=tv-display-auto #profile=android-decent-hw @@ -160,30 +160,31 @@ deband=no vo=gpu-next #on windows be careful of using dxva2, d3d11va is better. -#hwdec=auto-safe -hwdec=auto-copy-safe #enables copyback, requires more resources +hwdec=auto-safe +#hwdec=auto-copy-safe #enables copyback, requires more resources #bwdif is now the fallback deinterlacer, but only vulkan has bwdif hw deinterlacing +#hwdec=vulkan #hwdec=vulkan-copy #vulkan uses more resources,but has better hdr compatibility #gpu-api=opengl # Uncomment this if you notice stuttering with vulkan, opengl may cause screen tearing depending of your config -#gpu-api=vulkan # Comment this if you notice stuttering and uncomment the above line +gpu-api=vulkan # Comment this if you notice stuttering and uncomment the above line #vulkan-device='Intel(R) Iris(R) Xe Graphics' #vulkan-device='NVIDIA GeForce RTX 4060 Laptop GPU' #gpu-context=winvk -vulkan-async-compute=yes -vulkan-async-transfer=yes -vulkan-queue-count=1 +#vulkan-async-compute=yes +#vulkan-async-transfer=yes +#vulkan-queue-count=1 #opengl-waitvsync=yes -vd-lavc-dr=yes -spirv-compiler=auto +#vd-lavc-dr=yes +#spirv-compiler=auto # TEMPORAL INTERPOLATION (BETWEEN FRAMES) @@ -218,10 +219,10 @@ target-trc=srgb gamma-factor=1.1 #lighten image when using target-trc=srgb #you can leave it on 'auto', sdr is '203' -target-peak=auto +target-peak=700 #auto hdr switching -#target-colorspace-hint=yes +target-colorspace-hint=yes [tv-display-auto] dither-depth=auto @@ -334,3 +335,17 @@ vf-clr #[bwdifdeint-autoprofile] #profile-cond=p["video-format/tff"] #profile=bwdifdeint + +[SDR] +profile-cond=p["video-params/gamma"] ~= "pq" and p["video-params/gamma"] ~= "hlg" +target-colorspace-hint=no +target-peak=203 +[HDR/DV] +profile-cond=p["video-params/gamma"] == "pq" or p["video-params/gamma"] == "hlg" + +target-contrast=8000 ##inf is for OLED, for LCD get the contrast value from rtings or similar +target-trc=pq +#target-prim=dci-p3 +target-prim=auto +target-peak=700 ## If you have an HDR display, adjust this to the 10% peak +target-colorspace-hint=yes