Auto-YouTube-Shorts-Maker  by Binary-Bytes

CLI tool for automated YouTube Shorts creation

created 2 years ago
352 stars

Top 80.3% on sourcepulse

GitHubView on GitHub
Project Summary

This script automates the creation of YouTube Shorts from gameplay videos, handling content generation, text-to-speech, and video editing. It targets content creators looking to streamline the production of short-form video content, offering a free and automated solution to reduce manual effort.

How It Works

The process begins with content generation, either via AI using the OpenAI API or user-provided text. This content is then converted to speech using gTTS. Subsequently, MoviePY is employed to select a random segment from provided gameplay footage, overlay the generated speech, resize the video to a 9:16 aspect ratio, and save the final Short.

Quick Start & Requirements

  • Install dependencies: pip install openai gtts moviepy python-dotenv
  • Obtain an OpenAI API key and add it to a .env file (e.g., OPENAI_API=your_key).
  • Download gameplay videos and place them in a gameplay folder.
  • Run the script: python shorts.py
  • Demo video available: Click Here To See The Demo Video

Highlighted Details

  • Automates content generation, text-to-speech, and video editing.
  • Utilizes OpenAI API for content creation and gTTS for voiceovers.
  • Employs MoviePY for video manipulation and aspect ratio conversion.
  • Output videos are saved in the generated/ directory.

Maintenance & Community

The project is currently basic, with potential future additions like subtitles and graphics. The creator is open to contributions but has limited time due to real-life commitments. Contact information for the creator is provided on Discord.

Licensing & Compatibility

The project's license is not explicitly stated in the README. The description implies it is free to use.

Limitations & Caveats

The script is described as "very basic" and does not generate graphics or subtitles. The README notes that gameplay videos are provided via Google Drive links due to their size, implying users must download these separately.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
17 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.