JuneYaooo/rea-video

GITHUB中文整理

主语言 Python · 13,835 星 · Apache-2.0 · 创建于 2026-10-30

视频分析逆向工程AI代理命令行工具视频复刻
打开 GitHub 仓库

一个面向 AI 代理的命令行工具,用于逐镜头逆向分析视频,判断每个镜头是实拍、AI 生成还是代码制作,并给出复刻方案,输出结构化 VIDEO.md 和阅读版报告。

Stars 13,835 累计 star,越多说明被认可得越广
Watching 16 订阅该仓库变动的人数
Forks 2,006 被派生出去的仓库数
Issues 4 当前开放的 Issue 数
语言 Python GitHub 自动判定的主语言
许可证 Apache-2.0 开源协议,用之前先确认能不能商用
24h 增长 +0 1 天前 13,835 星
7 日增长 +294 7 天前 13,541 星
30 日增长 — 数据积累中

仓库健康度

5 个维度
只看客观信号,不构成安全性结论
维护活跃度 数据完整
2026-11-26 20:39 最近推送

最近推送 2026-11-26 20:39(6 天前),属于活跃维护

社区响应 数据完整
4 开放 Issue

开放 Issue 4 个 · Fork 2,006 个

增长趋势 部分数据
+294 7 日新增

24 小时 +0 · 7 日 +294 · 30 日 积累中

项目规范 数据完整
Apache-2.0 许可证

许可证 Apache-2.0 · 12 个 topics

版本发布 证据不足
— 发布次数

这一项暂无数据,不代表项目没有发布

「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。

Star 趋势

25 天记录
最近 90 天站内记录的星数
13,835当前 Star +8,603首尾差值 2026-11-09最早记录 2026-12-03最近记录

横轴 2026-11-09 → 2026-12-03,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。

它解决什么问题

据 README 归纳
没有它会怎样

视频制作方式混杂,仅靠观看很难判断某镜头是实拍、AI 合成还是代码生成,也难以据此规划复刻。缺少系统化拆解,用户只能凭感觉猜,无法高效学习或重制视频。

核心能力

6 条
归纳自 README,不是功能列表照抄
  1. 1将视频切分为镜头,并把音频分离为人声、音乐和音效
  2. 2收集帧节奏、传感器噪声、AIGC 元数据等硬证据来判定来源
  3. 3结合画面细节与音频特征辅助判断不确定的镜头
  4. 4按目标视频模型的能力批量规划复刻镜头
  5. 5输出适合 AI 阅读的分层 VIDEO.md 和结构清晰的报告
  6. 6可选接入视觉模型提高判断准确度并生成逐镜头提示词

项目画像

6 个角度
决定要不要用之前,先看这六条

项目定位

一个面向 AI 代理的命令行工具,用于逐镜头逆向分析视频,判断每个镜头是实拍、AI 生成还是代码制作,并给出复刻方案,输出结构化 VIDEO.md 和阅读版报告。

适合谁

适合需要拆解视频制作方式的内容创作者、视频研究者、AI 视频制作者,以及希望让 AI 代理自动分析并复刻视频的开发者和团队。

典型场景

分析一支混合媒介短片,判断哪些镜头是 AI 角色对话、哪些是代码构建的界面、哪些是真实录屏,并规划复刻。;拆解全 3D 讲解视频,了解其镜头构成和旁白方式,评估用视频生成模型或编写 Blender/Three.js 代码来复刻。;研究产品宣传片,识别其中代码驱动的动态图形和录屏比例,为用 Remotion 等项目复刻提供依据。

部署难度

需要安装 ffmpeg 和 Python 3.10+,在能执行命令的 AI 代理中按提示操作即可,代理会自动安装 CLI 并运行;接入视觉模型需额外配置端点和密钥。

风险限制

需要安装 ffmpeg 和 Python 3.10+;可选视觉模型需提供端点和密钥;示例视频经压缩后平台标签丢失,结果可能与报告不同。

最近维护

最近一次推送是 2026-11-26 20:39。 实现方式:先把视频切成镜头并分离音频,再从帧节奏、噪声、元数据、画面内容和音频特征等多方面收集证据,用硬证据优先于外观猜测做出判断,冲突处交由代理视觉复核,最后按目标模型的限制规划复刻方案。

README 原文细节

5 个板块
项目自己写的功能与用法,原文照录

