compose
Render HyperFrames HTML compositions to MP4, WebM, or MOV video using a specified frame rate and quality; requires the optional producer package and headless Chrome.
Instructions
Render a HyperFrames composition (HTML) to video. Needs the optional peer @hyperframes/producer and headless Chrome; returns an 'unavailable' error otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frame rate (default 30); canvas size comes from the composition | |
| format | No | mp4 opaque, webm/mov with alpha (default from extension) | |
| output | Yes | Output video path | |
| quality | No | ||
| composition | Yes | HyperFrames composition HTML file, or a project directory with index.html |