mirror of https://gitlab.com/meliurwen/dotfiles
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.
29 lines
797 B
29 lines
797 B
|
|
## 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
|
|
|
|
# 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
|
|
|