Update mpv.conf

This commit is contained in:
gaitas13 2026-05-31 16:49:20 +02:00 committed by GitHub
parent 5d524ce1a2
commit 41d07ef873
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
profile=pc-stuff profile=pc-stuff
profile=tonemaping-pc #profile=tonemaping-pc
#profile=pc-sdr-display-conf #profile=pc-sdr-display-conf
#profile=tv-display-auto #profile=tv-display-auto
#profile=android-decent-hw #profile=android-decent-hw
@ -102,7 +102,9 @@ save-position-on-quit
#catmull_rom = bicubic b 0 c 0.5 #catmull_rom = bicubic b 0 c 0.5
#hermite = bicubic b 0 c 0 #hermite = bicubic b 0 c 0
scale=lanczos #personal upscaler preference: ewa robidoux > catrom > ewa 2tap lanczos > mitchell >>>> 3 tap lanczos
scale=ewa_robidouxsharp
#dscale, like scale, but for downscaling, #dscale, like scale, but for downscaling,
#it defaults to scale if unset #it defaults to scale if unset
@ -176,9 +178,6 @@ hwdec=auto-safe
#gpu-api=opengl # Uncomment this if you notice stuttering with vulkan, opengl may cause screen tearing depending of your config #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 #gpu-context=winvk
#vulkan-async-compute=yes #vulkan-async-compute=yes
#vulkan-async-transfer=yes #vulkan-async-transfer=yes
@ -207,7 +206,7 @@ video-sync=audio #fix desync on d3d11va-copy when not using gpu-api = opengl or
[pc-sdr-display-conf] [pc-sdr-display-conf]
dither-depth=8 dither-depth=8
dither=fruit dither=ordered
#dither-size-fruit=8 #dither-size-fruit=8
#common primaries for modern displays are 'bt.709' (sRGB), 'bt.2020', 'apple' (Apple RGB), 'adobe' (Adobe RGB) and 'dci-p3' #common primaries for modern displays are 'bt.709' (sRGB), 'bt.2020', 'apple' (Apple RGB), 'adobe' (Adobe RGB) and 'dci-p3'
@ -228,34 +227,29 @@ target-colorspace-hint=yes
[tv-display-auto] [tv-display-auto]
dither-depth=auto dither-depth=auto
#dither=fruit dither=ordered
#dither-size-fruit=8 #dither-size-fruit=8
target-prim=auto target-prim=auto
target-gamut=auto target-gamut=auto
target-trc=auto target-trc=auto
target-peak=auto target-peak=auto
target-colorspace-hint=yes target-colorspace-hint=yes
[tonemaping-pc] [tonemaping-pc]
# HDR TONE MAPPING # HDR TONE MAPPING
#https://github.com/mpv-player/mpv/pull/6564#issuecomment-473522461 #https://github.com/mpv-player/mpv/pull/6564#issuecomment-473522461
#https://doodad.dev/dither-me-this/ #https://doodad.dev/dither-me-this/
dither-depth=auto
#fruit quality, ordered performance
dither=ordered
hdr-compute-peak=yes #uses own algorythm instead of metadata hdr-compute-peak=yes #uses own algorythm instead of metadata
allow-delayed-peak-detect=yes #enable for better performance allow-delayed-peak-detect=yes #enable for better performance
#You can use 'spline' (probably better), 'bt.2390', 'bt.2446a' or leave it on 'auto'. #You can use 'spline' (probably better), 'bt.2390', 'bt.2446a' or leave it on 'auto'.
tone-mapping=spline tone-mapping=spline
@ -268,7 +262,6 @@ hdr-peak-percentile=99.995 #use 99.995 for better hdr
gamut-mapping-mode=perceptual gamut-mapping-mode=perceptual
#icc intent perceptual (0) changes all the colors to fit inside colorspace, better when many out of gamut colors #icc intent perceptual (0) changes all the colors to fit inside colorspace, better when many out of gamut colors
#relative colorimetric (1) maps white of source to white of output and clips out of gamut colors #relative colorimetric (1) maps white of source to white of output and clips out of gamut colors
#on wide color gamut monitors, perceptual may lead to oversaturation #on wide color gamut monitors, perceptual may lead to oversaturation
@ -278,19 +271,15 @@ icc-intent=0
[tonemaping-clip] [tonemaping-clip]
dither-depth=auto
dither=ordered
hdr-compute-peak=no hdr-compute-peak=no
tone-mapping=clip tone-mapping=clip
gamut-mapping-mode=clip gamut-mapping-mode=clip
icc-intent=0 icc-intent=1
[android-decent-hw] [android-decent-hw]
@ -300,7 +289,6 @@ icc-intent=0
cscale=bilinear cscale=bilinear
#vo=gpu #vo=gpu
vo=gpu-next vo=gpu-next
@ -317,7 +305,6 @@ vo=gpu-next
#bwdif deinterlacing profile #bwdif deinterlacing profile
[bwdifdeint] [bwdifdeint]
profile-desc="Deinterlacing mode: bwdif bob" profile-desc="Deinterlacing mode: bwdif bob"
#deinterlacing, bwdif and w3fdif are better quality than yadif #deinterlacing, bwdif and w3fdif are better quality than yadif
@ -342,6 +329,8 @@ vf-clr
profile-cond=p["video-params/gamma"] ~= "pq" and p["video-params/gamma"] ~= "hlg" profile-cond=p["video-params/gamma"] ~= "pq" and p["video-params/gamma"] ~= "hlg"
target-colorspace-hint=no target-colorspace-hint=no
target-peak=203 target-peak=203
profile=tonemaping-clip
[HDR/DV] [HDR/DV]
profile-cond=p["video-params/gamma"] == "pq" or p["video-params/gamma"] == "hlg" profile-cond=p["video-params/gamma"] == "pq" or p["video-params/gamma"] == "hlg"
@ -349,5 +338,6 @@ target-contrast=8000 ##inf is for OLED, for LCD get the contrast value from rtin
target-trc=pq target-trc=pq
#target-prim=dci-p3 #target-prim=dci-p3
target-prim=auto target-prim=auto
target-peak=700 ## If you have an HDR display, adjust this to the 10% peak target-peak=650 ## If you have an HDR display, adjust this to the 10% peak
target-colorspace-hint=yes target-colorspace-hint=yes
profile=tonemaping-pc