Last active
October 17, 2025 18:44
-
-
Save SandeMC/ce3d3f66b82c9484d2bdb16cf0559858 to your computer and use it in GitHub Desktop.
My mpv config, mostly personal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## if using, make sure all shaders are available - the names are based on the ones uosc comes with | |
| ###### Performance | |
| profile=high-quality | |
| hwdec=auto-copy | |
| vo=gpu-next | |
| fbo-format=auto | |
| gpu-api=d3d11 # vulkan on linux | |
| vd-lavc-dr=yes | |
| hwdec-codecs=all | |
| d3d11-adapter= | |
| ###### Player | |
| hr-seek-framedrop=no | |
| border=no | |
| msg-color=yes | |
| msg-module=yes | |
| autofit=60% | |
| ###### OSC; if you don't have a skin mostly | |
| osc=no | |
| no-border | |
| osd-bar=no # No huge box on screen when turning the volume | |
| osd-bold=yes | |
| osd-font-size=37 | |
| osd-font='JetBrains Mono' | |
| ###### General | |
| keep-open=yes | |
| snap-window | |
| save-position-on-quit=yes | |
| cursor-autohide=1000 | |
| volume=70 | |
| volume-max=100 | |
| audio-exclusive=no | |
| ###### Color gamut | |
| gamut-mapping-mode=clip | |
| hdr-compute-peak=no | |
| ###### Luma down | |
| glsl-shader="~~/shaders/ssimds.glsl" | |
| dscale=hermite | |
| linear-downscaling=no | |
| correct-downscaling=yes | |
| ###### Chroma up + down | |
| glsl-shader="~~/shaders/krigbl.glsl" | |
| ##### Debanding | |
| deband-iterations=1 | |
| deband-threshold=48 | |
| deband-range=16 | |
| deband-grain=32 | |
| ###### Dithering | |
| dither-depth = 8 | |
| ###### Language | |
| alang=jp,jpn,ja,japanese,en,eng,english | |
| slang=enm,en,eng,english | |
| ###### Audio | |
| audio-file-auto=fuzzy | |
| audio-pitch-correction=yes | |
| audio-normalize-downmix=yes | |
| audio-channels=stereo,5.1,7.1 | |
| ###### Subtitles - configured to look similar to most fansubs | |
| sub-visibility=yes | |
| sub-ass-override=no | |
| sub-ass-style-overrides=playresx=1920,playresy=1080 | |
| sub-font="Gandhi Sans" | |
| sub-font-size=42 | |
| sub-color="#FFFFFF" | |
| sub-border-size=2.4 | |
| sub-border-color="#FF000000" | |
| sub-shadow-color="#A0000000" | |
| sub-shadow-offset=0.75 | |
| sub-bold=yes | |
| sub-ass-style-overrides=Kerning=yes | |
| sub-fix-timing=yes | |
| blend-subtitles=yes | |
| sub-file-paths-append=subtitles | |
| demuxer-mkv-subtitle-preroll=yes | |
| sub-file-paths=sub;subs;subtitles | |
| ###### High-quality screenshots | |
| screenshot-format=webp | |
| screenshot-webp-lossless=yes | |
| screenshot-high-bit-depth=yes | |
| screenshot-sw=no | |
| screenshot-directory="screenshots" | |
| screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" | |
| ###### Auto-profiles | |
| [simulcast] | |
| profile-cond=(function(a)for b,c in ipairs(a)do if filename:match(c)then return true end end end)({"SubsPlease","Erai%-raws","Tsundere%-Raws","%-VARYG","HorribleSubs","SubsPlus%+", "Yameii"}) | |
| profile-restore=copy | |
| deband=yes | |
| sub-ass-override=force | |
| sub-ass-use-video-data=all | |
| [anime] | |
| profile-cond=filename:match("^%[[^%]]+%].*") ~= nil | |
| profile-restore=copy | |
| glsl-shaders="~~/shaders/Ani4Kv2_ArtCNN_C4F32_i2.glsl" | |
| [not-anime] | |
| profile-cond=not filename:match("^%[[^%]]+%].*") | |
| profile-restore=copy | |
| glsl-shaders="~~/shaders/nnedi3_nns64_win8x4.glsl;~~/shaders/adasharp_luma.glsl" | |
| [battery] #not auto, you have to figure out how to apply this one manually | |
| profile-restore=copy | |
| profile=fast | |
| deband=no | |
| scale-antiring=0 | |
| dscale-antiring=0 | |
| cscale-antiring=0 | |
| glsl-shaders="" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment