dotfiles/.config/mpv/mpv.conf

48 lines
1.1 KiB
Text
Raw Normal View History

2022-09-19 21:23:33 +02:00
# Vidéo
2019-06-13 20:12:29 +02:00
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
2022-09-19 21:23:33 +02:00
# Interpolation
# interpolation
# tscale=oversample
2022-09-19 21:23:33 +02:00
# Codecs
hwdec=auto-copy
hwdec-codecs=all
2019-06-13 20:12:29 +02:00
2021-04-05 17:09:57 +02:00
# Audio
audio-channels=stereo
2022-09-19 21:23:33 +02:00
alang=fr,fre,fra
2021-04-05 17:09:57 +02:00
2022-09-19 21:23:33 +02:00
# Sous-titres
2018-06-02 00:13:25 +02:00
sub-back-color=0.0/0.0/0.0/0.5
sub-use-margins
2019-06-13 20:12:29 +02:00
sub-file-paths=~/Sous-titres/
sub-font=IBM Plex Sans
2021-09-09 01:46:43 +02:00
sub-font-size=25
sub-margin-y=10
2022-09-19 21:23:33 +02:00
slang=en,eng,en-US,en-GB,fr,fre,fra,fr-FR
2021-04-05 17:09:57 +02:00
#slang=fr,fre,fra
2019-06-13 20:12:29 +02:00
2021-06-05 22:49:18 +02:00
# Cache
2020-01-09 21:17:01 +01:00
cache=yes
2022-09-19 21:23:33 +02:00
cache-pause
2021-06-05 22:49:18 +02:00
cache-pause-wait=5
cache-pause-initial=yes
demuxer-max-bytes=512MiB
2018-11-30 22:00:19 +01:00
demuxer-readahead-secs=20
2021-06-05 22:49:18 +02:00
prefetch-playlist=yes
2022-09-19 21:23:33 +02:00
# Autre
input-ipc-server=/tmp/mpvsocket
hr-seek-framedrop=yes
title=${?chapter:${chapter-metadata/by-key/title} | }${media-title} | mpv
2022-09-19 22:15:38 +02:00
#osd-msg3=${media-title}${?chapter:\n ${chapter-metadata/by-key/title}}\n${time-pos} / ${playtime-remaining}
2022-09-24 18:10:37 +02:00
#osd-font-size=25
2022-09-19 22:15:38 +02:00
osc=no
2022-09-19 21:23:33 +02:00
2021-06-05 22:49:18 +02:00
# YTDL
2021-02-24 20:33:50 +01:00
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"