Giter Site home page Giter Site logo

minhal-sami1 / viralizeit Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 43 KB

Easily transform any YouTube video into multiple short clips.

Python 84.77% HTML 15.23%
artificial-intelligence youtube-video-maker shorts-maker video-shortener video-summariser

viralizeit's Introduction

viralizeit

Easily transform any YouTube video into multiple short clips.

๐Ÿ“‚ Project Structure

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.

๐Ÿš€ Getting Started

Setup & Installation

  1. Clone the repository.
  2. Install the required packages using: pip install -r requirements.txt

Running the Program

  1. Execute the app file.
  2. Follow on-screen prompts to input either a YouTube link or the path to a local video file.
  3. Specify the number of shorts you want to generate or proceed with the default.
  4. Sit back as the program processes the video, extracts subtitles, identifies potential viral segments, and generates the shorts.

Output

The shorts will be saved in a dedicated directory, each file named with start and end times of the trimmed segments.

๐Ÿ“  Features

  • Easy-to-use Ui
  • Automatically downloads videos
  • Extracts subtitles
  • Finds clips with high probability of being viral
  • Zips the resultant shorts

๐Ÿ“ Note

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

๐Ÿ“ข Contributions

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. ๐ŸŒŸ

viralizeit's People

Contributors

minhal-sami1 avatar abdulrkb avatar

Stargazers

dtla avatar Deyson avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

sudorafa

viralizeit's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.