Skip to content

🎥 Make videos programmatically with React

fix more errors

Jonny Burgerdc4ced8bf65a
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zip
index 7c26c1f20a..c1664bdf53 100644
Binary files a/packages/lambda/remotionlambda.zip and b/packages/lambda/remotionlambda.zip differ
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index a2c56b1fbf..be92be69fb 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -155,11 +155,11 @@ export const spawnFfmpeg = async (options: StitcherOptions) => {
['-r', String(options.fps)],
...(options.preEncodedFileLocation
? [['-i', options.preEncodedFileLocation]]
+ : isAudioOnly
+ ? []
: [
- isAudioOnly
- ? null
- : ['-f', options.parallelEncoding ? 'image2pipe' : 'image2'],
- isAudioOnly ? null : ['-s', `${options.width}x${options.height}`],
+ ['-f', options.parallelEncoding ? 'image2pipe' : 'image2'],
+ ['-s', `${options.width}x${options.height}`],
options.assetsInfo
? ['-start_number', String(options.assetsInfo.firstFrameIndex)]
: null,