mpv.conf: cleanup comments and settings I don't use

This commit is contained in:
Aminda Suomalainen 2025-06-06 11:09:22 +03:00
parent 6121afd857
commit 8626408f9f
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -1,13 +1,6 @@
# ~/.config/mpv/mpv.conf
# Unless otherwise specified, since these are suggested in the warning about
# audio/video desychnorinization
profile=fast
#hwdec=auto-safe
# <~/.config/mpv/mpv.conf|~/.var/app/io.mpv.Mpv/config/mpv/mpv.conf>
# Preferred audio drivers, but by trailing comma, let others be used too.
# Fedora: pipewire-jack-audio-connection-kit pipewire-pulseaudio pipewire-alsa
# TODO: Does the above apply with PipeWire being the default?
ao=pipewire,pulse,
# And same for video output drivers
vo=gpu-next,gpu,
@ -21,33 +14,18 @@ gpu-context=waylandvk,wayland,auto
# REMEMBER to override this with --alang= --slang= as needed!
alang=jpn,jp,ja,en,eng,fi,fin
slang=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
# TODO: test this! and for YouTube videos/links
ytdl-raw-options-append=sub-langs=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
# Remember quit position even without Shift+Q
save-position-on-quit
# Disable embedded fonts in subtitle files and use my preferred font for both
# subtitles and UI. Subtitle preferred font may get used if it exists in the
# system though?
embeddedfonts=no
# Sans-Serif fonts are the best for legibility
#sub-font='Roboto'
#sub-ass-style-overrides=FontName='Roboto'
#osd-font='Roboto'
# Noto is likely the best covered with strange UTF-8 glyphs while also
# designed to be compatible with Roboto
#sub-font='Noto Sans'
#sub-ass-style-overrides=FontName='Noto Sans'
#osd-font='Noto Sans'
# However Comic Neue is what I have gotten used to reading on Kindle and
# where I want legibility. This could also be overridden by --sub-font="" in
# terminal flags (see --alang and --slang= above)
#sub-font='Comic Neue'
#sub-ass-style-overrides=FontName='Comic Neue'
#osd-font='Comic Neue'
sub-font='Inclusive Sans'
#sub-ass-style-overrides=FontName='Inclusive Sans'
osd-font='Inclusive Sans'
# Amber font for subtitles
# Amber font color for subtitles, unless they otherwise specify?
sub-color='#ffb700'
# Enable two simultaneous subtitles (first slang on bottom, second on top?)
@ -69,37 +47,11 @@ sub-ass-override=yes
secondary-sub-ass-override=yes
# Use decreased volume by default so when Mumbling or other VoIP mpv is
# quieter than other people
volume=70
# quieter than other people. 70 may be better while VoIPing, but 80 is
# comfortable watching alone and / and * always exist.
volume=80
# Fullscreen by default
#fs=yes
# Windows maximized by default
window-maximized=yes
# Vsync? The user who originally added it judged it to not be working
# though.
#opengl-swapinterval=0
# HQ options according to Arch Wiki, may cause problems for "a few users"
#profile=gpu-hq
# AW says that the manual says to use these for the best quality if the
# hardware can handle it.
## 2020-11-09: even Sedric doesn't handle this for some reason, 8 GB RAM
## and no swap isn't enough?
#scale=ewa_lanczossharp
#cscale=ewa_lanczossharp
# "more complicated", desyncing video causes resampling audio
#video-sync=display-resample
# make motion smoother (both two)
#interpolation
#tscale=oversample
# When watching YouTube videos, don't eat all CPU and bandwidth being
# even more unpleasant to use!
# https://github.com/mpv-player/mpv/issues/4241#issuecomment-327033395
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best
# Take commands from controller.
# TODO: actually map something to it!
#input-gamepad=yes