🎥 Make videos programmatically with React
fix encoder name
Jonny Burgerb92cf7ca232e
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.tsindex 2971ac400a..bcec4d0bb2 100644--- a/packages/renderer/src/stitcher.ts+++ b/packages/renderer/src/stitcher.ts@@ -171,9 +171,7 @@ export const spawnFfmpeg = async (options: StitcherOptions) => {frameCount: options.assetsInfo.assets.length,}): []),- options.preEncodedFileLocation- ? ['-c:v', 'copy']- : encoderName+ encoderName? // -c:v is the same as -vcodec as -codec:video// and specified the video codec.['-c:v', encoderName]