- Updated: January 31, 2026
- 5 min read
AutoShorts: AI‑Powered Tool Automates Creation of Gaming Highlight Clips

AutoShorts is an open‑source, GPU‑accelerated tool that automatically creates short, vertical video clips from long‑form gameplay footage using AI‑driven scene analysis and optional AI voiceovers.
What Is AutoShorts?
Developed by the community on GitHub, AutoShorts transforms hours of gaming recordings into ready‑to‑publish TikTok, YouTube Shorts, or Instagram Reels clips. By combining deep‑learning video analysis, GPU‑accelerated rendering, and natural‑language processing, the tool identifies the most engaging moments—action spikes, funny fails, clutch plays—and packages them into vertical shorts with subtitles or AI‑generated voice commentary.
Key Features and Underlying Technology
AI‑Powered Scene Analysis
- Supports OpenAI (GPT‑4o, GPT‑5‑mini) and Google Gemini for semantic tagging.
- Detects seven semantic types: action, funny, clutch, wtf, epic_fail, hype, skill.
- Weighted scoring (audio 0.6 + video 0.4) ranks clips for maximum viewer retention.
GPU‑Accelerated Rendering Pipeline
- Uses
decord+PyTorchfor fast frame decoding on CUDA‑enabled GPUs. - NVENC hardware encoder delivers ultra‑fast H.264/H.265 output.
- Fallback to
libx264when GPU resources are unavailable.
Subtitle & Voiceover Options
- Speech‑to‑text via OpenAI Whisper for automatic captioning.
- AI‑generated captions in multiple styles (gaming, dramatic, Gen‑Z slang, story‑news, etc.).
- Optional AI voiceover powered by ElevenLabs AI voice integration or Qwen3‑TTS for multilingual narration.
Smart Cropping & Aspect Ratio
- Default 9:16 vertical format for Shorts, with optional blurred background for non‑vertical sources.
- Automatic scene‑aware cropping that keeps the main action centered.
- Configurable clip length (2‑15 seconds) to match platform limits.
Use Cases and Benefits for Developers & Creators
AutoShorts addresses a growing demand for bite‑size video content across social platforms. Below are the most compelling scenarios:
- Game streamers can repurpose hours of live‑stream footage into daily highlight reels without manual editing.
- Content agencies automate client deliverables, cutting production time by up to 80 %.
- Indie developers showcase gameplay moments in marketing campaigns, boosting organic reach.
- Educational channels extract concise tutorial snippets from longer walkthroughs.
Because the pipeline runs on the GPU, processing speed scales with the hardware. A single RTX 3080 can render a 30‑minute video into ten 10‑second shorts in under five minutes, freeing creators to focus on strategy rather than tedious editing.
Getting Started: Installation & First Run
AutoShorts offers two primary deployment options—Makefile‑based local install and Docker container. Both approaches automatically handle dependency resolution, CUDA toolkit detection, and environment setup.
Option 1: Makefile Installation (Recommended)
git clone https://github.com/divyaprakash0426/autoshorts.git
cd autoshorts
make install # creates a .venv, installs FFmpeg, builds Decord with CUDA
source .venv/bin/activate # or `conda activate autoshorts` if you prefer conda
This script also pulls the GPU acceleration resources needed for NVENC and CUDA support.
Option 2: Docker (GPU Required)
# Build the image
docker build -t autoshorts .
# Run with GPU access
docker run --rm \\
--gpus all \\
-v $(pwd)/gameplay:/app/gameplay \\
-v $(pwd)/generated:/app/generated \\
-e $(cat .env) \\
autoshorts
Make sure the NVIDIA Container Toolkit is installed on the host machine.
Configuration Essentials
Copy the example environment file and tweak the variables to match your workflow:
cp .env.example .env
# Example edits
AI_PROVIDER=openai
OPENAI_MODEL=gpt-4o
SEMANTIC_TYPES=action,funny,clutch
ENABLE_SUBTITLES=true
SUBTITLE_MODE=ai_captions
ENABLE_TTS=true
TTS_LANGUAGE=en
TARGET_RATIO_W/H=9/16
SCENE_LIMIT=12
Running the Tool
Place your raw gameplay files in the gameplay/ directory and execute:
python run.py
The generated clips appear in generated/ with accompanying subtitle JSON and FFmpeg logs. For a visual overview, launch the optional Streamlit dashboard:
streamlit run src/dashboard/app.py
Why AutoShorts Stands Out Among AI Video Tools
Compared with generic video‑editing AI services, AutoShorts offers:
- Full control over the pipeline—no black‑box SaaS limits.
- Open‑source transparency—inspect, fork, and extend the code.
- GPU‑first design—leverages hardware acceleration for speed.
- Multi‑modal output—subtitles, voiceovers, emojis, and custom templates.
Integrating AutoShorts with the UBOS Ecosystem
Developers looking to embed AutoShorts into larger AI workflows can benefit from UBOS’s modular platform. For instance, you can pipe the generated clips into the UBOS video‑processing suite for further branding or analytics.
Combine AutoShorts with AI Video Generator templates to automatically add intros, outros, or watermarks, creating a seamless end‑to‑end content pipeline.
Need a voice that matches your brand? Pair the output with ElevenLabs AI voice integration for high‑fidelity narration across languages.
Further Resources on UBOS
Explore these related UBOS pages to accelerate your AI video projects:
- UBOS homepage – Overview of the platform’s capabilities.
- UBOS platform overview – Deep dive into modular AI services.
- AI marketing agents – Automate campaign creation from your short clips.
- UBOS partner program – Join a network of AI solution providers.
- UBOS pricing plans – Find a tier that matches your GPU budget.
- UBOS templates for quick start – Ready‑made pipelines for video content.
Community & Contribution
AutoShorts thrives on community contributions. Whether you want to add a new semantic type, improve the CUDA decoder, or integrate a fresh TTS engine, the repository welcomes pull requests. The contributing guide outlines the workflow, code style, and testing procedures.
“AutoShorts turned my 2‑hour stream into ten share‑ready clips in under ten minutes—no manual editing required.” – indie game developer
Conclusion & Call to Action
If you’re a developer, content creator, or tech enthusiast eager to harness AI‑driven video clipping, AutoShorts offers a powerful, free, and extensible solution. Clone the repo, spin up the GPU‑accelerated pipeline, and start generating viral‑ready shorts today.
Ready to supercharge your video workflow? Visit the AutoShorts GitHub repository now, and explore how it can integrate with the broader Enterprise AI platform by UBOS for large‑scale production.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.