Skip to content

zubu007/auto-subtitle-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-subtitle-generator

A program that generates subtitles in the format of instagram and facebook reels, youtube shorts and tiktok videos.


Installation and usage:

  1. If using git to download repo type: git clone https://github.com/zubu007/auto-subtitle-generator.git

  2. 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.
  3. Install ffmpeg

    • On Windows
    • On Linux
      • sudo apt install ffmpeg
    • On Mac
      • brew install ffmpeg
  4. Install the necessary python packages in your environment using pip install -r requirements.txt

  5. Run the python script

    • Windows: python GUI.py
    • Linux/Mac: python3 GUI.py

TODO

  • 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.

Done

  • 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

Issues

  • Fix overlapping text in the subtitles.

Notes

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages