🎥 Make videos programmatically with React
fix video turning out too long on newest FFmpeg builds
Jonny Burger3c591114cf3e
diff --git a/packages/renderer/src/stitch-frames-to-video.ts b/packages/renderer/src/stitch-frames-to-video.tsindex 8a639eca07..b0702e9c26 100644--- a/packages/renderer/src/stitch-frames-to-video.ts+++ b/packages/renderer/src/stitch-frames-to-video.ts@@ -349,10 +349,10 @@ export const spawnFfmpeg = async (}const ffmpegArgs = [- ['-r', String(options.fps)],...(options.internalOptions?.preEncodedFileLocation? [['-i', options.internalOptions?.preEncodedFileLocation]]: [+ ['-r', String(options.fps)],['-f', 'image2'],['-s', `${options.width}x${options.height}`],['-start_number', String(options.assetsInfo.firstFrameIndex)],