Shot by Shot, Up to Eleven Categories: How the Open-Source rea-video Tool Reverse-Engineers a Video and Then Writes You a Remake Plan
TL;DR
T8star-Aix published a 9-minute-43-second video late on November 22 that tests something unusual: not another video generator, but the exact opposite job. You hand it a video that already looks like a hit, and it works backwards to explain how each shot was actually made — filmed, AI-generated, or simply rendered in code.
He used the first 100 seconds of his own previous explainer video as the guinea pig, ran the whole pipeline, and reported the tool's failures as carefully as its wins.
- The tool is open source. It is called rea-video, licensed Apache-2.0, created on October 29 and sitting at 12,593 stars and 1,853 forks as of November 23, with the repository still being pushed to (last push 16:39 UTC on November 23).
- It does not generate video. It produces two artifacts: a
report.htmlwritten for humans, and a layeredVIDEO.mdbreakdown package written for AI agents. - It runs fully offline, and it is not perfect. The creator's own test: tools alone got 46% correct by shot duration; adding a visual review pass took it to 93%. The README reports higher numbers, but those come from original files — videos downloaded from platforms drop to 88.6%.
- The bottleneck is evidence, not installation. It decides from hard signals such as frame cadence, sensor noise and AIGC tags in metadata, so footage with added film grain gets misjudged. T8 hit exactly that trap.
In short: if you have found a hit video and want to know how it was shot, how it was cut, which shots must be filmed and which can be handed to a model, this saves a lot of guessing. If you want one-click video output, it will not help.
What the tool is actually answering
The premise is simple. A video goes in, and the tool decides, shot by shot, how the underlying image came to exist, across roughly eleven categories — live footage, AI video, avatar, 3D, code animation, screen recording, and more.
Beyond the picture, it also breaks down everything layered on top: captions with start and end times and styling, styled text, stickers, picture-in-picture, cut points and pacing, whether the voice is human or TTS, whether the music is library or AI-generated, and which frame each sound effect lands on.
The last stage is production planning: given the video model you intend to use, it lays out which shots need a model call, how many can be generated at once, and which can be built in code.
That is also where it separates from one-click remake tools such as Hypit. Hypit never asks how the original was made; it just generates a new video from a reference. rea-video renders nothing and only explains the original. The README says it plainly: for a quick lookalike, Hypit is faster; to understand how the original was made and remake it cheaply, use rea-video.
How to run it: one sentence to an agent
It is a command-line tool built for AI agents, with no button-driven interface. T8's demo path: in Claude Code, say "install this repository, then break down this video," followed by the file path. The agent installs the CLI, reads the instructions and runs the whole flow.
You need three things:
- An agent that can execute commands (Claude Code, Codex or any equivalent).
- ffmpeg.
- Python 3.10 or newer.
Two details matter at install time: on Windows you must reopen the terminal afterwards, and the first run downloads the sound-separation models, a few hundred megabytes, so expect a wait.
The four-stage pipeline: split, separate, gather evidence, plan
Four stages run internally, and stages two and three are where every accuracy problem originates.
Stage one, split. The video is cut into shots wherever the picture changes.
Stage two, separate. Voice, music and sound effects become three independent tracks. The README names the components: UVR MDX-Net for voice and music separation, BandIt v2 for effects. Both models download on first use and are not part of the repository.
Stage three, gather evidence. This is the core. It does not judge by whether something "looks like" AI. It measures frame cadence, the distribution of sensor noise, whether the whole frame moves as one flat plane, and whether the metadata carries AIGC tags. Then it looks at hands, text and physical plausibility, listens for tempo, and decides whether a performer is speaking or singing.
Stage four, plan. The remake plan is ordered around what the target model can actually do — maximum clip length, whether it handles multiple shots, how many reference images it accepts.
The important design choice sits right after stage three: when the evidence conflicts, it does not force a verdict — it flags the shot for human or AI review. That admission of uncertainty is what makes the later accuracy jump possible.
The test: 100 seconds, 11 shots, 6 of them wrong
T8 used the first 100 seconds of his earlier video asking whether Claude had proved the Riemann hypothesis. He chose it because he knew how every shot was made, so he could check each answer.
The specific numbers:
- Cut points: 12 real cuts; the tool found 9 and added one extra.
- Verdicts: it split the segment into 11 shots and reported 51% code-rendered, 29% camera push, 12% 3D, 7% live footage. The problem is that the segment contains no 3D and no live footage. The opening scene of someone coding late at night was AI-generated but judged as code rendering; a screenshot of a PDF was judged 3D; a particle animation was judged live footage on the grounds that "the noise looks photographic."
- Audio: the voice was judged TTS (he recorded it himself), and the music was judged library stock (it was newly generated with Suno), though the tool flagged that one as needing confirmation.
- Captions: 81 lines extracted with timings, exportable straight to SRT.
The output folder contains the report, a shot map, an audio map, a screenshot per shot, and the three separated tracks.
He pointed directly at the cause: three of the six wrong shots had been flagged by the tool itself as needing review. And the "noise looks photographic" evidence most likely came from the film grain he added in post — precisely the failure mode this kind of tool is prone to.
Visual review: the step that takes 46% to 93%
After stage four there is a semi-automatic loop driven by two commands, review and apply review.
review generates a set of screenshots and an answer template for each shot. An agent that can see images looks at them one by one and returns a probability with supporting evidence. Then apply review merges the AI's judgement with the tool's own evidence and regenerates the report.
To keep the test fair, T8 handed this step to a separate Claude sub-agent that was given no answers and only the screenshots. The result:
- 5 of the 11 shots were reclassified.
- The AI-generated video was caught, the PDF screenshot was caught, and the particle animation was moved back to code rendering.
- By duration, accuracy rose from 46% to 93%.
- The earlier missed cut was found too, in exactly the right place.
- One error survived: a quote card styled like a slip of paper was still judged 3D. Even when the AI got it right, its vote alone was not enough — the final score combines both.
This is the most valuable part of the video. It shows the correct way to use the tool is not "run it once and trust the report," but use the tool as the first sieve and the visual review as the second. The README's accuracy table follows the same logic: tools alone reach 98.3% on original files, drop to 88.6% on re-encoded WeChat videos, and return to 100% with agent review.
The remake plan: MiniMax H3 by default, eight seconds to produce
The final stage, plan, arranges the remake around the model you intend to use.
- With no model specified it defaults to the official MiniMax H3 specifications; with more budget you can switch to the stronger Seedance 2.5.
- For T8's 100 seconds the plan was restrained: the parts that need a model take a single model call, and the remaining nine code and screen-recording shots are all handled as code animation.
- Producing that plan took 8 seconds.
- It also declares its own gaps: which prompt is still a draft, which model parameter it could not verify.
Swapping elements is supported. If the original shows a lipstick and you want your own thermos, you write that requirement into a file named intent. Actual generation requires the author's other tool, capsule-cinema. That step costs money, but it runs a free dry run first and only charges after you approve.
Where it fits: three cases where it earns its keep
One, dissecting a hit to learn its structure. You find a tightly paced short video and want to know how many camera positions it used, where the cuts land, and which shots were actually AI-generated. It answers shot by shot.
Two, budgeting a remake. The biggest waste before making a lookalike is handing shots that code could handle to a paid video model. It separates what must be filmed, what should go to a model, and what should be code.
Three, reverse-engineering prompts. If you have a video-capable model available — Gemini or Doubao both work — connecting it improves the verdicts and adds a reconstructed prompt for every shot.
A few narrower uses: for magic videos it finds the exact moment of the reveal frame by frame and returns a slow-motion clip; asked for highlights, it pulls out twists, climaxes and goofs; reports are available in Chinese or English and export to PDF.
Where it does not fit: four things not to expect
- One-click finished video. It only analyses. Generation goes through capsule-cinema, and you still have to film the live shots yourself.
- Perfect accuracy. Individual shots will keep being misjudged, especially quote cards and flat-background frames where the evidence is thin.
- Videos downloaded from platforms. The noise evidence is destroyed by recompression; tools alone score 88.6%.
- Multi-episode drama series. It handles one video at a time. For running-story series, the author points to a separate project, rea-toon.
Pitfalls: four you will hit
Pitfall one: footage with added grain gets misread. The tool treats film grain as sensor noise and calls the shot live footage. T8 hit it in this very test, and it is the most typical failure of the current version.
Pitfall two: platform downloads lose accuracy. The author measured it himself: 98.3% with tools alone on original files, 88.6% on re-encoded WeChat video, back to 100% with visual review. So do not draw conclusions from a platform download.
Pitfall three: installation failures on Windows are usually the Python version. It needs 3.10 or newer; the wrong version simply will not install.
Pitfall four: analysis is not a licence. T8 closes the video with this: breaking down someone else's video is for learning structure and technique. The footage, music and people belong to someone else and cannot be reused directly; follow platform rules and local AI-content labelling requirements.
Cost and time
- The tool is free, Apache-2.0, and costs nothing to run offline.
- The first run downloads models: a few hundred megabytes for sound separation, not needed again afterwards.
- Time: on a two-core cloud machine, T8's 100-second video took 17 minutes the first time. Local hardware is much faster, and per the official docs tools alone are usually enough on original files.
- The cost of visual review: connecting Gemini or Doubao bills at your own provider's rates, or you can let an image-capable agent look at the shots itself.
- Generation is separate: capsule-cinema dry runs are free and paid models are only called after confirmation; alternatively you can use the H3 channel at roughly 0.3 yuan per 15 seconds, or the RunningHub API.
Next steps: three
First, try it on one of your own videos. Do not use a compressed platform download for the first test. Use footage you shot or exported yourself, so you can see where the tool's ceiling actually is.
Second, run review before judging it. Reading only the first report will undersell it. Complete review, then the visual pass, then apply review, and you get close to the accuracy it claims.
Third, treat plan as a budget sheet. After the remake plan arrives, look first at the rows that require model calls. Those rows decide what the video will cost and how long it will take.
One more observation
T8 said something more informative than any spec: he has written a similar project himself, uses it regularly, and this one is genuinely more complete than his own.
What that reveals is that video reverse-engineering has moved from a personal script to a project with a README, an evaluation table, a plugin marketplace and downstream tools. It has an Apache-2.0 licence, 1,853 forks, companion projects in capsule-cinema and rea-toon, and it defines an open format called VIDEO.md that lets an agent read only the layer a question needs. A full breakdown can run to hundreds of thousands of tokens; the layered format cuts that down substantially.
The value of a tool like this is not whether it is accurate today. It is that it turns a craft learned by experience into a reviewable process. The 46% to 93% number really says this: judgement can be divided up — the tool measures hard evidence, the model reads meaning, and a human makes the call.
This article is compiled from the spoken commentary in T8star-Aix's video (locally transcribed), the rea-video GitHub README and repository metadata, and information from the capsule-cinema repository. Some product names in the video come from spoken pronunciation; check official pages for exact spelling.