Skip to content

🎥 Make videos programmatically with React

allow null as uiimageformat

Jonny Burger8896ada2c650
diff --git a/packages/cli/src/render-flows/render.ts b/packages/cli/src/render-flows/render.ts
index 0fd2ef6bbd..6f34a03b46 100644
--- a/packages/cli/src/render-flows/render.ts
+++ b/packages/cli/src/render-flows/render.ts
@@ -122,7 +122,7 @@ export const renderVideoFlow = async ({
crf: Crf | null;
cancelSignal: CancelSignal | null;
uiCodec: Codec | null;
- uiImageFormat: VideoImageFormat;
+ uiImageFormat: VideoImageFormat | null;
ffmpegOverride: FfmpegOverrideFn;
audioBitrate: string | null;
videoBitrate: string | null;
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index 088ebd8148..9bbc23934a 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -102,8 +102,7 @@ export const render = async (remotionRoot: string, args: string[]) => {
},
outputLocationFromUI: null,
uiCodec: null,
- // TODO: Check if none makes sense here
- uiImageFormat: 'none',
+ uiImageFormat: null,
cancelSignal: null,
crf,
ffmpegOverride,