dotfiles/.config/mpv/mpv.conf

45 lines
881 B
Text
Raw Normal View History

2019-06-13 20:12:29 +02:00
# Video
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
2021-04-05 17:09:57 +02:00
# Audio
audio-channels=stereo
2019-06-13 20:12:29 +02:00
# Misc
2018-06-02 00:13:25 +02:00
cache-pause
input-ipc-server=/tmp/mpvsocket
2019-06-13 20:12:29 +02:00
hr-seek-framedrop=yes
2020-05-17 20:29:45 +02:00
osc=no
2019-06-13 20:12:29 +02:00
# Subtitles
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
2019-06-13 20:12:29 +02:00
# Codecs
2018-06-02 00:13:25 +02:00
hwdec=auto-copy
hwdec-codecs=all
2019-06-13 20:12:29 +02:00
# Language
2018-11-30 22:00:19 +01:00
alang=fr,fre,fra
2021-04-05 17:09:57 +02:00
#slang=fr,fre,fra
slang=en,eng,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
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
# 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"