Chapter 132: Render all compositions
Core Idea
In some scenarios, you might find it useful to render all compositions.
Key Concepts
- Via CLI
- Via Node.JS script
- See also
Code Examples
compositions=($(npx remotion compositions src/index.ts -q))
for composition in "${compositions[@]}"
do
npx remotion render src/index.ts $composition $composition.mp4
done
- What it demonstrates: Usage pattern for Render all compositions from the official docs.
Key Takeaways
- Understand via cli when working with Render all compositions.
- Understand via node.js script when working with Render all compositions.
- Understand see also when working with Render all compositions.
Connects To
- Chromium Flags: related page in the Rendering & SSR section.
- Compare ssr: related page in the Rendering & SSR section.
- Dataset Render: related page in the Rendering & SSR section.