🎥 Make videos programmatically with React
fix rendering error for videos with less than 64 audio
White-Green66df71fe307d
diff --git a/packages/renderer/src/merge-audio-track.ts b/packages/renderer/src/merge-audio-track.tsindex be62f416e0..64725a53d9 100644--- a/packages/renderer/src/merge-audio-track.ts+++ b/packages/renderer/src/merge-audio-track.ts@@ -39,8 +39,8 @@ const mergeAudioTrackUnlimited = async ({return;}- // FFMPEG has a limit of 64 tracks that can be merged at once- if (files.length > 64) {+ // In FFMPEG, the total number of left and right tracks that can be merged at one time is limited to 64+ if (files.length >= 32) {const chunked = chunk(files, 10);const tempPath = tmpDir('remotion-large-audio-mixing');