🎥 Make videos programmatically with React
Changed '-vcodec' to '-c:v'
Shankhadeep Dey9ea6eb161a36
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.tsindex 995abb42fc..b096900794 100644--- a/packages/renderer/src/stitcher.ts+++ b/packages/renderer/src/stitcher.ts@@ -39,7 +39,7 @@ export const stitchFramesToVideo = async (options: {`${options.width}x${options.height}`,'-i',`element-%0${numberLength}d.${format}`,- options.outputFormat === 'mp4' ? '-vcodec' : '-c:v',+ '-c:v',options.outputFormat === 'mp4'? 'libx264': options.outputFormat === 'webm-v8'