Claude-Real-Video: Scene-Aware Frame Extraction + Transcript for Any LLM

Claude-real-video (GitHub) is a Python CLI tool that lets any LLM actually “watch” a video by extracting scene-aware, deduplicated frames and a transcript — all locally, no uploading to external services. Unlike fixed-interval frame sampling (e.g., 1 fps) that over-samples static content and misses fast cuts, this tool uses scene-change detection plus a density floor to capture every meaningful visual change while discarding near-duplicates.
Key Features
- Scene-change detection with configurable sensitivity (
--scene 0.30) - Sliding-window dedup (
--dedup-window 4,--dedup-threshold 8%) — avoids resending the same shot after a cutaway - Density floor (
--fps-floor 1.0) ensures at least one frame every N seconds - Hard cap on total frames:
--max-frames 150 - Whisper transcription with language detection (
--lang autoor specifyen,zh) - Supports URLs (YouTube, Instagram, TikTok, etc.) via yt-dlp and local files
- Outputs a clean folder:
crv-out/frames/*.jpg,crv-out/transcript.txt,crv-out/MANIFEST.txt— drop these into Claude, ChatGPT, or Gemini - Option to generate a visual report of keep/drop decisions (
--report)
Installation
pip install claude-real-video # core (frames + dedup)
pip install "claude-real-video[whisper]" # + audio transcription
System requirement: ffmpeg (install via brew install ffmpeg, sudo apt install ffmpeg, or winget install Gyan.FFmpeg).
Usage Examples
# YouTube/Instagram link
crv "https://www.youtube.com/watch?v=..."
Local file with English transcript
crv lecture.mp4 -o out --lang en
Frames only, no transcript
crv clip.mp4 --no-transcribe
With cookie file for login-gated content
crv "https://..." --cookies cookies.txt
How It Works
The tool uses yt-dlp to fetch URL-based videos (with optional cookies), then ffmpeg extract passes to grab frames at every scene change plus a density floor. A sliding-window near-duplicate detector collapses repeated shots. Audio is transcribed via the Whisper CLI. Everything stays local — no upload to any cloud service.
📖 Read the full source: HN AI Agents
👀 See Also

Ctxpact: Context Compaction Proxy for Local LLMs
Ctxpact is an OpenAI-compatible proxy that compresses oversized inputs for local LLMs with 16k context windows, using a 3-stage pipeline that includes DCP, summarization, and extraction strategies. Benchmarks show 110k tokens compressed to 12k with 8/8 reading comprehension accuracy.

User Experience: Switching from OpenClaw to Hermes Agent on Local LLM
A developer reports switching from OpenClaw to Hermes Agent using Qwen3.5-9B on an RX 9070 XT with 16GB VRAM. Hermes completed a complex task with 5 correct tool calls versus OpenClaw's 50+ steps, running 2:30 minutes faster while maintaining RAG, tool calling, and persistent memory functionality.

Tocket CLI: A Context Engineering Framework for AI Coding Agents
Tocket is a CLI tool that creates a .context/ folder with markdown files for AI agents to maintain project memory across sessions. It auto-detects tech stacks from package.json and generates a pre-configured .cursorrules file.

Spec-Driven Development Workflow for Claude Code: Decomposition, Context Clearing, and Cost Control
A spec-driven development approach for Claude Code that uses two-dimensional decomposition, context clearing between steps, and specs written to disk to improve agent performance and reduce costs.