Skip to content
// project 08 / 12Prototype

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.

// the problem

Popular films have subtitles everywhere. For older films, documentaries or home videos there is often nothing in Bulgarian.

0files in the cloud
2parts: plugin and worker
6 чbetween automatic runs
// features

What it does

01

Finds what's missing

The plugin finds films and episodes without .bg.srt and queues them.

02

Recognises speech

faster-whisper detects the language and writes the text with exact timing.

03

Translates locally

A local model in Ollama translates every line into Bulgarian.

04

Keeps the timing

The lines stay in the same places, only the language changes.

05

Leaves existing files alone

An existing .bg.srt is never overwritten without an explicit request.

06

No cloud

Not a frame and not a sound leaves the server.

// how it works

How it works

  1. 1

    Find

    A video without Bulgarian subtitles.

  2. 2

    Listen

    Speech becomes timed text.

  3. 3

    Translate

    Every line into Bulgarian.

  4. 4

    Save

    Film.bg.srt next to the video.

// classified

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

Timeline

  1. First version

    Yuliyan Marinov, Flashgate Ltd. starts the project and builds the first version.

  2. Rework

    I reworked it into a Jellyfin plugin and a separate Docker worker, tested on sample videos.

  3. Now

    Tuning translation quality and speed.

    now
  4. Next

    GPU support for much faster processing.

// stack

Under the hood

JellyfinC#Pythonfaster-whisperOllamaDocker