🎥 Make videos programmatically with React
Update combine-videos.ts
Jonny Burgerfefcf27fedc5
diff --git a/packages/renderer/src/combine-videos.ts b/packages/renderer/src/combine-videos.tsindex 49087abe0a..19d714b014 100644--- a/packages/renderer/src/combine-videos.ts+++ b/packages/renderer/src/combine-videos.ts@@ -66,7 +66,11 @@ export const combineVideos = async (options: Options) => {}`: null;const audioOutput = newLocal ? join(filelistDir, newLocal) : null;- const videoOutput = join(filelistDir, 'video');+ const videoOutput = join(+ filelistDir,+ 'video.' ++ RenderInternals.getFileExtensionFromCodec(codec, resolvedAudioCodec),+ );if (shouldCreateAudio) {await createCombinedAudio({