sub-font-size=30 sub-pos=13 sub-font="Calex Code JP" sub-antialiasing=yes sub-text-outline=0.5 ass-use-margins=yes ass-top-margin=50 ass-bottom-margin=50 ass-left-margin=50 ass-right-margin=50 # screenshot screenshot-template="%f_%p" screenshot-compression=1..10 screenshot-compression-level=10 screenshot-format=png screenshot-high-bit-depth=yes screenshot-png-compression=10 # this requires a lot of cpu screenshot-directory=/mnt/Data/mpv-screenshots/ input-cursor=no # then we gonna need this: # Keybinding to cycle through available audio dubs ALT+a cycle audio # Keybinding to cycle through available subtitles ALT+s cycle sub # youtube ytdl-format=bestvideo[height<=?720p]+bestaudio/best ##### display-fps=20 fps=20 vf-add=fps=20:round=near # #sub-ass-styles='{\\pos(640,10)}' Z add sub-delay +0.05 z add sub-delay -0.05 D add sub-delay -8900 gpu-api=vulkan # Set cache to avoid lag cache=yes # Limit the amount of data demuxed (read from the file) ahead of playback demuxer-max-bytes=700M # shaders #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 # Set the desired window size (optional, adjust as needed) geometry=2880x1620 # Enable video upscaling #scale=ewa_lanczos # Enable higher quality scaling when upscaling #cscale=ewa_lanczos # audio # audio normalization #af=lavfi=[dynaudnorm=f=75:g=25:p=0.55] #lavfi=[loudnorm=I=-22:TP=-1.5:LRA=2] # BGR sub-font="Calex Code JP" sub-antialiasing=yes sub-text-outline=0.5 sub-font-size=35 sub-border-size=1.5 sub-color="#ffffff" sub-border-color="#000000" sub-align-y=24 sub-ass-override=force sub-ass-force-style=FontName='Calex Code JP',FontSize=48,Outline=0.25,PrimaryColour=&H00FFFFFF&,OutlineColour=&H00000000& # cache-size=700000 cache-initial=20000 cache-pause=yes demuxer-max-bytes=200000KiB demuxer-readahead-secs=30 cache-backend=time cache-time=300 cache=yes cache-default=yes #cache-seek-min=100 #cache-seek-max=1000 #cache-backbuffer=300 cache-size=1G! cache-initial=50M 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 # 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.