From 7eead42e3002da078bc8c4c1187cdf10119b4539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E4=BD=8F=E6=9F=B1=E9=96=93?= Date: Sat, 16 Mar 2024 19:52:37 +0000 Subject: [PATCH] Add .config/mpv/mpv.conf --- .config/mpv/mpv.conf | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .config/mpv/mpv.conf diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..8e49eda --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,53 @@ +sub-font-size=30 +sub-pos=13 +sub-font='~/.fonts/Motomachi-Regular.ttf' +sub-fontconfig=no +sub-font="Motomachi" +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-format=png +screenshot-directory=/mnt/Data/mpv-screenshots/ + + +demuxer-thread=yes +demuxer-rawvideo-fps=60 +demuxer-rawaudio-rate=384000 + + + +#sub-ass-styles='{\\pos(640,10)}' + +Z add sub-delay +0.05 +z add sub-delay -0.05 +D add sub-delay -8900 + + +# audio normalization +af=lavfi=[dynaudnorm=f=75:g=25:p=0.55] +lavfi=[loudnorm=I=-22:TP=-1.5:LRA=2] + +gpu-api=vulkan + + +#vo=vaapi +#hwdec=auto-copy + +lavfi-complex=vid.vd-lavc-threads=16 + + +# Set cache to avoid lag +cache=yes + +# Limit the amount of data demuxed (read from the file) ahead of playback +demuxer-max-bytes=700M + + +