AI-based subtitle generation from Bluray ripped mkv videos.
Find a file
2026-06-14 12:34:12 -05:00
paddlex updated to newer pgsocr, removed transcribe stuff 2026-06-14 12:34:12 -05:00
scripts updated to newer pgsocr, removed transcribe stuff 2026-06-14 12:34:12 -05:00
.gitignore updated to newer pgsocr, removed transcribe stuff 2026-06-14 12:34:12 -05:00
cmd updated to newer pgsocr, removed transcribe stuff 2026-06-14 12:34:12 -05:00
Dockerfile updated to newer pgsocr, removed transcribe stuff 2026-06-14 12:34:12 -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