You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/mpv/.config/mpv/mpv.conf

30 lines
797 B

4 years ago
## Limits Youtube's videos resolution and picks the best audio quality available
## See: https://github.com/mpv-player/mpv/issues/4241#issuecomment-327033395
## NOTE: pick only one of these two lines below!
#ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9]+bestaudio/best
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best
# In order to communicate to the Polybar's mpv module
input-ipc-server=~/.cache/mpvsocket
4 years ago
# Enable hardware acceleration (Intel specific)
## See:
## https://github.com/mpv-player/mpv/wiki/Hardware-decoding-on-Linux
## https://wiki.archlinux.org/index.php/Mpv#Hardware_video_acceleration
hwdec=vaapi
save-position-on-quit
# File specific
[extension.webm]
loop-file=yes
[extension.gifv]
loop-file=yes
[extension.gif]
loop-file=yes