🎥 Make videos programmatically with React
Update get-render-media-options.ts
Jonny Burgerda5c0474c554
diff --git a/packages/cli/src/get-render-media-options.ts b/packages/cli/src/get-render-media-options.tsindex e67c06c7f5..e6a53f6107 100644--- a/packages/cli/src/get-render-media-options.ts+++ b/packages/cli/src/get-render-media-options.ts@@ -57,12 +57,6 @@ export const getRenderMediaOptions = async ({remotionRoot,});- const imageFormat = getImageFormat({- codec,- configFileImageFormat,- uiImageFormat,- });-return {outputLocation,composition: {@@ -75,7 +69,11 @@ export const getRenderMediaOptions = async ({ffmpegExecutable,ffprobeExecutable,frameRange: uiFrameRange ?? defaultFrameRange,- imageFormat,+ imageFormat: getImageFormat({+ codec,+ configFileImageFormat,+ uiImageFormat,+ }),inputProps,overwrite,pixelFormat,