This is a simple Flask web application that allows users to upload a video file and automatically generates subtitles using OpenAI's Whisper. It then burns the subtitles into the video and provides a downloadable .mp4 file.
- Upload video files (
.mp4,.mov,.avi,.mkv) - Extract audio using
moviepy - Transcribe audio using OpenAI's Whisper
- Generate
.srtsubtitle file - Burn subtitles into the video using
ffmpeg - Download the final video with hardcoded subtitles
Make sure you have the following installed:
- Python 3.11
- ffmpeg (should be available in system PATH)
Install dependencies using:
pip install -r requirements.txt