Capítulo 99 de 988

Chapter 99: npx remotion render

Core Idea

Render a video or audio based on the entry point, the composition ID and save it to the output location.

Key Concepts

  • Flags
  • --props
  • --height<AvailableFrom v="3.2.40" />
  • --width<AvailableFrom v="3.2.40" />
  • --fps<AvailableFrom v="4.0.424" />
  • --duration<AvailableFrom v="4.0.424" />
  • --concurrency
  • --pixel-format

Code Examples

npx remotion render <entry-point|serve-url>? <composition-id> <output-location>
  • What it demonstrates: Usage pattern for npx remotion render from the official docs.

Key Takeaways

  1. Understand flags when working with npx remotion render.
  2. Understand --props when working with npx remotion render.
  3. Understand --height<availablefrom v="3.2.40" /> when working with npx remotion render.
  4. Understand --width<availablefrom v="3.2.40" /> when working with npx remotion render.
  5. Understand --fps<availablefrom v="4.0.424" /> when working with npx remotion render.

Connects To

  • Authoring Packages: related page in the CLI & Bundling section.
  • Bundle: related page in the CLI & Bundling section.
  • Bundler: related page in the CLI & Bundling section.