- GLSL 84.9%
- Lua 14.2%
- Go 0.6%
- PowerShell 0.2%
- Shell 0.1%
Chapters like "Part C + Credits", "Prologue", "Cold Open" are real story even when their title also matches an intro/outro/credits keyword. Check content_names first and skip classification entirely so these are never auto-skipped. |
||
|---|---|---|
| fonts | ||
| script-opts | ||
| scripts | ||
| shaders | ||
| .gitignore | ||
| input.conf | ||
| mpv.conf | ||
| README.md | ||
mpv-anime-dots 〜 アニメ専用
Built for one job: making anime look unreasonably good and getting you to the actual episode faster.
A tuned mpv config for watching anime — upscaling shaders, a clean OSC, thumbnail seeking, resume-where-you-left-off, and a genuinely smart OP/ED skipper that won't talk over your characters.
No bloat, no 200-line meme keybinds. Just a setup that gets out of the way.
✨ What's inside
| 画 Upscaling | Anime4K (modes A/B/C + combos), FSRCNNX, ArtCNN, FSR — hot-swappable on Ctrl+1…9 |
| ⏭ Smart OP/ED skip | auto_skip_anime_intro.lua — listens before it leaps (see below) |
| 🎛 OSC | ModernZ + uosc, vendored |
| 🖼 Seek previews | thumbfast |
| ↩ Resume | resume-watch.lua picks up exactly where you stopped |
| 💬 Subs | smart_subs + auto sub-positioning, tuned for fansub typesetting |
| 🔊 Audio | Japanese audio first, loudnorm so quiet dialogue and loud OPs sit at the same level |
⏭ The skipper, properly done
Most "skip intro" scripts hard-cut to the end of the OP chapter the instant you touch it. Chapter markers are often a second or two early — so you lose the last line of the cold open, or the music starts mid-sentence and gets clipped.
auto_skip_anime_intro.lua arms instead of jumping. When it hits an OP/ED chapter it quietly starts listening (ebur128 + silencedetect, inserted only around the markers — zero idle cost) and skips on whichever comes first:
- 🎵 The music actually kicks in — a sharp loudness jump over the pre-marker baseline. Starts straight on the OP? It fires almost instantly, so it still feels snappy.
- 🤫 A real silence break — the natural dialogue → music boundary, so a character finishing a line is never cut mid-word.
- ⏱ A timeout — a safe fallback for titled chapters only; never on a pure duration guess, so it can't eat real episode footage.
Markers off by a few seconds? It waits for the true music start, and can snap the landing forward to the next audio onset so the next scene isn't clipped either. Everything is tunable in script-opts/auto_skip_anime_intro.conf.
🚀 Install
git clone ssh://git@code.milfs.party:2222/alex/mpv-anime-dots.git ~/.config/mpv
Or drop the contents into your existing ~/.config/mpv/. Linux paths assumed; on Windows use your portable_config folder.
Needs: mpv 0.38+ (built with luajit + lavfi — any normal build qualifies). Fonts ship in fonts/; install them for the OSC to render as intended.
⌨ Keybinds worth knowing
| Key | Action |
|---|---|
Ctrl+1 … Ctrl+6 |
Anime4K modes A / B / C and their combos (HQ) |
Ctrl+7 |
FSR |
Ctrl+8 |
Faux-GAN (ArtCNN + sharpen) |
Ctrl+9 |
FSRCNNX + film grain |
Ctrl+0 |
Clear all shaders |
OSD tells you what's active. Skipping is automatic — sit back.
🙏 Credits
Standing on the shoulders of the mpv scripting community: ModernZ, uosc, thumbfast, Anime4K, and the silence-detection pattern from detuur/mpv-scripts. The OP/ED skipper is original work built on top of those ideas.
よい視聴を — enjoy the watch.