From 8b47292eaca6e65eb8d2575e4bc0682d8eebddbb Mon Sep 17 00:00:00 2001 From: hashirama Date: Fri, 12 Jul 2024 01:08:51 +0000 Subject: [PATCH] reduce headaches --- .config/mpv/mpv.conf | 51 +++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 777649a..f2c9fba 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -37,10 +37,10 @@ ytdl-format=bestvideo[height<=?720p]+bestaudio/best ##### -video-sync=display-resample -display-fps=23 -fps=23 -vf-add=fps=23:round=near + +display-fps=20 +fps=20 +vf-add=fps=20:round=near # @@ -68,23 +68,23 @@ cache=yes demuxer-max-bytes=700M # shaders -glsl-shader=~~/shaders/Anime4K_Deblur_Original.glsl -glsl-shader=~~/shaders/ravu-r4.hook +#glsl-shader=~~/shaders/Anime4K_Deblur_Original.glsl +#glsl-shader=~~/shaders/ravu-r4.hook # Set the desired window size window-scale=2.0 # Force video to upscale to at least 2k -vf=scale=w=2880:h=1620:flags=lanczos +#vf=scale=w=2880:h=1620:flags=lanczos # Set the desired window size (optional, adjust as needed) geometry=2880x1620 # Enable video upscaling -scale=ewa_lanczos +#scale=ewa_lanczos # Enable higher quality scaling when upscaling -cscale=ewa_lanczos +#cscale=ewa_lanczos @@ -111,7 +111,7 @@ sub-ass-force-style=FontName='Calex Code JP',FontSize=48,Outline=0.25,PrimaryCol -# cache to prevent sttutering +# cache-size=700000 cache-initial=20000 @@ -131,9 +131,34 @@ cache-min=20M cache-seek-min=yes cache-backend=yes -#------------ - hwdec-codecs=all vd-lavc-threads=32 # Adjust the number of threads based on your CPU ad-lavc-threads=32 -framedrop=yes \ No newline at end of file +#framedrop=yes + + +# im a bit drowsy when the frame gets high +vf=framestep=4 + + +# Frame skipping +framedrop=vo + +# Display resample +video-sync=display-resample + +# Adjust brightness and contrast +brightness=-10 +contrast=-10 + +# Enable V-Sync +vsync=yes + +# Enable interpolation +interpolation=yes +tscale=oversample + +# Force 50 Hz refresh rate +refresh=50 +############## end of "drowsy" config. +