Skip to content

🎥 Make videos programmatically with React

Merge branch 'main' into lambda-testing

Jonny Burger4f270978ac5e
diff --cc packages/cli/src/render.tsx
index 0f647569b1,a789c9685d..47b05d1047
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@@ -205,8 -173,16 +205,15 @@@ export const render = async () =>
throw new TypeError('CRF is unexpectedly not a number');
}
+ const stitchingProgress = createOverwriteableCliOutput();
+ const dirName = path.dirname(absoluteOutputFile);
+
+ if (!fs.existsSync(dirName)) {
+ fs.mkdirSync(dirName, {
+ recursive: true,
+ });
+ }
- const stitchingProgress = createProgressBar();
-
stitchingProgress.update(
makeStitchingProgress({
doneIn: null,