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

115 lines
2.0 KiB
Plaintext

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
ass-use-margins=yes
ass-top-margin=50
ass-bottom-margin=50
ass-left-margin=50
ass-right-margin=50
screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=7 # 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
#####
## watching videos without getting drowsy
gpu-context=winvk
video-sync=display-resample
display-fps=23
fps=23
vf-add=fps=23:round=near
#
demuxer-thread=yes
demuxer-rawvideo-fps=23
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
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
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=2048:h=1080:flags=lanczos
# Set the desired window size (optional, adjust as needed)
geometry=2048x1080
# 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-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