remotion-to-hyperframes

द्वारा heygen-com

किसी मौजूदा Remotion (React-आधारित) वीडियो कंपोज़िशन को HyperFrames HTML कंपोज़िशन में अनुवाद करें। केवल तब उपयोग करें जब उपयोगकर्ता स्पष्ट रूप से Remotion कंपोज़िशन को HyperFrames में पोर्ट, कन्वर्ट, माइग्रेट, अनुवाद या पुनर्लेखन करने के लिए कहे (जैसे "मेरे Remotion प्रोजेक्ट को HyperFrames में पोर्ट करें")। इसका उपयोग न करें जब (a) कोई नया HyperFrames कंपोज़िशन लिखा जा रहा हो (भले ही Remotion वीडियो का A/B परीक्षण किया जा

npx skills add https://github.com/heygen-com/hyperframes --skill remotion-to-hyperframes

Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.

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.

LevelForHowEditable in Studio afterwards
Nativecode that can become HTML + GSAP: most Remotion, HTML/CSS/GSAP animation, simple Motion Canvastranslate it, then verify frame by frameevery element; variables, catalog, presets apply
Hostedcode that can draw any requested frame in a browser: canvas, p5.js, Three.js, Lottie, WebGL, other JS animationkeep the code and drive it from HyperFrames timetiming, position, exposed parameters
Mediaanything that outputs video or frames: Manim, After Effects, Blender, PIL, moviepyrender to a file and use it as a clipcut, place, layer; not the pixels inside

Code that depends on wall-clock time, live physics or the network can only come in as media.

Native: translate, then verify

  1. For Remotion, run python3 <SKILL_DIR>/scripts/lint_source.py <source dir> first. Blockers (useState, useReducer, useEffect with dependencies, async calculateMetadata, 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/lambda config, delayRender, useMemo, custom hooks) are dropped and noted.
  2. Translate to the /hyperframes contract: one sub-composition per scene, times in seconds (frame / fps), asset paths root-relative. Each Remotion API's equivalent is in references/api-map.md. Put Remotion's render-page rule * { box-sizing: border-box; } once in the root index.html <style>: without it every bordered or padded element grows by its border and padding.
  3. Keep it editable: the source's props become data-composition-variables bound with data-var-text, data-var-src or var(--id); each Sequence becomes a timed clip or a sub-composition; a reused component becomes one sub-composition mounted several times with data-variable-values.
  4. Compare frame by frame: npx hyperframes snapshot --at <t,…> --against <original.mp4> saves the original's frame at each time next to yours. Sample every scene and both sides of every cut; look for one late or recoloured element, not only the overall picture. For a scored check, scripts/render_diff.sh <original.mp4> <hf.mp4> <out> gives SSIM per frame and scripts/frame_strip.sh shows which frames diverged (thresholds per complexity tier in references/eval.md). Render the Remotion side with Config.setVideoImageFormat("png") and Config.setColorSpace("bt709"), or the diff measures the encoders (about 0.05 SSIM).
  5. Write what didn't translate cleanly (dropped volume ramps, approximated presentations, substituted fonts) to TRANSLATION_NOTES.md.
RemotionRead
Composition, defaultProps, schema, calculateMetadatareferences/parameters.md
Sequence, Series, Loop, AbsoluteFill, Freezereferences/sequencing.md
useCurrentFrame, interpolate, spring, Easing, interpolateColorsreferences/timing.md
Audio, Video, Img, IFrame, staticFile, delayRenderreferences/media.md
TransitionSeries, @remotion/transitionsreferences/transitions.md
@remotion/lottiereferences/lottie.md
@remotion/google-fonts, Font.loadFont, @font-facereferences/fonts.md
What can't be portedreferences/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.

heygen-com की और Skills

hyperframes-audio
heygen-com
Use when audio already placed in a HyperFrames composition needs to be mixed: a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), or automation envelopes drawn on a track's volume or any effect parameter. Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.
hyperframes-cli
heygen-com
HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.
developmenttestingapi
hyperframes-animation
heygen-com
हाइपरफ्रेम्स के लिए सभी एनिमेशन ज्ञान — परमाणु गति नियम, बहु-चरण दृश्य ब्लूप्रिंट, दृश्य संक्रमण, व्यापक मोशन-डिज़ाइन तकनीकें, और सात रनटाइम एडाप्टर (डिफ़ॉल्ट GSAP, साथ ही Lottie, Three.js, Anime.js, CSS कीफ्रेम्स, वेब एनिमेशन API, TypeGPU)। किसी भी मोशन या एनिमेशन कार्य के लिए उपयोग करें: 2-4 नियम चुनें और रचना करें, या ब्लूप्रिंट लोड करें, या रनटाइम-विशिष्ट API (जैसे GS
creativedevelopmentdesign
hyperframes-core
heygen-com
हाइपरफ्रेम्स HTML संरचना अनुबंध। संरचना संरचना, डेटा विशेषताओं, क्लिप्स, ट्रैक्स, उप-संरचनाओं, चर, मीडिया प्लेबैक, नियतात्मक रेंडर नियमों और न्यूनतम रेंडर करने योग्य परियोजनाओं के सत्यापन के लिए उपयोग करें।
developmentmediacreative
hyperframes-media
heygen-com
हाइपरफ्रेम्स कंपोज़िशन के लिए एसेट प्रीप्रोसेसिंग — मल्टी-प्रोवाइडर TTS (HeyGen / ElevenLabs / Kokoro लोकल), मल्टी-प्रोवाइडर BGM (Google Lyria / लोकल MusicGen), Whisper ट्रांसक्रिप्शन, बैकग्राउंड हटाना, और कैप्शन लेखन। npx hyperframes tts, bgm, transcribe, remove-background, voice/provider चयन, music-mood प्रॉम्प्टिंग, कैप्शन / सबटाइटल / लिरिक्स / कैराओके / प्रति-शब्द स्टाइलिंग के लिए उपयोग करें।
mediaaudiovideo
hyperframes-registry
heygen-com
हाइपरफ्रेम्स कंपोज़िशन में रजिस्ट्री ब्लॉक और कंपोनेंट्स को इंस्टॉल और वायर करें। hyperframes add चलाते समय, ब्लॉक या कंपोनेंट इंस्टॉल करते समय, इंस्टॉल किए गए आइटम को index.html में वायर करते समय, या hyperframes.json के साथ काम करते समय उपयोग करें। इसमें add कमांड, इंस्टॉल स्थान, ब्लॉक सब-कंपोज़िशन वायरिंग, कंपोनेंट स्निपेट मर्जिंग, रजिस्ट्री डिस्कवरी, और अपस्ट्रीम में योगदान देने के लिए नए ब्लॉ
developmentapicode-review
general-video
heygen-com
जब कोई विशेष वर्कफ़्लो उपयुक्त न हो, तो कस्टम HyperFrames HTML वीडियो कंपोज़िशन लेखन के लिए फ़ॉलबैक के रूप में उपयोग करें। लंबे या बहु-दृश्य टुकड़ों, ब्रांड/सिज़ल रीलों, मोंटाज, टाइटल कार्ड, किसी भी लंबाई पर मोशन पोस्टर, स्टैटिक लूप और किसी भी लंबाई या प्रारूप पर फ्रीफ़ॉर्म कंपोज़िशन को कवर करता है। विपणन उत्पाद प्रोमो (product-launch-video), सामान्य वेबसाइट-से-वीडियो क
videocreativemedia
motion-graphics
heygen-com
उपयोग तब करें जब उपयोगकर्ता को एक छोटी, डिज़ाइन-प्रधान मोशन ग्राफिक चाहिए जहाँ गति ही संदेश हो: काइनेटिक टाइपोग्राफी, स्टेट या नंबर काउंट-अप, चार्ट/डेटा-विज़ हिट, लोगो स्टिंग, ब्रांड लॉकअप, लोअर-थर्ड, कॉलआउट, सोशल ओवरले, एनिमेटेड हेडलाइन/ट्वीट/न्यूज़ आइटम, मोशन पोस्टर, या त्वरित कैप्चर्ड-पेज हाइलाइट। आम
creativevideodesign