From 194050fd8af21421e97c1bc42e17ab58dd8e829e Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 20 Nov 2024 15:24:58 +0100 Subject: [PATCH] Update mpv config. --- config/etc/mpv/mpv.conf | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/config/etc/mpv/mpv.conf b/config/etc/mpv/mpv.conf index b0bd23f..a3d81c7 100644 --- a/config/etc/mpv/mpv.conf +++ b/config/etc/mpv/mpv.conf @@ -11,8 +11,6 @@ no-border # no window title bar msg-module # prepend module name to log messages msg-color # color log messages on terminal #term-osd-bar # display a progress bar on the terminal -use-filedir-conf # look for additional config files in the directory of the opened file -#pause # no autoplay keep-open # keep the player open when a file's end is reached autofit-larger=100%x95% # resize window in case it's larger than W%xH% of the screen #cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen @@ -111,7 +109,7 @@ sub-file-paths-append=Rus demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking embeddedfonts=yes # use embedded fonts for SSA/ASS subs sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases) -sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts +sub-ass-style-overrides=Kerning=yes # allows you to override style parameters of ASS scripts sub-use-margins sub-ass-force-margins @@ -138,7 +136,7 @@ alang=ja,jp,jpn,en,eng,de,deu,ger # automatically select these audio track # Audio # ######### -ao=pulse,alsa,jack +ao=pipewire,pulse,alsa,jack audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed volume-max=200 # maximum volume in %, everything above 100 results in amplification @@ -154,13 +152,11 @@ audio-channels=stereo # on_battery(), is_laptop() and is_dektop() are my own additional functions imported from scripts/auto-profiles-functions.lua # Defaults for all profiles -profile=opengl-hq #gpu-context=wayland vo=gpu # set back to vaapi-copy once I've figured out how hw accerlation on wayland works... -hwdec=vaapi-copy +hwdec=vaapi vd-lavc-threads = 2 -video-aspect-override=16:9 opengl-early-flush=no opengl-pbo=no # "yes" may cause mpv to crash: https://github.com/mpv-player/mpv/issues/4988 # icc-profile=~/.config/mpv/surface-srgb-enhanced.icc @@ -181,17 +177,6 @@ user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/2010010 [extension.flac] video-aspect-override=no -############ -# Profiles # -############ - -[wayland] -vo=gpu -gpu-context=wayland -hwdec=vaapi -no-interpolation - - ######################## # Plugin Configuration # ########################