@remotion/renderer 4.0.534 → 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.
Files changed (225) hide show
  1. package/dist/browser/BrowserPage.js +4 -0
  2. package/dist/client.d.ts +315 -0
  3. package/dist/combine-chunks.d.ts +2 -1
  4. package/dist/combine-chunks.js +81 -52
  5. package/dist/combine-video-streams.js +3 -0
  6. package/dist/compositor/get-executable-path.js +30 -15
  7. package/dist/ensure-browser.d.ts +3 -0
  8. package/dist/esm/client.mjs +1076 -846
  9. package/dist/esm/index.mjs +394 -351
  10. package/dist/esm/pure.mjs +3 -1
  11. package/dist/get-video-threads-flag.js +5 -1
  12. package/dist/index.d.ts +47 -1
  13. package/dist/mux-video-and-audio.js +3 -0
  14. package/dist/options/allow-html-in-canvas.d.ts +1 -0
  15. package/dist/options/allow-html-in-canvas.js +1 -0
  16. package/dist/options/api-key.d.ts +1 -0
  17. package/dist/options/api-key.js +1 -0
  18. package/dist/options/ask-ai.d.ts +1 -0
  19. package/dist/options/ask-ai.js +1 -0
  20. package/dist/options/audio-bitrate.d.ts +1 -0
  21. package/dist/options/audio-bitrate.js +1 -0
  22. package/dist/options/audio-codec.d.ts +1 -0
  23. package/dist/options/audio-codec.js +1 -0
  24. package/dist/options/beep-on-finish.d.ts +1 -0
  25. package/dist/options/beep-on-finish.js +1 -0
  26. package/dist/options/benchmark-concurrencies.d.ts +1 -0
  27. package/dist/options/benchmark-concurrencies.js +1 -0
  28. package/dist/options/binaries-directory.d.ts +1 -0
  29. package/dist/options/binaries-directory.js +1 -0
  30. package/dist/options/browser-executable.d.ts +1 -0
  31. package/dist/options/browser-executable.js +1 -0
  32. package/dist/options/browser.d.ts +1 -0
  33. package/dist/options/browser.js +1 -0
  34. package/dist/options/bundle-cache.d.ts +1 -0
  35. package/dist/options/bundle-cache.js +1 -0
  36. package/dist/options/canvas-tabs.d.ts +1 -0
  37. package/dist/options/canvas-tabs.js +1 -0
  38. package/dist/options/chrome-mode.d.ts +1 -0
  39. package/dist/options/chrome-mode.js +1 -0
  40. package/dist/options/color-space.d.ts +1 -0
  41. package/dist/options/color-space.js +1 -0
  42. package/dist/options/concurrency.d.ts +1 -0
  43. package/dist/options/concurrency.js +1 -0
  44. package/dist/options/config.d.ts +1 -0
  45. package/dist/options/config.js +1 -0
  46. package/dist/options/crf.d.ts +1 -0
  47. package/dist/options/crf.js +1 -0
  48. package/dist/options/cross-site-isolation.d.ts +1 -0
  49. package/dist/options/cross-site-isolation.js +1 -0
  50. package/dist/options/dark-mode.d.ts +1 -0
  51. package/dist/options/dark-mode.js +1 -0
  52. package/dist/options/default-coding-agent.d.ts +1 -0
  53. package/dist/options/default-coding-agent.js +1 -0
  54. package/dist/options/default-editor.d.ts +1 -0
  55. package/dist/options/default-editor.js +1 -0
  56. package/dist/options/default-premount-in-seconds.d.ts +19 -0
  57. package/dist/options/default-premount-in-seconds.js +36 -0
  58. package/dist/options/delete-after.d.ts +1 -0
  59. package/dist/options/delete-after.js +1 -0
  60. package/dist/options/disable-git-source.d.ts +1 -0
  61. package/dist/options/disable-git-source.js +1 -0
  62. package/dist/options/disable-shared-memory-capture.d.ts +1 -0
  63. package/dist/options/disable-shared-memory-capture.js +1 -0
  64. package/dist/options/disable-web-security.d.ts +1 -0
  65. package/dist/options/disable-web-security.js +1 -0
  66. package/dist/options/disallow-parallel-encoding.d.ts +1 -0
  67. package/dist/options/disallow-parallel-encoding.js +1 -0
  68. package/dist/options/enable-cancellation.d.ts +1 -0
  69. package/dist/options/enable-cancellation.js +1 -0
  70. package/dist/options/enable-lambda-insights.d.ts +1 -0
  71. package/dist/options/enable-lambda-insights.js +1 -0
  72. package/dist/options/enable-multiprocess-on-linux.d.ts +1 -0
  73. package/dist/options/enable-multiprocess-on-linux.js +1 -0
  74. package/dist/options/encoding-buffer-size.d.ts +1 -0
  75. package/dist/options/encoding-buffer-size.js +1 -0
  76. package/dist/options/encoding-max-rate.d.ts +1 -0
  77. package/dist/options/encoding-max-rate.js +1 -0
  78. package/dist/options/enforce-audio.d.ts +1 -0
  79. package/dist/options/enforce-audio.js +1 -0
  80. package/dist/options/env-file.d.ts +1 -0
  81. package/dist/options/env-file.js +1 -0
  82. package/dist/options/every-nth-frame.d.ts +1 -0
  83. package/dist/options/every-nth-frame.js +1 -0
  84. package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -0
  85. package/dist/options/experimental-keep-audio-context-alive.js +1 -0
  86. package/dist/options/experimental-sequence-activity-limit.d.ts +19 -0
  87. package/dist/options/experimental-sequence-activity-limit.js +40 -0
  88. package/dist/options/experimental-sequence-activity.d.ts +19 -0
  89. package/dist/options/experimental-sequence-activity.js +38 -0
  90. package/dist/options/experimental-tracks.d.ts +1 -0
  91. package/dist/options/experimental-tracks.js +1 -0
  92. package/dist/options/folder-expiry.d.ts +1 -0
  93. package/dist/options/folder-expiry.js +1 -0
  94. package/dist/options/for-seamless-aac-concatenation.d.ts +1 -0
  95. package/dist/options/for-seamless-aac-concatenation.js +1 -0
  96. package/dist/options/force-new-studio.d.ts +1 -0
  97. package/dist/options/force-new-studio.js +1 -0
  98. package/dist/options/frames.d.ts +1 -0
  99. package/dist/options/frames.js +1 -0
  100. package/dist/options/gl.d.ts +1 -0
  101. package/dist/options/gl.js +1 -0
  102. package/dist/options/gop-size.d.ts +1 -0
  103. package/dist/options/gop-size.js +1 -0
  104. package/dist/options/hardware-acceleration.d.ts +1 -0
  105. package/dist/options/hardware-acceleration.js +1 -0
  106. package/dist/options/headless.d.ts +1 -0
  107. package/dist/options/headless.js +1 -0
  108. package/dist/options/ignore-certificate-errors.d.ts +1 -0
  109. package/dist/options/ignore-certificate-errors.js +1 -0
  110. package/dist/options/image-sequence-pattern.d.ts +1 -0
  111. package/dist/options/image-sequence-pattern.js +1 -0
  112. package/dist/options/image-sequence.d.ts +1 -0
  113. package/dist/options/image-sequence.js +1 -0
  114. package/dist/options/index.d.ts +175 -0
  115. package/dist/options/index.js +8 -0
  116. package/dist/options/interactivity.d.ts +1 -0
  117. package/dist/options/interactivity.js +1 -0
  118. package/dist/options/ipv4.d.ts +1 -0
  119. package/dist/options/ipv4.js +1 -0
  120. package/dist/options/is-production.d.ts +1 -0
  121. package/dist/options/is-production.js +1 -0
  122. package/dist/options/jpeg-quality.d.ts +1 -0
  123. package/dist/options/jpeg-quality.js +1 -0
  124. package/dist/options/keyboard-shortcuts.d.ts +1 -0
  125. package/dist/options/keyboard-shortcuts.js +1 -0
  126. package/dist/options/latency-hint.d.ts +1 -0
  127. package/dist/options/latency-hint.js +1 -0
  128. package/dist/options/license-key.d.ts +1 -0
  129. package/dist/options/license-key.js +1 -0
  130. package/dist/options/log-level.d.ts +1 -0
  131. package/dist/options/log-level.js +1 -0
  132. package/dist/options/metadata.d.ts +1 -0
  133. package/dist/options/metadata.js +1 -0
  134. package/dist/options/mute.d.ts +1 -0
  135. package/dist/options/mute.js +1 -0
  136. package/dist/options/no-open.d.ts +1 -0
  137. package/dist/options/no-open.js +1 -0
  138. package/dist/options/number-of-gif-loops.d.ts +1 -0
  139. package/dist/options/number-of-gif-loops.js +1 -0
  140. package/dist/options/number-of-shared-audio-tags.d.ts +1 -0
  141. package/dist/options/number-of-shared-audio-tags.js +1 -0
  142. package/dist/options/offthreadvideo-cache-size.d.ts +1 -0
  143. package/dist/options/offthreadvideo-cache-size.js +1 -0
  144. package/dist/options/offthreadvideo-threads.d.ts +1 -0
  145. package/dist/options/offthreadvideo-threads.js +1 -0
  146. package/dist/options/on-browser-download.d.ts +1 -0
  147. package/dist/options/on-browser-download.js +1 -0
  148. package/dist/options/option.d.ts +1 -0
  149. package/dist/options/options-map.d.ts +140 -0
  150. package/dist/options/out-dir.d.ts +1 -0
  151. package/dist/options/out-dir.js +1 -0
  152. package/dist/options/override-duration.d.ts +1 -0
  153. package/dist/options/override-duration.js +1 -0
  154. package/dist/options/override-fps.d.ts +1 -0
  155. package/dist/options/override-fps.js +1 -0
  156. package/dist/options/override-height.d.ts +1 -0
  157. package/dist/options/override-height.js +1 -0
  158. package/dist/options/override-width.d.ts +1 -0
  159. package/dist/options/override-width.js +1 -0
  160. package/dist/options/overwrite.d.ts +1 -0
  161. package/dist/options/overwrite.js +1 -0
  162. package/dist/options/package-manager.d.ts +1 -0
  163. package/dist/options/package-manager.js +1 -0
  164. package/dist/options/pixel-format.d.ts +1 -0
  165. package/dist/options/pixel-format.js +1 -0
  166. package/dist/options/port.d.ts +1 -0
  167. package/dist/options/port.js +1 -0
  168. package/dist/options/prefer-lossless.d.ts +1 -0
  169. package/dist/options/prefer-lossless.js +1 -0
  170. package/dist/options/preview-sample-rate.d.ts +1 -0
  171. package/dist/options/preview-sample-rate.js +1 -0
  172. package/dist/options/props.d.ts +1 -0
  173. package/dist/options/props.js +1 -0
  174. package/dist/options/prores-profile.d.ts +1 -0
  175. package/dist/options/prores-profile.js +1 -0
  176. package/dist/options/public-dir.d.ts +1 -0
  177. package/dist/options/public-dir.js +1 -0
  178. package/dist/options/public-license-key.d.ts +1 -0
  179. package/dist/options/public-license-key.js +1 -0
  180. package/dist/options/public-path.d.ts +1 -0
  181. package/dist/options/public-path.js +1 -0
  182. package/dist/options/repro.d.ts +1 -0
  183. package/dist/options/repro.js +1 -0
  184. package/dist/options/rspack.d.ts +1 -0
  185. package/dist/options/rspack.js +1 -0
  186. package/dist/options/runs.d.ts +1 -0
  187. package/dist/options/runs.js +1 -0
  188. package/dist/options/sample-rate.d.ts +1 -0
  189. package/dist/options/sample-rate.js +1 -0
  190. package/dist/options/scale.d.ts +1 -0
  191. package/dist/options/scale.js +1 -0
  192. package/dist/options/separate-audio.d.ts +1 -0
  193. package/dist/options/separate-audio.js +2 -1
  194. package/dist/options/show-premounting.d.ts +19 -0
  195. package/dist/options/show-premounting.js +33 -0
  196. package/dist/options/skip-skills.d.ts +1 -0
  197. package/dist/options/skip-skills.js +1 -0
  198. package/dist/options/still-frame.d.ts +1 -0
  199. package/dist/options/still-frame.js +1 -0
  200. package/dist/options/still-image-format.d.ts +1 -0
  201. package/dist/options/still-image-format.js +1 -0
  202. package/dist/options/throw-if-site-exists.d.ts +1 -0
  203. package/dist/options/throw-if-site-exists.js +1 -0
  204. package/dist/options/timeout.d.ts +1 -0
  205. package/dist/options/timeout.js +1 -0
  206. package/dist/options/user-agent.d.ts +1 -0
  207. package/dist/options/user-agent.js +1 -0
  208. package/dist/options/version-flag.d.ts +1 -0
  209. package/dist/options/version-flag.js +1 -0
  210. package/dist/options/video-bitrate.d.ts +1 -0
  211. package/dist/options/video-bitrate.js +1 -0
  212. package/dist/options/video-cache-size.d.ts +1 -0
  213. package/dist/options/video-cache-size.js +1 -0
  214. package/dist/options/video-codec.d.ts +1 -0
  215. package/dist/options/video-codec.js +1 -0
  216. package/dist/options/video-image-format.d.ts +1 -0
  217. package/dist/options/video-image-format.js +1 -0
  218. package/dist/options/webhook-custom-data.d.ts +1 -0
  219. package/dist/options/webhook-custom-data.js +1 -0
  220. package/dist/options/webpack-poll.d.ts +1 -0
  221. package/dist/options/webpack-poll.js +1 -0
  222. package/dist/options/x264-preset.d.ts +1 -0
  223. package/dist/options/x264-preset.js +1 -0
  224. package/dist/prespawn-ffmpeg.js +10 -5
  225. package/package.json +13 -13
