GitHub - divyaprakash0426/autoshorts
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
License
divyaprakash0426/autoshorts
Folders and files
Latest commit
History
Repository files navigation
AutoShorts
Automatically generate viral-ready vertical short clips from long-form gameplay footage using AI-powered scene analysis, GPU-accelerated rendering, and optional AI voiceovers.
AutoShorts analyzes your gameplay videos to identify the most engaging moments—action sequences, funny fails, or highlight achievements—then automatically crops, renders, and adds subtitles or AI voiceovers to create ready-to-upload short-form content.
🎬 Example Output
Here are some shorts automatically generated from gameplay footage:
✨ Features
🎯 AI-Powered Scene Analysis
🎙️ Subtitle Generation
🔊 AI Voiceover (ChatterBox TTS)
⚡ GPU-Accelerated Pipeline
📐 Smart Video Processing
🛡️ Robust Fallback System
AutoShorts is designed to work even when optimal components fail:
📋 Requirements
Hardware
Software
🚀 Installation
Option 1: Makefile Installation (Recommended)
The Makefile handles everything automatically—environment creation, dependency installation, and building Decord with CUDA support.
The Makefile will:
Option 2: Docker (GPU Required)
Prerequisite: NVIDIA Container Toolkit must be installed.
Note: The --gpus all flag is essential for NVENC and CUDA acceleration.
⚙️ Configuration
Copy .env.example to .env and configure:
Key Configuration Options
See .env.example for the complete list with detailed descriptions.
📖 Usage
Place source videos in the gameplay/ directory
Run the script:
Generated clips are saved to generated/
Output Structure
🧪 Development
Linting
Running Tests
Tests mock GPU availability and can run in standard CI environments.
Debug Variables
For faster iteration during development, you can skip expensive steps using these environment variables in your .env:
Example workflow for testing subtitles only:
🔧 Troubleshooting
🙏 Acknowledgments
This project builds upon the excellent work of:
📄 License
This project is licensed under the MIT License.
About
Resources
License
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
Packages
0
Contributors
4
Uh oh!
There was an error while loading. Please reload this page.
Languages
Footer
Footer navigation