Update mpv config.

This commit is contained in:
Kevin Baensch 2024-11-20 15:24:58 +01:00
parent 880ea1d8dd
commit 194050fd8a
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -11,8 +11,6 @@ no-border # no window title bar
msg-module # prepend module name to log messages msg-module # prepend module name to log messages
msg-color # color log messages on terminal msg-color # color log messages on terminal
#term-osd-bar # display a progress bar on the 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 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 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 #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 demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
embeddedfonts=yes # use embedded fonts for SSA/ASS subs 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-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-use-margins
sub-ass-force-margins sub-ass-force-margins
@ -138,7 +136,7 @@ alang=ja,jp,jpn,en,eng,de,deu,ger # automatically select these audio track
# Audio # # 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-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 audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
volume-max=200 # maximum volume in %, everything above 100 results in amplification 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 # on_battery(), is_laptop() and is_dektop() are my own additional functions imported from scripts/auto-profiles-functions.lua
# Defaults for all profiles # Defaults for all profiles
profile=opengl-hq
#gpu-context=wayland #gpu-context=wayland
vo=gpu vo=gpu
# set back to vaapi-copy once I've figured out how hw accerlation on wayland works... # 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 vd-lavc-threads = 2
video-aspect-override=16:9
opengl-early-flush=no opengl-early-flush=no
opengl-pbo=no # "yes" may cause mpv to crash: https://github.com/mpv-player/mpv/issues/4988 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 # 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] [extension.flac]
video-aspect-override=no video-aspect-override=no
############
# Profiles #
############
[wayland]
vo=gpu
gpu-context=wayland
hwdec=vaapi
no-interpolation
######################## ########################
# Plugin Configuration # # Plugin Configuration #
######################## ########################