render-video
Installation
SKILL.md
Render Video Workflow
Rendering is the process of capturing a composition frame-by-frame and encoding it into a video file (e.g., MP4). This is done using the @helios-project/renderer package in a Node.js environment.
1. Prerequisites
Ensure your composition is running. The renderer needs a URL to access the composition.
- Locally:
npm run dev(e.g.,http://localhost:3000/composition.html) - Remote: Any accessible URL.
2. Create Render Script
Create a file named render.js (or render.ts if using ts-node).
import { Renderer } from '@helios-project/renderer';
import path from 'path';