Command line interface for creating movie subtitles either as .srt files or by adding them to each movie frame.
- Python => 3.10
Install from git (recommend)
pip install git+https://github.com/mathiasesn/movie-subtitles.git
Install locally
git clone https://github.com/mathiasesn/movie-subtitles.git
cd movie-subtitles
pip install -e .
movie-subtitles --help
usage: translation-cli <command> [<args>]
options:
-h, --help show this help message and exit
--input INPUT The input file to transcribe
--audio-lang AUDIO_LANG
The language of the audio in the movie
--srt-lang SRT_LANG The language of the srt file
--whisper-model WHISPER_MODEL
The whisper model to use
--mt-model MT_MODEL The machine translation model to use