怎么安装从零跑起来的步骤

Quick start

rea-video is built for AI agents. In Claude Code, Codex or any agent that can run commands, say:

The agent installs the CLI, learns the workflow and runs the whole thing. You need ffmpeg and Python 3.10+.

You can also install rea-video as an agent plugin, which adds its skill to your agent:

.agents/plugins/marketplace.json is the agent-agnostic marketplace entry. The agent still installs the CLI the first time it runs a breakdown.

  • Report (report.html / PDF), for you: more reader-friendly, with a clearer structure, easier to learn from and to understand how the video was made and how to remake it.
  • VIDEO.md, for your AI: layered, so the AI reads only what a question needs and uses fewer tokens.
Install https://github.com/JuneYaooo/rea-video, then break down this video: /path/to/video.mp4

怎么用最典型的用法与示例

Examples

The sample videos in docs/cases/videos/ are re-compressed to keep the repo small, which strips the TikTok / Douyin platform tags. So if you run them yourself, you'll get different results from the reports below, especially without a vision model. To reproduce them, use the original downloads from the platform.

Mixed-media clip · 19 s · 10 shots AI characters talking + code-built UI + 8 s of real screen recording. The 5 dialogue shots are broken up by UI segments but share one set, so a single generation covers all of them. Video · Report 3D explainer · 67 s · 21 shots All 3D, AI narration. You can do it in 10 video generations, or have an LLM write Blender / Three.js code. Video · Report Product promo · 70 s · 12 shots 83% code-driven motion graphics, 12% screen recording. No video model needed; one Remotion project does it. Video · Report AI music video · 165 s · 86 shots Correctly flags the song a

实现原理它内部是怎么做的

How it works

  • Split: cut the video into shots and split the audio into voice, music and effects.
  • Gather evidence: measure (frame cadence, sensor noise, whether the whole image moves as one flat plane, AIGC tags in the metadata), look (hands, text, physics) and listen (BPM, key, singing vs speech)
  • Decide: hard evidence like AIGC tags and frame cadence beats "looks like". Conflicts get flagged for the agent to check visually.
  • Plan the remake: batch shots according to what the target video model can actually do, such as max clip length, multi-shot support and how many reference images it takes.

限制与常见问题项目自己写明的坑与限制

FAQ

How is this different from one-click remake tools like Hypit?

Hypit takes a reference video and makes a new one: the agent reads frame grids to understand the original, generates footage with the models it supports (Seedance, PixVerse, MiniMax, Wan and others), and renders captions and motion graphics in HTML.

It doesn't ask how the original was made. A live-action source goes through the same pipeline; it won't tell you how many cameras were used or how it was lit. What AI video it can match depends on the models it supports: no Kling or Veo, no dedicated avatar or 3D path, and no AI music (you bring your own). It's strongest on talking-head, podcast and interview videos that follow a script, and weaker on music-driven edits, product motion graphics and cinematic shorts.

rea-video doesn't render a video. It works out shot by shot whether something was filmed, AI-generated or built in code, then gives a shooting plan, prompts or a code approach for each. For a quick lookalike, Hypit is faster. To understand how the original was made and remake it cheaply, use rea-video. They work fine together.

其它说明README 里剩下的内容

Updates

  • 2026-11-19: Magic videos: finds the reveal of each trick, frame by frame with a slow-motion clip. Highlights (twists, climaxes, goofs) when you ask for them.
  • 2026-11-17: Better timing of cuts and moves.
  • 2026-11-15: Remake plans are made for the model you choose. The report is split into a breakdown part and a remake part.
  • 2026-11-11: VIDEO.md breakdown package, rewritten report, sound effects separated on their own track.

What it can break down

Besides how the visuals were made, every breakdown also covers:

