Remotion Render

Skill

告诉 agent 如何导出 Remotion 作品:用 npx remotion render 渲染视频、npx remotion still 渲染静帧,用 --frames 一次导出多帧图片,并可按说明输出透明背景的视频。Remotion 官方技能。

remotion-dev/skills · skills/remotion-render6.5k
README
name: remotion-render
description: Export a Remotion video
version: 4.0.541

General rendering strategy

Use Remotion's bundled browser for rendering, including compositions using <HtmlInCanvas>. It includes the required browser APIs and Remotion's browser fixes. Let Remotion download or update it as needed. Do not reuse a recording browser or set --browser-executable, browserExecutable, or chromeMode unless the user explicitly requests a different browser.

Render a video using:

npx remotion render

Full list of options: https://www.remotion.dev/docs/cli/render.md

Render a still using:

npx remotion still

Full list of options: https://www.remotion.dev/docs/cli/still.md

To render several frames as images in one call, use render --frames:

npx remotion render [composition-id] out/frames --frames=0,30,90 --image-format=png

See https://www.remotion.dev/docs/cli/render.md#--frames for more options.

Transparent videos

See Transparent videos for rendering out a video with transparency.