2019-08-26 22:04:05 +02:00
|
|
|
# ~/.config/mpv/mpv.conf
|
|
|
|
|
2021-03-02 15:26:14 +01:00
|
|
|
# Preferred audio drivers, but by trailing comma, let others be used too.
|
|
|
|
# Fedora: pipewire-jack-audio-connection-kit pipewire-pulseaudio pipewire-alsa
|
2024-03-10 07:20:11 +01:00
|
|
|
# TODO: Does the above apply with PipeWire being the default?
|
2024-03-10 07:12:47 +01:00
|
|
|
ao=pipewire,pulse,
|
2021-03-02 15:26:14 +01:00
|
|
|
|
2024-03-10 07:05:24 +01:00
|
|
|
# My mpv usage has mostly been anime, but there is occassional English one too
|
|
|
|
alang=jpn,jp,ja,en,eng
|
|
|
|
# but I still prefer to have subtitles. Note that two are shown simultaneously.
|
2024-03-10 07:40:21 +01:00
|
|
|
slang=fi,fin,sdh,doh,en,eng,eo,epo,sv,swe,ru,rus,cs,ces,cze,es,spa
|
2019-08-26 22:04:05 +02:00
|
|
|
|
2021-08-29 17:40:17 +02:00
|
|
|
# I find myself reading it a lot faster than other fonts which is kind of
|
|
|
|
# relevant with subtitles
|
2022-05-31 19:16:55 +02:00
|
|
|
sub-font='Noto Serif Regular'
|
2021-08-29 17:40:17 +02:00
|
|
|
|
2021-02-22 15:40:20 +01:00
|
|
|
# Enable two simultaneous subtitles (first slang on bottom, second on top?)
|
|
|
|
sid=auto
|
|
|
|
secondary-sid=auto
|
|
|
|
|
2021-02-25 10:54:50 +01:00
|
|
|
# Explicitly disable SDH/HOH element hiding from subs, these are defaults
|
|
|
|
sub-filter-sdh=no
|
|
|
|
sub-filter-sdh-harder=no
|
|
|
|
|
2021-02-22 15:43:22 +01:00
|
|
|
# Try to detect subtitle files even if not exact name match
|
|
|
|
sub-auto=fuzzy
|
|
|
|
|
2021-06-16 22:34:29 +02:00
|
|
|
# Use decreased volume by default so when Mumbling or other VoIP mpv is
|
2024-03-10 07:47:13 +01:00
|
|
|
# quieter than other people
|
2021-06-16 22:34:29 +02:00
|
|
|
volume=70
|
|
|
|
|
2019-08-26 22:04:05 +02:00
|
|
|
# Fullscreen by default
|
2021-02-22 17:50:06 +01:00
|
|
|
#fs=yes
|
|
|
|
# Windows maximized by default
|
|
|
|
window-maximized=yes
|
2019-08-26 22:04:05 +02:00
|
|
|
|
|
|
|
# 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 20:06:17 +01:00
|
|
|
## 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
|
2019-08-26 22:04:05 +02:00
|
|
|
# "more complicated", desyncing video causes resampling audio
|
|
|
|
video-sync=display-resample
|
|
|
|
# make motion smoother (both two)
|
|
|
|
interpolation
|
|
|
|
tscale=oversample
|
|
|
|
|
2024-03-10 07:47:13 +01:00
|
|
|
# When watching YouTube videos, don't eat all CPU and bandwidth being
|
2019-09-29 23:33:07 +02:00
|
|
|
# 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
|
2020-04-14 19:01:14 +02:00
|
|
|
|
|
|
|
# Take commands from controller.
|
|
|
|
# TODO: actually map something to it!
|
|
|
|
#input-gamepad=yes
|