render command converts a Helios composition into a video file using headless browser rendering.
Usage
Arguments
Path to composition HTML file or HTTP(S) URL.
Output options
Output file path. Short form:
-o.Viewport width in pixels.
Viewport height in pixels.
Frames per second for output video.
Duration in seconds.
CRF quality value (0-51). Lower values = higher quality. Default varies by codec.
Rendering options
Render mode:
canvas or dom. Canvas mode is faster and more reliable.Run browser in visible window instead of headless mode. Useful for debugging.
Frame number to start rendering from (0-based).
Number of frames to render. Used for chunked rendering.
Number of concurrent render jobs to execute in parallel.
Codec options
Video codec. Examples:
libx264, libx265, libvpx, libvpx-vp9.Audio codec. Examples:
aac, mp3, pcm_s16le.Distributed rendering
Generate a distributed render job specification (JSON) instead of rendering immediately.
Base URL for remote asset resolution in distributed jobs. Alias for
--job-base-url.Base URL for remote asset resolution. Used when generating job specs for distributed rendering.
Examples
Basic rendering
Render a composition with default settings:output.mp4 at 1920x1080, 30fps
Custom output settings
High quality render
Specific duration
Debug rendering
Render from URL
Partial render
Generate distributed job
job.json with 4 parallel chunks, configured to load assets from the CDN.
Custom browser arguments
Job specification format
When using--emit-job, the output is a JSON file:
Environment variables
Browser configuration
Space-separated browser command-line arguments.
Path to custom Chromium/Chrome executable.
Performance tips
Parallel rendering
Use--concurrency for faster local rendering:
Codec selection
For fastest encoding:Canvas vs DOM mode
Canvas mode (default) is recommended for:- Better performance
- Consistent cross-platform results
- Complex animations
- Text-heavy compositions
- Complex CSS effects
- Debugging layout issues
Troubleshooting
Browser not found
Sandbox errors in Docker
Out of memory
Reduce concurrency or render in smaller chunks:See also
- helios job run - Execute distributed render jobs
- helios merge - Combine video chunks