Skip to content

🎥 Make videos programmatically with React

delay all channels

Jonny Burger6526588eb481
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index 6f9efd9618..01d4bdc689 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -86,7 +86,7 @@ export const stitchFramesToVideo = async (options: {
return [
`[${i + 1}:a]`,
duration ? `atrim=0:${duration},` : '',
- `adelay=${from}`,
+ `adelay=delays=${from}:all=1`,
`[a${i + 1}]`,
].join('');
}),