diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 419f5d8..ade5c4a 100755 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,6 +1,10 @@ -#VIDEO +profile=pc-display-conf +#profile=tv-display-auto +#profile=android-decent-hw +#VIDEO + #catmull_rom uses less resources than lanczos and ewa_lanczossharp. #spline36 is kinda bad, for upscaling you should use bicubic catrom for preserving spatial proerties #or a lanczos scaler (like ewa_lanczos or ewa_lanczossharp) for sharpness. @@ -120,51 +124,6 @@ screenshot-png-filter=0 -# HDR TONE MAPPING - -#https://github.com/mpv-player/mpv/pull/6564#issuecomment-473522461 -#https://doodad.dev/dither-me-this/ - -dither-depth=8 - -dither=fruit -#dither-size-fruit=8 - - -#common primaries for modern displays are 'bt.709' (sRGB), 'bt.2020', 'apple' (Apple RGB), 'adobe' (Adobe RGB) and 'dci-p3' -target-prim=bt.709 - -# transfer characteristics (gamma), you can leave it on 'auto', you can also use 'bt.1886', 'srgb', 'linear', 'pq' or another option -target-trc=srgb - -#you can leave it on 'auto', sdr is '203' -target-peak=auto - -hdr-compute-peak=yes #uses own algorythm instead of metadata - -allow-delayed-peak-detect=yes #enable for better performance - - -#You can use 'spline' (probably better), 'bt.2390', 'bt.2446a' or leave it on 'auto'. -tone-mapping=spline - -#tone-mapping-param=1.5 #For bt.2390, mpv default 1.0 and some like 1.5, for spline default is 0.3 - -hdr-peak-percentile=99.995 #use 99.995 for better hdr -#hdr-contrast-recovery=0.30 #better hdr, less performance - -#tone-mapping-mode=hybrid #deprecated https://github.com/mpv-player/mpv/commit/b4c98cb04c87999eccd061cc59e6f5f8fa706220 - -gamut-mapping-mode=perceptual - -icc-intent=0 - - -#blend-subtitles=yes - - - - # DEBANDING @@ -246,3 +205,99 @@ vf-clr #[bwdifdeint-autoprofile] #profile-cond=p["video-format/tff"] #profile=bwdifdeint + + +#diplays + +[pc-display-conf] +dither-depth=8 +dither=fruit +#dither-size-fruit=8 + +#common primaries for modern displays are 'bt.709' (sRGB), 'bt.2020', 'apple' (Apple RGB), 'adobe' (Adobe RGB) and 'dci-p3' +target-prim=bt.709 + +# transfer characteristics (gamma), you can leave it on 'auto', you can also use 'bt.1886', 'srgb', 'linear', 'pq' or another option +target-trc=srgb + +#you can leave it on 'auto', sdr is '203' +target-peak=auto + + +[tv-display-auto] +dither-depth=auto +#dither=fruit +#dither-size-fruit=8 + +#common primaries for modern displays are 'bt.709' (sRGB), 'bt.2020', 'apple' (Apple RGB), 'adobe' (Adobe RGB) and 'dci-p3' +target-prim=auto + +# transfer characteristics (gamma), you can leave it on 'auto', you can also use 'bt.1886', 'srgb', 'linear', 'pq' or another option +target-trc=auto + +#you can leave it on 'auto', sdr is '203' +target-peak=auto + + +[tonemaping-pc] + +# HDR TONE MAPPING + +#https://github.com/mpv-player/mpv/pull/6564#issuecomment-473522461 +#https://doodad.dev/dither-me-this/ + + + +hdr-compute-peak=yes #uses own algorythm instead of metadata + +allow-delayed-peak-detect=yes #enable for better performance + + +#You can use 'spline' (probably better), 'bt.2390', 'bt.2446a' or leave it on 'auto'. +tone-mapping=spline + +#tone-mapping-param=1.5 #For bt.2390, mpv default 1.0 and some like 1.5, for spline default is 0.3 + +hdr-peak-percentile=99.995 #use 99.995 for better hdr +#hdr-contrast-recovery=0.30 #better hdr, less performance + +#tone-mapping-mode=hybrid #deprecated https://github.com/mpv-player/mpv/commit/b4c98cb04c87999eccd061cc59e6f5f8fa706220 + +gamut-mapping-mode=perceptual + +icc-intent=0 + +#blend-subtitles=yes + + + +[android-decent-hw] + +scale=lanczos + +dscale=hermite + +cscale=catmull_rom + +correct-downscaling=no + +linear-downscaling=yes +sigmoid-upscaling=yes + +#vo=gpu +vo=gpu-next + +hwdec=auto-safe +#hwdec=auto-copy-safe +#hwdec=vulkan + +#gpu-api=opengl +#gpu-api=vulkan + +vulkan-async-compute=yes +vulkan-async-transfer=yes +vulkan-queue-count=1 + +#opengl-waitvsync=yes +vd-lavc-dr=yes +#spirv-compiler=auto