dotfiles/.config/mpv/mpv.conf
2021-12-11 17:25:35 +01:00

44 lines
881 B
Text

# Video
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
# Audio
audio-channels=stereo
# Misc
cache-pause
input-ipc-server=/tmp/mpvsocket
hr-seek-framedrop=yes
osc=no
# Subtitles
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
# Codecs
hwdec=auto-copy
hwdec-codecs=all
# Language
alang=fr,fre,fra
#slang=fr,fre,fra
slang=en,eng,fr,fre,fra
# Cache
cache=yes
cache-pause-wait=5
cache-pause-initial=yes
demuxer-max-bytes=512MiB
demuxer-readahead-secs=20
prefetch-playlist=yes
# 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"