Chapter 7: Configuration file
Core Idea
To configure Remotion, create a remotion. config.
Key Concepts
- overrideBundlerConfig()<AvailableFrom v="4.0.498" />
- overrideWebpackConfig()<AvailableFrom v="1.1.0" />
- overrideRspackConfig()<AvailableFrom v="4.0.498" />
- setCachingEnabled()<AvailableFrom v="2.0.0" />
- setStudioPort()<AvailableFrom v="4.0.61" />
- setRendererPort()<AvailableFrom v="4.0.61" />
- setPublicDir()<AvailableFrom v="3.2.13" />
- setBundleOutDir()<AvailableFrom v="4.0.426" />
Code Examples
Config.setConcurrency(8);
Config.setPixelFormat('yuv444p');
Config.setCodec('h265');
- What it demonstrates: Usage pattern for Configuration file from the official docs.
Key Takeaways
- Understand overridebundlerconfig()<availablefrom v="4.0.498" /> when working with Configuration file.
- Understand overridewebpackconfig()<availablefrom v="1.1.0" /> when working with Configuration file.
- Understand overriderspackconfig()<availablefrom v="4.0.498" /> when working with Configuration file.
- Understand setcachingenabled()<availablefrom v="2.0.0" /> when working with Configuration file.
- Understand setstudioport()<availablefrom v="4.0.61" /> when working with Configuration file.
Connects To
- Absolute Fill: related page in the Fundamentals & Core Concepts section.
- Animating Properties: related page in the Fundamentals & Core Concepts section.
- Animation Math: related page in the Fundamentals & Core Concepts section.