Clip Grid ClipGrid
Local-first • FastAPI • Automated Clip Scoring

Turn Long Streams & Videos into High-Retention Clips Automatically.

ClipGrid is an open-source AI video clipping studio featuring live stream capture, intelligent hook scoring, automated facecam framing, and native Romanized Hindi/Nepali/Urdu captioning. Everything stays on your machine—no cloud relay, no usage markups.

clipgrid-studio — live-session-04.mp4
Viral Score: 94 / 100
TRANSCRIPT & ROMANIZED CAPTIONS 00:14:22 → 00:15:08 (46s)

"Bhai, ye clutch moment dekho! Last zone mein sirf do bande bache hain aur health bilkul zero pe hai..."

#HighEnergyHook #FacecamDetected #HinglishCaptions
ENGAGEMENT & AUDIO SPIKE TIMELINE
9:16 VERTICAL EXPORT READY
Facecam Tracked
"WATCH THIS CLUTCH 🔥"
1080×1920 • 60 FPS

Built for Creators & Streamers

Everything required to ingest raw VODs or live broadcasts and output ready-to-publish vertical shorts.

01

Live Stream & VOD Recording

Capture live streams on the fly or upload local recordings for immediate segmentation without waiting for streams to end.

02

AI Viral Clip Scoring

Evaluates semantic hooks, pacing, and audio energy peaks to rank candidate moments by retention potential.

03

Automated Facecam Detection

Detects speaker and streamer webcam overlays to dynamically split and reframe 16:9 gameplay into 9:16 vertical layouts.

04

Romanized Hindi/Nepali/Urdu Captions

Purpose-built transcription pipeline generating accurate, word-timed Romanized Hindi, Nepali and Urdu subtitles.

05

Golden-Set Evaluation

Built-in benchmarking against curated golden datasets to measure boundary precision, transcription accuracy, and scoring drift.

06

Interactive Studio Editor

Fine-tune clip timestamps, edit generated captions, and preview vertical framing.

Processing Pipeline

End-to-end asynchronous media workflow powered by FastAPI and modern computer vision.

STEP 1 • INGEST

Stream / File Capture

Ingests MP4/MKV uploads or live RTMP/HLS stream chunks via FFmpeg.

STEP 2 • TRANSCRIBE

ASR & Transliteration

Extracts word-level timestamps and converts speech into clean Romanized text.

STEP 3 • ANALYZE

Scoring & Facecam Vision

Ranks peak viral segments and locates webcam bounding boxes.

STEP 4 • RENDER

9:16 Composite Export

Renders vertical video with stacked facecam layout and burned-in dynamic captions.

Tech Stack

Local-first by design: media, transcripts, database and credentials stay on your machine.

Frontend
  • FrameworkPlain HTML/CSS/JS
  • StylingTailwind CSS
  • Media playbackHTML5 Video & Timeline Canvas
Backend
  • API serverPython + FastAPI
  • Video processingFFmpeg
  • DatabaseSQLite / PostgreSQL
Speech & AI
  • ASRsherpa-onnx Parakeet
  • LanguagesHindi, Nepali, Urdu, English
  • AI providersGemini, OpenAI, Claude, Grok, Groq, OpenRouter, Ollama

Quick Start

Clone the repository and launch the FastAPI backend locally.

# 1. Clone repository
git clone https://github.com/Aashish-po/Clip-grid.git && cd Clip-grid
# 2. Install & run the backend
python -m venv .venv && source .venv/bin/activate pip install -r requirements.txt python -m app.server
# 3. Open the app
http://127.0.0.1:8090 Then add an AI provider in Settings → AI (optional) and connect your platform credentials.