From 3e2914a44ea92cdb23ff544d66783b6ed5ba25e9 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sun, 13 Aug 2023 22:30:10 -0700 Subject: [PATCH] update mpv.conf --- mpv.conf | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mpv.conf b/mpv.conf index 258a2b9..c5821f6 100644 --- a/mpv.conf +++ b/mpv.conf @@ -56,7 +56,6 @@ # Specify high quality video rendering preset (for --vo=gpu only) # Can cause performance problems with some drivers and GPUs. # profile=gpu-hq -profile=svp # Force video to lock on the display's refresh rate, and change video and audio # speed to some degree to ensure synchronous playback - can cause problems @@ -95,9 +94,11 @@ profile=svp # Pretend to be a web browser. Might fix playback with some streaming sites, # but also will break with shoutcast streams. -# user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0" +user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36" +# user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36" # user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36" -user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.94 Chrome/37.0.2062.94 Safari/537.36" +# user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.94 Chrome/37.0.2062.94 Safari/537.36" +# user-agent="Chromium/37.0.2062.94 Chrome/37.0.2062.94 Safari/537.36" # cache settings # @@ -143,10 +144,10 @@ cache=yes #[eye-cancer] #sharpen=5 +profile=svp sub-font=JetBrainsMono Nerd Font sub-font-size=50 osd-font=JetBrainsMono Nerd Font -ytdl-format=bestvideo+bestaudio/best geometry=50% @@ -156,10 +157,14 @@ audio-spdif=ac3,eac3,dts-hd,truehd glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl" # Can fix stuttering in some cases, in other cases probably causes it. Try it if you experience stuttering. -opengl-early-flush=no +opengl-early-flush=yes osc=no +interpolation +tscale=oversample +hwdec=auto-copy + keep-open # get subtitles for videos automatically # sub-auto=fuzzy @@ -167,6 +172,7 @@ ytdl-raw-options=ignore-config=,sub-lang=en,write-auto-sub= slang=en # disable subtitles by default sid=no +ytdl-format=bestvideo+bestaudio/best [svp] input-ipc-server=/tmp/mpvsocket # Receives input from SVP