AI-based subtitle generation from Bluray ripped mkv videos.
Find a file
2025-06-20 16:12:31 -05:00
scripts initial commit 2025-06-20 16:12:31 -05:00
.gitignore initial commit 2025-06-20 16:12:31 -05:00
cmd initial commit 2025-06-20 16:12:31 -05:00
Dockerfile initial commit 2025-06-20 16:12:31 -05:00
README.md initial commit 2025-06-20 16:12:31 -05:00

SRTStation

Docker image to generate SRT subtitles from .mkv files ripped from Blurays.

Usage

First build the docker image (uses Nvidia's CUDA image as a base):

./cmd build-image

Use AI-based OCR to convert embeddet PGS subtitles to SRT:

./cmd convert /path/to/video.mkv

The above will extract all embedded english subtitles from the .mkv. If you want to specify a single track instead, pass its id (which can be found using mkvinfo) as well:

./cmd convert /path/to/video.mkv 5

Use Whisper-based transcription to convert the video's (first) English audio track to SRT:

./cmd transcribe eng /path/to/video.mkv

You can also translate the first Japanese audio track to an English SRT:

./cmd transcribe jpn /path/to/video.mkv