Show HN:AutoShorts – 專為創作者打造的本地化、GPU加速AI影片處理管線

Show HN:AutoShorts – 專為創作者打造的本地化、GPU加速AI影片處理管線

Hacker News·

AutoShorts 是一款新推出的AI影片處理工具,專為內容創作者設計,能夠利用本地GPU加速,從長篇遊戲錄影中自動生成適合發布的直式短影片。

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.

Image

Image

Image

Image

Image

🎬 Example Output

Here are some shorts automatically generated from gameplay footage:

Image

Image

Image

Image

✨ 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.

Image

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

Hacker News

相關文章

  1. Show HN:用於高轉換率社群媒體影片的開源 AI 工作流程

    3 個月前

  2. Show HN:X-Pilot – 專為線上課程打造的程式碼驅動 AI 影片生成器

    3 個月前

  3. Show HN:我開發了一個能製作具備角色一致性的15分鐘AI影片的工具

    3 個月前

  4. Show HN:fluid.sh – 讓基礎設施對 AI 更安全

    3 個月前

  5. Show HN:具備CPU備援的本地優先AI影片畫質提升器

    3 個月前