Skip to content

🎥 Make videos programmatically with React

Update Root.tsx

Jonny Burger332bc39deb0b
diff --git a/packages/brand/src/Root.tsx b/packages/brand/src/Root.tsx
index 35d583bdd9..56508fe169 100644
--- a/packages/brand/src/Root.tsx
+++ b/packages/brand/src/Root.tsx
@@ -239,6 +239,14 @@ export const RemotionRoot: React.FC = () => {
prompt: 'Use Remotion Best Practices.',
thinkingIndex: 40,
}}
+ calculateMetadata={() => {
+ return {
+ defaultCodec: 'prores',
+ defaultProResProfile: '4444',
+ defaultPixelFormat: 'yuva444p10le',
+ defaultVideoImageFormat: 'png',
+ };
+ }}
/>
<Composition
id="FlyingCardsRight"