Skip to content

🎥 Make videos programmatically with React

`@remotion/cli`: Correct output on new line when rendering an image sequence

Jonny Burger873ce9c5dd79
diff --git a/packages/cli/src/render-flows/render.ts b/packages/cli/src/render-flows/render.ts
index 4c233b6f4a..ed76dbf0b9 100644
--- a/packages/cli/src/render-flows/render.ts
+++ b/packages/cli/src/render-flows/render.ts
@@ -578,7 +578,16 @@ export const renderVideoFlow = async ({
onLog,
});
- Log.info({indent, logLevel}, chalk.blue(`\nâ–¶ ${absoluteOutputFile}`));
+ if (!updatesDontOverwrite) {
+ updateRenderProgress({newline: true, printToConsole: true});
+ }
+
+ Log.info(
+ {indent, logLevel},
+ chalk.blue(
+ `${(exists ? 'â—‹' : '+').padEnd(LABEL_WIDTH)} ${makeHyperlink({url: `file://${absoluteOutputFile}`, text: relativeOutputLocation, fallback: relativeOutputLocation})}`,
+ ),
+ );
return;
}