My personal anime dots for mpv
  • GLSL 84.9%
  • Lua 14.2%
  • Go 0.6%
  • PowerShell 0.2%
  • Shell 0.1%
Find a file
Alex 2812016eb2 auto_skip_anime_intro: veto skip on titled content chapters
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.
2026-07-13 02:04:54 +02:00
fonts Initial commit: mpv anime config 2026-06-09 22:01:56 +02:00
script-opts skip button: always show inside OP/ED chapters; clear title; wider name match 2026-06-09 22:48:46 +02:00
scripts auto_skip_anime_intro: veto skip on titled content chapters 2026-07-13 02:04:54 +02:00
shaders Initial commit: mpv anime config 2026-06-09 22:01:56 +02:00
.gitignore Ignore GEMINI.md (kept local, scrubbed from history) 2026-06-09 22:39:43 +02:00
input.conf Initial commit: mpv anime config 2026-06-09 22:01:56 +02:00
mpv.conf mpv.conf: switch hwdec to auto-safe to fix AMDGPU crash 2026-07-13 00:20:55 +02:00
README.md Initial commit: mpv anime config 2026-06-09 22:01:56 +02:00

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+1Ctrl+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.