Skip to content

🎥 Make videos programmatically with React

fix error

Jonny Burgerf409a14ebf33
diff --git a/packages/lambda/src/cli/commands/render/render.ts b/packages/lambda/src/cli/commands/render/render.ts
index 27a2bc3adf..4bca3037c3 100644
--- a/packages/lambda/src/cli/commands/render/render.ts
+++ b/packages/lambda/src/cli/commands/render/render.ts
@@ -78,13 +78,14 @@ export const renderCommand = async (args: string[], remotionRoot: string) => {
videoBitrate,
height,
width,
+ configFileImageFormat,
} = await CliInternals.getCliOptions({
type: 'series',
isLambda: true,
remotionRoot,
});
- const imageFormat = CliInternals.getImageFormat(codec);
+ const imageFormat = CliInternals.getImageFormat(codec, configFileImageFormat);
const functionName = await findFunctionName();