VLC media player plugin that generates subtitles using OpenAI Whisper — works with any video, any language.
- Two modes — Real-time OSD (subtitles appear as they're generated) or Generate & Load SRT (synced to playback)
- Any language — Auto-detection or specify a language code
- Translation — Translate any language to English subtitles
- 5 model sizes — From
tiny(fastest) tolarge(most accurate) - Quiet voice detection — Tuned to catch whispers, husky voices, and low speech
- VLC 3.x & 4.x — Compatible with both versions
- Cross-platform — Windows, macOS, and Linux (native, snap, flatpak)
git clone https://github.com/voidrlm/vlc-ai-subs.git
cd vlc-ai-subs
./setup.shgit clone https://github.com/voidrlm/vlc-ai-subs.git
cd vlc-ai-subs
setup.bat
Then:
- Restart VLC
- Open a video
- View → AI Subs Generator
- Click Generate
- Python 3.8+
- VLC 3.x or 4.x
- ~150 MB disk space for the
basemodel (downloaded on first use)
| Mode | Description |
|---|---|
| Real-time OSD | Subtitles appear on screen as Whisper transcribes. Great for first-time viewing. |
| Generate & Load SRT | Full transcription runs first, then the .srt file is loaded as a proper subtitle track. Perfect sync on replay. |
| Model | Speed | Accuracy | RAM | Download |
|---|---|---|---|---|
tiny |
Fastest | Basic | ~1 GB | ~75 MB |
base |
Fast | Good | ~1 GB | ~140 MB |
small |
Moderate | Better | ~2 GB | ~460 MB |
medium |
Slow | Great | ~5 GB | ~1.5 GB |
large |
Slowest | Best | ~10 GB | ~3 GB |
- Language —
autofor detection, or a code likeen,es,fr,hi,ja,zh, etc. - Task —
Transcribe(same language) orTranslate to English
vlc-ai-subs/
├── aisubs.lua # VLC Lua extension (the UI)
├── aisubs_whisper.py # Python Whisper backend
├── setup.sh # Setup & install (Linux / macOS)
├── setup.bat # Setup & install (Windows)
├── LICENSE
└── README.md
If the setup script doesn't work for your system:
-
Install faster-whisper:
python3 -m venv venv venv/bin/pip install faster-whisper # Linux/macOS venv\Scripts\pip.exe install faster-whisper # Windows
-
Copy
aisubs.luato your VLC extensions folder:- Linux:
~/.local/share/vlc/lua/extensions/ - macOS:
~/Library/Application Support/org.videolan.vlc/lua/extensions/ - Windows:
%APPDATA%\vlc\lua\extensions\
- Linux:
-
Restart VLC.
To update just the VLC extension without reinstalling Python deps:
./setup.sh --install # Linux/macOS
setup.bat --install # WindowsMIT