dotfiles/.config/mpv/mpv.conf
2022-09-24 18:10:37 +02:00

47 lines
1.1 KiB
Text

# Vidéo
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
# Interpolation
interpolation
tscale=oversample
# Codecs
hwdec=auto-copy
hwdec-codecs=all
# Audio
audio-channels=stereo
alang=fr,fre,fra
# Sous-titres
sub-back-color=0.0/0.0/0.0/0.5
sub-use-margins
sub-file-paths=~/Sous-titres/
sub-font=IBM Plex Sans
sub-font-size=25
sub-margin-y=10
slang=en,eng,en-US,en-GB,fr,fre,fra,fr-FR
#slang=fr,fre,fra
# Cache
cache=yes
cache-pause
cache-pause-wait=5
cache-pause-initial=yes
demuxer-max-bytes=512MiB
demuxer-readahead-secs=20
prefetch-playlist=yes
# Autre
input-ipc-server=/tmp/mpvsocket
hr-seek-framedrop=yes
title=${?chapter:${chapter-metadata/by-key/title} | }${media-title} | mpv
#osd-msg3=${media-title}${?chapter:\n ${chapter-metadata/by-key/title}}\n${time-pos} / ${playtime-remaining}
#osd-font-size=25
osc=no
# YTDL
ytdl-format="((bestvideo[vcodec^=av01][height<=?1080][width<=?1920]/bestvideo[vcodec=vp9][height<=?1080][width<=?1920]/bestvideo[height<=?1080][width<=?1920]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio))/best"