@remotion/renderer 4.0.537 → 4.0.538
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.d.ts +2 -1
- package/dist/assets/apply-tone-frequency.d.ts +2 -1
- package/dist/assets/apply-tone-frequency.js +8 -1
- package/dist/assets/calculate-asset-positions.js +2 -0
- package/dist/assets/convert-assets-to-file-urls.d.ts +2 -1
- package/dist/assets/download-and-map-assets-to-file.d.ts +3 -2
- package/dist/assets/get-audio-channels.d.ts +3 -2
- package/dist/assets/inline-audio-mixing.d.ts +2 -1
- package/dist/assets/types.d.ts +2 -1
- package/dist/browser/Browser.d.ts +5 -5
- package/dist/browser/Browser.js +74 -65
- package/dist/browser/BrowserFetcher.d.ts +7 -5
- package/dist/browser/BrowserPage.d.ts +4 -4
- package/dist/browser/BrowserPage.js +222 -226
- package/dist/browser/BrowserRunner.d.ts +2 -1
- package/dist/browser/Connection.js +109 -96
- package/dist/browser/ConsoleMessage.d.ts +1 -1
- package/dist/browser/ConsoleMessage.js +16 -9
- package/dist/browser/DOMWorld.d.ts +1 -1
- package/dist/browser/DOMWorld.js +91 -77
- package/dist/browser/Errors.js +4 -2
- package/dist/browser/EventEmitter.js +1 -2
- package/dist/browser/ExecutionContext.js +120 -117
- package/dist/browser/FrameManager.js +244 -249
- package/dist/browser/HTTPRequest.js +22 -11
- package/dist/browser/HTTPResponse.js +16 -3
- package/dist/browser/JSHandle.js +30 -17
- package/dist/browser/LifecycleWatcher.js +128 -122
- package/dist/browser/NetworkEventManager.js +40 -31
- package/dist/browser/NetworkManager.js +203 -210
- package/dist/browser/NodeWebSocketTransport.js +0 -3
- package/dist/browser/Target.d.ts +1 -1
- package/dist/browser/Target.js +39 -32
- package/dist/browser/TaskQueue.js +18 -5
- package/dist/browser/TimeoutSettings.js +25 -12
- package/dist/browser/browser-download-progress-bar.d.ts +2 -1
- package/dist/browser/get-chrome-download-url.d.ts +3 -2
- package/dist/browser/handle-failed-resource.d.ts +2 -1
- package/dist/call-ffmpeg.d.ts +7 -6
- package/dist/can-concat-seamlessly.d.ts +4 -2
- package/dist/can-use-parallel-encoding.d.ts +2 -1
- package/dist/check-version-requirements.d.ts +2 -1
- package/dist/client.d.ts +302 -280
- package/dist/client.js +2 -2
- package/dist/codec-supports-media.d.ts +4 -3
- package/dist/codec.d.ts +1 -1
- package/dist/collect-assets.d.ts +1 -1
- package/dist/combine-audio.d.ts +4 -2
- package/dist/combine-chunks.d.ts +2 -1
- package/dist/combine-video-streams.d.ts +4 -2
- package/dist/compositor/compositor.d.ts +4 -3
- package/dist/compositor/get-executable-path.d.ts +4 -4
- package/dist/compress-audio.d.ts +4 -2
- package/dist/create-audio.d.ts +4 -2
- package/dist/create-silent-audio.d.ts +2 -1
- package/dist/crf.d.ts +6 -4
- package/dist/cycle-browser-tabs.d.ts +2 -1
- package/dist/ensure-browser.d.ts +1 -52
- package/dist/error-handling/handle-javascript-exception.d.ts +1 -1
- package/dist/error-handling/handle-javascript-exception.js +0 -5
- package/dist/error-handling/symbolicateable-error.d.ts +1 -1
- package/dist/error-handling/symbolicateable-error.js +0 -4
- package/dist/error-handling.js +1 -1
- package/dist/esm/client.mjs +306 -238
- package/dist/esm/index.mjs +42 -22
- package/dist/extract-audio.d.ts +3 -2
- package/dist/ffmpeg-args.d.ts +12 -6
- package/dist/finalize-fast-start.d.ts +2 -1
- package/dist/get-browser-instance.d.ts +6 -4
- package/dist/get-codec-name.d.ts +6 -3
- package/dist/get-compositions.d.ts +2 -1
- package/dist/get-concurrency.d.ts +1 -1
- package/dist/get-concurrency.js +1 -1
- package/dist/get-duration-from-frame-range.d.ts +1 -1
- package/dist/get-extension-from-codec.d.ts +2 -1
- package/dist/get-frame-padded-index.d.ts +2 -1
- package/dist/get-local-browser-executable.d.ts +4 -2
- package/dist/get-port.d.ts +1 -1
- package/dist/get-prores-profile-name.d.ts +3 -1
- package/dist/get-silent-parts.d.ts +5 -4
- package/dist/get-video-metadata.d.ts +4 -3
- package/dist/get-video-threads-flag.d.ts +2 -1
- package/dist/goto-page-or-throw.d.ts +1 -1
- package/dist/guess-extension-for-media.d.ts +2 -1
- package/dist/image-format.d.ts +6 -5
- package/dist/index.d.ts +213 -440
- package/dist/index.js +18 -18
- package/dist/is-audio-codec.d.ts +2 -1
- package/dist/log-level.d.ts +2 -2
- package/dist/logger.d.ts +6 -6
- package/dist/make-page.d.ts +5 -3
- package/dist/memory/from-macos-sysctl.d.ts +2 -1
- package/dist/memory/from-proc-meminfo.d.ts +2 -1
- package/dist/memory/get-available-memory.d.ts +2 -1
- package/dist/merge-inline-audio-tracks.d.ts +2 -1
- package/dist/mux-video-and-audio.d.ts +5 -3
- package/dist/offthread-video-server.d.ts +2 -1
- package/dist/offthread-video-server.js +6 -4
- package/dist/open-browser.d.ts +2 -2
- package/dist/options/allow-html-in-canvas.js +1 -2
- package/dist/options/api-key.d.ts +1 -1
- package/dist/options/api-key.js +1 -3
- package/dist/options/ask-ai.js +1 -1
- package/dist/options/audio-bitrate.js +1 -9
- package/dist/options/audio-codec.d.ts +23 -20
- package/dist/options/beep-on-finish.js +1 -1
- package/dist/options/benchmark-concurrencies.js +1 -2
- package/dist/options/binaries-directory.d.ts +1 -1
- package/dist/options/binaries-directory.js +1 -9
- package/dist/options/browser-executable.d.ts +1 -1
- package/dist/options/browser-executable.js +1 -1
- package/dist/options/browser.js +1 -2
- package/dist/options/bundle-cache.js +1 -2
- package/dist/options/canvas-tabs.js +1 -1
- package/dist/options/chrome-mode.d.ts +4 -4
- package/dist/options/chrome-mode.js +1 -6
- package/dist/options/color-space.d.ts +9 -5
- package/dist/options/color-space.js +1 -8
- package/dist/options/concurrency.d.ts +1 -1
- package/dist/options/concurrency.js +1 -5
- package/dist/options/config.js +1 -1
- package/dist/options/crf.js +1 -1
- package/dist/options/cross-site-isolation.js +1 -2
- package/dist/options/dark-mode.js +1 -2
- package/dist/options/default-coding-agent.d.ts +2 -2
- package/dist/options/default-coding-agent.js +1 -2
- package/dist/options/default-editor.d.ts +4 -4
- package/dist/options/default-editor.js +1 -3
- package/dist/options/default-premount-in-seconds.js +1 -1
- package/dist/options/delete-after.d.ts +1 -1
- package/dist/options/delete-after.js +1 -11
- package/dist/options/disable-shared-memory-capture.js +1 -3
- package/dist/options/disable-web-security.d.ts +1 -1
- package/dist/options/disable-web-security.js +1 -1
- package/dist/options/disallow-parallel-encoding.js +1 -1
- package/dist/options/enable-cancellation.js +1 -2
- package/dist/options/enable-lambda-insights.js +1 -2
- package/dist/options/enable-multiprocess-on-linux.js +1 -13
- package/dist/options/encoding-buffer-size.d.ts +4 -2
- package/dist/options/encoding-buffer-size.js +1 -3
- package/dist/options/encoding-max-rate.d.ts +1 -1
- package/dist/options/encoding-max-rate.js +1 -3
- package/dist/options/enforce-audio.js +1 -15
- package/dist/options/env-file.js +1 -3
- package/dist/options/every-nth-frame.d.ts +1 -1
- package/dist/options/every-nth-frame.js +1 -6
- package/dist/options/experimental-keep-audio-context-alive.js +1 -3
- package/dist/options/folder-expiry.d.ts +1 -1
- package/dist/options/folder-expiry.js +1 -4
- package/dist/options/for-seamless-aac-concatenation.js +1 -3
- package/dist/options/force-new-studio.js +1 -1
- package/dist/options/frames.d.ts +1 -1
- package/dist/options/frames.js +1 -4
- package/dist/options/gl.d.ts +6 -6
- package/dist/options/gl.js +3 -28
- package/dist/options/gop-size.js +1 -3
- package/dist/options/hardware-acceleration.d.ts +3 -3
- package/dist/options/headless.js +1 -1
- package/dist/options/ignore-certificate-errors.d.ts +1 -1
- package/dist/options/ignore-certificate-errors.js +1 -1
- package/dist/options/image-sequence-pattern.js +1 -5
- package/dist/options/image-sequence.js +1 -1
- package/dist/options/index.d.ts +91 -72
- package/dist/options/index.js +2 -0
- package/dist/options/interactivity.js +1 -1
- package/dist/options/ipv4.js +1 -1
- package/dist/options/is-production.d.ts +1 -1
- package/dist/options/is-production.js +1 -4
- package/dist/options/jpeg-quality.d.ts +1 -1
- package/dist/options/jpeg-quality.js +1 -4
- package/dist/options/keyboard-shortcuts.js +1 -1
- package/dist/options/latency-hint.d.ts +1 -1
- package/dist/options/latency-hint.js +1 -10
- package/dist/options/license-key.d.ts +1 -1
- package/dist/options/license-key.js +1 -2
- package/dist/options/log-level.d.ts +4 -3
- package/dist/options/log-level.js +1 -16
- package/dist/options/metadata.js +2 -7
- package/dist/options/mute.js +1 -1
- package/dist/options/no-open.js +1 -1
- package/dist/options/number-of-gif-loops.d.ts +1 -1
- package/dist/options/number-of-gif-loops.js +1 -13
- package/dist/options/number-of-shared-audio-tags.js +1 -1
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -1
- package/dist/options/offthreadvideo-cache-size.js +1 -11
- package/dist/options/offthreadvideo-threads.d.ts +1 -1
- package/dist/options/offthreadvideo-threads.js +1 -2
- package/dist/options/on-browser-download.d.ts +1 -1
- package/dist/options/on-browser-download.js +1 -2
- package/dist/options/options-map.d.ts +180 -180
- package/dist/options/out-dir.d.ts +1 -1
- package/dist/options/out-dir.js +1 -4
- package/dist/options/override-duration.js +1 -1
- package/dist/options/override-fps.js +1 -1
- package/dist/options/override-height.js +1 -1
- package/dist/options/override-width.js +1 -1
- package/dist/options/overwrite.js +1 -5
- package/dist/options/package-manager.d.ts +1 -1
- package/dist/options/package-manager.js +1 -12
- package/dist/options/pixel-format.d.ts +6 -5
- package/dist/options/pixel-format.js +1 -2
- package/dist/options/port.js +1 -1
- package/dist/options/prefer-lossless.d.ts +1 -1
- package/dist/options/prefer-lossless.js +1 -4
- package/dist/options/{experimental-tracks.d.ts → preserve-pitch-on-playback.d.ts} +3 -3
- package/dist/options/preserve-pitch-on-playback.js +36 -0
- package/dist/options/preview-sample-rate.js +1 -3
- package/dist/options/props.js +1 -5
- package/dist/options/prores-profile.d.ts +2 -2
- package/dist/options/prores-profile.js +1 -5
- package/dist/options/public-dir.d.ts +1 -1
- package/dist/options/public-dir.js +1 -2
- package/dist/options/public-license-key.d.ts +1 -1
- package/dist/options/public-license-key.js +1 -3
- package/dist/options/public-path.d.ts +1 -1
- package/dist/options/public-path.js +1 -5
- package/dist/options/repro.d.ts +3 -1
- package/dist/options/repro.js +1 -1
- package/dist/options/rspack.js +1 -1
- package/dist/options/runs.js +1 -3
- package/dist/options/sample-rate.d.ts +2 -2
- package/dist/options/sample-rate.js +1 -2
- package/dist/options/scale.js +1 -5
- package/dist/options/sequence-activity-limit.js +1 -4
- package/dist/options/show-layer-frame-numbers.js +1 -3
- package/dist/options/show-premounting.js +1 -2
- package/dist/options/skip-skills.js +1 -1
- package/dist/options/still-frame.d.ts +1 -1
- package/dist/options/still-frame.js +1 -3
- package/dist/options/still-image-format.d.ts +3 -2
- package/dist/options/still-image-format.js +1 -2
- package/dist/options/timeout.d.ts +1 -1
- package/dist/options/timeout.js +1 -4
- package/dist/options/user-agent.d.ts +1 -1
- package/dist/options/user-agent.js +1 -1
- package/dist/options/version-flag.js +1 -1
- package/dist/options/video-bitrate.js +1 -7
- package/dist/options/video-cache-size.d.ts +1 -1
- package/dist/options/video-cache-size.js +1 -7
- package/dist/options/video-codec.d.ts +9 -7
- package/dist/options/video-codec.js +1 -1
- package/dist/options/video-image-format.d.ts +6 -5
- package/dist/options/video-image-format.js +1 -6
- package/dist/options/webhook-custom-data.d.ts +1 -1
- package/dist/options/webhook-custom-data.js +1 -1
- package/dist/options/webpack-poll.js +1 -1
- package/dist/options/x264-preset.d.ts +8 -7
- package/dist/options/x264-preset.js +1 -23
- package/dist/p-limit.d.ts +1 -1
- package/dist/pixel-format.d.ts +4 -3
- package/dist/pool.js +0 -2
- package/dist/port-config.d.ts +6 -5
- package/dist/prespawn-ffmpeg.d.ts +1 -1
- package/dist/print-useful-error-message.d.ts +2 -1
- package/dist/probe-encoder.d.ts +8 -5
- package/dist/probe-shared-memory-capture.d.ts +4 -2
- package/dist/prores-profile.d.ts +4 -2
- package/dist/puppeteer-evaluate.d.ts +2 -2
- package/dist/puppeteer-screenshot.d.ts +4 -3
- package/dist/pure.d.ts +12 -15
- package/dist/remotion-shared-memory.d.ts +1 -1
- package/dist/remotion-shared-memory.js +199 -187
- package/dist/render-frame-and-retry-target-close.d.ts +10 -10
- package/dist/render-frame-with-option-to-reject.d.ts +7 -5
- package/dist/render-frame-with-option-to-reject.js +1 -5
- package/dist/render-frame.d.ts +8 -6
- package/dist/render-frames.d.ts +1 -40
- package/dist/render-has-audio.d.ts +3 -2
- package/dist/replace-browser.d.ts +2 -1
- package/dist/repro.d.ts +1 -1
- package/dist/screenshot-task.d.ts +4 -3
- package/dist/seek-to-frame.d.ts +3 -2
- package/dist/select-composition.d.ts +1 -20
- package/dist/serve-handler/index.d.ts +1 -1
- package/dist/serve-handler/range-parser.d.ts +2 -2
- package/dist/serve-static.d.ts +2 -1
- package/dist/set-props-and-env.js +2 -6
- package/dist/stringify-ffmpeg-filter.d.ts +2 -1
- package/dist/stringify-ffmpeg-filter.js +20 -2
- package/dist/take-frame.d.ts +1 -1
- package/dist/test-gpu.d.ts +4 -2
- package/dist/validate-even-dimensions-with-codec.d.ts +4 -2
- package/dist/validate-ffmpeg-override.d.ts +1 -1
- package/dist/validate-number-of-gif-loops.d.ts +2 -1
- package/dist/validate-output-filename.d.ts +4 -2
- package/package.json +16 -16
- package/dist/options/experimental-sequence-activity-limit.d.ts +0 -19
- package/dist/options/experimental-sequence-activity-limit.js +0 -40
- package/dist/options/experimental-sequence-activity.d.ts +0 -19
- package/dist/options/experimental-sequence-activity.js +0 -38
- package/dist/options/experimental-tracks.js +0 -43
|
@@ -26,11 +26,7 @@ exports.concurrencyOption = {
|
|
|
26
26
|
name: 'Concurrency',
|
|
27
27
|
addedIn: '1.0.0',
|
|
28
28
|
cliFlag,
|
|
29
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["How many CPU threads to use. Minimum 1. The maximum is the amount of threads you have (In Node.JS ",
|
|
30
|
-
jsx_runtime_1.jsx("code", { children: "os.cpus().length" }),
|
|
31
|
-
"). You can also provide a percentage value (e.g. ",
|
|
32
|
-
jsx_runtime_1.jsx("code", { children: "50%" }),
|
|
33
|
-
")."] })),
|
|
29
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["How many CPU threads to use. Minimum 1. The maximum is the amount of threads you have (In Node.JS ", (0, jsx_runtime_1.jsx)("code", { children: "os.cpus().length" }), "). You can also provide a percentage value (e.g. ", (0, jsx_runtime_1.jsx)("code", { children: "50%" }), ")."] })),
|
|
34
30
|
ssrName: 'concurrency',
|
|
35
31
|
docLink: 'https://www.remotion.dev/docs/options/concurrency',
|
|
36
32
|
type: null,
|
package/dist/options/config.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.configOption = {
|
|
|
7
7
|
name: 'Config file',
|
|
8
8
|
addedIn: '1.2.0',
|
|
9
9
|
cliFlag,
|
|
10
|
-
description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Specify a location for the Remotion config file." }),
|
|
10
|
+
description: () => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Specify a location for the Remotion config file." }),
|
|
11
11
|
ssrName: null,
|
|
12
12
|
docLink: 'https://www.remotion.dev/docs/options/config',
|
|
13
13
|
getValue: ({ commandLine }) => {
|
package/dist/options/crf.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.crfOption = {
|
|
|
14
14
|
name: 'CRF',
|
|
15
15
|
addedIn: '1.4.0',
|
|
16
16
|
cliFlag,
|
|
17
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "No matter which codec you end up using, there's always a tradeoff between file size and video quality. You can control it by setting the CRF (Constant Rate Factor). The lower the number, the better the quality, the higher the number, the smaller the file is \u2013 of course at the cost of quality." })),
|
|
17
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "No matter which codec you end up using, there's always a tradeoff between file size and video quality. You can control it by setting the CRF (Constant Rate Factor). The lower the number, the better the quality, the higher the number, the smaller the file is \u2013 of course at the cost of quality." })),
|
|
18
18
|
ssrName: 'crf',
|
|
19
19
|
docLink: 'https://www.remotion.dev/docs/options/crf',
|
|
20
20
|
type: 0,
|
|
@@ -9,8 +9,7 @@ exports.enableCrossSiteIsolationOption = {
|
|
|
9
9
|
name: 'Enable Cross-Site Isolation',
|
|
10
10
|
addedIn: '4.0.306',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for", ' ', jsx_runtime_1.jsx("code", { children: "@remotion/whisper-web" }),
|
|
13
|
-
")."] })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for", ' ', (0, jsx_runtime_1.jsx)("code", { children: "@remotion/whisper-web" }), ")."] })),
|
|
14
13
|
ssrName: null,
|
|
15
14
|
docLink: 'https://www.remotion.dev/docs/options/cross-site-isolation',
|
|
16
15
|
type: false,
|
|
@@ -9,8 +9,7 @@ exports.darkModeOption = {
|
|
|
9
9
|
name: 'Dark Mode',
|
|
10
10
|
addedIn: '4.0.381',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Whether Chromium should pretend to be in dark mode by emulating the media feature 'prefers-color-scheme: dark'. Default is", ' ', jsx_runtime_1.jsx("code", { children: String(DEFAULT_VALUE) }),
|
|
13
|
-
"."] })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Whether Chromium should pretend to be in dark mode by emulating the media feature 'prefers-color-scheme: dark'. Default is", ' ', (0, jsx_runtime_1.jsx)("code", { children: String(DEFAULT_VALUE) }), "."] })),
|
|
14
13
|
ssrName: 'darkMode',
|
|
15
14
|
docLink: 'https://www.remotion.dev/docs/options/dark-mode',
|
|
16
15
|
type: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const defaultCodingAgentIds: readonly [
|
|
1
|
+
export declare const defaultCodingAgentIds: readonly ['codex', 'cursor', 'copilot', 'claude-code'];
|
|
2
2
|
export type DefaultCodingAgent = (typeof defaultCodingAgentIds)[number];
|
|
3
3
|
export declare const defaultCodingAgentOption: {
|
|
4
4
|
name: string;
|
|
@@ -7,7 +7,7 @@ export declare const defaultCodingAgentOption: {
|
|
|
7
7
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
ssrName: null;
|
|
9
9
|
docLink: string;
|
|
10
|
-
type:
|
|
10
|
+
type: DefaultCodingAgent | null;
|
|
11
11
|
getValue: ({ commandLine }: {
|
|
12
12
|
commandLine: Record<string, unknown>;
|
|
13
13
|
}) => {
|
|
@@ -24,8 +24,7 @@ exports.defaultCodingAgentOption = {
|
|
|
24
24
|
name: 'Default coding agent',
|
|
25
25
|
addedIn: '4.0.506',
|
|
26
26
|
cliFlag,
|
|
27
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the default coding agent for Remotion Studio. Available coding agents:", ' ', jsx_runtime_1.jsx("code", { children: exports.defaultCodingAgentIds.join(', ') }),
|
|
28
|
-
"."] })),
|
|
27
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Set the default coding agent for Remotion Studio. Available coding agents:", ' ', (0, jsx_runtime_1.jsx)("code", { children: exports.defaultCodingAgentIds.join(', ') }), "."] })),
|
|
29
28
|
ssrName: null,
|
|
30
29
|
docLink: 'https://www.remotion.dev/docs/options/coding-agent',
|
|
31
30
|
type: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const defaultEditorIds: readonly [
|
|
2
|
-
export declare const customEditorTargetPathPlaceholder:
|
|
3
|
-
export declare const customEditorLineNumberPlaceholder:
|
|
4
|
-
export declare const customEditorColumnNumberPlaceholder:
|
|
1
|
+
export declare const defaultEditorIds: readonly ['vscode', 'cursor', 'windsurf', 'zed', 'vscodium', 'webstorm', 'sublime-text'];
|
|
2
|
+
export declare const customEditorTargetPathPlaceholder: '%TARGET_PATH%';
|
|
3
|
+
export declare const customEditorLineNumberPlaceholder: '%LINE_NUMBER%';
|
|
4
|
+
export declare const customEditorColumnNumberPlaceholder: '%COLUMN_NUMBER%';
|
|
5
5
|
export type BuiltInEditor = (typeof defaultEditorIds)[number];
|
|
6
6
|
export type CustomEditor = {
|
|
7
7
|
readonly type: 'custom';
|
|
@@ -59,9 +59,7 @@ exports.defaultEditorOption = {
|
|
|
59
59
|
name: 'Default editor',
|
|
60
60
|
addedIn: '4.0.503',
|
|
61
61
|
cliFlag,
|
|
62
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the default editor for opening files from Remotion Studio. Available editors: ",
|
|
63
|
-
jsx_runtime_1.jsx("code", { children: exports.defaultEditorIds.join(', ') }),
|
|
64
|
-
"."] })),
|
|
62
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Set the default editor for opening files from Remotion Studio. Available editors: ", (0, jsx_runtime_1.jsx)("code", { children: exports.defaultEditorIds.join(', ') }), "."] })),
|
|
65
63
|
ssrName: null,
|
|
66
64
|
docLink: 'https://www.remotion.dev/docs/options/editor',
|
|
67
65
|
type: null,
|
|
@@ -10,7 +10,7 @@ exports.defaultPremountInSecondsOption = {
|
|
|
10
10
|
addedIn: '4.0.535',
|
|
11
11
|
cliFlag,
|
|
12
12
|
id: cliFlag,
|
|
13
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set the default premount duration in seconds for timed components in the Studio. Defaults to 2. Before v4.0.535, there was no premounting by default." })),
|
|
13
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Set the default premount duration in seconds for timed components in the Studio. Defaults to 2. Before v4.0.535, there was no premounting by default." })),
|
|
14
14
|
ssrName: null,
|
|
15
15
|
docLink: 'https://www.remotion.dev/docs/options/default-premount-in-seconds',
|
|
16
16
|
type: 0,
|
|
@@ -4,7 +4,7 @@ export declare const deleteAfterOption: {
|
|
|
4
4
|
addedIn: string;
|
|
5
5
|
cliFlag: "delete-after";
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
ssrName:
|
|
7
|
+
ssrName: 'deleteAfter';
|
|
8
8
|
docLink: string;
|
|
9
9
|
type: DeleteAfter | null;
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
@@ -9,17 +9,7 @@ exports.deleteAfterOption = {
|
|
|
9
9
|
addedIn: '4.0.32',
|
|
10
10
|
cliFlag,
|
|
11
11
|
description: () => {
|
|
12
|
-
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Automatically delete the render after a certain period. Accepted values are ",
|
|
13
|
-
jsx_runtime_1.jsx("code", { children: "1-day" }),
|
|
14
|
-
", ",
|
|
15
|
-
jsx_runtime_1.jsx("code", { children: "3-days" }),
|
|
16
|
-
", ",
|
|
17
|
-
jsx_runtime_1.jsx("code", { children: "7-days" }),
|
|
18
|
-
" and", ' ', jsx_runtime_1.jsx("code", { children: "30-days" }),
|
|
19
|
-
".",
|
|
20
|
-
jsx_runtime_1.jsx("br", {}),
|
|
21
|
-
" For this to work, your bucket needs to have", ' ', jsx_runtime_1.jsx("a", { href: "/docs/lambda/autodelete", children: "lifecycles enabled" }),
|
|
22
|
-
"."] }));
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Automatically delete the render after a certain period. Accepted values are ", (0, jsx_runtime_1.jsx)("code", { children: "1-day" }), ", ", (0, jsx_runtime_1.jsx)("code", { children: "3-days" }), ", ", (0, jsx_runtime_1.jsx)("code", { children: "7-days" }), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "30-days" }), ".", (0, jsx_runtime_1.jsx)("br", {}), " For this to work, your bucket needs to have", ' ', (0, jsx_runtime_1.jsx)("a", { href: "/docs/lambda/autodelete", children: "lifecycles enabled" }), "."] }));
|
|
23
13
|
},
|
|
24
14
|
ssrName: 'deleteAfter',
|
|
25
15
|
docLink: 'https://www.remotion.dev/docs/options/delete-after',
|
|
@@ -8,9 +8,7 @@ exports.disableSharedMemoryCaptureOption = {
|
|
|
8
8
|
name: 'Disable shared-memory capture',
|
|
9
9
|
addedIn: '4.0.534',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Disables shared-memory capture and uses regular JPEG or PNG screenshots instead. Parallel encoding remains enabled. Default ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
13
|
-
"."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Disables shared-memory capture and uses regular JPEG or PNG screenshots instead. Parallel encoding remains enabled. Default ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), "."] })),
|
|
14
12
|
ssrName: 'disableSharedMemoryCapture',
|
|
15
13
|
docLink: 'https://www.remotion.dev/docs/options/disable-shared-memory-capture',
|
|
16
14
|
type: false,
|
|
@@ -3,7 +3,7 @@ export declare const disableWebSecurityOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "disable-web-security";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'disableWebSecurity';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: boolean;
|
|
9
9
|
getValue: ({ commandLine }: {
|
|
@@ -8,7 +8,7 @@ exports.disableWebSecurityOption = {
|
|
|
8
8
|
name: 'Disable web security',
|
|
9
9
|
addedIn: '2.6.5',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "This will most notably disable CORS in Chrome among other security features." })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "This will most notably disable CORS in Chrome among other security features." })),
|
|
12
12
|
ssrName: 'disableWebSecurity',
|
|
13
13
|
docLink: 'https://www.remotion.dev/docs/options/disable-web-security',
|
|
14
14
|
type: false,
|
|
@@ -8,7 +8,7 @@ exports.disallowParallelEncodingOption = {
|
|
|
8
8
|
name: 'Disallow parallel encoding',
|
|
9
9
|
addedIn: '3.2.29',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower." })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower." })),
|
|
12
12
|
ssrName: 'disallowParallelEncoding',
|
|
13
13
|
docLink: 'https://www.remotion.dev/docs/options/disallow-parallel-encoding',
|
|
14
14
|
type: false,
|
|
@@ -8,8 +8,7 @@ exports.enableCancellationOption = {
|
|
|
8
8
|
name: 'Enable cancellation',
|
|
9
9
|
addedIn: '4.0.515',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Allows a Lambda render to be cancelled by pressing Ctrl+C while running", ' ', jsx_runtime_1.jsx("code", { children: "npx remotion lambda render" }),
|
|
12
|
-
". Enabling cancellation causes each renderer function to poll S3 once per second while it is running."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Allows a Lambda render to be cancelled by pressing Ctrl+C while running", ' ', (0, jsx_runtime_1.jsx)("code", { children: "npx remotion lambda render" }), ". Enabling cancellation causes each renderer function to poll S3 once per second while it is running."] })),
|
|
13
12
|
ssrName: null,
|
|
14
13
|
docLink: 'https://www.remotion.dev/docs/options/enable-cancellation',
|
|
15
14
|
type: false,
|
|
@@ -8,8 +8,7 @@ exports.enableLambdaInsights = {
|
|
|
8
8
|
name: 'Enable Lambda Insights',
|
|
9
9
|
addedIn: '4.0.61',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable", ' ', jsx_runtime_1.jsx("a", { href: "https://remotion.dev/docs/lambda/insights", children: "Lambda Insights in AWS CloudWatch" }),
|
|
12
|
-
". For this to work, you may have to update your role permission."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable", ' ', (0, jsx_runtime_1.jsx)("a", { href: "https://remotion.dev/docs/lambda/insights", children: "Lambda Insights in AWS CloudWatch" }), ". For this to work, you may have to update your role permission."] })),
|
|
13
12
|
ssrName: 'enableLambdaInsights',
|
|
14
13
|
docLink: 'https://www.remotion.dev/docs/options/enable-lambda-insights',
|
|
15
14
|
type: false,
|
|
@@ -9,19 +9,7 @@ exports.enableMultiprocessOnLinuxOption = {
|
|
|
9
9
|
name: 'Enable Multiprocess on Linux',
|
|
10
10
|
addedIn: '4.0.42',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Removes the ",
|
|
13
|
-
jsx_runtime_1.jsx("code", { children: '--single-process' }),
|
|
14
|
-
" flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.",
|
|
15
|
-
jsx_runtime_1.jsx("br", {}),
|
|
16
|
-
"Default: ",
|
|
17
|
-
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
18
|
-
" until v4.0.136, then ",
|
|
19
|
-
jsx_runtime_1.jsx("code", { children: "true" }),
|
|
20
|
-
" from v4.0.137 on because newer Chrome versions ", "don't", " allow rendering with the ",
|
|
21
|
-
jsx_runtime_1.jsx("code", { children: "--single-process" }),
|
|
22
|
-
" flag. ",
|
|
23
|
-
jsx_runtime_1.jsx("br", {}),
|
|
24
|
-
"This flag will be removed in Remotion v5.0."] })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Removes the ", (0, jsx_runtime_1.jsx)("code", { children: '--single-process' }), " flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.", (0, jsx_runtime_1.jsx)("br", {}), "Default: ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), " until v4.0.136, then ", (0, jsx_runtime_1.jsx)("code", { children: "true" }), " from v4.0.137 on because newer Chrome versions ", "don't", " allow rendering with the ", (0, jsx_runtime_1.jsx)("code", { children: "--single-process" }), " flag. ", (0, jsx_runtime_1.jsx)("br", {}), "This flag will be removed in Remotion v5.0."] })),
|
|
25
13
|
ssrName: 'chromiumOptions.enableMultiprocessOnLinux',
|
|
26
14
|
docLink: 'https://www.remotion.dev/docs/options/enable-multiprocess-on-linux',
|
|
27
15
|
type: false,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
declare const setEncodingBufferSize: (bitrate: string | null) => void;
|
|
1
2
|
export declare const encodingBufferSizeOption: {
|
|
2
3
|
name: string;
|
|
3
4
|
addedIn: string;
|
|
4
5
|
cliFlag: "buffer-size";
|
|
5
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
7
|
+
ssrName: 'encodingBufferSize';
|
|
7
8
|
docLink: string;
|
|
8
9
|
type: string | null;
|
|
9
10
|
getValue: ({ commandLine }: {
|
|
@@ -15,6 +16,7 @@ export declare const encodingBufferSizeOption: {
|
|
|
15
16
|
value: null;
|
|
16
17
|
source: string;
|
|
17
18
|
};
|
|
18
|
-
setConfig:
|
|
19
|
+
setConfig: typeof setEncodingBufferSize;
|
|
19
20
|
id: "buffer-size";
|
|
20
21
|
};
|
|
22
|
+
export {};
|
|
@@ -14,9 +14,7 @@ exports.encodingBufferSizeOption = {
|
|
|
14
14
|
name: 'FFmpeg -bufsize flag',
|
|
15
15
|
addedIn: '4.0.78',
|
|
16
16
|
cliFlag,
|
|
17
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The value for the ",
|
|
18
|
-
jsx_runtime_1.jsx("code", { children: "-bufsize" }),
|
|
19
|
-
" flag of FFmpeg. Should be used in conjunction with the encoding max rate flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set."] })),
|
|
17
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The value for the ", (0, jsx_runtime_1.jsx)("code", { children: "-bufsize" }), " flag of FFmpeg. Should be used in conjunction with the encoding max rate flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set."] })),
|
|
20
18
|
ssrName: 'encodingBufferSize',
|
|
21
19
|
docLink: 'https://www.remotion.dev/docs/options/buffer-size',
|
|
22
20
|
type: '',
|
|
@@ -3,7 +3,7 @@ export declare const encodingMaxRateOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "max-rate";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'encodingMaxRate';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: string | null;
|
|
9
9
|
getValue: ({ commandLine }: {
|
|
@@ -8,9 +8,7 @@ exports.encodingMaxRateOption = {
|
|
|
8
8
|
name: 'FFmpeg -maxrate flag',
|
|
9
9
|
addedIn: '4.0.78',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The value for the ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "-maxrate" }),
|
|
13
|
-
" flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The value for the ", (0, jsx_runtime_1.jsx)("code", { children: "-maxrate" }), " flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set."] })),
|
|
14
12
|
ssrName: 'encodingMaxRate',
|
|
15
13
|
docLink: 'https://www.remotion.dev/docs/options/max-rate',
|
|
16
14
|
type: '',
|
|
@@ -9,21 +9,7 @@ exports.enforceAudioOption = {
|
|
|
9
9
|
name: 'Enforce Audio Track',
|
|
10
10
|
addedIn: '3.2.1',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: (mode) => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
13
|
-
jsx_runtime_1.jsxs("p", { children: ["Defaults to ",
|
|
14
|
-
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
15
|
-
". If ",
|
|
16
|
-
jsx_runtime_1.jsx("code", { children: "true" }),
|
|
17
|
-
", include a silent audio track when the render contains no audio. If ",
|
|
18
|
-
jsx_runtime_1.jsx("code", { children: "false" }),
|
|
19
|
-
", omit the audio track when no audio is present. Audio-only exports and", ' ', jsx_runtime_1.jsx("code", { children: mode === 'cli' ? '--separate-audio-to' : 'separateAudioTo' }), ' ', "still produce an audio file, even when silent."] }), jsx_runtime_1.jsxs("p", { children: [mode === 'cli' ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Pass ",
|
|
20
|
-
jsx_runtime_1.jsx("code", { children: "--enforce-audio-track" })
|
|
21
|
-
] })) : (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set this to ",
|
|
22
|
-
jsx_runtime_1.jsx("code", { children: "true" })
|
|
23
|
-
] })), ' ', "for", ' ', jsx_runtime_1.jsx("a", { href: "/docs/distributed-rendering", children: "chunks that will later be concatenated" }),
|
|
24
|
-
", because other chunks may contain audio.", ' ', jsx_runtime_1.jsx("code", { children: mode === 'cli' ? '--muted' : 'muted: true' }),
|
|
25
|
-
" takes precedence."] })
|
|
26
|
-
] })),
|
|
12
|
+
description: (mode) => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Defaults to ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), ". If ", (0, jsx_runtime_1.jsx)("code", { children: "true" }), ", include a silent audio track when the render contains no audio. If ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), ", omit the audio track when no audio is present. Audio-only exports and", ' ', (0, jsx_runtime_1.jsx)("code", { children: mode === 'cli' ? '--separate-audio-to' : 'separateAudioTo' }), ' ', "still produce an audio file, even when silent."] }), (0, jsx_runtime_1.jsxs)("p", { children: [mode === 'cli' ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Pass ", (0, jsx_runtime_1.jsx)("code", { children: "--enforce-audio-track" })] })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Set this to ", (0, jsx_runtime_1.jsx)("code", { children: "true" })] })), ' ', "for", ' ', (0, jsx_runtime_1.jsx)("a", { href: "/docs/distributed-rendering", children: "chunks that will later be concatenated" }), ", because other chunks may contain audio.", ' ', (0, jsx_runtime_1.jsx)("code", { children: mode === 'cli' ? '--muted' : 'muted: true' }), " takes precedence."] })] })),
|
|
27
13
|
ssrName: 'enforceAudioTrack',
|
|
28
14
|
docLink: 'https://www.remotion.dev/docs/options/enforce-audio-track',
|
|
29
15
|
type: false,
|
package/dist/options/env-file.js
CHANGED
|
@@ -8,9 +8,7 @@ exports.envFileOption = {
|
|
|
8
8
|
name: 'Env File',
|
|
9
9
|
addedIn: '2.2.0',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify a location for a dotenv file. Default ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: ".env" }),
|
|
13
|
-
"."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Specify a location for a dotenv file. Default ", (0, jsx_runtime_1.jsx)("code", { children: ".env" }), "."] })),
|
|
14
12
|
ssrName: null,
|
|
15
13
|
docLink: 'https://www.remotion.dev/docs/options/env-file',
|
|
16
14
|
getValue: ({ commandLine }) => {
|
|
@@ -3,7 +3,7 @@ export declare const everyNthFrameOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "every-nth-frame";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'everyNthFrame';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: number;
|
|
9
9
|
getValue: ({ commandLine }: {
|
|
@@ -9,12 +9,7 @@ exports.everyNthFrameOption = {
|
|
|
9
9
|
name: 'Every nth frame',
|
|
10
10
|
addedIn: '3.1.0',
|
|
11
11
|
cliFlag,
|
|
12
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the ",
|
|
13
|
-
jsx_runtime_1.jsx("code", { children: "fps" }),
|
|
14
|
-
" is 30, and", ' ', jsx_runtime_1.jsx("code", { children: "everyNthFrame" }),
|
|
15
|
-
" is 2, the FPS of the GIF is ",
|
|
16
|
-
jsx_runtime_1.jsx("code", { children: "15" }),
|
|
17
|
-
"."] })),
|
|
12
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the ", (0, jsx_runtime_1.jsx)("code", { children: "fps" }), " is 30, and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "everyNthFrame" }), " is 2, the FPS of the GIF is ", (0, jsx_runtime_1.jsx)("code", { children: "15" }), "."] })),
|
|
18
13
|
ssrName: 'everyNthFrame',
|
|
19
14
|
docLink: 'https://www.remotion.dev/docs/options/every-nth-frame',
|
|
20
15
|
type: DEFAULT_EVERY_NTH_FRAME,
|
|
@@ -8,9 +8,7 @@ exports.experimentalKeepAudioContextAliveOption = {
|
|
|
8
8
|
name: 'Keep AudioContext alive (experimental)',
|
|
9
9
|
addedIn: '4.0.508',
|
|
10
10
|
cliFlag,
|
|
11
|
-
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Keeps the shared ",
|
|
12
|
-
jsx_runtime_1.jsx("code", { children: "AudioContext" }),
|
|
13
|
-
" running while the Remotion Studio is paused."] })),
|
|
11
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Keeps the shared ", (0, jsx_runtime_1.jsx)("code", { children: "AudioContext" }), " running while the Remotion Studio is paused."] })),
|
|
14
12
|
ssrName: null,
|
|
15
13
|
docLink: 'https://www.remotion.dev/docs/options/experimental-keep-audio-context-alive',
|
|
16
14
|
type: false,
|
|
@@ -3,7 +3,7 @@ export declare const folderExpiryOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "enable-folder-expiry";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'enableFolderExpiry';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: boolean | null;
|
|
9
9
|
getValue: ({ commandLine }: {
|
|
@@ -9,10 +9,7 @@ exports.folderExpiryOption = {
|
|
|
9
9
|
addedIn: '4.0.32',
|
|
10
10
|
cliFlag,
|
|
11
11
|
description: () => {
|
|
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" }),
|
|
13
|
-
", which does not change any lifecycle policies of the S3 bucket. See: ",
|
|
14
|
-
jsx_runtime_1.jsx("a", { href: "/docs/lambda/autodelete", children: "Lambda autodelete" }),
|
|
15
|
-
"."] }));
|
|
12
|
+
return ((0, 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", ' ', (0, jsx_runtime_1.jsx)("code", { children: "null" }), ", which does not change any lifecycle policies of the S3 bucket. See: ", (0, jsx_runtime_1.jsx)("a", { href: "/docs/lambda/autodelete", children: "Lambda autodelete" }), "."] }));
|
|
16
13
|
},
|
|
17
14
|
ssrName: 'enableFolderExpiry',
|
|
18
15
|
docLink: 'https://www.remotion.dev/docs/options/enable-folder-expiry',
|
|
@@ -13,9 +13,7 @@ exports.forSeamlessAacConcatenationOption = {
|
|
|
13
13
|
name: 'For seamless AAC concatenation',
|
|
14
14
|
addedIn: '4.0.123',
|
|
15
15
|
cliFlag,
|
|
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.",
|
|
17
|
-
jsx_runtime_1.jsx("br", {}), jsx_runtime_1.jsx("br", {}),
|
|
18
|
-
" This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."] })),
|
|
16
|
+
description: () => ((0, 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.", (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."] })),
|
|
19
17
|
docLink: 'https://www.remotion.dev/docs/options/for-seamless-aac-concatenation',
|
|
20
18
|
getValue: ({ commandLine }) => {
|
|
21
19
|
if (commandLine[cliFlag]) {
|
|
@@ -8,7 +8,7 @@ exports.forceNewStudioOption = {
|
|
|
8
8
|
name: 'Force New Studio',
|
|
9
9
|
addedIn: '4.0.421',
|
|
10
10
|
cliFlag,
|
|
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
|
+
description: () => ((0, 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." })),
|
|
12
12
|
ssrName: null,
|
|
13
13
|
docLink: 'https://www.remotion.dev/docs/options/force-new',
|
|
14
14
|
type: false,
|
package/dist/options/frames.d.ts
CHANGED
package/dist/options/frames.js
CHANGED
|
@@ -85,10 +85,7 @@ exports.framesOption = {
|
|
|
85
85
|
name: 'Frame Range',
|
|
86
86
|
addedIn: '2.0.0',
|
|
87
87
|
cliFlag,
|
|
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. ",
|
|
89
|
-
jsx_runtime_1.jsx("code", { children: "0-9" }),
|
|
90
|
-
") to render a subset of frames. Pass", ' ', jsx_runtime_1.jsx("code", { children: "100-" }),
|
|
91
|
-
" to render from frame 100 to the end."] })),
|
|
88
|
+
description: () => ((0, 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. ", (0, jsx_runtime_1.jsx)("code", { children: "0-9" }), ") to render a subset of frames. Pass", ' ', (0, jsx_runtime_1.jsx)("code", { children: "100-" }), " to render from frame 100 to the end."] })),
|
|
92
89
|
ssrName: 'frameRange',
|
|
93
90
|
docLink: 'https://www.remotion.dev/docs/options/frames',
|
|
94
91
|
type: null,
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare const validOpenGlRenderers: readonly [
|
|
1
|
+
export declare const validOpenGlRenderers: readonly ['swangle', 'angle', 'egl', 'swiftshader', 'vulkan', 'angle-egl'];
|
|
2
2
|
export type OpenGlRenderer = (typeof validOpenGlRenderers)[number];
|
|
3
|
-
export declare const getDefaultOpenGlRenderer: (enableV5BreakingChanges: boolean) =>
|
|
3
|
+
export declare const getDefaultOpenGlRenderer: (enableV5BreakingChanges: boolean) => OpenGlRenderer | null;
|
|
4
4
|
export declare const DEFAULT_OPENGL_RENDERER: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
5
5
|
export declare const getChromiumOpenGlRenderer: () => "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
6
|
-
export declare const setChromiumOpenGlRenderer: (renderer:
|
|
6
|
+
export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void;
|
|
7
7
|
export declare const glOption: {
|
|
8
8
|
cliFlag: "gl";
|
|
9
9
|
docLink: string;
|
|
10
10
|
name: string;
|
|
11
11
|
addedIn: string;
|
|
12
|
-
type:
|
|
12
|
+
type: OpenGlRenderer | null;
|
|
13
13
|
ssrName: string;
|
|
14
14
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
getValue: ({ commandLine }: {
|
|
@@ -18,7 +18,7 @@ export declare const glOption: {
|
|
|
18
18
|
value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
19
19
|
source: string;
|
|
20
20
|
};
|
|
21
|
-
setConfig: (value:
|
|
21
|
+
setConfig: (value: OpenGlRenderer | null) => void;
|
|
22
22
|
id: "gl";
|
|
23
23
|
};
|
|
24
|
-
export declare const validateOpenGlRenderer: (option: unknown) =>
|
|
24
|
+
export declare const validateOpenGlRenderer: (option: unknown) => OpenGlRenderer | null;
|
package/dist/options/gl.js
CHANGED
|
@@ -25,16 +25,7 @@ const setChromiumOpenGlRenderer = (renderer) => {
|
|
|
25
25
|
};
|
|
26
26
|
exports.setChromiumOpenGlRenderer = setChromiumOpenGlRenderer;
|
|
27
27
|
const AngleChangelog = () => {
|
|
28
|
-
return (jsx_runtime_1.jsxs("details", { style: { fontSize: '0.9em', marginBottom: '1em' }, children: [
|
|
29
|
-
jsx_runtime_1.jsx("summary", { children: "Changelog" }), jsx_runtime_1.jsxs("ul", { children: [
|
|
30
|
-
jsx_runtime_1.jsxs("li", { children: ["From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was", ' ', jsx_runtime_1.jsx("code", { children: "swiftshader" }),
|
|
31
|
-
", but from v3.0.8 the default is", ' ', jsx_runtime_1.jsx("code", { children: "swangle" }),
|
|
32
|
-
" (Swiftshader on Angle) since Chrome 101 added support for it."] }), jsx_runtime_1.jsxs("li", { children: ["From Remotion v2.4.3 until v2.6.6, the default was ",
|
|
33
|
-
jsx_runtime_1.jsx("code", { children: "angle" }),
|
|
34
|
-
", however it turns out to have a small memory leak that could crash long Remotion renders."] }), no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? (jsx_runtime_1.jsxs("li", { children: ["From Remotion v5.0, the default is ",
|
|
35
|
-
jsx_runtime_1.jsx("code", { children: "angle" }),
|
|
36
|
-
". If no compatible GPU is available, Chromium automatically falls back to SwiftShader."] })) : null] })
|
|
37
|
-
] }));
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("details", { style: { fontSize: '0.9em', marginBottom: '1em' }, children: [(0, jsx_runtime_1.jsx)("summary", { children: "Changelog" }), (0, jsx_runtime_1.jsxs)("ul", { children: [(0, jsx_runtime_1.jsxs)("li", { children: ["From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was", ' ', (0, jsx_runtime_1.jsx)("code", { children: "swiftshader" }), ", but from v3.0.8 the default is", ' ', (0, jsx_runtime_1.jsx)("code", { children: "swangle" }), " (Swiftshader on Angle) since Chrome 101 added support for it."] }), (0, jsx_runtime_1.jsxs)("li", { children: ["From Remotion v2.4.3 until v2.6.6, the default was ", (0, jsx_runtime_1.jsx)("code", { children: "angle" }), ", however it turns out to have a small memory leak that could crash long Remotion renders."] }), no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? ((0, jsx_runtime_1.jsxs)("li", { children: ["From Remotion v5.0, the default is ", (0, jsx_runtime_1.jsx)("code", { children: "angle" }), ". If no compatible GPU is available, Chromium automatically falls back to SwiftShader."] })) : null] })] }));
|
|
38
29
|
};
|
|
39
30
|
const cliFlag = 'gl';
|
|
40
31
|
exports.glOption = {
|
|
@@ -45,27 +36,11 @@ exports.glOption = {
|
|
|
45
36
|
type: 'angle',
|
|
46
37
|
ssrName: 'gl',
|
|
47
38
|
description: () => {
|
|
48
|
-
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
49
|
-
jsx_runtime_1.jsx(AngleChangelog, {}), jsx_runtime_1.jsxs("p", { children: ["Select the OpenGL renderer backend for Chromium. ",
|
|
50
|
-
jsx_runtime_1.jsx("br", {}),
|
|
51
|
-
"Accepted values:"] }), jsx_runtime_1.jsxs("ul", { children: [
|
|
52
|
-
jsx_runtime_1.jsx("li", { children: jsx_runtime_1.jsx("code", { children: '"angle"' }) }), jsx_runtime_1.jsx("li", { children: jsx_runtime_1.jsx("code", { children: '"egl"' }) }), jsx_runtime_1.jsx("li", { children: jsx_runtime_1.jsx("code", { children: '"swiftshader"' }) }), jsx_runtime_1.jsx("li", { children: jsx_runtime_1.jsx("code", { children: '"swangle"' }) }), jsx_runtime_1.jsxs("li", { children: [
|
|
53
|
-
jsx_runtime_1.jsx("code", { children: '"vulkan"' }),
|
|
54
|
-
" (",
|
|
55
|
-
jsx_runtime_1.jsx("em", { children: "from Remotion v4.0.41" }),
|
|
56
|
-
")"] }), jsx_runtime_1.jsxs("li", { children: [
|
|
57
|
-
jsx_runtime_1.jsx("code", { children: '"angle-egl"' }),
|
|
58
|
-
" (",
|
|
59
|
-
jsx_runtime_1.jsx("em", { children: "from Remotion v4.0.51" }),
|
|
60
|
-
")"] })
|
|
61
|
-
] }), jsx_runtime_1.jsxs("p", { children: ["The default is", ' ', jsx_runtime_1.jsx("code", { children: exports.DEFAULT_OPENGL_RENDERER === null
|
|
39
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(AngleChangelog, {}), (0, jsx_runtime_1.jsxs)("p", { children: ["Select the OpenGL renderer backend for Chromium. ", (0, jsx_runtime_1.jsx)("br", {}), "Accepted values:"] }), (0, jsx_runtime_1.jsxs)("ul", { children: [(0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)("code", { children: '"angle"' }) }), (0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)("code", { children: '"egl"' }) }), (0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)("code", { children: '"swiftshader"' }) }), (0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)("code", { children: '"swangle"' }) }), (0, jsx_runtime_1.jsxs)("li", { children: [(0, jsx_runtime_1.jsx)("code", { children: '"vulkan"' }), " (", (0, jsx_runtime_1.jsx)("em", { children: "from Remotion v4.0.41" }), ")"] }), (0, jsx_runtime_1.jsxs)("li", { children: [(0, jsx_runtime_1.jsx)("code", { children: '"angle-egl"' }), " (", (0, jsx_runtime_1.jsx)("em", { children: "from Remotion v4.0.51" }), ")"] })] }), (0, jsx_runtime_1.jsxs)("p", { children: ["The default is", ' ', (0, jsx_runtime_1.jsx)("code", { children: exports.DEFAULT_OPENGL_RENDERER === null
|
|
62
40
|
? 'null'
|
|
63
41
|
: `"${exports.DEFAULT_OPENGL_RENDERER}"` }), exports.DEFAULT_OPENGL_RENDERER === null
|
|
64
42
|
? ', letting Chrome decide'
|
|
65
|
-
: ', with automatic fallback to SwiftShader if no compatible GPU is available', ", except on Lambda where the default is ",
|
|
66
|
-
jsx_runtime_1.jsx("code", { children: '"swangle"' })
|
|
67
|
-
] })
|
|
68
|
-
] }));
|
|
43
|
+
: ', with automatic fallback to SwiftShader if no compatible GPU is available', ", except on Lambda where the default is ", (0, jsx_runtime_1.jsx)("code", { children: '"swangle"' })] })] }));
|
|
69
44
|
},
|
|
70
45
|
getValue: ({ commandLine }) => {
|
|
71
46
|
if (commandLine[cliFlag]) {
|
package/dist/options/gop-size.js
CHANGED
|
@@ -20,9 +20,7 @@ exports.gopSizeOption = {
|
|
|
20
20
|
name: 'GOP size',
|
|
21
21
|
addedIn: '4.0.466',
|
|
22
22
|
cliFlag,
|
|
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 ",
|
|
24
|
-
jsx_runtime_1.jsx("code", { children: "-g" }),
|
|
25
|
-
" option. Default: Let the encoder decide."] })),
|
|
23
|
+
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Set the maximum number of frames between two keyframes. This maps to FFmpeg's ", (0, jsx_runtime_1.jsx)("code", { children: "-g" }), " option. Default: Let the encoder decide."] })),
|
|
26
24
|
ssrName: 'gopSize',
|
|
27
25
|
docLink: 'https://www.remotion.dev/docs/options/gop',
|
|
28
26
|
type: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const hardwareAccelerationOptions: readonly [
|
|
1
|
+
export declare const hardwareAccelerationOptions: readonly ['disable', 'if-possible', 'required'];
|
|
2
2
|
export type HardwareAccelerationOption = (typeof hardwareAccelerationOptions)[number];
|
|
3
3
|
export declare const getHardwareAcceleration: () => "disable" | "if-possible" | "required" | null;
|
|
4
4
|
export declare const hardwareAccelerationOption: {
|
|
@@ -8,13 +8,13 @@ export declare const hardwareAccelerationOption: {
|
|
|
8
8
|
description: () => string;
|
|
9
9
|
ssrName: string;
|
|
10
10
|
docLink: string;
|
|
11
|
-
type:
|
|
11
|
+
type: HardwareAccelerationOption;
|
|
12
12
|
getValue: ({ commandLine }: {
|
|
13
13
|
commandLine: Record<string, unknown>;
|
|
14
14
|
}) => {
|
|
15
15
|
source: string;
|
|
16
16
|
value: "disable" | "if-possible" | "required";
|
|
17
17
|
};
|
|
18
|
-
setConfig: (value:
|
|
18
|
+
setConfig: (value: HardwareAccelerationOption) => void;
|
|
19
19
|
id: "hardware-acceleration";
|
|
20
20
|
};
|
package/dist/options/headless.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.headlessOption = {
|
|
|
9
9
|
name: 'Disable Headless Mode',
|
|
10
10
|
addedIn: '2.6.5',
|
|
11
11
|
cliFlag,
|
|
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
|
+
description: () => ((0, 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", ' ', (0, 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."] })),
|
|
13
13
|
ssrName: 'headless',
|
|
14
14
|
docLink: 'https://www.remotion.dev/docs/options/disable-headless',
|
|
15
15
|
type: false,
|
|
@@ -3,7 +3,7 @@ export declare const ignoreCertificateErrorsOption: {
|
|
|
3
3
|
addedIn: string;
|
|
4
4
|
cliFlag: "ignore-certificate-errors";
|
|
5
5
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ssrName:
|
|
6
|
+
ssrName: 'ignoreCertificateErrors';
|
|
7
7
|
docLink: string;
|
|
8
8
|
type: boolean;
|
|
9
9
|
getValue: ({ commandLine }: {
|