Skip to content

🎥 Make videos programmatically with React

audio channels

Jonny Burgerd733f3b05c4e
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index 46f908c013..0aa21cf638 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -156,6 +156,8 @@ export const stitchFramesToVideo = async (options: {
['-c:v', encoderName]
: // If only exporting audio, we drop the video explicitly
['-vn'],
+ ['-ar', '44100'],
+ ['-ac', '2'],
proResProfileName ? ['-profile:v', proResProfileName] : null,
supportsCrf ? ['-crf', String(crf)] : null,
isAudioOnly ? null : ['-pix_fmt', pixelFormat],