AI-based subtitle generation from Bluray ripped mkv videos.
				
			
		| scripts | ||
| .gitignore | ||
| cmd | ||
| Dockerfile | ||
| README.md | ||
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