diff --git a/home/.config/mpv/mpv.conf b/home/.config/mpv/mpv.conf index d70328c..265b49b 100644 --- a/home/.config/mpv/mpv.conf +++ b/home/.config/mpv/mpv.conf @@ -13,18 +13,6 @@ gpu-context=wayland ao=alsa {%@@ endif @@%} -# Interpolation -#profile=gpu-hq -#scale=ewa_lanczossharp -#cscale=ewa_lanczossharp -#dscale=mitchell -#video-sync=display-resample -#interpolation=yes -#tscale=box -#tscale-window=sphinx -#tscale-radius=1.0 -#tscale-clamp=0.0 - ############# # Audio # ############# @@ -43,6 +31,9 @@ input-ipc-server=/tmp/mpvsocket # set youtube-dl max res to 1080 ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080] +# continue watching +save-position-on-quit + ############# # Languages # ############# @@ -70,9 +61,7 @@ sub-shadow-offset=1 sub-shadow-color="#33000000" sub-spacing=0.5 -############# -# OSD / OSC # -############# +# OSD customizations osd-font="Overpass" osd-font-size=30 osd-color="#ffffffff" # ARGB format @@ -84,19 +73,16 @@ osd-bar-w=60 # width of " " " osd-shadow-color="#11000000" osd-fractions -################################### -# Protocol Specific Configuration # -################################### - - +# Protocol specific configuration [protocol.https] cache=yes -user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0' +user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0' [protocol.http] cache=yes -user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0' +user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0' +# Some settings for gifs [extension.gif] cache=no no-pause @@ -107,14 +93,19 @@ cache=no no-pause loop-file=yes -# Profile for 4k videos +# Profiles for different qualities +[360p] +ytdl-format="bestvideo[height<=360]+bestaudio/best[height<=360]" +[480p] +ytdl-format="bestvideo[height<=480]+bestaudio/best[height<=480]" +[720p] +ytdl-format="bestvideo[height<=720]+bestaudio/best[height<=720]" [4k] ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]" - [best] ytdl-format="bestvideo+bestaudio" -# Use vulkan and hwdec +# Vulkan hwdec profile [vulkan] gpu-api=vulkan gpu-context=waylandvk