HUANGCHIHHUNGLeo/claude-real-video

Let Claude (or any LLM) actually watch a video — scene-aware, deduplicated frames + transcript, from a URL or local file. Runs locally, MIT.

What it solves

Most AI tools can't truly watch a video. ChatGPT reads the transcript, not the picture; Claude won't accept video files at all; and even Gemini, which can natively read video, samples frames at a fixed interval so fast cuts slip past and static scenes waste tokens. claude-real-video solves this by converting any video into a compact set of genuinely different keyframes plus a timestamped transcript, so any LLM can answer detailed questions about the visual content without seeing the original video.

How it works

You give crv a video URL (YouTube, Instagram, TikTok, etc.) or a local file. It runs entirely on your machine: ffmpeg extracts frames, scene-change detection picks the frames that actually differ, a sliding-window dedup removes near-duplicates, and — if you install the optional Whisper extras — the audio is transcribed (with language detection, speaker diarization, or faster/GPU‑accelerated variants). The output is a folder with JPEG frames, a MANIFEST.txt with per-frame timestamps, and transcript files. You then paste those frames and the manifest into Claude, ChatGPT, Gemini, or any coding agent and ask away. Everything stays local; only the frames/text you explicitly share ever go to a cloud LLM. There's also a local web interface (crv-web) for a no-terminal experience, and an MCP server so MCP clients can call it directly.

Who it's for

Developers and power users who want LLM assistants to understand video content — lectures, meetings, screen recordings, social media clips — without uploading the video. It's especially useful with Claude Code, Cursor, Codex, Copilot, Gemini CLI, and other agent hosts that support skills. It also works as a standalone command-line keyframe extractor for non-LLM tasks.

Highlights

  • Smart frame selection: scene-change detection + dedup beats fixed-interval sampling, giving fewer, more meaningful frames and lower token costs.
  • Private by design: the video never leaves your machine; you choose what to share with an LLM.
  • Flexible inputs: any URL (via yt-dlp) or local file, including login-gated content via cookies.
  • Rich optional features: time windows (--from/--to), adaptive detection for slow morphs, subtitle-anchored frames, speaker diarization, contact sheets, a local viewer, and a --why lens for focused analysis.
  • Memory and search: every analysis is indexed locally, so crv-ask can search across everything you've watched, with no embeddings or network.
  • MCP server and skill: integrates with Claude Desktop, Cursor, and other MCP clients via five tools.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project