summaryrefslogtreecommitdiffstats
path: root/mpv/mpv.conf
blob: fbd02a476296f0a3ea772d0961e4acc07b2ea717 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# should be symlinked from ~/.config/mpv/mpv.conf
# use Jack
#ao=jack
ao=pulse
vo=gpu
hwdec=vaapi
audio-channels=2
save-position-on-quit=yes
#ytdl-format=bestvideo[height <= 1080]+bestaudio/best

# this reduces quality for streaming - say on data
# from https://github.com/mpv-player/mpv/issues/4241
ytdl-format=bestvideo[height <= 720][fps<=30][vcodec!=vp9]+bestaudio/best[height<=720]
#ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best
#ytdl-format=bestvideo[height <= 720]+bestaudio/best
script-opts-append=ytdl_hook-ytdl_path=yt-dlp