remotion-to-hyperframes
The facts
Its description
Bring existing video code or footage into HyperFrames and verify it frame by frame against the original - Remotion first, also Motion Canvas, Lottie, Three.js, p5.js, canvas or plain HTML/CSS animation, or renders from Manim, After Effects or Blender. Use to port, convert, migrate or reuse work made with another tool.
The description the agent reads to decide when to use it.
When it starts
A conversation where someone wants to port, convert or migrate an existing video project (Remotion first, also Motion Canvas, Lottie, Three.js, p5.js, canvas, plain HTML/CSS animation, or Manim/After Effects/Blender renders) into HyperFrames and check it matches the original frame by frame.
Things a person might say (the model's guesses)
- “Convert my Remotion project to HyperFrames and check it matches the original render”
- “I have a Lottie animation and a Three.js scene, can you bring them into HyperFrames?”
- “Migrate this After Effects render into a HyperFrames video as a clip”
A model's summary of when it is used.
Runs scripts
scripts/lint_source.py
Scripts the text names. Found by matching words, so treat them as pointers.
Files it mentions
references/escape-hatch.md, references/api-map.md, references/eval.md, references/parameters.md, references/sequencing.md (first 5 of 11 lines)
Files the text names, such as ones to read or write. Found by matching words, so treat them as pointers.
What it leads to
- calls media-use when writing volume ramps for audio limitations.md, line 35
- requires hyperframes when translating to the HyperFrames contract line 25
Other skills this one hands off to, calls, requires or offers instead, as a model read them.
What leads to it
- hyperframes is an alternative to this when the source is existing Remotion code hyperframes, line 76
Other skills that hand off to this one, call it, require it or offer it instead, as a model read them.
Licence
Apache-2.0, from LICENSE
The terms its author shares it under, which let it be shown here.
Other files in this skill (41) Close
- assets/.gitkeep
- assets/test-corpus/.gitignore
- assets/test-corpus/run.sh
- assets/test-corpus/tier-1-title-card/.gitignore
- assets/test-corpus/tier-1-title-card/README.md
- assets/test-corpus/tier-1-title-card/expected.json
- assets/test-corpus/tier-1-title-card/remotion-src/package.json
- assets/test-corpus/tier-1-title-card/remotion-src/remotion.config.ts
- assets/test-corpus/tier-1-title-card/remotion-src/tsconfig.json
- assets/test-corpus/tier-1-title-card/remotion-src/src/index.ts
- assets/test-corpus/tier-2-multi-scene/.gitignore
- assets/test-corpus/tier-2-multi-scene/README.md
- assets/test-corpus/tier-2-multi-scene/expected.json
- assets/test-corpus/tier-2-multi-scene/setup.sh
- assets/test-corpus/tier-2-multi-scene/remotion-src/package.json
- assets/test-corpus/tier-2-multi-scene/remotion-src/remotion.config.ts
- assets/test-corpus/tier-2-multi-scene/remotion-src/tsconfig.json
- assets/test-corpus/tier-2-multi-scene/remotion-src/src/index.ts
- assets/test-corpus/tier-3-data-driven/.gitignore
- assets/test-corpus/tier-3-data-driven/README.md
- assets/test-corpus/tier-3-data-driven/expected.json
- assets/test-corpus/tier-3-data-driven/remotion-src/package.json
- assets/test-corpus/tier-3-data-driven/remotion-src/remotion.config.ts
- assets/test-corpus/tier-3-data-driven/remotion-src/tsconfig.json
- assets/test-corpus/tier-3-data-driven/remotion-src/src/index.ts
- assets/test-corpus/tier-4-escape-hatch/README.md
- assets/test-corpus/tier-4-escape-hatch/expected.json
- assets/test-corpus/tier-4-escape-hatch/validate.sh
- references/api-map.md
- references/escape-hatch.md
- references/eval.md
- references/fonts.md
- references/limitations.md
- references/lottie.md
- references/media.md
- references/parameters.md
- references/sequencing.md
- references/timing.md
- references/transitions.md
- scripts/.gitkeep
- scripts/lint_source.py
The text
Most marks come from matching words in the file, so treat them as pointers.
Plugin installs: Inside a HyperFrames plugin, follow plugin execution rules.
Usage beacon: run npx hyperframes events --skill=remotion-to-hyperframes once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.
Import into HyperFrames
HyperFrames is the container: its tracks, sub-compositions and variables are editable in Studio whatever runs inside a clip. Bring each part in at the highest level it supports and record which level you used.
| Level | For | How | Editable in Studio afterwards |
|---|---|---|---|
| Native | code that can become HTML + GSAP: most Remotion, HTML/CSS/GSAP animation, simple Motion Canvas | translate it, then verify frame by frame | every element; variables, catalog, presets apply |
| Hosted | code that can draw any requested frame in a browser: canvas, p5.js, Three.js, Lottie, WebGL, other JS animation | keep the code and drive it from HyperFrames time | timing, position, exposed parameters |
| Media | anything that outputs video or frames: Manim, After Effects, Blender, PIL, moviepy | render to a file and use it as a clip | cut, place, layer; not the pixels inside |
Code that depends on wall-clock time, live physics or the network can only come in as media.
Raw lines 1 to 21Native: translate, then verify
- For Remotion, run
python3 <SKILL_DIR>/scripts/lint_source.py <source dir>first. Blockers (useState,useReducer,useEffectwith dependencies, asynccalculateMetadata, React UI kits such as MUI, Chakra, Mantine, antd, shadcn, Radix, NextUI) don't translate: host them or refactor them out, never approximate (references/escape-hatch.md). Warnings (@remotion/lambdaconfig,delayRender,useMemo, custom hooks) are dropped and noted. - Translate to the
/hyperframescontract: one sub-composition per scene, times in seconds (frame / fps), asset paths root-relative. Each Remotion API's equivalent is inreferences/api-map.md. Put Remotion's render-page rule* { box-sizing: border-box; }once in the rootindex.html<style>: without it every bordered or padded element grows by its border and padding. - Keep it editable: the source's props become
data-composition-variablesbound withdata-var-text,data-var-srcorvar(--id); eachSequencebecomes a timed clip or a sub-composition; a reused component becomes one sub-composition mounted several times withdata-variable-values. - Compare frame by frame:
npx hyperframes diff <original.mp4> . --at <t,…>scores your project against the original at those times without rendering; sample every scene and both sides of every cut. Then render andnpx hyperframes diff <original.mp4> <hf.mp4>scores every frame: SSIM, the worst cell of each frame (one late or recoloured element), cuts, and a sheet of the worst moments (thresholds per complexity tier inreferences/eval.md). Render the Remotion side withConfig.setVideoImageFormat("png")andConfig.setColorSpace("bt709"), or the diff measures the encoders (about 0.05 SSIM). - Write what didn't translate cleanly (dropped volume ramps, approximated presentations, substituted fonts) to
TRANSLATION_NOTES.md.
| Remotion | Read |
|---|---|
Composition, defaultProps, schema, calculateMetadata | references/parameters.md |
Sequence, Series, Loop, AbsoluteFill, Freeze | references/sequencing.md |
useCurrentFrame, interpolate, spring, Easing, interpolateColors | references/timing.md |
Audio, Video, Img, IFrame, staticFile, delayRender | references/media.md |
TransitionSeries, @remotion/transitions | references/transitions.md |
@remotion/lottie | references/lottie.md |
@remotion/google-fonts, Font.loadFont, @font-face | references/fonts.md |
| What can't be ported | references/limitations.md |
Before hand-building a named visual the source used, search npx hyperframes catalog --query "<the visual, in English>" --json: it ranks the whole registry with nothing installed.
Hosted
Keep the code and let HyperFrames own the clock: it draws the frame for the time it is given. The seek protocol and the built-in adapters for Lottie, Three.js, anime.js, WAAPI and CSS animations are in ../hyperframes/references/runtimes.md. No requestAnimationFrame loop or timer as the time source, seeded randomness only, and data-duration on the root when nothing else defines the length.
Media
<video class="clip" data-has-audio="true" src="assets/x.mp4" ...>, or muted when it is silent. Nothing else is needed.
In the final message, list each imported part with its level, what a person can change in Studio, and how the frame-by-frame comparison came out.
Raw lines 47 to 51From heygen-com/hyperframes at a595755, 2026-11-07. Skills read by Claude Sonnet 5.5 on 2026-11-07. Summary and techniques by Claude Opus 5.5 on 2026-11-07.