remotion-to-hyperframes
Skill này làm gì
Skill này chuyển các công việc video hiện có sang HyperFrames. Nó dành cho người đã làm video bằng công cụ khác và muốn dùng nó trong HyperFrames.
Khi nào nên dùng
- ✓Khi bạn có một dự án Remotion muốn chuyển sang HyperFrames.
- ✓Khi bạn có một hoạt họa Lottie, Three.js hoặc canvas muốn tái sử dụng trong video.
- ✓Khi bạn có footage đã render từ Manim, After Effects hoặc Blender để đưa vào như một clip.
Liên kết skill
https://github.com/heygen-com/hyperframes/blob/main/skills/remotion-to-hyperframes/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chuyển đoạn mở đầu Remotion của tôi thành một dự án HyperFrames và kiểm tra xem nó có giống hệt không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent quyết định phần nào có thể thành HTML chỉnh sửa được, giữ mã có thể vẽ mọi khung hình dưới dạng mã được host, và đưa kết quả khác vào như một clip thuần. Sau đó nó so sánh kết quả với bản gốc từng khung hình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
| 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.
Native: 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.
Câu hỏi thường gặp
Video đã chuyển có còn chỉnh sửa được không?
Các phần gốc của HyperFrames vẫn chỉnh sửa đầy đủ. Mã được host giữ thời gian và cài đặt đã mở ra, còn clip đã render có thể cắt và đặt vào nhưng không thể sửa bên trong.
Nó có kiểm tra kết quả không?
Có. Nó xác minh phiên bản mới với bản gốc từng khung hình.
Những công cụ nào được hỗ trợ?
Nó bao gồm Remotion trước hết, cùng Motion Canvas, Lottie, Three.js, p5.js, canvas, hoạt họa HTML thuần và kết quả render từ công cụ khác.
Chi tiết
Mô tả gốc của tác giả
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.
repo: heygen-com/hyperframes
Độ phổ biến
- Sao GitHub
- 78k
- Vị trí xếp hạng
- #1744
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
captions-overlay
78kHướng dẫn agent của bạn thêm phụ đề vào video dưới dạng lớp phủ, quyết định câu nào nên bỏ, hiển thị trên thanh phụ đề hay được làm nổi bật.
cut-the-curve
78kDạy agent của bạn các kiểu chuyển cảnh dùng trong video HyperFrames, như chuyển cảnh mượt, zoom xuyên qua và chữ xuất hiện so le.
motion-doctrine
78kCho agent của bạn các quy tắc cốt lõi để làm một video nhiều cảnh trông như một cú máy liên tục, thay vì các slide rời rạc.
oversized-cursor
78kDạy agent của bạn thêm một con trỏ lớn, có hoạt họa vào video để dẫn mắt người xem và làm cho các cú nhấp trông như gây ra hành động kế tiếp.
Skill tương tự
blender-motion-state-inspection
280kCho phép kiểm tra chi tiết trong hoạt ảnh 3D. Hữu ích để kiểm tra tư thế, chuyển động và độ thẳng hàng của nhân vật trong hoạt ảnh.
manim-video
280kGiúp agent tạo video giải thích hoạt hình. Dùng Manim để tạo biểu đồ và sơ đồ rõ ràng cho các khái niệm kỹ thuật.
remotion-video-creation
280kHướng dẫn agent tạo video bằng React với thư viện Remotion. Bao gồm các thực hành tốt nhất về hoạt ảnh, âm thanh, phụ đề và các yếu tố hình ảnh khác.