reverse-any-video

Rebuild any video as an editable HyperFrames project by measuring cuts, layers, and timing frame-by-frame.

77.3k|7.1k|Updated Mar 10, 2026
Ready to run
npx skills add https://github.com/heygen-com/hyperframes --skill reverse-any-video-heygen-com
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: reverse-any-video
Source: https://github.com/heygen-com/hyperframes/tree/main/skills/reverse-any-video
Command: npx skills add https://github.com/heygen-com/hyperframes --skill reverse-any-video-heygen-com

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg, and includes scripts (resource) and references (resource) components.

What problem does it solve? Reversing a video manually requires watching it repeatedly, identifying every cut and layer, and recreating them in code—work that is tedious, error-prone, and nearly impossible to validate. This Skill automates the analysis and rebuilding process, turning any video into an editable, maintainable HyperFrames project that renders frame-for-frame identical to the original. ## Core Features & Use Cases - Frame-Accurate Measurement: Detect cuts, timing, and composition using ffmpeg probing and visual frame analysis. - Layer Reconstruction: Rebuild text, graphics, people, and animations as separate, editable HTML and generated components. - Validation & Diff: Compare your rebuild against the original frame by frame, identifying mismatches in timing, content, and duration. - Use Case: You have a polished motion graphics video or talking-head recording. Extract its structure, regenerate the people with HeyGen, rebuild the graphics in code, then verify every frame matches before exporting. ## Quick Start Measure your video by running the probe command to get its resolution and frame rate, then ask me to start rebuilding it layer by layer.

Frequently Asked Questions about reverse-any-video

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract the exact cuts and timing from a video?▼

Run npx hyperframes measure probe to get the video's resolution and frame rate, then npx hyperframes measure cuts to list every cut with its frame number. Convert frame numbers to timecode by dividing by the fps value; this gives you exact cut times for rebuilding.

Can I reverse a video with AI-generated or talking-head footage?▼

Yes. Extract the plate (first frame with text removed), regenerate the person using HeyGen with the original as a motion guide, then layer text and graphics over the result. The original's audio stays throughout.

What happens to people on screen when I reverse a video?▼

Each person is re-shot with HeyGen using the original video as a motion guide, so they move and speak identically to the original. The original's burned-in text is removed in the process.

How do I know my rebuild matches the original?▼

Run npx hyperframes diff to compare your project render against the original. It reports missing cuts, extra cuts, timing offsets, missing content, and worst-frame mismatches so you can fix and iterate.

Does reverse-any-video work with hand-painted or 3D-animated films?▼

Painted and animated films rebuild differently: rebuild code-based elements like text and logos, generate the rest from the original frames shot by shot. Mixed shots layer generated acting over code-based graphics.

Why is frame-by-frame measurement important?▼

Captions and graphics change on exact frames; even a 1-frame error breaks timing. Measure from pixel changes in the source, not by eye, and verify with npx hyperframes measure frames to catch 1–3-frame timing shifts, blurs, and flashes.