Skip to content

render-video

Use when rendering Remotion compositions to video files, stills, or GIFs — including codec selection, quality settings, frame ranges, aspect ratio presets, batch rendering, parallel concurrency, and Lambda/cloud rendering.

ModelSource
sonnetpack: video
Full Reference

Remotion v4.0 rendering — CLI and programmatic SSR APIs. Embedded Rust-powered FFmpeg means no external FFmpeg install is needed. Supports video, stills (PNG/JPEG/WebP/PDF), GIF, and audio output.

ItemValue
Remotion version4.0
CLI rendernpx remotion render src/index.ts CompId out/video.mp4
CLI stillnpx remotion still src/index.ts StillId out/frame.png
Default codecH.264 (.mp4)
Default CRF (H.264)18 (lower = higher quality, 0–51)
Default concurrencyHalf CPU cores
SSR package@remotion/renderer
Lambda package@remotion/lambda
FFmpegEmbedded — do not install separately
I want to…File
Render via CLI, pick a codec, set quality, select frame ranges, or export a GIFcli-rendering.md
Render programmatically with renderMedia(), renderStill(), bundle for CI, or batch renderprogrammatic-rendering.md
Deploy Lambda, render distributed chunks, or poll render progresslambda-rendering.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

┏━ 🎬 render-video ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ [one-line description of what you’re rendering] ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Output this box as the first response before any work begins. No exceptions.