Skip to content

⚡automatic-subs-GUI⚡ This project automatically generates subtitles for any mp4 video 🚀🚀

License

Notifications You must be signed in to change notification settings

emmendoza2794/automatic-subs-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡automatic-subs-GUI⚡

This project automatically generates subtitles for any mp4 video, for this the following libraries were used:

Dashboard

🗂 Its operation is simple, the entire graphical interface is on Streamlit, with FFmpeg we extract the audio from the video, we pass it through Fast-whisper to convert the audio to text, with Pillow we generate the png images with the subtitles and the available configurations, and lastly step we superimpose the images on the video at the indicated time with FFmpeg

video_demo.mp4

🚨Prerequisites🚨

  • CUDA compatibility
  • have FFmpeg installed
  • python 3.10 ^

🚧local installation🚧

  1. create the virtual environment with pip venv and activate it
python -m venv venv
source venv/bin/activate # linux
  1. install dependencies
pip install -r requirements.txt
  1. run the app
streamlit run app.py 🚀🚀

About

⚡automatic-subs-GUI⚡ This project automatically generates subtitles for any mp4 video 🚀🚀

Topics

Resources

License

Stars

Watchers

Forks

Languages