来源信息
- 仓库
- Ntizar/MasterMind
- 最近来源活动
- 2026年8月29日 20:34
- 检测到的 SKILL.md 语言
- 西班牙语
- 星标
- 2
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- hyperframes-html-to-video
- description
- Genera vídeo MP4 desde HTML con HyperFrames si piden vídeo.
- version
- 1.0.0
- tags
- ["video","html","ffmpeg","puppeteer","agentes","gsap"]
# HyperFrames — HTML a vídeo (43k★, TypeScript, Apache-2.0, activo)
Framework open-source de HeyGen que convierte HTML + CSS + media + animaciones "seekables" en MP4 deterministas. Diseñado específicamente para agentes IA: escribes HTML, renderiza vídeo con CLI, skills para agentes, o como núcleo de renderizado en servidores.
## Por qué es útil
- Determinista: mismo HTML → mismo frame a frame (a diferencia de screen-capture).
- Usa Puppeteer para capturar frames y FFmpeg para ensamblar; GSAP para animaciones seekables (scrub por timestamp, no reloj real).
- Bloques listos (catálogo): data-charts, textos animados, etc.
- MCP server incluido para integración con agentes.
## Instalación y uso básico
```bash
npm install -g hyperframes # requiere Node >= 22
hyperframes render comp.html --out video.mp4
```
Estructura: compones una página HTML con timeline (animaciones declaradas en tiempo, ej. GSAP con seek), HyperFrames recorre frame a frame y renderiza.
## Pasos recomendados
1. Escribir el componente HTML/CSS con animaciones basadas en timeline (no setTimeout/RAF — no son seekables).
2. Previsualizar en el Playground (hyperframes.dev) o con `hyperframes preview`.
3. Renderizar CLI: `hyperframes render` (resolución, fps configurables).
4. Para agentes: instalar el skill/MCP de HyperFrames y generar HTML directamente.
## Pitfalls
- Animaciones imperativas (requestAnimationFrame, reloj de pared) NO funcionan: el render seeka el tiempo; usar timeline declarativa (GSAP, Web Animations API).
- Node >= 22 obligatorio; FFmpeg necesario en el PATH.
- Fuentes/woff2 deben estar referenciadas localmente para render reproducible.
- Vídeos largos = mucho tiempo de render; segmentar.
## Verificación
- El MP4 resultante: comprobar duración con `ffprobe video.mp4`.
- Determinismo: renderizar dos veces y comparar hashes si es crítico.
Repo: https://github.com/heygen-com/hyperframes · Docs: https://hyperframes.heygen.com/introduction
在 GitHub 查看