🎥 Make videos programmatically with React
output dir
Jonny Burger1b8d0c62fb88
diff --git a/packages/cli/src/render-flows/render.ts b/packages/cli/src/render-flows/render.tsindex 804fdfd6b4..08fef91bd0 100644--- a/packages/cli/src/render-flows/render.ts+++ b/packages/cli/src/render-flows/render.ts@@ -309,12 +309,6 @@ export const renderVideoFlow = async ({overwrite);- const outputDir = shouldOutputImageSequence- ? absoluteOutputFile- : await fs.promises.mkdtemp(path.join(os.tmpdir(), 'react-motion-render'));-- Log.verboseAdvanced({indent, logLevel}, 'Output dir', outputDir);-const realFrameRange = RenderInternals.getRealFrameRange(config.durationInFrames,frameRange@@ -348,6 +342,14 @@ export const renderVideoFlow = async ({);}+ const outputDir = shouldOutputImageSequence+ ? absoluteOutputFile+ : await fs.promises.mkdtemp(+ path.join(os.tmpdir(), 'react-motion-render')+ );++ Log.verboseAdvanced({indent, logLevel}, 'Output dir', outputDir);+await renderFrames({imageFormat,inputProps,