Skip to content

🎥 Make videos programmatically with React

`@remotion/renderer`: Fix #5799

JonnyBurgera376e59a3558
diff --git a/packages/renderer/src/render-media.ts b/packages/renderer/src/render-media.ts
index 1a87c4b1f0..5741fb9511 100644
--- a/packages/renderer/src/render-media.ts
+++ b/packages/renderer/src/render-media.ts
@@ -740,8 +740,8 @@ const internalRenderMediaRaw = ({
const stitchStart = Date.now();
return internalStitchFramesToVideo({
- width: actualWidth,
- height: actualHeight,
+ width: Math.round(actualWidth),
+ height: Math.round(actualHeight),
fps,
outputLocation: absoluteOutputLocation,
preEncodedFileLocation,