my-guix/.config/mpv/old.mpv.conf

55 lines
1.3 KiB
Plaintext

#loop-file='inf'
sub-antialiasing=yes
screenshot-format=png
screenshot-directory=/tmp/
# Audio sample format
audio-channels=stereo
audio-format=f32
# Audio resampler
scaletempo=yes
# Passthrough audio
audio-passthrough=yes
# Audio sync options
audio-delay-correction=true
demuxer-thread=yes
demuxer-rawvideo-fps=23
demuxer-rawaudio-rate=384000
#sub-ass-styles='{\\pos(640,10)}'
#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=2
vulkan-async-compute=yes
vulkan-async-transfer=yes
vulkan-queue-count=1
cscale=ewa_lanczos
# Set cache to avoid lag
cache=yes
# Limit the amount of data demuxed (read from the file) ahead of playback
demuxer-max-bytes=8000M
## watching videos without getting drowsy
gpu-context=winvk
video-sync=display-resample
display-fps=23
fps=23
vf-add=fps=23:round=near
# youtube
ytdl-format=bestvideo[height<=?3840p]+bestaudio/best
# Force video to upscale to at least 2k
#vf=scale=w=2048:h=1080:flags=lanczos
geometry=3840x2160 # force 4k resolution output on Macs, rather than using MacOS upscaling
no-hidpi-window-scale # used on 5K iMac to prevent scaling by OSX
fullscreen=yes # start in fullscreen mode by default
# shaders
glsl-shader=~~/shaders/Anime4K_Deblur_Original.glsl
glsl-shader=~~/shaders/ravu-r4.hook