Generate subtitles and transcripts for any video using OpenAI's Whisper model (via faster-whisper).
- Supports over 90 languages (auto-detect or choose)
- Outputs
.srtand.txtfiles - GPU acceleration with Whisper via faster-whisper
- Easy-to-use file selection interface
- Compatible with Premiere Pro, DaVinci Resolve, etc.
- Python 3.10+
- NVIDIA GPU (recommended)
- FFmpeg installed (or include
ffmpeg.exein repo)
git clone https://github.com/yourname/subtitle-generator
cd subtitle-generator
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt- Run the app:
python SubGen.py
- Select a video file.
- Language will be auto-detected.
- Choose output folder (SRT & TXT).
- Allow it to run the process.
- Subtitles will be saved in the selected folder.
- Open the
.srtor.txtfiles in your video editor. - Enjoy your subtitles!