Skip to content

mathiasesn/movie-subtitles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie subtitles

Command line interface for creating movie subtitles either as .srt files or by adding them to each movie frame.

Prerequisites

  • Python => 3.10

Installation

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 .

Usage

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

About

Command line interface for creating movie subtitles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages