@Stephen4171127: Recently discovered an open-source tool called Claude-real-video, which directly hits the deadlock of current LLM video analysis. Previously, the entire industry was fiercely competing to 'natively bake video capabilities into large models,' which is equivalent to every company having to build a phone with a screen from scratch — either wait for big players to slowly roll out features, or burn money training small models. Ordinary developers simply can't keep up…

X AI KOLs Timeline Tools

Summary

Introducing the open-source tool claude-real-video, which uses scene change detection and audio transcription to allow any LLM to analyze videos locally, solving the pain points of fixed-frame sampling and cloud uploads.

Recently discovered an open-source tool called Claude-real-video, which directly hits the deadlock of current LLM video analysis. Previously, the entire industry was fiercely competing to 'natively bake video capabilities into large models,' which is equivalent to every company having to build a phone with a screen from scratch — either wait for big players to slowly roll out features, or burn money to train small models. Ordinary developers simply can't afford it. This tool, on the other hand, directly creates a universal external module: no matter which LLM you are using, plug it in and it can directly parse video content. It's like plugging a display screen into a feature phone that only has audio. And it's not just simple frame capture every few seconds! What's even more rare is that the community discussion for this project is all substantive, not an empty shell for star counts: some talk about limitations in real-world deployment, some propose alternative solutions, some directly showcase application scenarios. Developers building video agents can really just pull it and try it out.
Original Article
View Cached Full Text

Cached at: 07/03/26, 06:40 PM

I recently discovered an open-source tool called Claude-real-video that directly addresses a fundamental limitation in current LLM-based video analysis.

Until now, the entire industry has been obsessed with “natively baking video capabilities into large models” — essentially requiring every company to build a phone with a screen from scratch. That means either waiting for big players to drip-feed new features, or burning cash to train smaller models yourself. Ordinary developers simply can’t compete.

This tool takes a different approach: it’s a universal external module. No matter which LLM you’re using, plug it in and it can directly parse video content. It’s like adding a display to a feature phone that could only handle voice calls.

And it’s not just simple frame sampling every few seconds.

What’s even more impressive is that the community discussions around this project are full of practical insights — not the empty star-collecting kind. People talk about real-world limitations, suggest alternatives, and share actual use cases. Developers building video agents can pull this down and try it right away.


HUANGCHIHHUNGLeo/claude-real-video

Source: https://github.com/HUANGCHIHHUNGLeo/claude-real-video

claude-real-video

Let Claude — or any LLM — actually watch a video.

Most AI tools don’t really see a video. Paste a YouTube link into ChatGPT and it reads the transcript, not the picture. Claude won’t take a video file at all. Even Gemini, which can read video natively, has to send it up to Google and samples frames at a fixed interval (1 fps by default), so fast cuts slip past.

claude-real-video does it differently, and locally: point it at a URL or a file, and it pulls the frames that actually matter (every scene change, not a fixed quota), throws away the near-duplicates, transcribes the audio, and hands you a clean folder any LLM can read — on your own machine, nothing uploaded.

crv "https://www.youtube.com/watch?v=..."
# → crv-out/frames/*.jpg  +  crv-out/transcript.txt  +  crv-out/MANIFEST.txt

Then drop the frames + MANIFEST.txt into Claude / ChatGPT / Gemini and ask away.


Why not just sample frames?

Most “let an LLM watch a video” scripts (and Gemini’s own pipeline) grab frames at a fixed interval — e.g. one per second. That over-samples a static screencast and under-samples a fast-cut reel. claude-real-video is smarter:

fixed-interval samplingclaude-real-video
Frame selectionevery N secondsscene-change detection + density floor
Repeated shots (A-B-A cuts)sent again every timesliding-window dedup sends each shot once
Static slide (10 min)~600 near-identical framescollapses to 1 (dedup)
Fast-cut reelmisses frames between samplescatches each visual change
Audiooften ignoredWhisper transcript w/ language detect
Where the video goesoften uploaded to a cloudstays on your machine
Inputusually local file onlyURL (yt-dlp) or local file

You feed the model fewer, more meaningful frames — cheaper context, better understanding.


Install

pip install claude-real-video              # core (frames + dedup)
pip install "claude-real-video[whisper]"   # + audio transcription

System requirement: ffmpeg

ffmpeg / ffprobe are used for frame extraction and audio, and aren’t pip-installable. Install them once:

