diff --git a/remotion/src/Root.tsx b/remotion/src/Root.tsx index f45bee0..839e5cc 100644 --- a/remotion/src/Root.tsx +++ b/remotion/src/Root.tsx @@ -84,6 +84,12 @@ export const RemotionRoot: React.FC = () => { width={DEFAULT_PROPS.width} height={DEFAULT_PROPS.height} defaultProps={DEFAULT_PROPS} + calculateMetadata={({ props }) => ({ + durationInFrames: props.durationInFrames, + fps: props.fps, + width: props.width, + height: props.height, + })} /> );