Index of every page on this site: llms.txt
All skills
remotion-dev avatar

/remotion-render

@a3f4098 official
by Remotionremotion-dev/skills8.4k stars
934
Run it yourself

Export a Remotion video, still image, or editable OpenTimelineIO timeline

  • 5 files
  • 26 KB
  • Updated 6 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/remotion-dev/skills/remotion-render

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈23 tokens for metadata: the name and description. ≈718 when used: this file. ≈5.6k more on demand in 3 files.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈91 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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 [composition-id] out/video.mp4

Always pass the composition ID. Without it, Remotion shows an interactive picker, or fails in a non-interactive terminal. List the IDs with npx remotion compositions.

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

Passing input props

Pass input props as inline JSON or as a path to a JSON file:

npx remotion render [composition-id] out/video.mp4 --props='{"title": "Hello"}'
npx remotion render [composition-id] out/video.mp4 --props=./props.json

Remotion shallow-merges input props over the defaultProps of the composition. See https://www.remotion.dev/docs/passing-props.md.

License key

Companies that need a Remotion license (remotion-license skill) should pass their license key to every render. Replace YOUR_API_KEY in this example with that license key. If the user qualifies for the free license, pass free-license instead.

npx remotion render [composition-id] out/video.mp4 --license-key=YOUR_API_KEY

Only pass --license-key if a key is available, since an empty value is not a valid key. Add --is-production=false for test renders so that Remotion does not bill them. See https://www.remotion.dev/docs/telemetry.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.

Remotion writes the frames as element-[frame].[ext]. It pads the frame number with zeros to the number of digits of the highest rendered frame, so --frames=4,30 writes element-04.png and element-30.png. List the output folder instead of guessing the filenames, or pass --image-sequence-pattern to change the pattern.

Transparent videos

See Transparent videos for rendering out a video with transparency.

OpenTimelineIO export (optional)

When the user asks for an editable timeline for DaVinci Resolve, Adobe Premiere, or another video editor, follow Export to OpenTimelineIO. This workflow preserves editable media clips where possible and prerenders unsupported elements. Use it only for requested timeline exports; ordinary video and still renders use the commands above.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at a3f4098. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 days ago.

Activeupdated 6 days ago
version
4.0.547

README badge

README badge for remotion-dev/skills/remotion-render