← all repositories
HUANGCHIHHUNGLeo/claude-real-video

Making LLMs watch video instead of just reading the transcript

Because ChatGPT reads the transcript and Gemini samples blindly—neither actually looks at the screen.

1.3k stars Python Other AI
claude-real-video
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does

claude-real-video is a local Python preprocessor that turns videos into LLM-readable artifacts. It ingests a URL or local file, detects actual scene changes instead of sampling blindly, strips near-duplicate frames with a sliding-window pixel comparison, and pairs the results with a transcript. Everything happens on your machine; you decide what gets pasted into Claude, ChatGPT, or Gemini afterwards.

The interesting bit

The deduplication is intentionally primitive in a clever way: it compares downscaled RGB pixels rather than perceptual hashes, which the author notes can miss flat-color shifts and equal-luma hue changes. A rolling window also prevents A-B-A cutaways from re-sending shots the model has already seen, keeping token counts low without missing actual visual changes.

Key highlights

  • Scene-change detection plus a density floor catches both fast cuts and slow pans, avoiding the fixed-interval trap.
  • Transcript extraction prefers existing subtitle tracks over re-transcribing with Whisper when available.
  • Optional --grid output packs keyframes into contact sheets so models read sequential context instead of scattered stills.
  • Runs fully offline after dependencies are present; only the frames and text you choose get sent to an LLM.
  • Doubles as a general-purpose keyframe extractor even if you never touch an LLM.

Caveats

  • Requires ffmpeg and ffprobe installed separately; they are not bundled or pip-installable.
  • Re-running the tool overwrites the output directory without warning.
  • Optional audio transcription needs an extra [whisper] dependency layer.

Verdict

Grab it if you want a local, token-efficient way to make video legible to any LLM. Pass if you need the tool to do the actual analysis for you—this only prepares the context, it does not chat with the model.

Frequently asked

What is HUANGCHIHHUNGLeo/claude-real-video?
Because ChatGPT reads the transcript and Gemini samples blindly—neither actually looks at the screen.
Is claude-real-video open source?
Yes — HUANGCHIHHUNGLeo/claude-real-video is open source, released under the MIT license.
What language is claude-real-video written in?
HUANGCHIHHUNGLeo/claude-real-video is primarily written in Python.
How popular is claude-real-video?
HUANGCHIHHUNGLeo/claude-real-video has 1.3k stars on GitHub.
Where can I find claude-real-video?
HUANGCHIHHUNGLeo/claude-real-video is on GitHub at https://github.com/HUANGCHIHHUNGLeo/claude-real-video.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.