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 + + +