rea-video – Reverse-Engineer Any Video Shot by Shot with Free Open-Source AI


Have you ever watched a viral video and wondered exactly how it was made — was it filmed on a phone, generated by AI, or built with code? rea-video answers that question, shot by shot. This free, open-source tool takes any video and breaks it down into its individual shots, tells you how each one was made, plus a step-by-step plan to remake it.

On GitHub as JuneYaooo/rea-video, it has earned more than 15,600 stars and over 2,200 forks since its release in late October 2026. Apache 2.0 licensed, it is free for anyone to download, use and modify.

What Is rea-video?

rea-video is an AI agent skill and command-line tool that reverse-engineers videos. Give it a video — a TikTok ad, a YouTube short, an AI music video, a product demo or a screen recording — and it splits the video into shots, studies the evidence in every shot, and writes two outputs: a reader-friendly report (HTML or PDF) for you, and a layered VIDEO.md file that your AI agent can read and follow to rebuild the video.

For every shot it gives a verdict: filmed, AI-generated, or coded — with the evidence behind the call. It also explains camera positions, lighting, colour grade, captions, music and sound effects, and works out what footage, screenshots or product photos you must supply yourself.



Key Features

  • Shot-by-shot verdicts: Every shot is judged separately — filmed, AI-generated or coded — using hard evidence such as frame cadence, sensor noise and AIGC tags in the file metadata, not just how it looks.
  • Two outputs per breakdown: A clear report (HTML or PDF) for you, and a layered VIDEO.md your AI agent reads a piece at a time, using fewer tokens.
  • Ready-made remake plans: After the breakdown, rea-video writes a remake plan for your chosen video model — MiniMax H3 by default — with a reverse-engineered prompt for every shot, batched the way the model can actually handle.
  • Works on almost any video: Live footage, AI video, avatars, 3D and animation, code-built motion graphics, screen recordings and mixed edits — each shot judged on its own, then reassembled on the original timeline.
  • Audio and text included: Captions and styled text are timed line by line and exported to SRT or ASS, and the audio is split into voice, music and effects, with the music's BPM and whether the voice is human or AI.
  • Works offline or with a vision model: It runs fully offline with local tools, or connect a video-capable model such as Gemini or Doubao for more accurate calls and better remake prompts.

How It Works

rea-video works in four steps. First, it splits the video into shots and separates the audio into voice, music and effects. Second, it gathers evidence: it measures frame cadence and sensor noise, checks whether the whole image moves as one flat plane, reads AIGC tags in the metadata, and looks at hands, text and physics while listening for BPM, key and singing versus speech. Third, it decides — hard evidence beats "looks like"; conflicts are flagged for your agent to check visually. Finally, it plans the remake, batching shots the way your target video model can handle them, with a reverse-engineered prompt per shot.

System Requirements

  • Python 3.10 or newer and FFmpeg — both free to install.
  • An AI agent that runs commands, such as Claude Code or Codex — the tool is built for agents.
  • Optional: a Gemini or Doubao endpoint and API key for more accurate live/AI/3D calls.


How to Install and Use rea-video

Option 1: Let your AI agent install it (easiest)

  1. Open Claude Code, Codex or any agent that can run commands, and say: "Install https://github.com/JuneYaooo/rea-video, then break down this video: /path/to/video.mp4" — the agent installs the CLI, learns the workflow and runs the whole breakdown for you.

Option 2: Install as an agent plugin

  1. Codex: run codex plugin marketplace add JuneYaooo/rea-video, then codex plugin add rea-video@rea-video.
  2. Claude Code: run claude plugin marketplace add JuneYaooo/rea-video, then claude plugin install rea-video@rea-video.

Option 3: Download the source code

  1. Download the ZIP from the link below (or clone the repository) and follow the steps in the README on GitHub.

Download rea-video

⬇ DOWNLOAD REA-VIDEO (FREE)

Direct download link: https://github.com/JuneYaooo/rea-video/archive/refs/heads/main.zip

GitHub repository: https://github.com/JuneYaooo/rea-video

Honest Notes and Limitations

  • It is built for AI agents: rea-video is designed to run inside Claude Code, Codex or a similar agent — there is no simple double-click desktop app yet.
  • Re-compressed videos are harder to judge: Videos downloaded from TikTok or WeChat lose the sensor-noise evidence, so accuracy drops (88.6% on re-encoded WeChat videos with tools alone) unless a vision model or agent review checks uncertain shots.
  • Very new project: Created in late October 2026 with a single release so far — expect fast changes, and check the README on GitHub before you install.
  • AI models cost money: The tool itself is free, but remake plans that use Gemini, Doubao or MiniMax H3 need your own API keys, and those providers charge for usage.

Final Verdict

rea-video does something no one-click remake tool does: it tells you how a video was actually made before you try to copy it. For creators studying viral videos, agencies rebuilding client references, and anyone learning video craft, that breakdown is worth more than the remake itself. If you already use Claude Code or Codex, it is well worth trying.

rea-video is free and open source under the Apache 2.0 licence. Always download it from the official GitHub repository linked above.


Post a Comment

Previous Post Next Post