Skip to content

🎥 Make videos programmatically with React

remove parallelism and imageformat

Jonny Burger11bcb2f20ce6
diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.md
index a915fae239..08c3179f06 100644
--- a/packages/docs/docs/3-0-migration.md
+++ b/packages/docs/docs/3-0-migration.md
@@ -19,3 +19,9 @@ Previously, you could catch errors being thrown in your Remotion code using the
The new behavior of Remotion 3.0 is that if an error occurs, these functions reject instead.
**Upgrade path**: Remove the `onError` property from your `getCompositions()`, `renderFrames()` and `renderStill()` calls and catch errors in a try / catch instead. Eliminate any error being thrown in your application.
+
+## Removed `parallelism` flag for `stitchFramesToVideo` API
+
+This parameter did probably not to what you thought it would. To avoid any confusion, we removed it without any replacement.
+
+**Upgrade path**: If you added the `parallelism` property to the `stitchFramesToVideo()`, remove it.
diff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.ts
index 2d2adcf8c9..eb8619f626 100644
--- a/packages/renderer/src/stitcher.ts
+++ b/packages/renderer/src/stitcher.ts
@@ -5,7 +5,6 @@ import path from 'path';
import {
Codec,
FfmpegExecutable,
- ImageFormat,
Internals,
PixelFormat,
ProResProfile,
@@ -22,7 +21,6 @@ import {getAudioCodecName} from './get-audio-codec-name';
import {getCodecName} from './get-codec-name';
import {getFrameInfo} from './get-frame-number-length';
import {getProResProfileName} from './get-prores-profile-name';
-import {DEFAULT_IMAGE_FORMAT} from './image-format';
import {parseFfmpegProgress} from './parse-ffmpeg-progress';
import {resolveAssetSrc} from './resolve-asset-src';
import {validateEvenDimensionsWithCodec} from './validate-even-dimensions-with-codec';
@@ -40,12 +38,9 @@ export type StitcherOptions = {
outputLocation: string;
force: boolean;
assetsInfo: RenderAssetInfo;
- // TODO: Let's make this parameter mandatory in the next major release
- imageFormat?: ImageFormat;
pixelFormat?: PixelFormat;
codec?: Codec;
crf?: number;
- parallelism?: number | null;
onProgress?: (progress: number) => void;
onDownload?: (src: string) => void;
proResProfile?: ProResProfile;