@remotion/renderer 4.0.534 → 4.0.536
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/BrowserPage.js +9 -4
- package/dist/client.d.ts +303 -7
- package/dist/combine-chunks.d.ts +2 -1
- package/dist/combine-chunks.js +81 -52
- package/dist/combine-video-streams.js +3 -0
- package/dist/compositor/get-executable-path.js +30 -15
- package/dist/ensure-browser.d.ts +3 -0
- package/dist/esm/client.mjs +727 -541
- package/dist/esm/index.mjs +409 -359
- package/dist/esm/pure.mjs +3 -1
- package/dist/get-video-threads-flag.js +5 -1
- package/dist/index.d.ts +47 -1
- package/dist/mime-db.js +5 -0
- package/dist/mux-video-and-audio.js +3 -0
- package/dist/options/allow-html-in-canvas.d.ts +1 -0
- package/dist/options/allow-html-in-canvas.js +1 -0
- package/dist/options/api-key.d.ts +1 -0
- package/dist/options/api-key.js +1 -0
- package/dist/options/ask-ai.d.ts +1 -0
- package/dist/options/ask-ai.js +1 -0
- package/dist/options/audio-bitrate.d.ts +1 -0
- package/dist/options/audio-bitrate.js +1 -0
- package/dist/options/audio-codec.d.ts +1 -0
- package/dist/options/audio-codec.js +1 -0
- package/dist/options/beep-on-finish.d.ts +1 -0
- package/dist/options/beep-on-finish.js +1 -0
- package/dist/options/benchmark-concurrencies.d.ts +1 -0
- package/dist/options/benchmark-concurrencies.js +1 -0
- package/dist/options/binaries-directory.d.ts +1 -0
- package/dist/options/binaries-directory.js +1 -0
- package/dist/options/browser-executable.d.ts +1 -0
- package/dist/options/browser-executable.js +1 -0
- package/dist/options/browser.d.ts +1 -0
- package/dist/options/browser.js +1 -0
- package/dist/options/bundle-cache.d.ts +1 -0
- package/dist/options/bundle-cache.js +1 -0
- package/dist/options/canvas-tabs.d.ts +1 -0
- package/dist/options/canvas-tabs.js +1 -0
- package/dist/options/chrome-mode.d.ts +1 -0
- package/dist/options/chrome-mode.js +1 -0
- package/dist/options/color-space.d.ts +1 -0
- package/dist/options/color-space.js +1 -0
- package/dist/options/concurrency.d.ts +1 -0
- package/dist/options/concurrency.js +1 -0
- package/dist/options/config.d.ts +1 -0
- package/dist/options/config.js +1 -0
- package/dist/options/crf.d.ts +1 -0
- package/dist/options/crf.js +1 -0
- package/dist/options/cross-site-isolation.d.ts +1 -0
- package/dist/options/cross-site-isolation.js +1 -0
- package/dist/options/dark-mode.d.ts +1 -0
- package/dist/options/dark-mode.js +1 -0
- package/dist/options/default-coding-agent.d.ts +1 -0
- package/dist/options/default-coding-agent.js +1 -0
- package/dist/options/default-editor.d.ts +1 -0
- package/dist/options/default-editor.js +1 -0
- package/dist/options/default-premount-in-seconds.d.ts +19 -0
- package/dist/options/default-premount-in-seconds.js +36 -0
- package/dist/options/delete-after.d.ts +1 -0
- package/dist/options/delete-after.js +1 -0
- package/dist/options/disable-git-source.d.ts +1 -0
- package/dist/options/disable-git-source.js +1 -0
- package/dist/options/disable-shared-memory-capture.d.ts +1 -0
- package/dist/options/disable-shared-memory-capture.js +1 -0
- package/dist/options/disable-web-security.d.ts +1 -0
- package/dist/options/disable-web-security.js +1 -0
- package/dist/options/disallow-parallel-encoding.d.ts +1 -0
- package/dist/options/disallow-parallel-encoding.js +1 -0
- package/dist/options/enable-cancellation.d.ts +1 -0
- package/dist/options/enable-cancellation.js +1 -0
- package/dist/options/enable-lambda-insights.d.ts +1 -0
- package/dist/options/enable-lambda-insights.js +1 -0
- package/dist/options/enable-multiprocess-on-linux.d.ts +1 -0
- package/dist/options/enable-multiprocess-on-linux.js +1 -0
- package/dist/options/encoding-buffer-size.d.ts +1 -0
- package/dist/options/encoding-buffer-size.js +1 -0
- package/dist/options/encoding-max-rate.d.ts +1 -0
- package/dist/options/encoding-max-rate.js +1 -0
- package/dist/options/enforce-audio.d.ts +1 -0
- package/dist/options/enforce-audio.js +1 -0
- package/dist/options/env-file.d.ts +1 -0
- package/dist/options/env-file.js +1 -0
- package/dist/options/every-nth-frame.d.ts +1 -0
- package/dist/options/every-nth-frame.js +1 -0
- package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -0
- package/dist/options/experimental-keep-audio-context-alive.js +1 -0
- package/dist/options/experimental-sequence-activity-limit.d.ts +19 -0
- package/dist/options/experimental-sequence-activity-limit.js +40 -0
- package/dist/options/experimental-sequence-activity.d.ts +19 -0
- package/dist/options/experimental-sequence-activity.js +38 -0
- package/dist/options/experimental-tracks.d.ts +1 -0
- package/dist/options/experimental-tracks.js +1 -0
- package/dist/options/folder-expiry.d.ts +1 -0
- package/dist/options/folder-expiry.js +1 -0
- package/dist/options/for-seamless-aac-concatenation.d.ts +1 -0
- package/dist/options/for-seamless-aac-concatenation.js +1 -0
- package/dist/options/force-new-studio.d.ts +1 -0
- package/dist/options/force-new-studio.js +1 -0
- package/dist/options/frames.d.ts +1 -0
- package/dist/options/frames.js +1 -0
- package/dist/options/gl.d.ts +1 -0
- package/dist/options/gl.js +1 -0
- package/dist/options/gop-size.d.ts +1 -0
- package/dist/options/gop-size.js +1 -0
- package/dist/options/hardware-acceleration.d.ts +1 -0
- package/dist/options/hardware-acceleration.js +1 -0
- package/dist/options/headless.d.ts +1 -0
- package/dist/options/headless.js +1 -0
- package/dist/options/ignore-certificate-errors.d.ts +1 -0
- package/dist/options/ignore-certificate-errors.js +1 -0
- package/dist/options/image-sequence-pattern.d.ts +1 -0
- package/dist/options/image-sequence-pattern.js +1 -0
- package/dist/options/image-sequence.d.ts +1 -0
- package/dist/options/image-sequence.js +1 -0
- package/dist/options/index.d.ts +163 -7
- package/dist/options/index.js +8 -2
- package/dist/options/interactivity.d.ts +1 -0
- package/dist/options/interactivity.js +1 -0
- package/dist/options/ipv4.d.ts +1 -0
- package/dist/options/ipv4.js +1 -0
- package/dist/options/is-production.d.ts +1 -0
- package/dist/options/is-production.js +1 -0
- package/dist/options/jpeg-quality.d.ts +1 -0
- package/dist/options/jpeg-quality.js +1 -0
- package/dist/options/keyboard-shortcuts.d.ts +1 -0
- package/dist/options/keyboard-shortcuts.js +1 -0
- package/dist/options/latency-hint.d.ts +1 -0
- package/dist/options/latency-hint.js +1 -0
- package/dist/options/license-key.d.ts +1 -0
- package/dist/options/license-key.js +1 -0
- package/dist/options/log-level.d.ts +1 -0
- package/dist/options/log-level.js +1 -0
- package/dist/options/metadata.d.ts +1 -0
- package/dist/options/metadata.js +1 -0
- package/dist/options/mute.d.ts +1 -0
- package/dist/options/mute.js +1 -0
- package/dist/options/no-open.d.ts +1 -0
- package/dist/options/no-open.js +1 -0
- package/dist/options/number-of-gif-loops.d.ts +1 -0
- package/dist/options/number-of-gif-loops.js +1 -0
- package/dist/options/number-of-shared-audio-tags.d.ts +1 -0
- package/dist/options/number-of-shared-audio-tags.js +1 -0
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -0
- package/dist/options/offthreadvideo-cache-size.js +1 -0
- package/dist/options/offthreadvideo-threads.d.ts +1 -0
- package/dist/options/offthreadvideo-threads.js +1 -0
- package/dist/options/on-browser-download.d.ts +1 -0
- package/dist/options/on-browser-download.js +1 -0
- package/dist/options/option.d.ts +1 -0
- package/dist/options/options-map.d.ts +140 -0
- package/dist/options/out-dir.d.ts +1 -0
- package/dist/options/out-dir.js +1 -0
- package/dist/options/override-duration.d.ts +1 -0
- package/dist/options/override-duration.js +1 -0
- package/dist/options/override-fps.d.ts +1 -0
- package/dist/options/override-fps.js +1 -0
- package/dist/options/override-height.d.ts +1 -0
- package/dist/options/override-height.js +1 -0
- package/dist/options/override-width.d.ts +1 -0
- package/dist/options/override-width.js +1 -0
- package/dist/options/overwrite.d.ts +1 -0
- package/dist/options/overwrite.js +1 -0
- package/dist/options/package-manager.d.ts +1 -0
- package/dist/options/package-manager.js +1 -0
- package/dist/options/pixel-format.d.ts +1 -0
- package/dist/options/pixel-format.js +1 -0
- package/dist/options/port.d.ts +1 -0
- package/dist/options/port.js +1 -0
- package/dist/options/prefer-lossless.d.ts +1 -0
- package/dist/options/prefer-lossless.js +1 -0
- package/dist/options/preview-sample-rate.d.ts +1 -0
- package/dist/options/preview-sample-rate.js +1 -0
- package/dist/options/props.d.ts +1 -0
- package/dist/options/props.js +1 -0
- package/dist/options/prores-profile.d.ts +1 -0
- package/dist/options/prores-profile.js +1 -0
- package/dist/options/public-dir.d.ts +1 -0
- package/dist/options/public-dir.js +1 -0
- package/dist/options/public-license-key.d.ts +1 -0
- package/dist/options/public-license-key.js +1 -0
- package/dist/options/public-path.d.ts +1 -0
- package/dist/options/public-path.js +1 -0
- package/dist/options/repro.d.ts +1 -0
- package/dist/options/repro.js +1 -0
- package/dist/options/rspack.d.ts +1 -0
- package/dist/options/rspack.js +1 -0
- package/dist/options/runs.d.ts +1 -0
- package/dist/options/runs.js +1 -0
- package/dist/options/sample-rate.d.ts +1 -0
- package/dist/options/sample-rate.js +1 -0
- package/dist/options/scale.d.ts +1 -0
- package/dist/options/scale.js +1 -0
- package/dist/options/separate-audio.d.ts +1 -0
- package/dist/options/separate-audio.js +2 -1
- package/dist/options/sequence-activity-limit.d.ts +19 -0
- package/dist/options/sequence-activity-limit.js +44 -0
- package/dist/options/show-layer-frame-numbers.d.ts +19 -0
- package/dist/options/show-layer-frame-numbers.js +34 -0
- package/dist/options/{experimental-client-side-rendering.d.ts → show-premounting.d.ts} +6 -3
- package/dist/options/show-premounting.js +33 -0
- package/dist/options/skip-skills.d.ts +1 -0
- package/dist/options/skip-skills.js +1 -0
- package/dist/options/still-frame.d.ts +1 -0
- package/dist/options/still-frame.js +1 -0
- package/dist/options/still-image-format.d.ts +1 -0
- package/dist/options/still-image-format.js +1 -0
- package/dist/options/throw-if-site-exists.d.ts +1 -0
- package/dist/options/throw-if-site-exists.js +1 -0
- package/dist/options/timeout.d.ts +1 -0
- package/dist/options/timeout.js +1 -0
- package/dist/options/user-agent.d.ts +1 -0
- package/dist/options/user-agent.js +1 -0
- package/dist/options/version-flag.d.ts +1 -0
- package/dist/options/version-flag.js +1 -0
- package/dist/options/video-bitrate.d.ts +1 -0
- package/dist/options/video-bitrate.js +1 -0
- package/dist/options/video-cache-size.d.ts +1 -0
- package/dist/options/video-cache-size.js +1 -0
- package/dist/options/video-codec.d.ts +1 -0
- package/dist/options/video-codec.js +1 -0
- package/dist/options/video-image-format.d.ts +1 -0
- package/dist/options/video-image-format.js +1 -0
- package/dist/options/webhook-custom-data.d.ts +1 -0
- package/dist/options/webhook-custom-data.js +1 -0
- package/dist/options/webpack-poll.d.ts +1 -0
- package/dist/options/webpack-poll.js +1 -0
- package/dist/options/x264-preset.d.ts +1 -0
- package/dist/options/x264-preset.js +1 -0
- package/dist/prespawn-ffmpeg.js +10 -5
- package/dist/stringify-ffmpeg-filter.js +8 -4
- package/package.json +16 -14
- package/dist/options/experimental-client-side-rendering.js +0 -30
- package/dist/prestitcher-memory-usage.d.ts +0 -13
- package/dist/prestitcher-memory-usage.js +0 -33
- package/dist/render-partitions.d.ts +0 -7
- package/dist/render-partitions.js +0 -50
package/dist/options/out-dir.js
CHANGED
|
@@ -6,6 +6,7 @@ const cliFlag = 'out-dir';
|
|
|
6
6
|
let currentOutDir = null;
|
|
7
7
|
exports.outDirOption = {
|
|
8
8
|
name: 'Output Directory',
|
|
9
|
+
addedIn: '4.0.426',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => {
|
|
11
12
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Define the location of the resulting bundle. By default it is a folder called ",
|
|
@@ -7,6 +7,7 @@ let currentDuration = null;
|
|
|
7
7
|
const cliFlag = 'duration';
|
|
8
8
|
exports.overrideDurationOption = {
|
|
9
9
|
name: 'Override Duration',
|
|
10
|
+
addedIn: '4.0.424',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the duration in frames of the composition." }),
|
|
12
13
|
ssrName: null,
|
|
@@ -7,6 +7,7 @@ let currentFps = null;
|
|
|
7
7
|
const cliFlag = 'fps';
|
|
8
8
|
exports.overrideFpsOption = {
|
|
9
9
|
name: 'Override FPS',
|
|
10
|
+
addedIn: '4.0.424',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the frames per second of the composition." }),
|
|
12
13
|
ssrName: null,
|
|
@@ -7,6 +7,7 @@ let currentHeight = null;
|
|
|
7
7
|
const cliFlag = 'height';
|
|
8
8
|
exports.overrideHeightOption = {
|
|
9
9
|
name: 'Override Height',
|
|
10
|
+
addedIn: '3.2.40',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the height of the composition." }),
|
|
12
13
|
ssrName: null,
|
|
@@ -7,6 +7,7 @@ let currentWidth = null;
|
|
|
7
7
|
const cliFlag = 'width';
|
|
8
8
|
exports.overrideWidthOption = {
|
|
9
9
|
name: 'Override Width',
|
|
10
|
+
addedIn: '3.2.40',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the width of the composition." }),
|
|
12
13
|
ssrName: null,
|
|
@@ -11,6 +11,7 @@ const validate = (value) => {
|
|
|
11
11
|
};
|
|
12
12
|
exports.overwriteOption = {
|
|
13
13
|
name: 'Overwrite output',
|
|
14
|
+
addedIn: '1.0.0',
|
|
14
15
|
cliFlag,
|
|
15
16
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["If set to ",
|
|
16
17
|
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'package-manager';
|
|
|
6
6
|
let currentPackageManager = null;
|
|
7
7
|
exports.packageManagerOption = {
|
|
8
8
|
name: 'Package Manager',
|
|
9
|
+
addedIn: '3.2.33',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => {
|
|
11
12
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
|
|
@@ -7,6 +7,7 @@ let currentPixelFormat = pixel_format_1.DEFAULT_PIXEL_FORMAT;
|
|
|
7
7
|
const cliFlag = 'pixel-format';
|
|
8
8
|
exports.pixelFormatOption = {
|
|
9
9
|
name: 'Pixel format',
|
|
10
|
+
addedIn: '1.4.0',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Sets the pixel format in FFmpeg. See", ' ', jsx_runtime_1.jsx("a", { href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling", children: "the FFmpeg docs for an explanation" }),
|
|
12
13
|
". Acceptable values: ", pixel_format_1.validPixelFormats.map((f) => `"${f}"`).join(', '), "."] })),
|
package/dist/options/port.d.ts
CHANGED
package/dist/options/port.js
CHANGED
|
@@ -6,6 +6,7 @@ const cliFlag = 'port';
|
|
|
6
6
|
let currentPort = null;
|
|
7
7
|
exports.portOption = {
|
|
8
8
|
name: 'Port',
|
|
9
|
+
addedIn: '2.1.3',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set a custom HTTP server port for the Studio or the render process. If not defined, Remotion will try to find a free port." })),
|
|
11
12
|
ssrName: null,
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'prefer-lossless';
|
|
|
6
6
|
let input = false;
|
|
7
7
|
exports.preferLosslessAudioOption = {
|
|
8
8
|
name: 'Prefer lossless',
|
|
9
|
+
addedIn: '4.0.123',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Uses a lossless audio codec, if one is available for the codec. If you set",
|
|
11
12
|
jsx_runtime_1.jsx("code", { children: "audioCodec" }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'preview-sample-rate';
|
|
|
6
6
|
let currentPreviewSampleRate = null;
|
|
7
7
|
exports.previewSampleRateOption = {
|
|
8
8
|
name: 'Preview Sample Rate',
|
|
9
|
+
addedIn: '4.0.470',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
|
|
11
12
|
jsx_runtime_1.jsx("code", { children: "48000" }),
|
package/dist/options/props.d.ts
CHANGED
package/dist/options/props.js
CHANGED
|
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const cliFlag = 'props';
|
|
6
6
|
exports.propsOption = {
|
|
7
7
|
name: 'Input Props',
|
|
8
|
+
addedIn: '1.0.0',
|
|
8
9
|
cliFlag,
|
|
9
10
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
|
|
10
11
|
jsx_runtime_1.jsxs("code", { children: ["--props='", '{', "\"hello\": \"world\"", '}', "'"] }),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type ProResProfile = '4444-xq' | '4444' | 'hq' | 'standard' | 'light' | 'proxy';
|
|
2
2
|
export declare const proResProfileOption: {
|
|
3
3
|
name: string;
|
|
4
|
+
addedIn: string;
|
|
4
5
|
cliFlag: "prores-profile";
|
|
5
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
ssrName: "proResProfile";
|
|
@@ -14,6 +14,7 @@ let proResProfile;
|
|
|
14
14
|
const cliFlag = 'prores-profile';
|
|
15
15
|
exports.proResProfileOption = {
|
|
16
16
|
name: 'ProRes profile',
|
|
17
|
+
addedIn: '2.1.6',
|
|
17
18
|
cliFlag,
|
|
18
19
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the ProRes profile. This option is only valid if the codec has been set to ",
|
|
19
20
|
jsx_runtime_1.jsx("code", { children: "prores" }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'public-dir';
|
|
|
6
6
|
let currentPublicDir = null;
|
|
7
7
|
exports.publicDirOption = {
|
|
8
8
|
name: 'Public Directory',
|
|
9
|
+
addedIn: '3.2.13',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => {
|
|
11
12
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Define the location of the", ' ', jsx_runtime_1.jsx("a", { href: "/docs/terminology/public-dir", children: jsx_runtime_1.jsx("code", { children: "public/ directory" }) }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'public-license-key';
|
|
|
6
6
|
let currentPublicLicenseKey = null;
|
|
7
7
|
exports.publicLicenseKeyOption = {
|
|
8
8
|
name: 'Public License Key',
|
|
9
|
+
addedIn: '4.0.398',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The public license key for your company license, obtained from the License keys page on ",
|
|
11
12
|
jsx_runtime_1.jsx("a", { href: "https://remotion.pro/dashboard", children: "remotion.pro" }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'public-path';
|
|
|
6
6
|
let currentPublicPath = null;
|
|
7
7
|
exports.publicPathOption = {
|
|
8
8
|
name: 'Public Path',
|
|
9
|
+
addedIn: '4.0.127',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => {
|
|
11
12
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The path of the URL where the bundle is going to be hosted. By default it is ",
|
package/dist/options/repro.d.ts
CHANGED
package/dist/options/repro.js
CHANGED
|
@@ -9,6 +9,7 @@ const setRepro = (should) => {
|
|
|
9
9
|
const cliFlag = 'repro';
|
|
10
10
|
exports.reproOption = {
|
|
11
11
|
name: 'Create reproduction',
|
|
12
|
+
addedIn: '4.0.88',
|
|
12
13
|
cliFlag,
|
|
13
14
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Create a ZIP that you can submit to Remotion if asked for a reproduction." })),
|
|
14
15
|
ssrName: 'repro',
|
package/dist/options/rspack.d.ts
CHANGED
package/dist/options/rspack.js
CHANGED
|
@@ -7,6 +7,7 @@ let configuredRspackEnabled = null;
|
|
|
7
7
|
const cliFlag = 'rspack';
|
|
8
8
|
exports.rspackOption = {
|
|
9
9
|
name: 'Rspack',
|
|
10
|
+
addedIn: '4.0.502',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle." })),
|
|
12
13
|
ssrName: null,
|
package/dist/options/runs.d.ts
CHANGED
package/dist/options/runs.js
CHANGED
|
@@ -7,6 +7,7 @@ let currentRuns = DEFAULT_RUNS;
|
|
|
7
7
|
const cliFlag = 'runs';
|
|
8
8
|
exports.runsOption = {
|
|
9
9
|
name: 'Benchmark runs',
|
|
10
|
+
addedIn: '3.2.28',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify how many times the video should be rendered during a benchmark. Default ",
|
|
12
13
|
jsx_runtime_1.jsx("code", { children: DEFAULT_RUNS }),
|
|
@@ -6,6 +6,7 @@ const cliFlag = 'sample-rate';
|
|
|
6
6
|
let currentSampleRate = 48000;
|
|
7
7
|
exports.sampleRateOption = {
|
|
8
8
|
name: 'Sample Rate',
|
|
9
|
+
addedIn: '4.0.448',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Controls the sample rate of the output audio. The default is", ' ', jsx_runtime_1.jsx("code", { children: "48000" }),
|
|
11
12
|
" Hz. Match this to your source audio to avoid resampling artifacts."] })),
|
package/dist/options/scale.d.ts
CHANGED
package/dist/options/scale.js
CHANGED
|
@@ -11,6 +11,7 @@ const validateScale = (value) => {
|
|
|
11
11
|
};
|
|
12
12
|
exports.scaleOption = {
|
|
13
13
|
name: 'Scale',
|
|
14
|
+
addedIn: '2.6.7',
|
|
14
15
|
cliFlag,
|
|
15
16
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
|
|
16
17
|
jsx_runtime_1.jsx("code", { children: "1.5" }),
|
|
@@ -5,7 +5,7 @@ const DEFAULT = null;
|
|
|
5
5
|
const cliFlag = 'separate-audio-to';
|
|
6
6
|
exports.separateAudioOption = {
|
|
7
7
|
cliFlag,
|
|
8
|
-
description: () => `If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false.
|
|
8
|
+
description: () => `If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false. Audio-only renders, muted renders and codecs without audio support cannot use this option. For local renders, use an absolute path; relative paths are resolved against the Remotion Root. On Lambda, pass an output name or custom destination as described in renderMediaOnLambda().`,
|
|
9
9
|
docLink: 'https://www.remotion.dev/docs/options/separate-audio-to',
|
|
10
10
|
getValue: ({ commandLine }) => {
|
|
11
11
|
if (commandLine[cliFlag]) {
|
|
@@ -20,6 +20,7 @@ exports.separateAudioOption = {
|
|
|
20
20
|
};
|
|
21
21
|
},
|
|
22
22
|
name: 'Separate audio to',
|
|
23
|
+
addedIn: '4.0.123',
|
|
23
24
|
setConfig: () => {
|
|
24
25
|
throw new Error('Not implemented');
|
|
25
26
|
},
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const sequenceActivityLimitOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "sequence-activity-limit";
|
|
5
|
+
id: "sequence-activity-limit";
|
|
6
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
ssrName: null;
|
|
8
|
+
docLink: string;
|
|
9
|
+
type: number;
|
|
10
|
+
getValue: ({ commandLine }: {
|
|
11
|
+
commandLine: Record<string, unknown>;
|
|
12
|
+
}) => {
|
|
13
|
+
value: number;
|
|
14
|
+
source: string;
|
|
15
|
+
};
|
|
16
|
+
setConfig(value: number): void;
|
|
17
|
+
getConfigValue: () => number | null;
|
|
18
|
+
reset: () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sequenceActivityLimitOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const no_react_1 = require("remotion/no-react");
|
|
6
|
+
let configuredLimit = null;
|
|
7
|
+
const cliFlag = 'sequence-activity-limit';
|
|
8
|
+
exports.sequenceActivityLimitOption = {
|
|
9
|
+
name: 'Sequence Activity limit',
|
|
10
|
+
addedIn: '4.0.536',
|
|
11
|
+
cliFlag,
|
|
12
|
+
id: cliFlag,
|
|
13
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Limit hidden scenes discovered by Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to", ' ', jsx_runtime_1.jsx("code", { children: "Infinity" }),
|
|
14
|
+
" for unlimited discovery without admission delays. Must be a non-negative safe integer or ",
|
|
15
|
+
jsx_runtime_1.jsx("code", { children: "Infinity" }),
|
|
16
|
+
". Set to 0 to disable Sequence Activity. Finite limits prioritize nearby scenes. Does not affect rendering."] })),
|
|
17
|
+
ssrName: null,
|
|
18
|
+
docLink: 'https://www.remotion.dev/docs/options/sequence-activity-limit',
|
|
19
|
+
type: 0,
|
|
20
|
+
getValue: ({ commandLine }) => {
|
|
21
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
22
|
+
const value = commandLine[cliFlag] === 'Infinity' ? Infinity : commandLine[cliFlag];
|
|
23
|
+
if (value !== Infinity &&
|
|
24
|
+
(!Number.isSafeInteger(value) || value < 0)) {
|
|
25
|
+
throw new Error('Sequence Activity limit must be a non-negative safe integer or Infinity.');
|
|
26
|
+
}
|
|
27
|
+
return { value: value, source: 'cli' };
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
value: configuredLimit !== null && configuredLimit !== void 0 ? configuredLimit : no_react_1.NoReactInternals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
|
|
31
|
+
source: 'config',
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
setConfig(value) {
|
|
35
|
+
if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
|
|
36
|
+
throw new Error('Sequence Activity limit must be a non-negative safe integer or Infinity.');
|
|
37
|
+
}
|
|
38
|
+
configuredLimit = value;
|
|
39
|
+
},
|
|
40
|
+
getConfigValue: () => configuredLimit,
|
|
41
|
+
reset: () => {
|
|
42
|
+
configuredLimit = null;
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const showLayerFrameNumbersOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "show-layer-frame-numbers";
|
|
5
|
+
id: "show-layer-frame-numbers";
|
|
6
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
ssrName: null;
|
|
8
|
+
docLink: string;
|
|
9
|
+
type: boolean;
|
|
10
|
+
getValue: ({ commandLine }: {
|
|
11
|
+
commandLine: Record<string, unknown>;
|
|
12
|
+
}) => {
|
|
13
|
+
value: boolean;
|
|
14
|
+
source: string;
|
|
15
|
+
};
|
|
16
|
+
setConfig(value: boolean): void;
|
|
17
|
+
getConfigValue: () => boolean | null;
|
|
18
|
+
reset: () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.showLayerFrameNumbersOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let configuredShowLayerFrameNumbers = null;
|
|
6
|
+
const cliFlag = 'show-layer-frame-numbers';
|
|
7
|
+
exports.showLayerFrameNumbersOption = {
|
|
8
|
+
name: 'Show frame numbers of layer',
|
|
9
|
+
addedIn: '4.0.535',
|
|
10
|
+
cliFlag,
|
|
11
|
+
id: cliFlag,
|
|
12
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Show the current frame number inside sequence layers in the Studio timeline. Defaults to ",
|
|
13
|
+
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
14
|
+
"."] })),
|
|
15
|
+
ssrName: null,
|
|
16
|
+
docLink: 'https://www.remotion.dev/docs/options/show-layer-frame-numbers',
|
|
17
|
+
type: false,
|
|
18
|
+
getValue: ({ commandLine }) => {
|
|
19
|
+
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
20
|
+
return { value: commandLine[cliFlag], source: 'cli' };
|
|
21
|
+
}
|
|
22
|
+
return { value: configuredShowLayerFrameNumbers !== null && configuredShowLayerFrameNumbers !== void 0 ? configuredShowLayerFrameNumbers : false, source: 'config' };
|
|
23
|
+
},
|
|
24
|
+
setConfig(value) {
|
|
25
|
+
if (typeof value !== 'boolean') {
|
|
26
|
+
throw new Error('Config.setShowLayerFrameNumbers() expects a boolean');
|
|
27
|
+
}
|
|
28
|
+
configuredShowLayerFrameNumbers = value;
|
|
29
|
+
},
|
|
30
|
+
getConfigValue: () => configuredShowLayerFrameNumbers,
|
|
31
|
+
reset: () => {
|
|
32
|
+
configuredShowLayerFrameNumbers = null;
|
|
33
|
+
},
|
|
34
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const showPremountingOption: {
|
|
2
2
|
name: string;
|
|
3
|
-
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "show-premounting";
|
|
5
|
+
id: "show-premounting";
|
|
4
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
ssrName: null;
|
|
6
8
|
docLink: string;
|
|
@@ -12,5 +14,6 @@ export declare const experimentalClientSideRenderingOption: {
|
|
|
12
14
|
source: string;
|
|
13
15
|
};
|
|
14
16
|
setConfig(value: boolean): void;
|
|
15
|
-
|
|
17
|
+
getConfigValue: () => boolean | null;
|
|
18
|
+
reset: () => void;
|
|
16
19
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.showPremountingOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let configuredShowPremounting = null;
|
|
6
|
+
const cliFlag = 'show-premounting';
|
|
7
|
+
exports.showPremountingOption = {
|
|
8
|
+
name: 'Show premounting in the Studio timeline',
|
|
9
|
+
addedIn: '4.0.535',
|
|
10
|
+
cliFlag,
|
|
11
|
+
id: cliFlag,
|
|
12
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Show premounting indicators in the Studio timeline. Defaults to", ' ', jsx_runtime_1.jsx("code", { children: "false" }),
|
|
13
|
+
"."] })),
|
|
14
|
+
ssrName: null,
|
|
15
|
+
docLink: 'https://www.remotion.dev/docs/options/show-premounting',
|
|
16
|
+
type: true,
|
|
17
|
+
getValue: ({ commandLine }) => {
|
|
18
|
+
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
19
|
+
return { value: commandLine[cliFlag], source: 'cli' };
|
|
20
|
+
}
|
|
21
|
+
return { value: configuredShowPremounting !== null && configuredShowPremounting !== void 0 ? configuredShowPremounting : false, source: 'config' };
|
|
22
|
+
},
|
|
23
|
+
setConfig(value) {
|
|
24
|
+
if (typeof value !== 'boolean') {
|
|
25
|
+
throw new Error('Config.setShowPremounting() expects a boolean');
|
|
26
|
+
}
|
|
27
|
+
configuredShowPremounting = value;
|
|
28
|
+
},
|
|
29
|
+
getConfigValue: () => configuredShowPremounting,
|
|
30
|
+
reset: () => {
|
|
31
|
+
configuredShowPremounting = null;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const cliFlag = 'skip-skills';
|
|
6
6
|
exports.skipSkillsOption = {
|
|
7
7
|
name: 'Skip Skills',
|
|
8
|
+
addedIn: '4.0.503',
|
|
8
9
|
cliFlag,
|
|
9
10
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Do not update installed Remotion Agent Skills while upgrading Remotion." })),
|
|
10
11
|
ssrName: null,
|
|
@@ -14,6 +14,7 @@ const validate = (frame) => {
|
|
|
14
14
|
};
|
|
15
15
|
exports.stillFrameOption = {
|
|
16
16
|
name: 'Frame',
|
|
17
|
+
addedIn: '2.3.0',
|
|
17
18
|
cliFlag,
|
|
18
19
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Which frame should be rendered when rendering a still. Default", ' ', jsx_runtime_1.jsx("code", { children: "0" }),
|
|
19
20
|
". From v3.2.27, negative values are allowed, with", ' ', jsx_runtime_1.jsx("code", { children: "-1" }),
|
|
@@ -7,6 +7,7 @@ let currentStillImageFormat = null;
|
|
|
7
7
|
const cliFlag = 'image-format';
|
|
8
8
|
exports.stillImageFormatOption = {
|
|
9
9
|
name: 'Still Image Format',
|
|
10
|
+
addedIn: '2.3.0',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The image format to use when rendering a still. Must be one of", ' ', image_format_1.validStillImageFormats.map((f) => `"${f}"`).join(', '), ". Default:", ' ', jsx_runtime_1.jsx("code", { children: "\"png\"" }),
|
|
12
13
|
"."] })),
|