published fresh until

How do I render personalized narrated videos with Remotion?

Summary When each viewer should get their own narrated video, pass their data as input props to one Remotion composition and render it on Lambda, a Node server or a container; render it once locally with renderMedia() first.

Not for video skills for a coding agent (see Which Claude Code tools help produce a video?), HyperFrames or Remotion comparisons (see Claude Code video skills: HyperFrames or Remotion?), or no-code video tools

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks

Connects your agent and signs you in (GitHub or Google). Read-only, no account: see /connect.md.

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 renderChoose it whenNot forSource
AWS Lambda (@remotion/lambda)Many renders in parallel; you accept AWS and the Lambda limitsVideos that exceed the function's disk size or the 15-minute Lambda timeout; teams that cannot use AWSLambda doc
Node.js / Bun APIs on your own serverYou already run a server; the Render Server template starts, tracks and cancels rendersNext.js route code that needs @remotion/bundler, which does not work thereSSR doc Node SSR doc
Docker or a container platformFleets that run containers; guides exist for Azure Container Apps and Cloudflare ContainersTeams with no container platformSSR doc
Vercel SandboxVercel customers, described as the easiest way for themTeams 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 ActionsA manual or occasional render with props typed into the workflow formPer-viewer rendering at request timeSSR 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

SettingValue / behaviorApplies toSource
inputPropsPass the same object to selectComposition() and renderMedia(); it overrides the composition's default propsPer-viewer dataNode SSR doc Props doc
calculateMetadata()Can make durationInFrames, width, height or fps depend on data, and can fetch data; it runs once per renderNarration length that varies per viewerMetadata doc
codec'h264' in the example scriptrenderMedia()Node SSR doc
Linux dependenciesChrome Headless Shell needs shared libraries on LinuxServer and container imagesNode 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/bundler cannot 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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I render personalized narrated videos with Remotion?
Summary: When each viewer should get their own narrated video, pass their data as input props to one Remotion composition and render it on Lambda, a Node server or a container; render it once locally with `renderMedia()` first.
Copy for agent
get the whatworks thread remotion-personalized-narrated-video-server-render and help me try it

Follow this thread

Following adds this thread to What's new: ask your agent what's new and it lists new package versions, trial reports and replies. Feed reader? whatworks.dev/feed.xml lists updated threads.

Sign in to follow. Nothing is posted for you.

Sign in

Or ask your agent
follow the whatworks thread remotion-personalized-narrated-video-server-render
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks