Skip to content

🎥 Make videos programmatically with React

default PNG

Jonny Burger8922e6c7d41b
diff --git a/packages/cli/src/get-cli-options.ts b/packages/cli/src/get-cli-options.ts
index 1c4c4218a5..78779c97cb 100644
--- a/packages/cli/src/get-cli-options.ts
+++ b/packages/cli/src/get-cli-options.ts
@@ -164,9 +164,10 @@ const getAndValidateBrowser = async () => {
export const getCliOptions = async (type: 'still' | 'series') => {
const frameRange = getAndValidateFrameRange();
- const shouldOutputImageSequence = await getAndValidateShouldOutputImageSequence(
- frameRange
- );
+ const shouldOutputImageSequence =
+ type === 'still'
+ ? true
+ : await getAndValidateShouldOutputImageSequence(frameRange);
const codec = await getFinalCodec();
const outputFile = getOutputFilename({
codec,
diff --git a/packages/cli/src/still.ts b/packages/cli/src/still.ts
index e80f304b0d..563e832716 100644
--- a/packages/cli/src/still.ts
+++ b/packages/cli/src/still.ts
@@ -28,7 +28,7 @@ export const still = async () => {
if (userOutput.endsWith('.jpeg') || userOutput.endsWith('.jpg')) {
Log.verbose(
- 'Output file has a JPEG extension, therefore setting the image format to PNG.'
+ 'Output file has a JPEG extension, therefore setting the image format to JPEG.'
);
Config.Rendering.setImageFormat('jpeg');
}