Files
DCGOS/dotfiles/.config/mpv/mpv.conf
2025-10-13 22:18:21 +08:00

88 lines
1.7 KiB
Plaintext
Vendored

### Profile ###
include="~~/profiles.conf"
### Video ###
vo=gpu-next
gpu-api=auto
gpu-context=auto
hwdec=auto
profile=high-quality
deband=no
deband-iterations=1
deband-threshold=48
deband-range=16
deband-grain=32
temporal-dither=yes
### Audio and Subtitles ###
slang=en,eng,English
alang=ja,jp,jpn,jap,Japanese,en,eng,English
#sub-blur=0.5
#sub-scale=0.7
#sub-margin-y=60
#sub-color='#d6ffffff'
#sub-shadow-offset=5.0
#sub-back-color='#00000000'
#sub-shadow-color='#00000000'
#sub-outline-color='#266a678c'
sub-auto=all
volume-max=150
sub-fix-timing=yes
audio-channels=auto
blend-subtitles=yes
sub-ass-override=yes
audio-file-auto=fuzzy
audio-pitch-correction=yes
audio-normalize-downmix=yes
sub-file-paths-append=subtitles
demuxer-mkv-subtitle-preroll=yes
sub-file-paths=sub;subs;subtitles
af=lavfi=[dynaudnorm=g=3:f=250:r=0.9:p=0.9:m=10]
## Audio Filters to Test ##
#lavfi=[loudnorm=i=-10]
#lavfi=[loudnorm=i=-20]
#af=speechnorm=e=4:p=0.4
#af='lavfi=[dynaudnorm=f=200:g=5:r=0.1]'
#af=lavfi=[loudnorm=I=-16:TP=-2:LRA=11]
# boost speech volume
#af=@normalize:speechnorm=e=10:r=0.0005:l=1
# loudnorm works well too, but uses more CPU
#af=@normalize:loudnorm=I=-10
#af-toggle=@loudnorm:lavfi=[loudnorm=I=-16:TP=-3:LRA=4]
#af-toggle=@dynaudnorm:lavfi=[dynaudnorm=g=5:f=250:r=0.9:p=0.5]
#af-toggle=@loudnorm:!loudnorm=I=-25:TP=-1.5:LRA=1:linear=false
#af-toggle=@dynaudnorm:!dynaudnorm=f=500:g=17:r=0.1
#af-toggle=format:srate=48000
### General ###
osc=no
fullscreen=no
snap-window
keep-open=yes
save-position-on-quit=no
watch-later-dir="~~/cache/watch_later"
### OSD ###
border=no
osd-bar=no
osd-bold=yes
osd-font-size=36
### Fix window size under Niri ###
keepaspect=no
geometry=
autofit-larger=100%