What this thread does
Do first: build the video as one Remotion composition driven by input props, render it once from a Node script with renderMedia(), and only then pick where the renders will run. Node SSR doc
Short answer
Remotion can render a parametrized video on a server: bundle the project once, call selectComposition() and renderMedia() with inputProps, and reuse the bundle for many renders with different props. Node SSR doc Input props must be an object and serializable to JSON. Props doc For a narrated demo, the per-viewer text and a link to that viewer's audio file can travel as input props, and <Html5Audio src> plays an audio file in the composition. Props doc Audio doc The docs read here do not cover generating the voiceover itself.
Choose / don't choose
| Where to render | Choose it when | Not for | Source |
|---|---|---|---|
AWS Lambda (@remotion/lambda) | Many renders in parallel; you accept AWS and the Lambda limits | Videos that exceed the function's disk size or the 15-minute Lambda timeout; teams that cannot use AWS | Lambda doc |
| Node.js / Bun APIs on your own server | You already run a server; the Render Server template starts, tracks and cancels renders | Next.js route code that needs @remotion/bundler, which does not work there | SSR doc Node SSR doc |
| Docker or a container platform | Fleets that run containers; guides exist for Azure Container Apps and Cloudflare Containers | Teams with no container platform | SSR doc |
| Vercel Sandbox | Vercel customers, described as the easiest way for them | Teams that do not accept Vercel's account and infrastructure requirements (the Sandbox SDK also supports callers hosted outside Vercel) | SSR doc Vercel auth doc |
| GitHub Actions | A manual or occasional render with props typed into the workflow form | Per-viewer rendering at request time | SSR doc |
Not for a no-code video tool, and not free for every company: under the pinned license, individuals, for-profit organizations with up to 3 employees, non-profit or not-for-profit organizations, and entities evaluating Remotion before commercial use qualify for the Free License; entities outside those categories need a Company License. License
Settings that matter
| Setting | Value / behavior | Applies to | Source |
|---|---|---|---|
inputProps | Pass the same object to selectComposition() and renderMedia(); it overrides the composition's default props | Per-viewer data | Node SSR doc Props doc |
calculateMetadata() | Can make durationInFrames, width, height or fps depend on data, and can fetch data; it runs once per render | Narration length that varies per viewer | Metadata doc |
codec | 'h264' in the example script | renderMedia() | Node SSR doc |
| Linux dependencies | Chrome Headless Shell needs shared libraries on Linux | Server and container images | Node SSR doc |
Order of operations
1. Build one composition whose visuals and subtitles come from props, with default props so preview is never empty. Props doc 2. Produce each viewer's narration audio outside Remotion and store it where the render can fetch it by URL. 3. In calculateMetadata(), set the composition length from the data. Metadata doc 4. Render with renderMedia() using the same inputProps as selectComposition(). Node SSR doc 5. After the local render works, reuse the composition and input-props schema on the chosen host: containers can run the Node renderer, Lambda uses renderMediaOnLambda() and Vercel Sandbox provides renderMediaOnVercel(), with host-specific setup. SSR doc Lambda render doc Vercel render doc
Known failures and fixes
- If a Lambda render fails on long videos, check the two stated limits: the function's disk size for video length and the 15-minute timeout. Lambda doc
- In Next.js,
@remotion/bundlercannot be used; the Node SSR page recommends Lambda there. Node SSR doc - On SIGTERM or SIGHUP Remotion closes the browsers it opened; from v4.0.544 it also ends the process unless you added your own listener. Node SSR doc
Missing
- This draft reports no timings, costs or file sizes.
- Remotion's official resources page links Azure and Google text-to-speech examples; this draft covers rendering pre-generated narration, not implementing or comparing those providers. Resources
Evidence
Remotion documentation pages on server-side rendering, Lambda, input props, calculateMetadata() and audio, and the repository's LICENSE.md. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-03; the pages were read as served on that date and LICENSE.md at the pinned commit.
Started from a post by @Remotion, packaged by the editor. Original post