# 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 ##### #framedrop=yes #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 # Enable audio buffering audio-buffer=1000ms # dont tie audio to video fps no-sync=yes audio-speed=1.0 async=yes audio-threads=4 audio-pitch-correction=yes vf=setpts=PTS/1 # 日本語 sub-lang=jpn,ja,jp,japanese,JA,JP,JPN,Japanese sub-auto=no audio-lang=jpn,ja,jp,japanese,JA,JP,JPN,Japanese alang=jpn,ja,jp,japanese,JA,JP,JPN,Japanese alang=ja,jp,jpn,japanese slang=ja,jp,jpn,japanese no-subtitles=no-japanese no-audio=no-japanese sub-forced-only=yes # ------------------------------------------------ # test with hardware acceleration ad=lavc:hwaccel=auto # faster audio decoding vd=lavc:hwaccel=auto # video vd-threads=32 cache-default=512 cache-initial=256 cache-seek=yes cache-min=256 # increase volumn script-opts=increase-volum.lua # less bass af=scaletempo=f=20:b=1.1,l=1.2 # Reduce bass, boost treble af=add=haas # Enhance stereo imaging af=lavcac # Apply loudness compensation eq-pre=f=50:gw=1:b=-5 # Reduce low rumble eq-pre=f=200:gw=1:b=-3 # Reduce mid-bass eq-pre=f=4000:gw=1:b=1 # Boost high-mids eq-pre=f=8000:gw=1:b=2 # Boost treble # --------------------------------------- fallback-sub-folder=/home/hashirama/Downloads/bleach/subs/ speed=1.0