A program that generates subtitles in the format of instagram and facebook reels, youtube shorts and tiktok videos.
-
If using git to download repo type:
git clone https://github.com/zubu007/auto-subtitle-generator.git -
Check if you have ffmpeg installed on your system
- Open a terminal and type
ffmpeg -version. If you get an error, you need to install ffmpeg.
- Open a terminal and type
-
Install ffmpeg
- On Windows
- Install Chocolately and type
choco install ffmpeg
- Install Chocolately and type
- On Linux
sudo apt install ffmpeg
- On Mac
brew install ffmpeg
- On Windows
-
Install the necessary python packages in your environment using
pip install -r requirements.txt -
Run the python script
- Windows:
python GUI.py - Linux/Mac:
python3 GUI.py
- Windows:
-
Add comments to the code
-
Update this read.me to make professional
-
add preview of the options selected.
-
clean up the old commented code.
-
Add option for background color of the text box.
-
Word level timestamps.
- Fix audio sync issue. (Maybe FPS is the problem.)
- configure font color selection to the main loop
- configure text size selection to the main loop
- configure font style selection to the main loop
- Add option for y position of the text
- Create a GUI for the program
- Design UI for the program
- Create variables for text size and font.
- Text alignment in middle
- Fix overlapping text in the subtitles.
- Completely removed OpenCV and used only moviepy for the subtitle putting.
- I think I should look into whisperX or stable-ts or whisper-timestamped for word level timestamps.