aisrt
2 min read
1 view
What you're missing
Yeah opensubtitles is fine, but you have a GPU! You can do this so much faster and can own the entire pipeline if you wanted to.
Finding niche subtitles takes time out of your day, and you wish you had a one-shot way to just generate them.
Why you need this
Aisrt gives you the power to own the entire pipeline of subtitle generation. It uses whisper to generate the transcript and does it all with minimal GPU usage and memory usage.
So long are the days of missing a scene in a niche movie because the subtitles didn't match, or hearing some dialogue completely muffled by the sound effects.
How do I get this?
Prerequisites: Python 3.11+ and ffmpeg for native installs. An NVIDIA GPU is recommended but not required. The pipeline auto-profiles your hardware (NVIDIA VRAM, Apple Silicon, or CPU) and selects the optimal Whisper model.
Docker (recommended for TrueNAS / Unraid)
1git clone https://github.com/arvarik/aisrt.git && cd aisrt2# Edit docker-compose.yml to point at your media directory3docker compose up -d
Native install
1pipx install aisrt
Run it
1# Standard mass generation2aisrt run /mnt/movies34# 24/7 watchdog daemon: auto-processes new files5aisrt run /mnt/media --watch --watch-interval 3067# Foreign audio → English subtitles8aisrt run /mnt/anime --translate