openclip  by linzzzzzz

AI-powered tool for extracting compelling highlights from long videos

Created 3 months ago
480 stars

Top 63.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

OpenClip provides an AI-powered, automated pipeline for extracting highlight clips from long videos, targeting users who need to quickly process content like live streams or spoken-word recordings. Its lightweight design and multiple interfaces offer an efficient solution for generating engaging video segments with titles and covers.

How It Works

The system automates video processing from download to clip generation, including transcription (Whisper/Paraformer), AI analysis for highlight identification, and output creation. A key advantage is its ~5K line codebase, facilitating rapid startup, ease of maintenance, and high customizability via prompt engineering. An optional "deep optimize" mode enhances clip quality by adding AI review stages.

Quick Start & Requirements

Installation uses uv: clone the repo, then uv sync. Prerequisites include Python 3.11+, FFmpeg, and an LLM API key (Qwen, OpenRouter, GLM, MiniMax, or custom OpenAI-compatible). Optional dependencies like Deno/Node improve YouTube downloads. Users can interact via Streamlit Web UI (uv run python -m streamlit run streamlit_app.py), CLI (uv run python video_orchestrator.py), or Agent Skills.

Highlighted Details

  • AI-driven highlight extraction with user-intent guidance.
  • Supports Bilibili/YouTube URLs and local files.
  • Features speaker identification (preview), subtitle burning (with translation), and artistic title generation.
  • Offers multiple interfaces: Streamlit UI, CLI, and AI Agent integration.

Maintenance & Community

The project shows active development with recent updates in April 2026. It maintains a Discord community for support and discussion. Contributions are welcomed, focusing on maintaining a lightweight and readable codebase.

Licensing & Compatibility

Released under the permissive MIT License, OpenClip is compatible with commercial use and integration into closed-source projects.

Limitations & Caveats

Speaker identification is a preview feature and can be slow on CPU. Subtitle burning requires FFmpeg with libass. YouTube downloads may need specific runtimes and cookies. Long videos might cause memory issues, and Chinese text rendering depends on system fonts. A past Git history rewrite may affect users who cloned the repository earlier.

Health Check
Last Commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
275 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Jiaming Song Jiaming Song(Chief Scientist at Luma AI).

MoneyPrinterTurbo by harry0703

0.6%
58k
AI tool for one-click short video generation from text prompts
Created 2 years ago
Updated 2 days ago
Feedback? Help us improve.