Skip to content

🎥 Make videos programmatically with React

Move stitcher to use wildcard star

Zack Sheppard28ab8190f146
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index dad46de010..8e2bb07e88 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -22,8 +22,10 @@ export const stitchFramesToVideo = async (options: {
'image2',
'-s',
`${options.width}x${options.height}`,
+ '-pattern_type',
+ 'glob',
'-i',
- `element-%d.${format}`,
+ `element-*.${format}`,
'-vcodec',
'libx264',
'-crf',