Skip to content

🎥 Make videos programmatically with React

less chunks at a time

Jonny Burger2fd4282d0848
diff --git a/packages/renderer/src/merge-audio-track.ts b/packages/renderer/src/merge-audio-track.ts
index 173c8549ed..ee904f78c4 100644
--- a/packages/renderer/src/merge-audio-track.ts
+++ b/packages/renderer/src/merge-audio-track.ts
@@ -40,7 +40,7 @@ export const mergeAudioTrack = async ({
// FFMPEG has a limit of 64 tracks that can be merged at once
if (files.length > 64) {
- const chunked = chunk(files, 64);
+ const chunked = chunk(files, 10);
const tempPath = tmpDir('remotion-large-audio-mixing');
const chunkNames = await Promise.all(