2026-05-26 00:45:03 +02:00
2026-05-26 00:45:03 +02:00
2026-05-26 00:45:03 +02:00
2026-05-26 00:45:03 +02:00
2026-05-26 00:45:03 +02:00
2026-05-26 00:45:03 +02:00

video2srt

Generate an English .srt next to each video using stable-ts, with Demucs vocal isolation to fight hallucinations on noisy or musical audio.

Install

Requires Python 3.11 and make.

make              # AMD ROCm (default)
make BACKEND=cuda # NVIDIA CUDA
make BACKEND=cpu  # CPU-only

make install      # install .venv/bin/video2srt to ~/.local/bin
make clean        # remove .venv

Usage

video2srt movie.mkv                    # translate to English (default)
video2srt -t movie.mkv                 # transcribe in source language
video2srt -l ja movie.mkv              # force Japanese source language
video2srt --no-denoise movie.mkv       # skip Demucs vocal isolation
video2srt -o english.srt movie.mkv     # custom output path
video2srt -f *.mkv                     # batch overwrite
S
Description
No description provided
Readme Apache-2.0 33 KiB
Languages
Python 78%
Makefile 22%