rea-video: find out how any video was made, shot by shot
The short version
rea-video is a free, open source tool (Apache-2.0) that runs inside Claude Code. You give it a video. It cuts it into shots and tells you, shot by shot, which ones were filmed on a phone or camera, which were made with AI, and which were built with code. Then it maps the camera, lighting, captions and voice, and writes a report with a plan to remake the video yourself.
Use it to learn how a video that worked was put together: the pacing, the camera moves, the lighting, the caption timing, and whether the voice is a real person or AI. Then remake the structure with your own material.
Repo: github.com/JuneYaooo/rea-video
| You need | Why |
|---|---|
| Claude Code (Codex or any agent that can run commands also works) | The agent installs the tool and runs the whole breakdown |
| ffmpeg and Python 3.10+ | The tool measures the video with them |
| The original video file | Original files give the best results |
| Optional: a video-capable model (Gemini or Doubao) and its key | Helps most on videos downloaded from platforms, because those are re-compressed. You pay whatever that service charges |
Tools-only mode is offline and free. Adding a model is optional.
Setup checklist
- Install ffmpeg and Python 3.10+
- Open Claude Code in an empty folder
- Put the video file in that folder
- Paste the first prompt below
- When it finishes, open
report.html
Copy these prompts
Paste them into Claude Code. The first one installs the tool and breaks down your video. The second turns the report into a plan you can act on.
1. Install it and break down a video
Install https://github.com/JuneYaooo/rea-video, then break down this video: /path/to/video.mp4
2. Ask for the report in English
Write the rea-video report for this video in English, and list the shots that were filmed on a phone, the shots that were AI, and the shots that were built with code.
3. Turn it into your own shot list
Using the report, give me a shooting plan for the filmed shots that I can do with a phone and material I own. Keep the shot order and the pacing of the original.
What you get back
| Output | What it is |
|---|---|
report.html / PDF |
Reader-friendly report: how the video was made and how to remake it, in the language you ask in |
VIDEO.md |
A layered breakdown written for your AI, so it reads only what a question needs |
| Per shot | Filmed, AI or code; camera positions and framing; lighting setups with gear lists; captions with timing (SRT/ASS); human or AI voice; music and sound effects |
If you are building with it
VIDEO.mdis an open format. Runpip install videomd, thenvideomd check out/refto read any breakdown from another tool.- To remake the video, capsule-cinema can generate the AI shots and put them back on the original timeline. The code shots come out as a Remotion project. The repo's
docs/replicate.mdwalks through it. - It works on one video at a time. For a multi-episode short drama, the same author has a separate tool, rea-toon.
Run this on your own video
Pick a video you made or have the rights to, run prompt 1, and compare the report with what you remember shooting. Where the report disagrees with you, that is the part worth looking at.
The rule that matters
rea-video is for learning a video's structure, pacing and techniques, then remaking it with material you have the rights to. Do not reuse other people's footage, music, characters or likeness, and follow platform rules and local labeling requirements when you publish.