@remotion/renderer 4.0.533 → 4.0.535
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/aac-priming.js +6 -2
- package/dist/browser/BrowserFetcher.d.ts +7 -1
- package/dist/browser/BrowserFetcher.js +33 -13
- package/dist/browser/BrowserPage.js +4 -0
- package/dist/browser/Connection.js +5 -17
- package/dist/browser/DOMWorld.js +19 -13
- package/dist/browser/devtools-commands.d.ts +13 -1
- package/dist/browser/devtools-types.d.ts +62 -0
- package/dist/browser/get-chrome-download-url.d.ts +1 -1
- package/dist/browser/get-chrome-download-url.js +19 -33
- package/dist/can-use-parallel-encoding.d.ts +0 -1
- package/dist/can-use-parallel-encoding.js +10 -10
- package/dist/client.d.ts +402 -4
- package/dist/client.js +2 -0
- 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/cycle-browser-tabs.js +9 -1
- package/dist/ensure-browser.d.ts +3 -0
- package/dist/ensure-browser.js +30 -6
- package/dist/esm/client.mjs +1325 -954
- package/dist/esm/index.mjs +4465 -3324
- package/dist/esm/pure.mjs +36 -10
- package/dist/file-extensions.js +4 -1
- package/dist/get-mp4-brand.d.ts +1 -0
- package/dist/get-mp4-brand.js +21 -0
- package/dist/get-video-threads-flag.js +5 -1
- package/dist/image-format.d.ts +1 -0
- package/dist/image-format.js +8 -4
- package/dist/index.d.ts +58 -2
- package/dist/index.js +4 -0
- package/dist/memory/from-macos-sysctl.d.ts +1 -0
- package/dist/memory/from-macos-sysctl.js +50 -0
- package/dist/memory/from-proc-meminfo.d.ts +1 -1
- package/dist/memory/from-proc-meminfo.js +7 -4
- package/dist/memory/get-available-memory.js +29 -21
- package/dist/mux-video-and-audio.js +11 -2
- package/dist/next-frame-to-render.d.ts +3 -7
- package/dist/next-frame-to-render.js +3 -22
- package/dist/open-browser.js +1 -0
- package/dist/options/allow-html-in-canvas.d.ts +1 -0
- package/dist/options/allow-html-in-canvas.js +2 -1
- package/dist/options/api-key.d.ts +1 -0
- package/dist/options/api-key.js +2 -1
- package/dist/options/ask-ai.d.ts +1 -0
- package/dist/options/ask-ai.js +2 -1
- package/dist/options/audio-bitrate.d.ts +1 -0
- package/dist/options/audio-bitrate.js +2 -1
- package/dist/options/audio-codec.d.ts +1 -0
- package/dist/options/audio-codec.js +13 -6
- package/dist/options/beep-on-finish.d.ts +1 -0
- package/dist/options/beep-on-finish.js +2 -1
- package/dist/options/benchmark-concurrencies.d.ts +1 -0
- package/dist/options/benchmark-concurrencies.js +2 -1
- package/dist/options/binaries-directory.d.ts +1 -0
- package/dist/options/binaries-directory.js +2 -1
- package/dist/options/browser-executable.d.ts +1 -0
- package/dist/options/browser-executable.js +2 -1
- package/dist/options/browser.d.ts +1 -0
- package/dist/options/browser.js +2 -1
- package/dist/options/bundle-cache.d.ts +1 -0
- package/dist/options/bundle-cache.js +2 -1
- package/dist/options/canvas-tabs.d.ts +1 -0
- package/dist/options/canvas-tabs.js +2 -1
- package/dist/options/chrome-mode.d.ts +1 -0
- package/dist/options/chrome-mode.js +2 -1
- package/dist/options/color-space.d.ts +1 -0
- package/dist/options/color-space.js +2 -1
- package/dist/options/concurrency.d.ts +1 -0
- package/dist/options/concurrency.js +2 -1
- package/dist/options/config.d.ts +1 -0
- package/dist/options/config.js +2 -1
- package/dist/options/crf.d.ts +1 -0
- package/dist/options/crf.js +2 -1
- package/dist/options/cross-site-isolation.d.ts +1 -0
- package/dist/options/cross-site-isolation.js +2 -1
- package/dist/options/dark-mode.d.ts +1 -0
- package/dist/options/dark-mode.js +2 -1
- package/dist/options/default-coding-agent.d.ts +1 -0
- package/dist/options/default-coding-agent.js +2 -1
- package/dist/options/default-editor.d.ts +1 -0
- package/dist/options/default-editor.js +2 -1
- 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 +2 -1
- package/dist/options/disable-git-source.d.ts +1 -0
- package/dist/options/disable-git-source.js +2 -1
- package/dist/options/disable-shared-memory-capture.d.ts +17 -0
- package/dist/options/disable-shared-memory-capture.js +30 -0
- package/dist/options/disable-web-security.d.ts +1 -0
- package/dist/options/disable-web-security.js +2 -1
- package/dist/options/disallow-parallel-encoding.d.ts +1 -0
- package/dist/options/disallow-parallel-encoding.js +2 -1
- package/dist/options/enable-cancellation.d.ts +1 -0
- package/dist/options/enable-cancellation.js +2 -1
- package/dist/options/enable-lambda-insights.d.ts +1 -0
- package/dist/options/enable-lambda-insights.js +2 -1
- package/dist/options/enable-multiprocess-on-linux.d.ts +1 -0
- package/dist/options/enable-multiprocess-on-linux.js +2 -1
- package/dist/options/encoding-buffer-size.d.ts +1 -0
- package/dist/options/encoding-buffer-size.js +2 -1
- package/dist/options/encoding-max-rate.d.ts +1 -0
- package/dist/options/encoding-max-rate.js +2 -1
- package/dist/options/enforce-audio.d.ts +1 -0
- package/dist/options/enforce-audio.js +2 -1
- package/dist/options/env-file.d.ts +1 -0
- package/dist/options/env-file.js +2 -1
- package/dist/options/every-nth-frame.d.ts +1 -0
- package/dist/options/every-nth-frame.js +2 -1
- package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -0
- package/dist/options/experimental-keep-audio-context-alive.js +2 -1
- 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 +19 -0
- package/dist/options/experimental-tracks.js +43 -0
- package/dist/options/folder-expiry.d.ts +1 -0
- package/dist/options/folder-expiry.js +2 -1
- package/dist/options/for-seamless-aac-concatenation.d.ts +1 -0
- package/dist/options/for-seamless-aac-concatenation.js +2 -1
- package/dist/options/force-new-studio.d.ts +1 -0
- package/dist/options/force-new-studio.js +2 -1
- package/dist/options/frames.d.ts +1 -0
- package/dist/options/frames.js +2 -1
- package/dist/options/gl.d.ts +1 -0
- package/dist/options/gl.js +2 -1
- package/dist/options/gop-size.d.ts +1 -0
- package/dist/options/gop-size.js +2 -1
- package/dist/options/hardware-acceleration.d.ts +1 -0
- package/dist/options/hardware-acceleration.js +2 -1
- package/dist/options/headless.d.ts +1 -0
- package/dist/options/headless.js +2 -1
- package/dist/options/ignore-certificate-errors.d.ts +1 -0
- package/dist/options/ignore-certificate-errors.js +2 -1
- package/dist/options/image-sequence-pattern.d.ts +2 -1
- package/dist/options/image-sequence-pattern.js +2 -1
- package/dist/options/image-sequence.d.ts +1 -0
- package/dist/options/image-sequence.js +2 -1
- package/dist/options/index.d.ts +211 -2
- package/dist/options/index.js +12 -0
- package/dist/options/interactivity.d.ts +1 -0
- package/dist/options/interactivity.js +2 -1
- package/dist/options/ipv4.d.ts +1 -0
- package/dist/options/ipv4.js +2 -1
- package/dist/options/is-production.d.ts +1 -0
- package/dist/options/is-production.js +2 -1
- package/dist/options/jpeg-quality.d.ts +1 -0
- package/dist/options/jpeg-quality.js +6 -2
- package/dist/options/keyboard-shortcuts.d.ts +1 -0
- package/dist/options/keyboard-shortcuts.js +2 -1
- package/dist/options/latency-hint.d.ts +1 -0
- package/dist/options/latency-hint.js +2 -1
- package/dist/options/license-key.d.ts +1 -0
- package/dist/options/license-key.js +2 -1
- package/dist/options/log-level.d.ts +1 -0
- package/dist/options/log-level.js +2 -1
- package/dist/options/metadata.d.ts +1 -0
- package/dist/options/metadata.js +2 -1
- package/dist/options/mute.d.ts +1 -0
- package/dist/options/mute.js +2 -1
- package/dist/options/no-open.d.ts +1 -0
- package/dist/options/no-open.js +2 -1
- package/dist/options/number-of-gif-loops.d.ts +1 -0
- package/dist/options/number-of-gif-loops.js +2 -1
- package/dist/options/number-of-shared-audio-tags.d.ts +1 -0
- package/dist/options/number-of-shared-audio-tags.js +2 -1
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -0
- package/dist/options/offthreadvideo-cache-size.js +2 -1
- package/dist/options/offthreadvideo-threads.d.ts +1 -0
- package/dist/options/offthreadvideo-threads.js +2 -1
- package/dist/options/on-browser-download.d.ts +1 -0
- package/dist/options/on-browser-download.js +2 -1
- package/dist/options/option.d.ts +1 -0
- package/dist/options/options-map.d.ts +189 -1
- package/dist/options/options-map.js +4 -0
- package/dist/options/out-dir.d.ts +1 -0
- package/dist/options/out-dir.js +2 -1
- package/dist/options/override-duration.d.ts +1 -0
- package/dist/options/override-duration.js +2 -1
- package/dist/options/override-fps.d.ts +1 -0
- package/dist/options/override-fps.js +2 -1
- package/dist/options/override-height.d.ts +1 -0
- package/dist/options/override-height.js +2 -1
- package/dist/options/override-width.d.ts +1 -0
- package/dist/options/override-width.js +2 -1
- package/dist/options/overwrite.d.ts +1 -0
- package/dist/options/overwrite.js +2 -1
- package/dist/options/package-manager.d.ts +1 -0
- package/dist/options/package-manager.js +2 -1
- package/dist/options/pixel-format.d.ts +1 -0
- package/dist/options/pixel-format.js +2 -1
- package/dist/options/port.d.ts +1 -0
- package/dist/options/port.js +2 -1
- package/dist/options/prefer-lossless.d.ts +1 -0
- package/dist/options/prefer-lossless.js +2 -1
- package/dist/options/preview-sample-rate.d.ts +1 -0
- package/dist/options/preview-sample-rate.js +2 -1
- package/dist/options/props.d.ts +1 -0
- package/dist/options/props.js +2 -1
- package/dist/options/prores-profile.d.ts +1 -0
- package/dist/options/prores-profile.js +2 -1
- package/dist/options/public-dir.d.ts +1 -0
- package/dist/options/public-dir.js +2 -1
- package/dist/options/public-license-key.d.ts +1 -0
- package/dist/options/public-license-key.js +2 -1
- package/dist/options/public-path.d.ts +1 -0
- package/dist/options/public-path.js +2 -1
- package/dist/options/repro.d.ts +1 -0
- package/dist/options/repro.js +2 -1
- package/dist/options/rspack.d.ts +2 -1
- package/dist/options/rspack.js +2 -1
- package/dist/options/runs.d.ts +1 -0
- package/dist/options/runs.js +2 -1
- package/dist/options/sample-rate.d.ts +1 -0
- package/dist/options/sample-rate.js +2 -1
- package/dist/options/scale.d.ts +1 -0
- package/dist/options/scale.js +2 -1
- package/dist/options/separate-audio.d.ts +1 -0
- package/dist/options/separate-audio.js +3 -2
- package/dist/options/show-premounting.d.ts +19 -0
- package/dist/options/show-premounting.js +33 -0
- package/dist/options/skip-skills.d.ts +1 -0
- package/dist/options/skip-skills.js +2 -1
- package/dist/options/still-frame.d.ts +1 -0
- package/dist/options/still-frame.js +2 -1
- package/dist/options/still-image-format.d.ts +1 -0
- package/dist/options/still-image-format.js +2 -1
- package/dist/options/throw-if-site-exists.d.ts +1 -0
- package/dist/options/throw-if-site-exists.js +2 -1
- package/dist/options/timeout.d.ts +1 -0
- package/dist/options/timeout.js +2 -1
- package/dist/options/user-agent.d.ts +1 -0
- package/dist/options/user-agent.js +2 -1
- package/dist/options/version-flag.d.ts +1 -0
- package/dist/options/version-flag.js +2 -1
- package/dist/options/video-bitrate.d.ts +1 -0
- package/dist/options/video-bitrate.js +2 -1
- package/dist/options/video-cache-size.d.ts +1 -0
- package/dist/options/video-cache-size.js +2 -1
- package/dist/options/video-codec.d.ts +1 -0
- package/dist/options/video-codec.js +5 -3
- package/dist/options/video-image-format.d.ts +1 -0
- package/dist/options/video-image-format.js +7 -2
- package/dist/options/webhook-custom-data.d.ts +1 -0
- package/dist/options/webhook-custom-data.js +2 -1
- package/dist/options/webpack-poll.d.ts +1 -0
- package/dist/options/webpack-poll.js +2 -1
- package/dist/options/x264-preset.d.ts +1 -0
- package/dist/options/x264-preset.js +2 -1
- package/dist/prespawn-ffmpeg.d.ts +20 -0
- package/dist/prespawn-ffmpeg.js +157 -29
- package/dist/probe-shared-memory-capture.d.ts +8 -0
- package/dist/probe-shared-memory-capture.js +111 -0
- package/dist/puppeteer-screenshot.d.ts +3 -1
- package/dist/puppeteer-screenshot.js +1 -0
- package/dist/pure.d.ts +1 -1
- package/dist/remotion-shared-memory-ffmpeg.d.ts +26 -0
- package/dist/remotion-shared-memory-ffmpeg.js +312 -0
- package/dist/remotion-shared-memory.d.ts +49 -0
- package/dist/remotion-shared-memory.js +359 -0
- package/dist/render-frame-and-retry-target-close.d.ts +5 -2
- package/dist/render-frame-and-retry-target-close.js +20 -4
- package/dist/render-frame-with-option-to-reject.d.ts +4 -1
- package/dist/render-frame-with-option-to-reject.js +206 -115
- package/dist/render-frame.d.ts +4 -5
- package/dist/render-frame.js +3 -1
- package/dist/render-frames.d.ts +3 -0
- package/dist/render-frames.js +15 -18
- package/dist/render-media.d.ts +1 -1
- package/dist/render-media.js +131 -46
- package/dist/render-still.js +1 -0
- package/dist/screenshot-background.d.ts +2 -0
- package/dist/screenshot-background.js +20 -0
- package/dist/screenshot-task.d.ts +4 -2
- package/dist/screenshot-task.js +40 -21
- package/dist/seek-to-frame.js +1 -1
- package/dist/stitch-frames-to-video.js +71 -10
- package/dist/take-frame.d.ts +11 -3
- package/dist/take-frame.js +10 -8
- package/dist/validate-output-filename.d.ts +1 -1
- package/dist/validate-output-filename.js +10 -2
- package/package.json +13 -13
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const experimentalSequenceActivityLimitOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "experimental-sequence-activity-limit";
|
|
5
|
+
id: "experimental-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,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.experimentalSequenceActivityLimitOption = 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 = 'experimental-sequence-activity-limit';
|
|
8
|
+
exports.experimentalSequenceActivityLimitOption = {
|
|
9
|
+
name: 'Experimental hidden Sequence Activity limit',
|
|
10
|
+
addedIn: '4.0.535',
|
|
11
|
+
cliFlag,
|
|
12
|
+
id: cliFlag,
|
|
13
|
+
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Limit nearby hidden scenes discovered by experimental Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to 20. Must be a safe integer of at least -1. Set to 0 to disable hidden discovery, or -1 for unlimited discovery without admission delays. Only applies when experimental Sequence Activity is enabled. Does not affect rendering." })),
|
|
14
|
+
ssrName: null,
|
|
15
|
+
docLink: 'https://www.remotion.dev/docs/options/experimental-sequence-activity-limit',
|
|
16
|
+
type: 0,
|
|
17
|
+
getValue: ({ commandLine }) => {
|
|
18
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
19
|
+
const value = commandLine[cliFlag];
|
|
20
|
+
if (!Number.isSafeInteger(value) || value < -1) {
|
|
21
|
+
throw new Error('Sequence Activity limit must be a safe integer of at least -1.');
|
|
22
|
+
}
|
|
23
|
+
return { value: value, source: 'cli' };
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
value: configuredLimit !== null && configuredLimit !== void 0 ? configuredLimit : no_react_1.NoReactInternals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
|
|
27
|
+
source: 'config',
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
setConfig(value) {
|
|
31
|
+
if (!Number.isSafeInteger(value) || value < -1) {
|
|
32
|
+
throw new Error('Sequence Activity limit must be a safe integer of at least -1.');
|
|
33
|
+
}
|
|
34
|
+
configuredLimit = value;
|
|
35
|
+
},
|
|
36
|
+
getConfigValue: () => configuredLimit,
|
|
37
|
+
reset: () => {
|
|
38
|
+
configuredLimit = null;
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const experimentalSequenceActivityOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "experimental-sequence-activity";
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ssrName: null;
|
|
7
|
+
docLink: string;
|
|
8
|
+
type: boolean;
|
|
9
|
+
getValue: ({ commandLine }: {
|
|
10
|
+
commandLine: Record<string, unknown>;
|
|
11
|
+
}) => {
|
|
12
|
+
value: boolean;
|
|
13
|
+
source: string;
|
|
14
|
+
};
|
|
15
|
+
setConfig(value: boolean): void;
|
|
16
|
+
getConfigValue: () => boolean | null;
|
|
17
|
+
reset: () => void;
|
|
18
|
+
id: "experimental-sequence-activity";
|
|
19
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.experimentalSequenceActivityOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let experimentalSequenceActivityEnabled = false;
|
|
6
|
+
let configuredExperimentalSequenceActivityEnabled = null;
|
|
7
|
+
const cliFlag = 'experimental-sequence-activity';
|
|
8
|
+
exports.experimentalSequenceActivityOption = {
|
|
9
|
+
name: 'Enable experimental Sequence Activity',
|
|
10
|
+
addedIn: '4.0.535',
|
|
11
|
+
cliFlag,
|
|
12
|
+
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Discover layers in nearby hidden scenes in the Remotion Studio before they become visible. This experimental feature may use more CPU. Disabled by default. Does not affect rendering." })),
|
|
13
|
+
ssrName: null,
|
|
14
|
+
docLink: 'https://www.remotion.dev/docs/options/experimental-sequence-activity',
|
|
15
|
+
type: false,
|
|
16
|
+
getValue: ({ commandLine }) => {
|
|
17
|
+
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
18
|
+
return {
|
|
19
|
+
value: commandLine[cliFlag],
|
|
20
|
+
source: 'cli',
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
value: experimentalSequenceActivityEnabled,
|
|
25
|
+
source: 'config',
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
setConfig(value) {
|
|
29
|
+
experimentalSequenceActivityEnabled = value;
|
|
30
|
+
configuredExperimentalSequenceActivityEnabled = value;
|
|
31
|
+
},
|
|
32
|
+
getConfigValue: () => configuredExperimentalSequenceActivityEnabled,
|
|
33
|
+
reset: () => {
|
|
34
|
+
experimentalSequenceActivityEnabled = false;
|
|
35
|
+
configuredExperimentalSequenceActivityEnabled = null;
|
|
36
|
+
},
|
|
37
|
+
id: cliFlag,
|
|
38
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const experimentalTracksOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
addedIn: string;
|
|
4
|
+
cliFlag: "experimental-tracks";
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ssrName: null;
|
|
7
|
+
docLink: string;
|
|
8
|
+
type: boolean;
|
|
9
|
+
getValue: ({ commandLine }: {
|
|
10
|
+
commandLine: Record<string, unknown>;
|
|
11
|
+
}) => {
|
|
12
|
+
value: boolean;
|
|
13
|
+
source: string;
|
|
14
|
+
};
|
|
15
|
+
setConfig(value: boolean): void;
|
|
16
|
+
getConfigValue: () => boolean | null;
|
|
17
|
+
reset: () => void;
|
|
18
|
+
id: "experimental-tracks";
|
|
19
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.experimentalTracksOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let experimentalTracksEnabled = false;
|
|
6
|
+
let configuredExperimentalTracksEnabled = null;
|
|
7
|
+
const cliFlag = 'experimental-tracks';
|
|
8
|
+
exports.experimentalTracksOption = {
|
|
9
|
+
name: 'Enable experimental timeline tracks',
|
|
10
|
+
addedIn: '4.0.534',
|
|
11
|
+
cliFlag,
|
|
12
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable experimental timeline tracks in the Remotion Studio. Group clips from ",
|
|
13
|
+
jsx_runtime_1.jsx("code", { children: '<Track>' }),
|
|
14
|
+
", ",
|
|
15
|
+
jsx_runtime_1.jsx("code", { children: '<Series>' }),
|
|
16
|
+
" and", ' ', jsx_runtime_1.jsx("code", { children: '<TransitionSeries>' }),
|
|
17
|
+
" on shared rows, with overlays on additional rows. Disabled by default."] })),
|
|
18
|
+
ssrName: null,
|
|
19
|
+
docLink: 'https://www.remotion.dev/docs/options/experimental-tracks',
|
|
20
|
+
type: false,
|
|
21
|
+
getValue: ({ commandLine }) => {
|
|
22
|
+
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
23
|
+
return {
|
|
24
|
+
value: commandLine[cliFlag],
|
|
25
|
+
source: 'cli',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
value: experimentalTracksEnabled,
|
|
30
|
+
source: 'config',
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
setConfig(value) {
|
|
34
|
+
experimentalTracksEnabled = value;
|
|
35
|
+
configuredExperimentalTracksEnabled = value;
|
|
36
|
+
},
|
|
37
|
+
getConfigValue: () => configuredExperimentalTracksEnabled,
|
|
38
|
+
reset: () => {
|
|
39
|
+
experimentalTracksEnabled = false;
|
|
40
|
+
configuredExperimentalTracksEnabled = null;
|
|
41
|
+
},
|
|
42
|
+
id: cliFlag,
|
|
43
|
+
};
|
|
@@ -6,6 +6,7 @@ let enableFolderExpiry = null;
|
|
|
6
6
|
const cliFlag = 'enable-folder-expiry';
|
|
7
7
|
exports.folderExpiryOption = {
|
|
8
8
|
name: 'Lambda render expiration',
|
|
9
|
+
addedIn: '4.0.32',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => {
|
|
11
12
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is", ' ', jsx_runtime_1.jsx("code", { children: "null" }),
|
|
@@ -14,7 +15,7 @@ exports.folderExpiryOption = {
|
|
|
14
15
|
"."] }));
|
|
15
16
|
},
|
|
16
17
|
ssrName: 'enableFolderExpiry',
|
|
17
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
18
|
+
docLink: 'https://www.remotion.dev/docs/options/enable-folder-expiry',
|
|
18
19
|
type: false,
|
|
19
20
|
getValue: ({ commandLine }) => {
|
|
20
21
|
if (commandLine[cliFlag] !== undefined) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const getForSeamlessAacConcatenation: () => boolean;
|
|
2
2
|
export declare const forSeamlessAacConcatenationOption: {
|
|
3
3
|
name: string;
|
|
4
|
+
addedIn: string;
|
|
4
5
|
cliFlag: "for-seamless-aac-concatenation";
|
|
5
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
docLink: string;
|
|
@@ -11,11 +11,12 @@ exports.getForSeamlessAacConcatenation = getForSeamlessAacConcatenation;
|
|
|
11
11
|
const cliFlag = 'for-seamless-aac-concatenation';
|
|
12
12
|
exports.forSeamlessAacConcatenationOption = {
|
|
13
13
|
name: 'For seamless AAC concatenation',
|
|
14
|
+
addedIn: '4.0.123',
|
|
14
15
|
cliFlag,
|
|
15
16
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["If enabled, the audio is trimmed to the nearest AAC frame, which is required for seamless concatenation of AAC files. This is a requirement if you later want to combine multiple video snippets seamlessly.",
|
|
16
17
|
jsx_runtime_1.jsx("br", {}), jsx_runtime_1.jsx("br", {}),
|
|
17
18
|
" This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."] })),
|
|
18
|
-
docLink: 'https://remotion.dev/docs/
|
|
19
|
+
docLink: 'https://www.remotion.dev/docs/options/for-seamless-aac-concatenation',
|
|
19
20
|
getValue: ({ commandLine }) => {
|
|
20
21
|
if (commandLine[cliFlag]) {
|
|
21
22
|
return {
|
|
@@ -6,10 +6,11 @@ let forceNewEnabled = false;
|
|
|
6
6
|
const cliFlag = 'force-new';
|
|
7
7
|
exports.forceNewStudioOption = {
|
|
8
8
|
name: 'Force New Studio',
|
|
9
|
+
addedIn: '4.0.421',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Forces starting a new Studio instance even if one is already running on the same port for the same project." })),
|
|
11
12
|
ssrName: null,
|
|
12
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
13
|
+
docLink: 'https://www.remotion.dev/docs/options/force-new',
|
|
13
14
|
type: false,
|
|
14
15
|
getValue: ({ commandLine }) => {
|
|
15
16
|
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
package/dist/options/frames.d.ts
CHANGED
package/dist/options/frames.js
CHANGED
|
@@ -83,13 +83,14 @@ const parseFrameRangeFromCli = (newFrameRange) => {
|
|
|
83
83
|
};
|
|
84
84
|
exports.framesOption = {
|
|
85
85
|
name: 'Frame Range',
|
|
86
|
+
addedIn: '2.0.0',
|
|
86
87
|
cliFlag,
|
|
87
88
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
|
|
88
89
|
jsx_runtime_1.jsx("code", { children: "0-9" }),
|
|
89
90
|
") to render a subset of frames. Pass", ' ', jsx_runtime_1.jsx("code", { children: "100-" }),
|
|
90
91
|
" to render from frame 100 to the end."] })),
|
|
91
92
|
ssrName: 'frameRange',
|
|
92
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
93
|
+
docLink: 'https://www.remotion.dev/docs/options/frames',
|
|
93
94
|
type: null,
|
|
94
95
|
getValue: ({ commandLine }) => {
|
|
95
96
|
if (commandLine[cliFlag] !== undefined) {
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const glOption: {
|
|
|
8
8
|
cliFlag: "gl";
|
|
9
9
|
docLink: string;
|
|
10
10
|
name: string;
|
|
11
|
+
addedIn: string;
|
|
11
12
|
type: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
12
13
|
ssrName: string;
|
|
13
14
|
description: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/options/gl.js
CHANGED
|
@@ -39,8 +39,9 @@ const AngleChangelog = () => {
|
|
|
39
39
|
const cliFlag = 'gl';
|
|
40
40
|
exports.glOption = {
|
|
41
41
|
cliFlag,
|
|
42
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
42
|
+
docLink: 'https://www.remotion.dev/docs/options/gl',
|
|
43
43
|
name: 'OpenGL renderer',
|
|
44
|
+
addedIn: '2.6.5',
|
|
44
45
|
type: 'angle',
|
|
45
46
|
ssrName: 'gl',
|
|
46
47
|
description: () => {
|
package/dist/options/gop-size.js
CHANGED
|
@@ -18,12 +18,13 @@ exports.validateGopSize = validateGopSize;
|
|
|
18
18
|
const cliFlag = 'gop';
|
|
19
19
|
exports.gopSizeOption = {
|
|
20
20
|
name: 'GOP size',
|
|
21
|
+
addedIn: '4.0.466',
|
|
21
22
|
cliFlag,
|
|
22
23
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the maximum number of frames between two keyframes. This maps to FFmpeg's ",
|
|
23
24
|
jsx_runtime_1.jsx("code", { children: "-g" }),
|
|
24
25
|
" option. Default: Let the encoder decide."] })),
|
|
25
26
|
ssrName: 'gopSize',
|
|
26
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
27
|
+
docLink: 'https://www.remotion.dev/docs/options/gop',
|
|
27
28
|
type: null,
|
|
28
29
|
getValue: ({ commandLine }) => {
|
|
29
30
|
const value = commandLine[cliFlag];
|
|
@@ -3,6 +3,7 @@ export type HardwareAccelerationOption = (typeof hardwareAccelerationOptions)[nu
|
|
|
3
3
|
export declare const getHardwareAcceleration: () => "disable" | "if-possible" | "required" | null;
|
|
4
4
|
export declare const hardwareAccelerationOption: {
|
|
5
5
|
name: string;
|
|
6
|
+
addedIn: string;
|
|
6
7
|
cliFlag: "hardware-acceleration";
|
|
7
8
|
description: () => string;
|
|
8
9
|
ssrName: string;
|
|
@@ -14,6 +14,7 @@ const getHardwareAcceleration = () => {
|
|
|
14
14
|
exports.getHardwareAcceleration = getHardwareAcceleration;
|
|
15
15
|
exports.hardwareAccelerationOption = {
|
|
16
16
|
name: 'Hardware Acceleration',
|
|
17
|
+
addedIn: '4.0.228',
|
|
17
18
|
cliFlag,
|
|
18
19
|
description: () => `
|
|
19
20
|
One of
|
|
@@ -23,7 +24,7 @@ exports.hardwareAccelerationOption = {
|
|
|
23
24
|
available, then the render will fail.
|
|
24
25
|
`,
|
|
25
26
|
ssrName: 'hardwareAcceleration',
|
|
26
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
27
|
+
docLink: 'https://www.remotion.dev/docs/options/hardware-acceleration',
|
|
27
28
|
type: 'disable',
|
|
28
29
|
getValue: ({ commandLine }) => {
|
|
29
30
|
if (commandLine[cliFlag] !== undefined) {
|
package/dist/options/headless.js
CHANGED
|
@@ -7,10 +7,11 @@ let headlessMode = DEFAULT;
|
|
|
7
7
|
const cliFlag = 'disable-headless';
|
|
8
8
|
exports.headlessOption = {
|
|
9
9
|
name: 'Disable Headless Mode',
|
|
10
|
+
addedIn: '2.6.5',
|
|
10
11
|
cliFlag,
|
|
11
12
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["If disabled, the render will open an actual Chrome window where you can see the render happen. This requires", ' ', jsx_runtime_1.jsx("a", { href: "/docs/miscellaneous/chrome-headless-shell", children: "Chrome for Testing" }), ' ', "or a custom Chrome or Chromium executable. Chrome Headless Shell always runs headlessly. The default is headless mode."] })),
|
|
12
13
|
ssrName: 'headless',
|
|
13
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
14
|
+
docLink: 'https://www.remotion.dev/docs/options/disable-headless',
|
|
14
15
|
type: false,
|
|
15
16
|
getValue: ({ commandLine }) => {
|
|
16
17
|
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
@@ -6,10 +6,11 @@ let ignoreCertificateErrors = false;
|
|
|
6
6
|
const cliFlag = 'ignore-certificate-errors';
|
|
7
7
|
exports.ignoreCertificateErrorsOption = {
|
|
8
8
|
name: 'Ignore certificate errors',
|
|
9
|
+
addedIn: '2.6.5',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored." })),
|
|
11
12
|
ssrName: 'ignoreCertificateErrors',
|
|
12
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
13
|
+
docLink: 'https://www.remotion.dev/docs/options/ignore-certificate-errors',
|
|
13
14
|
type: false,
|
|
14
15
|
getValue: ({ commandLine }) => {
|
|
15
16
|
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export declare const imageSequencePatternOption: {
|
|
2
2
|
name: string;
|
|
3
|
+
addedIn: string;
|
|
3
4
|
cliFlag: "image-sequence-pattern";
|
|
4
5
|
ssrName: string;
|
|
5
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
docLink:
|
|
7
|
+
docLink: string;
|
|
7
8
|
type: string | null;
|
|
8
9
|
getValue: ({ commandLine }: {
|
|
9
10
|
commandLine: Record<string, unknown>;
|
|
@@ -7,6 +7,7 @@ let currentImageSequencePattern = null;
|
|
|
7
7
|
// Option for --image-sequence-pattern
|
|
8
8
|
exports.imageSequencePatternOption = {
|
|
9
9
|
name: 'Image Sequence Pattern',
|
|
10
|
+
addedIn: '4.0.313',
|
|
10
11
|
cliFlag,
|
|
11
12
|
ssrName: 'imageSequencePattern',
|
|
12
13
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Pattern for naming image sequence files. Supports ",
|
|
@@ -14,7 +15,7 @@ exports.imageSequencePatternOption = {
|
|
|
14
15
|
" for the zero-padded frame number and ",
|
|
15
16
|
jsx_runtime_1.jsx("code", { children: "[ext]" }),
|
|
16
17
|
" for the file extension."] })),
|
|
17
|
-
docLink:
|
|
18
|
+
docLink: 'https://www.remotion.dev/docs/options/image-sequence-pattern',
|
|
18
19
|
type: 'string',
|
|
19
20
|
getValue: ({ commandLine }) => {
|
|
20
21
|
if (commandLine[cliFlag] !== undefined) {
|
|
@@ -6,10 +6,11 @@ const cliFlag = 'sequence';
|
|
|
6
6
|
let imageSequence = false;
|
|
7
7
|
exports.imageSequenceOption = {
|
|
8
8
|
name: 'Image Sequence',
|
|
9
|
+
addedIn: '1.4.0',
|
|
9
10
|
cliFlag,
|
|
10
11
|
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See", ' ', jsx_runtime_1.jsx("a", { href: "/docs/config#setimagesequence", children: jsx_runtime_1.jsx("code", { children: "setImageSequence()" }) }), ' ', "for more details."] })),
|
|
11
12
|
ssrName: null,
|
|
12
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
13
|
+
docLink: 'https://www.remotion.dev/docs/options/sequence',
|
|
13
14
|
getValue: ({ commandLine }) => {
|
|
14
15
|
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
15
16
|
return {
|