Nathan Hodgson
Library
SkillsBeginner2 min readUpdated

Give Claude Eyes: Analyse Any Video Frame by Frame

Use yt-dlp and FFmpeg to prepare video frames locally, then ask Claude to inspect them alongside a transcript.

A transcript cannot show the interface, on-screen text or visual changes in a video. Extracting still frames gives Claude images to inspect alongside the transcript. The two tools shown in this workflow are yt-dlp for downloading supported videos and FFmpeg for extracting frames.

What runs locally

Downloading and extracting frames run on your computer. yt-dlp and FFmpeg are free tools and do not themselves require a paid AI API. Claude Code still needs your existing account or supported provider setup. Frames and prompts sent to Claude for analysis are processed by your configured model provider and count towards the applicable subscription limits or API charges. This is not offline Claude inference or a guarantee that nothing is uploaded.

1. Install the tools

On macOS with Homebrew:

Terminal
brew install yt-dlp ffmpeg

On Windows with winget:

powershell
winget install yt-dlp.yt-dlp
winget install Gyan.FFmpeg

Ask Claude Code to check whether both tools are installed before installing them. You can also use an existing local video file and skip the download step.

2. Download the video

For a supported video URL that you can access, this command requests a smaller video suitable for review. Some sites require login or are unsupported; the tools do not guarantee that every URL will work.

Terminal
yt-dlp -f "bv*[height<=720][ext=mp4]+ba[ext=m4a]/b[height<=720]" -o "video.%(ext)s" "<VIDEO_URL>"

3. Extract frames

Start with one image every 15 seconds for an overview:

Terminal
ffmpeg -i video.mp4 -vf "fps=1/15" -q:v 2 frame_%03d.png

This samples the video; it does not inspect every frame or every second. Use fps=1 for one frame per second, or inspect a selected section more densely when an interface changes quickly. A 30-minute video at one frame per second produces about 1,800 images, so batch the review rather than assuming one prompt can cover everything.

4. Ask Claude to inspect the images

Prompt
Read the extracted frames in order. Summarise what is visibly demonstrated, list any on-screen text you can read, and cite the frame filenames. Distinguish what you see from what you infer. Tell me which moments need a denser review.
Prompt
Pull out any text, code or URLs visible in these frames. Flag anything that is too small or unclear to read confidently.
Prompt
Compare frame_004.png and frame_009.png. What changed on screen?
Prompt
Which frame would make the strongest thumbnail, and why?

Keep the limits clear

Pair the frames with the transcript when you need both the picture and the spoken explanation. Sampling can miss fast actions. Screenshots do not prove uninterrupted playback or audio review. Only send material to your configured model provider when appropriate for its data-handling terms.

Claude Code data usage

yt-dlp documentation