@@ -13,6 +13,7 @@ let colorSpace = exports.DEFAULT_COLOR_SPACE;
13
13
  const cliFlag = 'color-space';
14
14
  exports.colorSpaceOption = {
15
15
  name: 'Color space',
16
+ addedIn: '4.0.28',
16
17
  cliFlag: 'color-space',
17
18
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Color space to use for the video. Acceptable values:", ' ', jsx_runtime_1.jsxs("code", { children: ['"', exports.DEFAULT_COLOR_SPACE, '"'] }),
18
19
  "(default since 5.0),", ' ', no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? (jsx_runtime_1.jsxs("code", { children: ['"', "bt601", '"', ', '] })) : (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
@@ -1,6 +1,7 @@
1
1
  export type Concurrency = number | string | null;
2
2
  export declare const concurrencyOption: {
3
3
  name: string;
4
+ addedIn: string;
4
5
  cliFlag: "concurrency";
5
6
  description: () => import("react/jsx-runtime").JSX.Element;
6
7
  ssrName: "concurrency";
@@ -24,6 +24,7 @@ const validateConcurrencyValue = (value, setting) => {
24
24
  };
25
25
  exports.concurrencyOption = {
26
26
  name: 'Concurrency',
27
+ addedIn: '1.0.0',
27
28
  cliFlag,
28
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 ",
29
30
  jsx_runtime_1.jsx("code", { children: "os.cpus().length" }),
@@ -1,5 +1,6 @@
1
1
  export declare const configOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "config";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const cliFlag = 'config';
6
6
  exports.configOption = {
7
7
  name: 'Config file',
8
+ addedIn: '1.2.0',
8
9
  cliFlag,
9
10
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Specify a location for the Remotion config file." }),
10
11
  ssrName: null,
@@ -2,6 +2,7 @@ import type { Crf } from '../crf';
2
2
  export declare const validateCrf: (newCrf: Crf) => void;
3
3
  export declare const crfOption: {
4
4
  name: string;
5
+ addedIn: string;
5
6
  cliFlag: "crf";
6
7
  description: () => import("react/jsx-runtime").JSX.Element;
7
8
  ssrName: string;
@@ -12,6 +12,7 @@ exports.validateCrf = validateCrf;
12
12
  const cliFlag = 'crf';
13
13
  exports.crfOption = {
14
14
  name: 'CRF',
15
+ addedIn: '1.4.0',
15
16
  cliFlag,
16
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
18
  ssrName: 'crf',
@@ -1,5 +1,6 @@
1
1
  export declare const enableCrossSiteIsolationOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "cross-site-isolation";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let configuredEnableCrossSiteIsolation = null;
7
7
  const cliFlag = 'cross-site-isolation';
8
8
  exports.enableCrossSiteIsolationOption = {
9
9
  name: 'Enable Cross-Site Isolation',
10
+ addedIn: '4.0.306',
10
11
  cliFlag,
11
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" }),
12
13
  ")."] })),
@@ -1,5 +1,6 @@
1
1
  export declare const darkModeOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "dark-mode";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -7,6 +7,7 @@ let darkMode = DEFAULT_VALUE;
7
7
  const cliFlag = 'dark-mode';
8
8
  exports.darkModeOption = {
9
9
  name: 'Dark Mode',
10
+ addedIn: '4.0.381',
10
11
  cliFlag,
11
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) }),
12
13
  "."] })),
