Bulgarian AI Subtitles
A film without Bulgarian subtitles? The server writes them itself, without sending anything to the cloud.
The project was started, and its first version built, by Yuliyan Marinov, Flashgate Ltd. I then reworked it and integrated it into Jellyfin.
Popular films have subtitles everywhere. For older films, documentaries or home videos there is often nothing in Bulgarian.
What it does
Finds what's missing
The plugin finds films and episodes without .bg.srt and queues them.
Recognises speech
faster-whisper detects the language and writes the text with exact timing.
Translates locally
A local model in Ollama translates every line into Bulgarian.
Keeps the timing
The lines stay in the same places, only the language changes.
Leaves existing files alone
An existing .bg.srt is never overwritten without an explicit request.
No cloud
Not a frame and not a sound leaves the server.
How it works
- 1
Find
A video without Bulgarian subtitles.
- 2
Listen
Speech becomes timed text.
- 3
Translate
Every line into Bulgarian.
- 4
Save
Film.bg.srt next to the video.
Classified
Scroll, or tap the black bar.
- If the film is in Bulgarian, translation is skipped.
- Only one file is processed at a time, so the server doesn't choke.
- It runs on the CPU. The graphics card is waiting its turn.
Timeline
- First version
Yuliyan Marinov, Flashgate Ltd. starts the project and builds the first version.
- Rework
I reworked it into a Jellyfin plugin and a separate Docker worker, tested on sample videos.
- Now
Tuning translation quality and speed.
now - Next
GPU support for much faster processing.