/quick-subtitles

An easy way to generate SRT subtitles from a video in Windows.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

quick-subtitles

An easy way to generate SRT subtitles from a video in Windows.

Animation

Powered by Whisper and ffmpeg

Usage

  1. Download the latest release and extract it.
  2. Place your video/episode/movie in the folder.
  3. Open the terminal in the folder extracted.
  4. Execute the following command:
quicksubtitles.exe --src video.mp4

Models

To change the model, use:

quicksubtitles.exe --model large

to see available models, click here

Languages

To specify the source language, use:

quicksubtitles.exe --language french

to see available languages, click here

Dev usage

Note that this script was made for Python 3.12.6 version

  1. Clone the repository.
git clone https://github.com/manucabral/quick-subtitles.git
cd quick-subtitles
  1. Place your video, episode, or movie in the repository folder.
  2. Install the requirements (I recommend using a virtual environment).
pip install -r requirements.txt
  1. Download the latest release of FFmpeg (shared version, eg: ffmpeg-master-latest-win64-lgpl-shared.zip)
  2. Extract the FFmpeg zip file and copy the files from the bin folder into the repo folder.
  3. Run main
main.py --src video.mp4

More