modern_lisp-machine/.config/mpv/mpv.conf

113 lines
2.0 KiB
Plaintext
Raw Normal View History

2024-03-16 19:52:37 +00:00
sub-font-size=30
sub-pos=13
2024-06-01 05:00:40 +00:00
#sub-font='~/.fonts/Motomachi-Regular.ttf'
2024-03-16 19:52:37 +00:00
sub-fontconfig=no
2024-06-01 05:00:40 +00:00
sub-font="Calex Code JP"
2024-03-16 19:52:37 +00:00
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
2024-06-01 05:00:40 +00:00
screenshot-high-bit-depth=yes
screenshot-png-compression=7 # this requires a lot of cpu
2024-03-16 19:52:37 +00:00
screenshot-directory=/mnt/Data/mpv-screenshots/
2024-06-01 05:00:40 +00:00
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
#####
## watching videos without getting drowsy
gpu-context=winvk
video-sync=display-resample
display-fps=23
fps=23
vf-add=fps=23:round=near
#
2024-03-16 19:52:37 +00:00
demuxer-thread=yes
2024-06-01 05:00:40 +00:00
demuxer-rawvideo-fps=23
2024-03-16 19:52:37 +00:00
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
2024-06-01 05:00:40 +00:00
2024-03-16 19:52:37 +00:00
gpu-api=vulkan
2024-06-01 05:00:40 +00:00
vulkan-async-compute=yes
vulkan-async-transfer=yes
vulkan-queue-count=1
2024-03-16 19:52:37 +00:00
#vo=vaapi
#hwdec=auto-copy
lavfi-complex=vid.vd-lavc-threads=16
# Set cache to avoid lag
2024-06-01 05:00:40 +00:00
#cache=yes
2024-03-16 19:52:37 +00:00
# Limit the amount of data demuxed (read from the file) ahead of playback
2024-06-01 05:00:40 +00:00
#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=2048:h=1080:flags=lanczos
# Set the desired window size (optional, adjust as needed)
geometry=2048x1080
2024-03-16 19:52:37 +00:00
2024-06-01 05:00:40 +00:00
# Enable video upscaling
scale=ewa_lanczos
2024-03-16 19:52:37 +00:00
2024-06-01 05:00:40 +00:00
# Enable higher quality scaling when upscaling
cscale=ewa_lanczos
2024-03-16 19:52:37 +00:00
2024-06-01 05:00:40 +00:00
# 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-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