@@ -2,6 +2,7 @@ export declare const defaultCodingAgentIds: readonly ["codex", "cursor", "copilo
2
2
  export type DefaultCodingAgent = (typeof defaultCodingAgentIds)[number];
3
3
  export declare const defaultCodingAgentOption: {
4
4
  name: string;
5
+ addedIn: string;
5
6
  cliFlag: "coding-agent";
6
7
  description: () => import("react/jsx-runtime").JSX.Element;
7
8
  ssrName: null;
@@ -22,6 +22,7 @@ const validateDefaultCodingAgent = (value, source) => {
22
22
  };
23
23
  exports.defaultCodingAgentOption = {
24
24
  name: 'Default coding agent',
25
+ addedIn: '4.0.506',
25
26
  cliFlag,
26
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(', ') }),
27
28
  "."] })),
@@ -12,6 +12,7 @@ export type CustomEditor = {
12
12
  export type DefaultEditor = BuiltInEditor | CustomEditor;
13
13
  export declare const defaultEditorOption: {
14
14
  name: string;
15
+ addedIn: string;
15
16
  cliFlag: "editor";
16
17
  description: () => import("react/jsx-runtime").JSX.Element;
17
18
  ssrName: null;
@@ -57,6 +57,7 @@ const validateDefaultEditor = (value, source) => {
57
57
  };
58
58
  exports.defaultEditorOption = {
59
59
  name: 'Default editor',
60
+ addedIn: '4.0.503',
60
61
  cliFlag,
61
62
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the default editor for opening files from Remotion Studio. Available editors: ",
62
63
  jsx_runtime_1.jsx("code", { children: exports.defaultEditorIds.join(', ') }),
@@ -0,0 +1,19 @@
1
+ export declare const defaultPremountInSecondsOption: {
2
+ name: string;
3
+ addedIn: string;
4
+ cliFlag: "default-premount-in-seconds";
5
+ id: "default-premount-in-seconds";
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,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultPremountInSecondsOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const no_react_1 = require("remotion/no-react");
6
+ let configuredDefaultPremountInSeconds = null;
7
+ const cliFlag = 'default-premount-in-seconds';
8
+ exports.defaultPremountInSecondsOption = {
9
+ name: 'Default premount duration in seconds',
10
+ addedIn: '4.0.535',
11
+ cliFlag,
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." })),
14
+ ssrName: null,
15
+ docLink: 'https://www.remotion.dev/docs/options/default-premount-in-seconds',
16
+ type: 0,
17
+ getValue: ({ commandLine }) => {
18
+ if (commandLine[cliFlag] !== undefined) {
19
+ const value = commandLine[cliFlag];
20
+ no_react_1.NoReactInternals.validateDefaultPremountInSeconds(value);
21
+ return { value: value, source: 'cli' };
22
+ }
23
+ return {
24
+ value: configuredDefaultPremountInSeconds !== null && configuredDefaultPremountInSeconds !== void 0 ? configuredDefaultPremountInSeconds : no_react_1.NoReactInternals.DEFAULT_STUDIO_PREMOUNT_IN_SECONDS,
25
+ source: 'config',
26
+ };
27
+ },
28
+ setConfig(value) {
29
+ no_react_1.NoReactInternals.validateDefaultPremountInSeconds(value);
30
+ configuredDefaultPremountInSeconds = value;
31
+ },
32
+ getConfigValue: () => configuredDefaultPremountInSeconds,
33
+ reset: () => {
34
+ configuredDefaultPremountInSeconds = null;
35
+ },
36
+ };
@@ -1,6 +1,7 @@
1
1
  export type DeleteAfter = '1-day' | '3-days' | '7-days' | '30-days';
2
2
  export declare const deleteAfterOption: {
3
3
  name: string;
4
+ addedIn: string;
4
5
  cliFlag: "delete-after";
5
6
  description: () => import("react/jsx-runtime").JSX.Element;
6
7
  ssrName: "deleteAfter";
@@ -6,6 +6,7 @@ const cliFlag = 'delete-after';
6
6
  let deleteAfter = null;
7
7
  exports.deleteAfterOption = {
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: ["Automatically delete the render after a certain period. Accepted values are ",
@@ -9,6 +9,7 @@ export declare const disableGitSourceOption: {
9
9
  value: boolean;
10
10
  };
11
11
  name: string;
12
+ addedIn: string;
12
13
  setConfig: () => never;
13
14
  ssrName: string;
14
15
  type: boolean;
@@ -20,6 +20,7 @@ exports.disableGitSourceOption = {
20
20
  };
21
21
  },
22
22
  name: 'Disable Git source',
23
+ addedIn: '4.0.182',
23
24
  setConfig: () => {
24
25
  throw new Error('Not implemented');
25
26
  },
@@ -1,5 +1,6 @@
1
1
  export declare const disableSharedMemoryCaptureOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "disable-shared-memory-capture";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -6,6 +6,7 @@ let disableSharedMemoryCapture = false;
6
6
  const cliFlag = 'disable-shared-memory-capture';
7
7
  exports.disableSharedMemoryCaptureOption = {
8
8
  name: 'Disable shared-memory capture',
9
+ addedIn: '4.0.534',
9
10
  cliFlag,
10
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 ",
11
12
  jsx_runtime_1.jsx("code", { children: "false" }),
@@ -1,5 +1,6 @@
1
1
  export declare const disableWebSecurityOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "disable-web-security";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "disableWebSecurity";
@@ -6,6 +6,7 @@ let disableWebSecurity = false;
6
6
  const cliFlag = 'disable-web-security';
7
7
  exports.disableWebSecurityOption = {
8
8
  name: 'Disable web security',
9
+ addedIn: '2.6.5',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "This will most notably disable CORS in Chrome among other security features." })),
11
12
  ssrName: 'disableWebSecurity',
@@ -1,5 +1,6 @@
1
1
  export declare const disallowParallelEncodingOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "disallow-parallel-encoding";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -6,6 +6,7 @@ let disallowParallelEncoding = false;
6
6
  const cliFlag = 'disallow-parallel-encoding';
7
7
  exports.disallowParallelEncodingOption = {
8
8
  name: 'Disallow parallel encoding',
9
+ addedIn: '3.2.29',
9
10
  cliFlag,
10
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
12
  ssrName: 'disallowParallelEncoding',
@@ -1,5 +1,6 @@
1
1
  export declare const enableCancellationOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "enable-cancellation";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ const cliFlag = 'enable-cancellation';
6
6
  let enableCancellation = false;
7
7
  exports.enableCancellationOption = {
8
8
  name: 'Enable cancellation',
9
+ addedIn: '4.0.515',
9
10
  cliFlag,
10
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" }),
11
12
  ". Enabling cancellation causes each renderer function to poll S3 once per second while it is running."] })),
@@ -1,5 +1,6 @@
1
1
  export declare const enableLambdaInsights: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "enable-lambda-insights";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -6,6 +6,7 @@ const cliFlag = 'enable-lambda-insights';
6
6
  let option = false;
7
7
  exports.enableLambdaInsights = {
8
8
  name: 'Enable Lambda Insights',
9
+ addedIn: '4.0.61',
9
10
  cliFlag,
10
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" }),
11
12
  ". For this to work, you may have to update your role permission."] })),