OScommand
macOSbrew install ffmpeg
Linuxsudo apt install ffmpeg (or your distro’s package manager)
Windowswinget install Gyan.FFmpeg — or choco install ffmpeg — or download a build (https://www.gyan.dev/ffmpeg/builds/) and add its bin\ folder to your PATH

Verify it’s on your PATH:

ffmpeg -version

Transcription uses the whisper CLI (installed by the [whisper] extra, or pip install openai-whisper). Whisper also relies on ffmpeg.

Works on macOS, Windows, and Linux — Python 3.10+.


Usage

# A YouTube / Instagram / TikTok / ... link
crv "https://www.instagram.com/reel/XXXX/"

# A local file, English transcript, output to ./out
crv lecture.mp4 -o out --lang en

# Frames only, no transcription
crv clip.mp4 --no-transcribe

# A login-gated video (your own / authorised use): pass a Netscape cookie file
crv "https://..." --cookies cookies.txt

python -m claude_real_video ... works as an alias for crv too.

Options

flagdefaultmeaning
-o, --outcrv-outoutput directory
--scene0.30scene-change sensitivity (lower = more frames)
--fps-floor1.0at least one frame every N seconds
--max-frames150hard cap on total frames
--langautoWhisper language (en, zh, auto, …)
--dedup-threshold8% of pixels that must change for a frame to count as new; higher = fewer frames
--dedup-window4compare against the last N kept frames — a shot the model already saw doesn’t come back after a cutaway (1 = consecutive-only)
--reportoffkeep dropped frames in ./dropped + write report.html visualising every keep/drop decision
--no-transcribeoffskip audio
--keep-audiooffalso save the full soundtrack (audio.m4a) so audio models can hear it
--cookiesNetscape cookie file for login-gated sources

Use it from Python

from claude_real_video import process

r = process("https://youtu.be/...", "out", lang="en")
print(r.frame_count, r.transcript_path)

How it works

  1. Fetchyt-dlp for URLs (optional cookies), or copy a local file.
  2. Extract — one chronological ffmpeg select pass grabs every scene change plus a density floor (at least one frame every --fps-floor seconds), so fast cuts and slow screencasts are both covered.
  3. Dedup — real pixel difference (downscaled RGB, not a perceptual hash — hashes go blind on flat colours and equal-luma hue changes) against a sliding window of the last --dedup-window kept frames, so an A-B-A cutaway doesn’t re-send a shot the model has already seen. --report writes report.html showing every keep/drop decision with its diff %, for tuning.
  4. Text — if the video already has subtitles (a sidecar .srt/.vtt next to a local file, or an embedded subtitle track), those are used as the transcript — faster and more accurate than re-transcribing. Only when there are no subtitles does it fall back to Whisper on the audio (skipped cleanly if there’s no audio).
  5. Audio (optional, --keep-audio) — save the full original soundtrack (audio.m4a: music + speech + effects, copied losslessly when possible). The transcript only has the words; the audio file lets a model that can listen (Gemini, GPT-4o, …) actually hear the music and tone.
  6. ManifestMANIFEST.txt summarises everything for the model.

So the model can see (key frames), read (transcript) and — with --keep-audiohear (full soundtrack) the video. The transcript is plain text any model can read; the tool doesn’t burn subtitles into the video — burning is a presentation choice, not something needed to make a video AI-readable.


Notes

  • Only download content you have the right to. The --cookies option is for your own, authorised access — don’t ship credentials in a repo.
  • Re-running overwrites the output directory.

License

MIT

Similar Articles

Claude-real-video - any LLM can watch a video

Hacker News Top

claude-real-video is a Python tool that extracts key frames via scene detection and audio transcripts from videos locally, enabling any LLM to analyze video content without cloud uploads.

@0xluffy_eth: Someone created a free video editing tool for Claude Code... Insane. Just put raw footage and assets in a folder. That's it. It handles everything: - Clip segments - Remove filler words - Add subtitles - Apply color grading and filters - Handle animations - Render final video No timeline. No manual edits. No back-and-forth. Honestly, this surpasses tools like Remotion. It doesn't just help you make videos... it does the editing for you.

X AI KOLs Timeline

A free, open-source video editing tool built for Claude Code that fully automates editing from raw footage—clipping, filler word removal, subtitles, color grading, animation, and final rendering—all without a timeline or manual edits.

@Easycompany333: Compiled 6 Claude Skills for video that you can try directly: 1. HyperFrames – generate animated video with one sentence. Articles, tweets, product intros can all become MP4. Suitable for product promotion, tutorial openers, short social videos. https://github.com/heyg…

X AI KOLs Timeline

Compiled 6 Claude Skills for video that can be used directly, covering auto-generated animated videos, AI-assisted rough cuts, React component rendered videos, multimedia generation toolbox, Chinese editing agent, and video prompt writing open-source tools.

@hank_aibtc: The first open-source agentic video production system — let Claude/Cursor create a 60-second Pixar-quality animated short for me in 3 minutes for just $1.33! OpenMontage turns your AI coding assistant (Claude Code, Cursor, Copilot, etc.) into…

X AI KOLs Timeline

OpenMontage is an open-source agentic video production system that can turn AI coding assistants (such as Claude Code, Cursor) into a full video production studio. With just one sentence description, it automatically handles research, scriptwriting, asset generation, editing, voiceover, subtitles, and rendering at extremely low cost (Pixar-quality animation for just $1.33).