For magic videos it also finds the reveal of each trick: when and how the object changes, laid out frame by frame and zoomed in, plus a slow-motion clip. Ask for highlights and it pulls out twists, climaxes and goofs too.

  • Live footage — Talking-head, tabletop, handheld product demo, vlog, store visit — Setups and camera positions, framing, camera moves, lighting (12 setups with gear lists), color grade
  • AI video — Text/image-to-video, AI short drama, AI music video — Evidence, a reverse-engineered prompt per shot, how to batch into generations and which model to use
  • Avatar — A portrait driven by audio, lip-sync — Which shots are avatar shots, what portrait and audio you need
  • 3D / animation — Blender / C4D explainers, product animation, 2D animation, stop-motion — Whether to generate with a video model or render from 3D code
  • Code / template — Kinetic type, UI demos, charts, slide-style cards — Text, layout and motion timing, ready to rebuild as a Remotion project
  • Screen recording — Software tutorials, web demos — Which parts are real material you'll need to record yourself
  • Mixed / edits — AI characters + code UI + real screen capture; live footage with AI edits — Each shot judged separately, then reassembled on the original timeline
  • Captions and styled text: start and end of each line (exports to SRT / ASS), plus color, outline and how the text comes in
  • Stickers, emoji, picture-in-picture: where they sit and how long they stay
  • Editing: where the cuts are, how fast, whether they hit the beat
  • Audio: human or AI voice, AI or library music and its BPM, where each sound effect lands
  • Material you'll need to supply yourself: screen recordings, screenshots, product photos

Accuracy

Accuracy of the how-it-was-made call, weighted by shot duration:

The Holdout column shows two numbers: holdout (9 videos) and holdout2 (7 videos).

On original files, the tools alone are usually enough. Videos downloaded from platforms have been recompressed, which wipes out the noise evidence, so you need a visual check to get back above 99%.

Real-asset detection is 97–99%; on nine hand-labelled clips, shot boundaries reach 95% recall and 94% precision. Numbers and how to reproduce them: eval/RESULTS.md.

  • Tools only (offline, free) — 98.3% — 99.6% / 98.9% — 88.6%
  • + vision model (Gemini) — — — 99.6% / 99.8% — 99.6%
  • + agent visual review — — — 99.6% / 99.8% — 100%

关于 rea-video 的常见问题

7 个问题
答案来自 README 归纳与 GitHub 实时数据
rea-video 是做什么的?

一个面向 AI 代理的命令行工具,用于逐镜头逆向分析视频,判断每个镜头是实拍、AI 生成还是代码制作,并给出复刻方案,输出结构化 VIDEO.md 和阅读版报告。 视频制作方式混杂,仅靠观看很难判断某镜头是实拍、AI 合成还是代码生成,也难以据此规划复刻。缺少系统化拆解,用户只能凭感觉猜,无法高效学习或重制视频。

rea-video 有哪些功能?

核心能力:将视频切分为镜头,并把音频分离为人声、音乐和音效;收集帧节奏、传感器噪声、AIGC 元数据等硬证据来判定来源;结合画面细节与音频特征辅助判断不确定的镜头;按目标视频模型的能力批量规划复刻镜头;输出适合 AI 阅读的分层 VIDEO.md 和结构清晰的报告;可选接入视觉模型提高判断准确度并生成逐镜头提示词。

rea-video 适合谁用?

适合需要拆解视频制作方式的内容创作者、视频研究者、AI 视频制作者,以及希望让 AI 代理自动分析并复刻视频的开发者和团队。

rea-video 是怎么工作的?

先把视频切成镜头并分离音频,再从帧节奏、噪声、元数据、画面内容和音频特征等多方面收集证据,用硬证据优先于外观猜测做出判断,冲突处交由代理视觉复核,最后按目标模型的限制规划复刻方案。

怎么安装 rea-video?

按项目 README 的说明:Report (report.html / PDF), for you: more reader-friendly, with a clearer structure, easier to learn from and to understand how the video wa;VIDEO.md, for your AI: layered, so the AI reads only what a question needs and uses fewer tokens.。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。

用 rea-video 有什么门槛或限制?

需要安装 ffmpeg 和 Python 3.10+;可选视觉模型需提供端点和密钥;示例视频经压缩后平台标签丢失,结果可能与报告不同。

rea-video 现在还在维护吗?数据怎么样?

目前 13,835 星,2,006 个 Fork,主语言 Python,创建于 2026-10-30,最近一次推送 2026-11-26 20:39,许可证 Apache-2.0。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。

这些内容来自哪

读法说明
中文整理据 README 归纳,数据取自 GitHub
中文说明据项目 README 归纳只写 README 能确认的内容,不替作者补功能与数字
关键数据与 GitHub 页面一致星数、Fork、语言与时间都不做二次加工
数据日期2026-11-24 11:06星数与介绍这份数据是哪一天的

项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-11-24 11:06。