mpv-config/mpv.conf

111 lines
2.2 KiB
Plaintext

# Video
#vo=gpu
vo=gpu-next
gpu-api=vulkan
hwdec=auto-safe
#video-sync=display-resample
#video-sync-max-video-change=5
video-output-levels=full
vulkan-queue-count=3
swapchain-depth=3
deband=yes
# Scaling
correct-downscaling=yes
sigmoid-upscaling=yes
scale=ewa_lanczos4sharpest
cscale=bilinear
dscale=bilinear
# Audio
ao=pulse
# Youtube-DL
ytdl-format=bestvideo[vcodec=vp9][height<=?1080][fps>=?60]+bestaudio/bestvideo[height<=?1080][fps>=?60]+bestaudio/bestvideo[height<=?1080]+bestaudio/best
ytdl-raw-options-append=extractor-args=youtube:player-client=web_creator,all
ytdl-raw-options-append=cookies=~/Sources/Credentials/cookies.txt
# Languages/Tracks
slang=enm,en,eng,de,deu,ger
alang=en,eng,de,deu,ger
# OSD
osd-fractions=yes
osd-font-size=18
osd-border-size=1
osd-font='Roboto'
osd-bar=no
osd-on-seek=no
osc=yes
border=no
# Terminal status
term-status-msg="${?pause==yes:(Paused) }${media-title}\n${?playlist-count:(${playlist-pos-1} / ${playlist-count}) }${time-pos} / ${duration} (${percent-pos}%)\n${?avsync:[A/V: ${avsync}] }${?video-bitrate:[Vb: ${video-bitrate}] }${?audio-bitrate:[Ab: ${audio-bitrate}] }"
term-title='${?pause==yes:(Paused) }${media-title} - mpv'
term-osd-bar=yes
term-osd-bar-chars=[=>-]
# Logging
msg-color=yes
msg-level=all=info,statusline=status
# Screenshots
screenshot-format=png
screenshot-png-compression=8
screenshot-template='/tmp/%F (%P) %n'
# Caching
cache=yes
cache-pause-wait=0.1
demuxer-max-bytes=400M
demuxer-max-back-bytes=100M
demuxer-lavf-analyzeduration=1
demuxer-readahead-secs=0.1
# Misc
save-position-on-quit=yes
watch-later-options=start
watch-later-dir=~/.local/share/mpv/
rebase-start-time=yes
fullscreen=no
cursor-autohide=1000
prefetch-playlist=no
image-display-duration=inf
keepaspect-window=no
native-keyrepeat=yes
user-agent='MemeMachine/69.420 (cum powered)'
cookies=yes
cookies-file=~/Sources/Credentials/cookies.txt
audio-display=no
force-window=immediate
idle=once
hr-seek=yes
# Profiles
[m]
ytdl-format=bestaudio/best
force-window=no
video=no
profile=bg
[bg]
keep-open=yes
reset-on-next-file=pause
idle=yes
[wp]
idle=no
wid=0
force-window=no
[ls]
profile-cond=path:find('twitch.tv')
#profile=low-latency
cache=yes
cache-pause=no
cache-pause-initial=yes