LabSubtitles

Ollama SRT Translator

Chinese subtitles to Korean, timecodes intact.

Self-hostedAll products

Overview

A web app that translates Chinese SRT files to Korean with Ollama, chunk by chunk. The program preserves cue numbers and timecodes and validates the result at the end. It uses only the Python standard library.

Translation keeps running on the server after you close the browser, and resumes after a restart without re-uploading the source.

How it works

Instead of public screens, here is how it works.

  1. 1Upload an SRT
  2. 2Pick a model
  3. 3Chunked translation with retries
  4. 4Download a validated Korean SRT

Highlights

01

Robust output

Malformed or truncated output is retried in smaller chunks. If JSON responses fail it switches modes, and falls back to one cue at a time.

02

Queue and schedule

Queue several files to run one at a time, or schedule a job for a set date and time.

03

Metrics

Each job records elapsed time, CPU, GPU and memory use, token counts and generation speed.