Skip to content

🎥 Make videos programmatically with React

Update render.tsx

Jonny Burgeref3fab7e52d4
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index e89ee51637..5c27aa74a6 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -249,7 +249,9 @@ export const render = async (remotionRoot: string, args: string[]) => {
);
};
- const imageFormat = getImageFormat(codec);
+ const imageFormat = getImageFormat(
+ shouldOutputImageSequence ? undefined : codec
+ );
if (shouldOutputImageSequence) {
fs.mkdirSync(absoluteOutputFile, {
@@ -309,6 +311,8 @@ export const render = async (remotionRoot: string, args: string[]) => {
Log.info();
Log.info();
Log.info(chalk.green('\nYour image sequence is ready!'));
+ Log.info(chalk.cyan(`â–¶ ${absoluteOutputFile}`));
+
return;
}