What it is
Most video tools take a reference clip and generate a lookalike. rea-video asks a different question: how was this made? It sorts every shot into live footage, AI video, avatar, 3D or animation, code or template, and screen recording, and gives evidence for each call. For live shots you get camera setups, framing and lighting; for AI shots it writes a reverse-engineered prompt and suggests which model to use; for code shots it estimates the text, layout and motion timing so an agent can rebuild them as a Remotion project. The README is explicit about the line it draws on copying: the point is to learn a video's structure, pacing and techniques and remake it with material you have the rights to, not to repost someone else's footage, music or characters. It positions itself against one-click remake tools by saying that for a quick lookalike those are faster, while rea-video is for understanding the original and remaking it cheaply. The repository was created on 2026-10-29 and had 3,571 stars on 2026-11-07, under Apache-2.0. The README exists in nine languages; the in-depth docs it links, such as what-it-detects and replicate, are Chinese-first.
Who it's for
- Video makers who want to understand how a reference clip was produced before copying its style
- Creators deciding which shots to film, which to generate and which to code
Requirements
Requirements
- ffmpeg and Python 3.10 or later
- Optional: a video-capable model such as Gemini or Doubao (endpoint and key) for more accurate live, AI and 3D calls
Setup
Step 1
bashgit clone https://github.com/JuneYaooo/rea-video && cd rea-videoStep 2
bashbash scripts/install_skill.shStep 3
bashrea-video --help
يفكّك أي فيديو لقطةً بلقطة ويحدد هل صُوّرت اللقطة أم وُلّدت بالذكاء الاصطناعي أم بُنيت بالكود، ثم يقدّم خطة لإعادة صنعه وتقريرًا بصيغة HTML.
Examples
Break down a video
PromptInstall https://github.com/JuneYaooo/rea-video, then break down this video: /path/to/video.mp4Expected output: The README says the agent installs the CLI, learns the workflow and runs the whole analysis. You get a one-line summary, a remake plan split into film, generate and code, and a report.html with per-shot frames and evidence.
Install by hand
bashbrew install ffmpeg # or: sudo apt install ffmpeg
git clone https://github.com/JuneYaooo/rea-video && cd rea-video
bash scripts/install_skill.sh # installs the CLI (pip, or pipx / a local .venv if pip is blocked) and links the skill into ~/.claude, ~/.codex, ~/.agents
rea-video --helpWhat it does: The manual route from the README. The script links the skill into the Claude Code, Codex and agents folders in your home directory.
Pros & cons
Pros
- Pro:Judges each shot separately, so a mixed edit of AI characters, code UI and screen capture is split correctly
- Pro:Also reports captions with timings (exports to SRT and ASS), cut speed against the beat, and whether music is library or AI
- Pro:Tools-only mode is offline and free
Cons
- Con:The detailed docs are in Chinese for now, although reports come out in the language you ask in
- Con:On recompressed platform downloads accuracy is lower unless you add a video-capable model, which costs whatever that service charges
- Con:It does not render a video: remaking AI shots needs the separate capsule-cinema project