AI-powered content clipping system that automatically identifies viral-worthy moments from livestreams.
- π€ Transcription: Deepgram Nova-3 with word-level timestamps
- π§ AI Analysis: Gemini 2.5 Pro identifies clip-worthy moments
- βοΈ Precise Extraction: FFmpeg keyframe-accurate cutting
- π Review Queue: Google Sheets integration for approval workflow
# Clone the repo
git clone https://github.com/seqora/nick-matau-clipper.git
cd nick-matau-clipper
# Create virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install dependencies
pip install -r requirements.txt
# Copy environment variables
cp .env.example .env
# Edit .env with your API keys
# Run the pipeline
python main.py process video.mp4 --output ./clipsnick-matau-clipper/
βββ src/
β βββ ingester.py # Video input + audio extraction
β βββ transcriber.py # Deepgram Nova-3 integration
β βββ analyzer.py # Gemini 2.5 Pro clip detection
β βββ extractor.py # FFmpeg precise clip cutting
β βββ sheets.py # Google Sheets review queue
β βββ timestamp_utils.py
βββ prompts/
β βββ base_prompt.md # Master clip detection prompt
β βββ nick_preferences.md
βββ docs/
β βββ PRD.md # Product requirements
β βββ ARCHITECTURE.md # System design
β βββ TASKS.md # Implementation tasks
βββ main.py # CLI entry point
βββ CLAUDE.md # AI assistant instructions
# Full pipeline
python main.py process video.mp4 --output ./clips
# Just transcribe
python main.py transcribe video.mp4 --output transcript.json
# Just analyze (from existing transcript)
python main.py analyze transcript.json --output clips.json
# Just extract clips
python main.py extract video.mp4 --clips clips.json --output ./clipsCreate a config/config.yaml:
deepgram:
model: nova-3
gemini:
model: gemini-2.5-pro
temperature: 0.3
extraction:
quality: medium # fast, medium, high
padding_start: 0.3
padding_end: 0.5# Run tests
pytest tests/ -v
# Type check
mypy src/
# Format code
black src/ tests/
# Lint
ruff check src/ tests/- Gabriel (AI Engineer): Transcription, AI analysis, prompts, orchestration
- Jake (Integration Engineer): FFmpeg modules, Google Sheets
| Video Length | Deepgram | Gemini | Total |
|---|---|---|---|
| 2 hours | $0.52 | $0.25 | $0.77 |
| 4 hours | $1.03 | $0.40 | $1.43 |
Proprietary - Seqora AI