@@ -1,5 +1,6 @@
1
1
  export declare const enableMultiprocessOnLinuxOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "enable-multiprocess-on-linux";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -7,6 +7,7 @@ let multiProcessOnLinux = DEFAULT_VALUE;
7
7
  const cliFlag = 'enable-multiprocess-on-linux';
8
8
  exports.enableMultiprocessOnLinuxOption = {
9
9
  name: 'Enable Multiprocess on Linux',
10
+ addedIn: '4.0.42',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Removes the ",
12
13
  jsx_runtime_1.jsx("code", { children: '--single-process' }),
@@ -1,5 +1,6 @@
1
1
  export declare const encodingBufferSizeOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "buffer-size";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "encodingBufferSize";
@@ -12,6 +12,7 @@ const setEncodingBufferSize = (bitrate) => {
12
12
  const cliFlag = 'buffer-size';
13
13
  exports.encodingBufferSizeOption = {
14
14
  name: 'FFmpeg -bufsize flag',
15
+ addedIn: '4.0.78',
15
16
  cliFlag,
16
17
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The value for the ",
17
18
  jsx_runtime_1.jsx("code", { children: "-bufsize" }),
@@ -1,5 +1,6 @@
1
1
  export declare const encodingMaxRateOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "max-rate";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "encodingMaxRate";
@@ -6,6 +6,7 @@ let encodingMaxRate = null;
6
6
  const cliFlag = 'max-rate';
7
7
  exports.encodingMaxRateOption = {
8
8
  name: 'FFmpeg -maxrate flag',
9
+ addedIn: '4.0.78',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The value for the ",
11
12
  jsx_runtime_1.jsx("code", { children: "-maxrate" }),
@@ -1,5 +1,6 @@
1
1
  export declare const enforceAudioOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "enforce-audio-track";
4
5
  description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -7,6 +7,7 @@ let enforceAudioTrackState = DEFAULT_ENFORCE_AUDIO_TRACK;
7
7
  const cliFlag = 'enforce-audio-track';
8
8
  exports.enforceAudioOption = {
9
9
  name: 'Enforce Audio Track',
10
+ addedIn: '3.2.1',
10
11
  cliFlag,
11
12
  description: (mode) => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
12
13
  jsx_runtime_1.jsxs("p", { children: ["Defaults to ",
@@ -1,5 +1,6 @@
1
1
  export declare const envFileOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "env-file";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ const cliFlag = 'env-file';
6
6
  let envFileLocation = null;
7
7
  exports.envFileOption = {
8
8
  name: 'Env File',
9
+ addedIn: '2.2.0',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify a location for a dotenv file. Default ",
11
12
  jsx_runtime_1.jsx("code", { children: ".env" }),
@@ -1,5 +1,6 @@
1
1
  export declare const everyNthFrameOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "every-nth-frame";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "everyNthFrame";
@@ -7,6 +7,7 @@ let everyNthFrame = DEFAULT_EVERY_NTH_FRAME;
7
7
  const cliFlag = 'every-nth-frame';
8
8
  exports.everyNthFrameOption = {
9
9
  name: 'Every nth frame',
10
+ addedIn: '3.1.0',
10
11
  cliFlag,
11
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 ",
12
13
  jsx_runtime_1.jsx("code", { children: "fps" }),
@@ -1,5 +1,6 @@
1
1
  export declare const experimentalKeepAudioContextAliveOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "experimental-keep-audio-context-alive";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ let experimentalKeepAudioContextAlive = false;
6
6
  const cliFlag = 'experimental-keep-audio-context-alive';
7
7
  exports.experimentalKeepAudioContextAliveOption = {
8
8
  name: 'Keep AudioContext alive (experimental)',
9
+ addedIn: '4.0.508',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Keeps the shared ",
11
12
  jsx_runtime_1.jsx("code", { children: "AudioContext" }),
@@ -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
+ };
@@ -1,5 +1,6 @@
1
1
  export declare const experimentalTracksOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "experimental-tracks";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let configuredExperimentalTracksEnabled = null;
7
7
  const cliFlag = 'experimental-tracks';
8
8
  exports.experimentalTracksOption = {
9
9
  name: 'Enable experimental timeline tracks',
10
+ addedIn: '4.0.534',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable experimental timeline tracks in the Remotion Studio. Group clips from ",
12
13
  jsx_runtime_1.jsx("code", { children: '<Track>' }),
@@ -1,5 +1,6 @@
1
1
  export declare const folderExpiryOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "enable-folder-expiry";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "enableFolderExpiry";
@@ -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" }),
@@ -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,6 +11,7 @@ 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", {}),
@@ -1,5 +1,6 @@
1
1
  export declare const forceNewStudioOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "force-new";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ 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,