Skip to content

Aslam-mm/automatic-subtitle-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 Auto Subtitle Generator using Whisper and Flask

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.


📦 Features

  • Upload video files (.mp4, .mov, .avi, .mkv)
  • Extract audio using moviepy
  • Transcribe audio using OpenAI's Whisper
  • Generate .srt subtitle file
  • Burn subtitles into the video using ffmpeg
  • Download the final video with hardcoded subtitles

🧰 Requirements

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published