reduce headaches

main
hashirama 2024-07-12 01:08:51 +00:00
parent df90723dd1
commit 8b47292eac
1 changed files with 38 additions and 13 deletions

View File

@ -37,10 +37,10 @@ ytdl-format=bestvideo[height<=?720p]+bestaudio/best
##### #####
video-sync=display-resample
display-fps=23 display-fps=20
fps=23 fps=20
vf-add=fps=23:round=near vf-add=fps=20:round=near
# #
@ -68,23 +68,23 @@ cache=yes
demuxer-max-bytes=700M demuxer-max-bytes=700M
# shaders # shaders
glsl-shader=~~/shaders/Anime4K_Deblur_Original.glsl #glsl-shader=~~/shaders/Anime4K_Deblur_Original.glsl
glsl-shader=~~/shaders/ravu-r4.hook #glsl-shader=~~/shaders/ravu-r4.hook
# Set the desired window size # Set the desired window size
window-scale=2.0 window-scale=2.0
# Force video to upscale to at least 2k # 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) # Set the desired window size (optional, adjust as needed)
geometry=2880x1620 geometry=2880x1620
# Enable video upscaling # Enable video upscaling
scale=ewa_lanczos #scale=ewa_lanczos
# Enable higher quality scaling when upscaling # 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-size=700000
cache-initial=20000 cache-initial=20000
@ -131,9 +131,34 @@ cache-min=20M
cache-seek-min=yes cache-seek-min=yes
cache-backend=yes cache-backend=yes
#------------
hwdec-codecs=all hwdec-codecs=all
vd-lavc-threads=32 # Adjust the number of threads based on your CPU vd-lavc-threads=32 # Adjust the number of threads based on your CPU
ad-lavc-threads=32 ad-lavc-threads=32
framedrop=yes #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.