diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 993022b..777649a 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,7 +1,7 @@ sub-font-size=30 sub-pos=13 -#sub-font='~/.fonts/Motomachi-Regular.ttf' -sub-fontconfig=no + + sub-font="Calex Code JP" sub-antialiasing=yes sub-text-outline=0.5 @@ -36,8 +36,7 @@ ytdl-format=bestvideo[height<=?720p]+bestaudio/best ##### -## watching videos without getting drowsy -gpu-context=winvk + video-sync=display-resample display-fps=23 fps=23 @@ -46,9 +45,7 @@ vf-add=fps=23:round=near # -demuxer-thread=yes -demuxer-rawvideo-fps=23 -demuxer-rawaudio-rate=384000 + @@ -62,16 +59,6 @@ D add sub-delay -8900 gpu-api=vulkan -vulkan-async-compute=yes -vulkan-async-transfer=yes -vulkan-queue-count=1 - - - -#vo=vaapi -#hwdec=auto-copy - -lavfi-complex=vid.vd-lavc-threads=16 # Set cache to avoid lag @@ -88,10 +75,10 @@ glsl-shader=~~/shaders/ravu-r4.hook window-scale=2.0 # Force video to upscale to at least 2k -vf=scale=w=2048:h=1080:flags=lanczos +vf=scale=w=2880:h=1620:flags=lanczos # Set the desired window size (optional, adjust as needed) -geometry=2048x1080 +geometry=2880x1620 # Enable video upscaling scale=ewa_lanczos @@ -109,11 +96,44 @@ cscale=ewa_lanczos # 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-force-style=FontName='Calex Code JP',FontSize=48,Outline=0.5,PrimaryColour=&Hffffff&,SecondaryColour=&H000000&,OutlineColour=&H000000&,BackColour=&H000000&,Alignment=2 +sub-ass-override=force +sub-ass-force-style=FontName='Calex Code JP',FontSize=48,Outline=0.25,PrimaryColour=&H00FFFFFF&,OutlineColour=&H00000000& + + + +# cache to prevent sttutering + +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 \ No newline at end of file