Viralizeit/
โ
โโโ ๐ main.py # Orchestrates video downloading, processing, and shorts generation.
โ
โโโ ๐ app.py # Contains all the webui for it.
โ
โโโ ๐ subtitle_extraction.py # Extracts subtitles from videos using the powerful auto_subtitle tool.
โ
โโโ ๐ video_editor.py # Leverages moviepy to edit videos, trim, and create captivating shorts.
โ
โโโ ๐ viral_analysis.py # Analyzes subtitles, harnessing the power of OpenAI to identify potential viral segments.
โ
โโโ ๐ requirements.txt # List of Python packages essential for the program.
- Clone the repository.
- Install the required packages using:
pip install -r requirements.txt
- Execute the
app
file. - Follow on-screen prompts to input either a YouTube link or the path to a local video file.
- Specify the number of shorts you want to generate or proceed with the default.
- Sit back as the program processes the video, extracts subtitles, identifies potential viral segments, and generates the shorts.
The shorts will be saved in a dedicated directory, each file named with start and end times of the trimmed segments.
- Easy-to-use Ui
- Automatically downloads videos
- Extracts subtitles
- Finds clips with high probability of being viral
- Zips the resultant shorts
Make sure the external command auto_subtitle
(used for subtitle extraction) is installed on your system. It will be automatically installed when you do pip install -r requirements.txt
Feel free to fork this repository, make enhancements, and submit pull requests. All contributions are warmly welcomed! Let's make viralizeit even more amazing together. ๐