IINA plugin for Anime4K
22
stars
30
commits
JavaScript
primary language
Jul 4, 2026
updated
High-Quality Real-Time Anime Upscaling Plugin for macOS IINA
Anime4K for IINA is a modern macOS plugin that packages the acclaimed Anime4K real-time GLSL shaders and embeds them seamlessly into IINA. It installs the bundled shaders into the plugin data directory on first launch, dynamically managing mpv's glsl-shaders list on the fly—no manual mpv.conf configuration or script editing required!
1–6 for presets, 0 to disable, 7 for Fast tier, and 8 for HQ tier).| Preset | Best Starting Point & Recommended Usage |
|---|---|
| Mode A | Most 1080p anime and generally degraded or blurry sources |
| Mode B | 720p anime or sources where Mode A appears too sharp or unnatural |
| Mode C | 480p / SD anime, noisy sources, or videos requiring denoise-first processing |
| Mode A+A | Double-pass Mode A chain; higher quality, slower, and more aggressive sharpening |
| Mode B+B | Double-pass Mode B chain; higher quality, slower, and more aggressive sharpening |
| Mode C+A | Mode C combined with extra reconstruction; ideal for difficult low-resolution video |
[!TIP] Start with Fast + Mode A for most anime videos. If your Mac has extra GPU headroom, switch to HQ or one of the double-pass modes (
A+A,B+B,C+A). If the image appears over-sharpened, noisy, or introduces ringing artifacts, step back to Mode B or Mode C.
anime4k.iinaplgz package.Preferences -> Plugins to install manually.git clone https://github.com/yorkyang2333/iina-anime4k.git
cd iina-anime4k
git submodule update --init --recursive
npm install
npm run pack
Once the build finishes, the packaged plugin anime4k.iinaplgz will be generated in the project root directory.
We welcome pull requests and contributions from the community! Please read our Contributing Guide (CONTRIBUTING.md) for detailed guidelines on local development setup, versioning conventions (ghVersion), and IINA's automated release architecture.
src/index.js — The core plugin runtime (shader installation, state persistence, menu synchronization, OSD messaging, and auto-apply logic).src/shaders.js — Configuration and mapping for Fast and HQ shader chains.src/i18n.js — Full 54-language native localization dictionary and system locale detection engine.ui/sidebar/ — Web UI components and styling for the IINA sidebar.build-shaders.py — Pre-compilation script that processes Anime4K/glsl/**/*.glsl and generates src/shaders-data.js.generate-pref.py — Generates the static multilingual preferences interface (pref.html).30 commits
JavaScript
65.2%
HTML
24.3%
Python
8.2%
SCSS
2.3%
IINA plugin for Anime4K
22
stars
30
commits
JavaScript
primary language
Jul 4, 2026
updated
High-Quality Real-Time Anime Upscaling Plugin for macOS IINA
Anime4K for IINA is a modern macOS plugin that packages the acclaimed Anime4K real-time GLSL shaders and embeds them seamlessly into IINA. It installs the bundled shaders into the plugin data directory on first launch, dynamically managing mpv's glsl-shaders list on the fly—no manual mpv.conf configuration or script editing required!
1–6 for presets, 0 to disable, 7 for Fast tier, and 8 for HQ tier).| Preset | Best Starting Point & Recommended Usage |
|---|---|
| Mode A | Most 1080p anime and generally degraded or blurry sources |
| Mode B | 720p anime or sources where Mode A appears too sharp or unnatural |
| Mode C | 480p / SD anime, noisy sources, or videos requiring denoise-first processing |
| Mode A+A | Double-pass Mode A chain; higher quality, slower, and more aggressive sharpening |
| Mode B+B | Double-pass Mode B chain; higher quality, slower, and more aggressive sharpening |
| Mode C+A | Mode C combined with extra reconstruction; ideal for difficult low-resolution video |
[!TIP] Start with Fast + Mode A for most anime videos. If your Mac has extra GPU headroom, switch to HQ or one of the double-pass modes (
A+A,B+B,C+A). If the image appears over-sharpened, noisy, or introduces ringing artifacts, step back to Mode B or Mode C.
anime4k.iinaplgz package.Preferences -> Plugins to install manually.git clone https://github.com/yorkyang2333/iina-anime4k.git
cd iina-anime4k
git submodule update --init --recursive
npm install
npm run pack
Once the build finishes, the packaged plugin anime4k.iinaplgz will be generated in the project root directory.
We welcome pull requests and contributions from the community! Please read our Contributing Guide (CONTRIBUTING.md) for detailed guidelines on local development setup, versioning conventions (ghVersion), and IINA's automated release architecture.
src/index.js — The core plugin runtime (shader installation, state persistence, menu synchronization, OSD messaging, and auto-apply logic).src/shaders.js — Configuration and mapping for Fast and HQ shader chains.src/i18n.js — Full 54-language native localization dictionary and system locale detection engine.ui/sidebar/ — Web UI components and styling for the IINA sidebar.build-shaders.py — Pre-compilation script that processes Anime4K/glsl/**/*.glsl and generates src/shaders-data.js.generate-pref.py — Generates the static multilingual preferences interface (pref.html).30 commits
JavaScript
65.2%
HTML
24.3%
Python
8.2%
SCSS
2.3%