@remotion/renderer 4.0.533 → 4.0.534

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 (174) hide show
  1. package/dist/aac-priming.js +6 -2
  2. package/dist/browser/BrowserFetcher.d.ts +7 -1
  3. package/dist/browser/BrowserFetcher.js +33 -13
  4. package/dist/browser/Connection.js +5 -17
  5. package/dist/browser/DOMWorld.js +19 -13
  6. package/dist/browser/devtools-commands.d.ts +13 -1
  7. package/dist/browser/devtools-types.d.ts +62 -0
  8. package/dist/browser/get-chrome-download-url.d.ts +1 -1
  9. package/dist/browser/get-chrome-download-url.js +19 -33
  10. package/dist/can-use-parallel-encoding.d.ts +0 -1
  11. package/dist/can-use-parallel-encoding.js +10 -10
  12. package/dist/client.d.ts +87 -4
  13. package/dist/client.js +2 -0
  14. package/dist/cycle-browser-tabs.js +9 -1
  15. package/dist/ensure-browser.js +30 -6
  16. package/dist/esm/client.mjs +937 -796
  17. package/dist/esm/index.mjs +4125 -3027
  18. package/dist/esm/pure.mjs +33 -9
  19. package/dist/file-extensions.js +4 -1
  20. package/dist/get-mp4-brand.d.ts +1 -0
  21. package/dist/get-mp4-brand.js +21 -0
  22. package/dist/image-format.d.ts +1 -0
  23. package/dist/image-format.js +8 -4
  24. package/dist/index.d.ts +11 -1
  25. package/dist/index.js +4 -0
  26. package/dist/memory/from-macos-sysctl.d.ts +1 -0
  27. package/dist/memory/from-macos-sysctl.js +50 -0
  28. package/dist/memory/from-proc-meminfo.d.ts +1 -1
  29. package/dist/memory/from-proc-meminfo.js +7 -4
  30. package/dist/memory/get-available-memory.js +29 -21
  31. package/dist/mux-video-and-audio.js +8 -2
  32. package/dist/next-frame-to-render.d.ts +3 -7
  33. package/dist/next-frame-to-render.js +3 -22
  34. package/dist/open-browser.js +1 -0
  35. package/dist/options/allow-html-in-canvas.js +1 -1
  36. package/dist/options/api-key.js +1 -1
  37. package/dist/options/ask-ai.js +1 -1
  38. package/dist/options/audio-bitrate.js +1 -1
  39. package/dist/options/audio-codec.js +12 -6
  40. package/dist/options/beep-on-finish.js +1 -1
  41. package/dist/options/benchmark-concurrencies.js +1 -1
  42. package/dist/options/binaries-directory.js +1 -1
  43. package/dist/options/browser-executable.js +1 -1
  44. package/dist/options/browser.js +1 -1
  45. package/dist/options/bundle-cache.js +1 -1
  46. package/dist/options/canvas-tabs.js +1 -1
  47. package/dist/options/chrome-mode.js +1 -1
  48. package/dist/options/color-space.js +1 -1
  49. package/dist/options/concurrency.js +1 -1
  50. package/dist/options/config.js +1 -1
  51. package/dist/options/crf.js +1 -1
  52. package/dist/options/cross-site-isolation.js +1 -1
  53. package/dist/options/dark-mode.js +1 -1
  54. package/dist/options/default-coding-agent.js +1 -1
  55. package/dist/options/default-editor.js +1 -1
  56. package/dist/options/delete-after.js +1 -1
  57. package/dist/options/disable-git-source.js +1 -1
  58. package/dist/options/disable-shared-memory-capture.d.ts +16 -0
  59. package/dist/options/disable-shared-memory-capture.js +29 -0
  60. package/dist/options/disable-web-security.js +1 -1
  61. package/dist/options/disallow-parallel-encoding.js +1 -1
  62. package/dist/options/enable-cancellation.js +1 -1
  63. package/dist/options/enable-lambda-insights.js +1 -1
  64. package/dist/options/enable-multiprocess-on-linux.js +1 -1
  65. package/dist/options/encoding-buffer-size.js +1 -1
  66. package/dist/options/encoding-max-rate.js +1 -1
  67. package/dist/options/enforce-audio.js +1 -1
  68. package/dist/options/env-file.js +1 -1
  69. package/dist/options/every-nth-frame.js +1 -1
  70. package/dist/options/experimental-keep-audio-context-alive.js +1 -1
  71. package/dist/options/experimental-tracks.d.ts +18 -0
  72. package/dist/options/experimental-tracks.js +42 -0
  73. package/dist/options/folder-expiry.js +1 -1
  74. package/dist/options/for-seamless-aac-concatenation.js +1 -1
  75. package/dist/options/force-new-studio.js +1 -1
  76. package/dist/options/frames.js +1 -1
  77. package/dist/options/gl.js +1 -1
  78. package/dist/options/gop-size.js +1 -1
  79. package/dist/options/hardware-acceleration.js +1 -1
  80. package/dist/options/headless.js +1 -1
  81. package/dist/options/ignore-certificate-errors.js +1 -1
  82. package/dist/options/image-sequence-pattern.d.ts +1 -1
  83. package/dist/options/image-sequence-pattern.js +1 -1
  84. package/dist/options/image-sequence.js +1 -1
  85. package/dist/options/index.d.ts +36 -2
  86. package/dist/options/index.js +4 -0
  87. package/dist/options/interactivity.js +1 -1
  88. package/dist/options/ipv4.js +1 -1
  89. package/dist/options/is-production.js +1 -1
  90. package/dist/options/jpeg-quality.js +5 -2
  91. package/dist/options/keyboard-shortcuts.js +1 -1
  92. package/dist/options/latency-hint.js +1 -1
  93. package/dist/options/license-key.js +1 -1
  94. package/dist/options/log-level.js +1 -1
  95. package/dist/options/metadata.js +1 -1
  96. package/dist/options/mute.js +1 -1
  97. package/dist/options/no-open.js +1 -1
  98. package/dist/options/number-of-gif-loops.js +1 -1
  99. package/dist/options/number-of-shared-audio-tags.js +1 -1
  100. package/dist/options/offthreadvideo-cache-size.js +1 -1
  101. package/dist/options/offthreadvideo-threads.js +1 -1
  102. package/dist/options/on-browser-download.js +1 -1
  103. package/dist/options/options-map.d.ts +49 -1
  104. package/dist/options/options-map.js +4 -0
  105. package/dist/options/out-dir.js +1 -1
  106. package/dist/options/override-duration.js +1 -1
  107. package/dist/options/override-fps.js +1 -1
  108. package/dist/options/override-height.js +1 -1
  109. package/dist/options/override-width.js +1 -1
  110. package/dist/options/overwrite.js +1 -1
  111. package/dist/options/package-manager.js +1 -1
  112. package/dist/options/pixel-format.js +1 -1
  113. package/dist/options/port.js +1 -1
  114. package/dist/options/prefer-lossless.js +1 -1
  115. package/dist/options/preview-sample-rate.js +1 -1
  116. package/dist/options/props.js +1 -1
  117. package/dist/options/prores-profile.js +1 -1
  118. package/dist/options/public-dir.js +1 -1
  119. package/dist/options/public-license-key.js +1 -1
  120. package/dist/options/public-path.js +1 -1
  121. package/dist/options/repro.js +1 -1
  122. package/dist/options/rspack.d.ts +1 -1
  123. package/dist/options/rspack.js +1 -1
  124. package/dist/options/runs.js +1 -1
  125. package/dist/options/sample-rate.js +1 -1
  126. package/dist/options/scale.js +1 -1
  127. package/dist/options/separate-audio.js +1 -1
  128. package/dist/options/skip-skills.js +1 -1
  129. package/dist/options/still-frame.js +1 -1
  130. package/dist/options/still-image-format.js +1 -1
  131. package/dist/options/throw-if-site-exists.js +1 -1
  132. package/dist/options/timeout.js +1 -1
  133. package/dist/options/user-agent.js +1 -1
  134. package/dist/options/version-flag.js +1 -1
  135. package/dist/options/video-bitrate.js +1 -1
  136. package/dist/options/video-cache-size.js +1 -1
  137. package/dist/options/video-codec.js +4 -3
  138. package/dist/options/video-image-format.js +6 -2
  139. package/dist/options/webhook-custom-data.js +1 -1
  140. package/dist/options/webpack-poll.js +1 -1
  141. package/dist/options/x264-preset.js +1 -1
  142. package/dist/prespawn-ffmpeg.d.ts +20 -0
  143. package/dist/prespawn-ffmpeg.js +152 -29
  144. package/dist/probe-shared-memory-capture.d.ts +8 -0
  145. package/dist/probe-shared-memory-capture.js +111 -0
  146. package/dist/puppeteer-screenshot.d.ts +3 -1
  147. package/dist/puppeteer-screenshot.js +1 -0
  148. package/dist/pure.d.ts +1 -1
  149. package/dist/remotion-shared-memory-ffmpeg.d.ts +26 -0
  150. package/dist/remotion-shared-memory-ffmpeg.js +312 -0
  151. package/dist/remotion-shared-memory.d.ts +49 -0
  152. package/dist/remotion-shared-memory.js +359 -0
  153. package/dist/render-frame-and-retry-target-close.d.ts +5 -2
  154. package/dist/render-frame-and-retry-target-close.js +20 -4
  155. package/dist/render-frame-with-option-to-reject.d.ts +4 -1
  156. package/dist/render-frame-with-option-to-reject.js +206 -115
  157. package/dist/render-frame.d.ts +4 -5
  158. package/dist/render-frame.js +3 -1
  159. package/dist/render-frames.d.ts +3 -0
  160. package/dist/render-frames.js +15 -18
  161. package/dist/render-media.d.ts +1 -1
  162. package/dist/render-media.js +131 -46
  163. package/dist/render-still.js +1 -0
  164. package/dist/screenshot-background.d.ts +2 -0
  165. package/dist/screenshot-background.js +20 -0
  166. package/dist/screenshot-task.d.ts +4 -2
  167. package/dist/screenshot-task.js +40 -21
  168. package/dist/seek-to-frame.js +1 -1
  169. package/dist/stitch-frames-to-video.js +71 -10
  170. package/dist/take-frame.d.ts +11 -3
  171. package/dist/take-frame.js +10 -8
  172. package/dist/validate-output-filename.d.ts +1 -1
  173. package/dist/validate-output-filename.js +10 -2
  174. package/package.json +13 -13
@@ -17,7 +17,7 @@ exports.binariesDirectoryOption = {
17
17
  jsx_runtime_1.jsx("br", {}),
18
18
  "This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron."] })),
19
19
  ssrName: 'binariesDirectory',
20
- docLink: 'https://www.remotion.dev/docs/renderer',
20
+ docLink: 'https://www.remotion.dev/docs/options/binaries-directory',
21
21
  type: '',
22
22
  getValue: ({ commandLine }) => {
23
23
  if (commandLine[cliFlag] !== undefined) {
@@ -9,7 +9,7 @@ exports.browserExecutableOption = {
9
9
  cliFlag,
10
10
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec." })),
11
11
  ssrName: 'browserExecutable',
12
- docLink: 'https://www.remotion.dev/docs/config#setbrowserexecutable',
12
+ docLink: 'https://www.remotion.dev/docs/options/browser-executable',
13
13
  type: null,
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined) {
@@ -9,7 +9,7 @@ exports.browserOption = {
9
9
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify the browser which should be used for opening a tab. The default browser will be used by default. Pass an absolute path or", ' ', jsx_runtime_1.jsx("code", { children: "\"chrome\"" }),
10
10
  " to use Chrome. If Chrome is selected as the browser and you are on macOS, Remotion will try to reuse an existing tab."] })),
11
11
  ssrName: null,
12
- docLink: 'https://www.remotion.dev/docs/cli/studio#--browser',
12
+ docLink: 'https://www.remotion.dev/docs/options/browser',
13
13
  getValue: ({ commandLine }) => {
14
14
  if (commandLine[cliFlag] !== undefined) {
15
15
  return {
@@ -10,7 +10,7 @@ exports.bundleCacheOption = {
10
10
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable or disable Webpack caching. This flag is enabled by default, use", ' ', jsx_runtime_1.jsx("code", { children: "--bundle-cache=false" }),
11
11
  " to disable caching."] })),
12
12
  ssrName: null,
13
- docLink: 'https://www.remotion.dev/docs/config#setcachingenabled',
13
+ docLink: 'https://www.remotion.dev/docs/options/bundle-cache',
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
@@ -10,7 +10,7 @@ exports.canvasTabsOption = {
10
10
  cliFlag,
11
11
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Enable or disable the tabs above the Studio canvas." }),
12
12
  ssrName: null,
13
- docLink: 'https://www.remotion.dev/docs/config#setcanvastabsenabled',
13
+ docLink: 'https://www.remotion.dev/docs/options/disable-canvas-tabs',
14
14
  type: false,
15
15
  getValue: ({ commandLine }) => {
16
16
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -20,7 +20,7 @@ exports.chromeModeOption = {
20
20
  " to take advantage of GPU drivers on Linux."] })
21
21
  ] }));
22
22
  },
23
- docLink: 'https://www.remotion.dev/chrome-for-testing',
23
+ docLink: 'https://www.remotion.dev/docs/options/chrome-mode',
24
24
  getValue: ({ commandLine }) => {
25
25
  if (commandLine[cliFlag]) {
26
26
  if (!exports.validChromeModeOptions.includes(commandLine[cliFlag])) {
@@ -22,7 +22,7 @@ exports.colorSpaceOption = {
22
22
  "For best color accuracy, it is recommended to also use", ' ', jsx_runtime_1.jsxs("code", { children: ['"', "png", '"'] }), ' ', "as the image format to have accurate color transformations throughout.",
23
23
  jsx_runtime_1.jsx("br", {}),
24
24
  "Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."] })),
25
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#colorspace',
25
+ docLink: 'https://www.remotion.dev/docs/options/color-space',
26
26
  ssrName: 'colorSpace',
27
27
  type: exports.DEFAULT_COLOR_SPACE,
28
28
  getValue: ({ commandLine }) => {
@@ -31,7 +31,7 @@ exports.concurrencyOption = {
31
31
  jsx_runtime_1.jsx("code", { children: "50%" }),
32
32
  ")."] })),
33
33
  ssrName: 'concurrency',
34
- docLink: 'https://www.remotion.dev/docs/config#setconcurrency',
34
+ docLink: 'https://www.remotion.dev/docs/options/concurrency',
35
35
  type: null,
36
36
  getValue: ({ commandLine }) => {
37
37
  if (commandLine[cliFlag] !== undefined) {
@@ -8,7 +8,7 @@ exports.configOption = {
8
8
  cliFlag,
9
9
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Specify a location for the Remotion config file." }),
10
10
  ssrName: null,
11
- docLink: 'https://www.remotion.dev/docs/config',
11
+ docLink: 'https://www.remotion.dev/docs/options/config',
12
12
  getValue: ({ commandLine }) => {
13
13
  if (commandLine[cliFlag] !== undefined) {
14
14
  return {
@@ -15,7 +15,7 @@ exports.crfOption = {
15
15
  cliFlag,
16
16
  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
17
  ssrName: 'crf',
18
- docLink: 'https://www.remotion.dev/docs/encoding/#controlling-quality-using-the-crf-setting',
18
+ docLink: 'https://www.remotion.dev/docs/options/crf',
19
19
  type: 0,
20
20
  getValue: ({ commandLine }) => {
21
21
  if (commandLine[cliFlag] !== undefined) {
@@ -11,7 +11,7 @@ exports.enableCrossSiteIsolationOption = {
11
11
  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
12
  ")."] })),
13
13
  ssrName: null,
14
- docLink: 'https://www.remotion.dev/docs/config#setenablecrosssiteisolation',
14
+ docLink: 'https://www.remotion.dev/docs/options/cross-site-isolation',
15
15
  type: false,
16
16
  getValue: ({ commandLine }) => {
17
17
  if (commandLine[cliFlag] !== undefined) {
@@ -11,7 +11,7 @@ exports.darkModeOption = {
11
11
  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
12
  "."] })),
13
13
  ssrName: 'darkMode',
14
- docLink: 'https://www.remotion.dev/docs/chromium-flags#--dark-mode',
14
+ docLink: 'https://www.remotion.dev/docs/options/dark-mode',
15
15
  type: false,
16
16
  getValue: ({ commandLine }) => {
17
17
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -26,7 +26,7 @@ exports.defaultCodingAgentOption = {
26
26
  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
27
  "."] })),
28
28
  ssrName: null,
29
- docLink: 'https://www.remotion.dev/docs/config#setdefaultcodingagent',
29
+ docLink: 'https://www.remotion.dev/docs/options/coding-agent',
30
30
  type: null,
31
31
  getValue: ({ commandLine }) => {
32
32
  const cliValue = commandLine[cliFlag];
@@ -62,7 +62,7 @@ exports.defaultEditorOption = {
62
62
  jsx_runtime_1.jsx("code", { children: exports.defaultEditorIds.join(', ') }),
63
63
  "."] })),
64
64
  ssrName: null,
65
- docLink: 'https://www.remotion.dev/docs/studio/open-in-editor',
65
+ docLink: 'https://www.remotion.dev/docs/options/editor',
66
66
  type: null,
67
67
  getValue: ({ commandLine }) => {
68
68
  const cliValue = commandLine[cliFlag];
@@ -21,7 +21,7 @@ exports.deleteAfterOption = {
21
21
  "."] }));
22
22
  },
23
23
  ssrName: 'deleteAfter',
24
- docLink: 'https://www.remotion.dev/docs/lambda/autodelete',
24
+ docLink: 'https://www.remotion.dev/docs/options/delete-after',
25
25
  type: '1-day',
26
26
  getValue: ({ commandLine }) => {
27
27
  if (commandLine[cliFlag] !== undefined) {
@@ -6,7 +6,7 @@ const cliFlag = 'disable-git-source';
6
6
  exports.disableGitSourceOption = {
7
7
  cliFlag,
8
8
  description: () => `Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,
9
- docLink: 'https://remotion.dev/docs/bundle',
9
+ docLink: 'https://www.remotion.dev/docs/options/disable-git-source',
10
10
  getValue: ({ commandLine }) => {
11
11
  if (commandLine[cliFlag]) {
12
12
  return {
@@ -0,0 +1,16 @@
1
+ export declare const disableSharedMemoryCaptureOption: {
2
+ name: string;
3
+ cliFlag: "disable-shared-memory-capture";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: string;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig(value: boolean): void;
15
+ id: "disable-shared-memory-capture";
16
+ };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.disableSharedMemoryCaptureOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let disableSharedMemoryCapture = false;
6
+ const cliFlag = 'disable-shared-memory-capture';
7
+ exports.disableSharedMemoryCaptureOption = {
8
+ name: 'Disable shared-memory capture',
9
+ cliFlag,
10
+ 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
+ jsx_runtime_1.jsx("code", { children: "false" }),
12
+ "."] })),
13
+ ssrName: 'disableSharedMemoryCapture',
14
+ docLink: 'https://www.remotion.dev/docs/options/disable-shared-memory-capture',
15
+ type: false,
16
+ getValue: ({ commandLine }) => {
17
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
18
+ return { value: commandLine[cliFlag], source: 'cli' };
19
+ }
20
+ if (disableSharedMemoryCapture !== false) {
21
+ return { value: disableSharedMemoryCapture, source: 'config' };
22
+ }
23
+ return { value: false, source: 'default' };
24
+ },
25
+ setConfig(value) {
26
+ disableSharedMemoryCapture = value;
27
+ },
28
+ id: cliFlag,
29
+ };
@@ -9,7 +9,7 @@ exports.disableWebSecurityOption = {
9
9
  cliFlag,
10
10
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "This will most notably disable CORS in Chrome among other security features." })),
11
11
  ssrName: 'disableWebSecurity',
12
- docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-web-security',
12
+ docLink: 'https://www.remotion.dev/docs/options/disable-web-security',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -9,7 +9,7 @@ exports.disallowParallelEncodingOption = {
9
9
  cliFlag,
10
10
  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
11
  ssrName: 'disallowParallelEncoding',
12
- docLink: 'https://www.remotion.dev/docs/config#setdisallowparallelencoding',
12
+ docLink: 'https://www.remotion.dev/docs/options/disallow-parallel-encoding',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -10,7 +10,7 @@ exports.enableCancellationOption = {
10
10
  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
11
  ". Enabling cancellation causes each renderer function to poll S3 once per second while it is running."] })),
12
12
  ssrName: null,
13
- docLink: 'https://www.remotion.dev/docs/lambda/cli/render#--enable-cancellation',
13
+ docLink: 'https://www.remotion.dev/docs/options/enable-cancellation',
14
14
  type: false,
15
15
  setConfig: (value) => {
16
16
  enableCancellation = value;
@@ -10,7 +10,7 @@ exports.enableLambdaInsights = {
10
10
  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
11
  ". For this to work, you may have to update your role permission."] })),
12
12
  ssrName: 'enableLambdaInsights',
13
- docLink: 'https://www.remotion.dev/docs/lambda/insights',
13
+ docLink: 'https://www.remotion.dev/docs/options/enable-lambda-insights',
14
14
  type: false,
15
15
  setConfig: (value) => {
16
16
  option = value;
@@ -22,7 +22,7 @@ exports.enableMultiprocessOnLinuxOption = {
22
22
  jsx_runtime_1.jsx("br", {}),
23
23
  "This flag will be removed in Remotion v5.0."] })),
24
24
  ssrName: 'chromiumOptions.enableMultiprocessOnLinux',
25
- docLink: 'https://www.remotion.dev/docs/chromium-flags',
25
+ docLink: 'https://www.remotion.dev/docs/options/enable-multiprocess-on-linux',
26
26
  type: false,
27
27
  getValue: ({ commandLine }) => {
28
28
  if (commandLine[cliFlag] !== undefined) {
@@ -17,7 +17,7 @@ exports.encodingBufferSizeOption = {
17
17
  jsx_runtime_1.jsx("code", { children: "-bufsize" }),
18
18
  " 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."] })),
19
19
  ssrName: 'encodingBufferSize',
20
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#encodingbuffersize',
20
+ docLink: 'https://www.remotion.dev/docs/options/buffer-size',
21
21
  type: '',
22
22
  getValue: ({ commandLine }) => {
23
23
  if (commandLine[cliFlag] !== undefined) {
@@ -11,7 +11,7 @@ exports.encodingMaxRateOption = {
11
11
  jsx_runtime_1.jsx("code", { children: "-maxrate" }),
12
12
  " 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."] })),
13
13
  ssrName: 'encodingMaxRate',
14
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#encodingmaxrate',
14
+ docLink: 'https://www.remotion.dev/docs/options/max-rate',
15
15
  type: '',
16
16
  getValue: ({ commandLine }) => {
17
17
  if (commandLine[cliFlag] !== undefined) {
@@ -24,7 +24,7 @@ exports.enforceAudioOption = {
24
24
  " takes precedence."] })
25
25
  ] })),
26
26
  ssrName: 'enforceAudioTrack',
27
- docLink: 'https://www.remotion.dev/docs/config#setenforceaudiotrack-',
27
+ docLink: 'https://www.remotion.dev/docs/options/enforce-audio-track',
28
28
  type: false,
29
29
  getValue: ({ commandLine }) => {
30
30
  if (commandLine[cliFlag]) {
@@ -11,7 +11,7 @@ exports.envFileOption = {
11
11
  jsx_runtime_1.jsx("code", { children: ".env" }),
12
12
  "."] })),
13
13
  ssrName: null,
14
- docLink: 'https://www.remotion.dev/docs/cli/render#--env-file',
14
+ docLink: 'https://www.remotion.dev/docs/options/env-file',
15
15
  getValue: ({ commandLine }) => {
16
16
  if (commandLine[cliFlag] !== undefined) {
17
17
  return {
@@ -15,7 +15,7 @@ exports.everyNthFrameOption = {
15
15
  jsx_runtime_1.jsx("code", { children: "15" }),
16
16
  "."] })),
17
17
  ssrName: 'everyNthFrame',
18
- docLink: 'https://www.remotion.dev/docs/config#seteverynthframe',
18
+ docLink: 'https://www.remotion.dev/docs/options/every-nth-frame',
19
19
  type: DEFAULT_EVERY_NTH_FRAME,
20
20
  getValue: ({ commandLine }) => {
21
21
  if (commandLine[cliFlag] !== undefined) {
@@ -11,7 +11,7 @@ exports.experimentalKeepAudioContextAliveOption = {
11
11
  jsx_runtime_1.jsx("code", { children: "AudioContext" }),
12
12
  " running while the Remotion Studio is paused."] })),
13
13
  ssrName: null,
14
- docLink: 'https://www.remotion.dev/docs/config#setexperimentalkeepaudiocontextalive',
14
+ docLink: 'https://www.remotion.dev/docs/options/experimental-keep-audio-context-alive',
15
15
  type: false,
16
16
  getValue: ({ commandLine }) => {
17
17
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -0,0 +1,18 @@
1
+ export declare const experimentalTracksOption: {
2
+ name: string;
3
+ cliFlag: "experimental-tracks";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: null;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig(value: boolean): void;
15
+ getConfigValue: () => boolean | null;
16
+ reset: () => void;
17
+ id: "experimental-tracks";
18
+ };
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.experimentalTracksOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let experimentalTracksEnabled = false;
6
+ let configuredExperimentalTracksEnabled = null;
7
+ const cliFlag = 'experimental-tracks';
8
+ exports.experimentalTracksOption = {
9
+ name: 'Enable experimental timeline tracks',
10
+ cliFlag,
11
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Enable experimental timeline tracks in the Remotion Studio. Group clips from ",
12
+ jsx_runtime_1.jsx("code", { children: '<Track>' }),
13
+ ", ",
14
+ jsx_runtime_1.jsx("code", { children: '<Series>' }),
15
+ " and", ' ', jsx_runtime_1.jsx("code", { children: '<TransitionSeries>' }),
16
+ " on shared rows, with overlays on additional rows. Disabled by default."] })),
17
+ ssrName: null,
18
+ docLink: 'https://www.remotion.dev/docs/options/experimental-tracks',
19
+ type: false,
20
+ getValue: ({ commandLine }) => {
21
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
22
+ return {
23
+ value: commandLine[cliFlag],
24
+ source: 'cli',
25
+ };
26
+ }
27
+ return {
28
+ value: experimentalTracksEnabled,
29
+ source: 'config',
30
+ };
31
+ },
32
+ setConfig(value) {
33
+ experimentalTracksEnabled = value;
34
+ configuredExperimentalTracksEnabled = value;
35
+ },
36
+ getConfigValue: () => configuredExperimentalTracksEnabled,
37
+ reset: () => {
38
+ experimentalTracksEnabled = false;
39
+ configuredExperimentalTracksEnabled = null;
40
+ },
41
+ id: cliFlag,
42
+ };
@@ -14,7 +14,7 @@ exports.folderExpiryOption = {
14
14
  "."] }));
15
15
  },
16
16
  ssrName: 'enableFolderExpiry',
17
- docLink: 'https://www.remotion.dev/docs/lambda/autodelete',
17
+ docLink: 'https://www.remotion.dev/docs/options/enable-folder-expiry',
18
18
  type: false,
19
19
  getValue: ({ commandLine }) => {
20
20
  if (commandLine[cliFlag] !== undefined) {
@@ -15,7 +15,7 @@ exports.forSeamlessAacConcatenationOption = {
15
15
  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
16
  jsx_runtime_1.jsx("br", {}), jsx_runtime_1.jsx("br", {}),
17
17
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."] })),
18
- docLink: 'https://remotion.dev/docs/renderer',
18
+ docLink: 'https://www.remotion.dev/docs/options/for-seamless-aac-concatenation',
19
19
  getValue: ({ commandLine }) => {
20
20
  if (commandLine[cliFlag]) {
21
21
  return {
@@ -9,7 +9,7 @@ exports.forceNewStudioOption = {
9
9
  cliFlag,
10
10
  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
11
  ssrName: null,
12
- docLink: 'https://www.remotion.dev/docs/config#setforcenewstudioenabled',
12
+ docLink: 'https://www.remotion.dev/docs/options/force-new',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -89,7 +89,7 @@ exports.framesOption = {
89
89
  ") to render a subset of frames. Pass", ' ', jsx_runtime_1.jsx("code", { children: "100-" }),
90
90
  " to render from frame 100 to the end."] })),
91
91
  ssrName: 'frameRange',
92
- docLink: 'https://www.remotion.dev/docs/config#setframerange',
92
+ docLink: 'https://www.remotion.dev/docs/options/frames',
93
93
  type: null,
94
94
  getValue: ({ commandLine }) => {
95
95
  if (commandLine[cliFlag] !== undefined) {
@@ -39,7 +39,7 @@ const AngleChangelog = () => {
39
39
  const cliFlag = 'gl';
40
40
  exports.glOption = {
41
41
  cliFlag,
42
- docLink: 'https://www.remotion.dev/docs/chromium-flags#--gl',
42
+ docLink: 'https://www.remotion.dev/docs/options/gl',
43
43
  name: 'OpenGL renderer',
44
44
  type: 'angle',
45
45
  ssrName: 'gl',
@@ -23,7 +23,7 @@ exports.gopSizeOption = {
23
23
  jsx_runtime_1.jsx("code", { children: "-g" }),
24
24
  " option. Default: Let the encoder decide."] })),
25
25
  ssrName: 'gopSize',
26
- docLink: 'https://www.remotion.dev/docs/config#setgopsize',
26
+ docLink: 'https://www.remotion.dev/docs/options/gop',
27
27
  type: null,
28
28
  getValue: ({ commandLine }) => {
29
29
  const value = commandLine[cliFlag];
@@ -23,7 +23,7 @@ exports.hardwareAccelerationOption = {
23
23
  available, then the render will fail.
24
24
  `,
25
25
  ssrName: 'hardwareAcceleration',
26
- docLink: 'https://www.remotion.dev/docs/encoding',
26
+ docLink: 'https://www.remotion.dev/docs/options/hardware-acceleration',
27
27
  type: 'disable',
28
28
  getValue: ({ commandLine }) => {
29
29
  if (commandLine[cliFlag] !== undefined) {
@@ -10,7 +10,7 @@ exports.headlessOption = {
10
10
  cliFlag,
11
11
  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
12
  ssrName: 'headless',
13
- docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-headless',
13
+ docLink: 'https://www.remotion.dev/docs/options/disable-headless',
14
14
  type: false,
15
15
  getValue: ({ commandLine }) => {
16
16
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -9,7 +9,7 @@ exports.ignoreCertificateErrorsOption = {
9
9
  cliFlag,
10
10
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored." })),
11
11
  ssrName: 'ignoreCertificateErrors',
12
- docLink: 'https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors',
12
+ docLink: 'https://www.remotion.dev/docs/options/ignore-certificate-errors',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
15
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
@@ -3,7 +3,7 @@ export declare const imageSequencePatternOption: {
3
3
  cliFlag: "image-sequence-pattern";
4
4
  ssrName: string;
5
5
  description: () => import("react/jsx-runtime").JSX.Element;
6
- docLink: null;
6
+ docLink: string;
7
7
  type: string | null;
8
8
  getValue: ({ commandLine }: {
9
9
  commandLine: Record<string, unknown>;
@@ -14,7 +14,7 @@ exports.imageSequencePatternOption = {
14
14
  " for the zero-padded frame number and ",
15
15
  jsx_runtime_1.jsx("code", { children: "[ext]" }),
16
16
  " for the file extension."] })),
17
- docLink: null,
17
+ docLink: 'https://www.remotion.dev/docs/options/image-sequence-pattern',
18
18
  type: 'string',
19
19
  getValue: ({ commandLine }) => {
20
20
  if (commandLine[cliFlag] !== undefined) {
@@ -9,7 +9,7 @@ exports.imageSequenceOption = {
9
9
  cliFlag,
10
10
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See", ' ', jsx_runtime_1.jsx("a", { href: "/docs/config#setimagesequence", children: jsx_runtime_1.jsx("code", { children: "setImageSequence()" }) }), ' ', "for more details."] })),
11
11
  ssrName: null,
12
- docLink: 'https://www.remotion.dev/docs/config#setimagesequence',
12
+ docLink: 'https://www.remotion.dev/docs/options/sequence',
13
13
  getValue: ({ commandLine }) => {
14
14
  if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
15
15
  return {
@@ -360,6 +360,22 @@ export declare const allOptions: {
360
360
  setConfig(value: boolean): void;
361
361
  id: "disallow-parallel-encoding";
362
362
  };
363
+ disableSharedMemoryCaptureOption: {
364
+ name: string;
365
+ cliFlag: "disable-shared-memory-capture";
366
+ description: () => import("react/jsx-runtime").JSX.Element;
367
+ ssrName: string;
368
+ docLink: string;
369
+ type: boolean;
370
+ getValue: ({ commandLine }: {
371
+ commandLine: Record<string, unknown>;
372
+ }) => {
373
+ value: boolean;
374
+ source: string;
375
+ };
376
+ setConfig(value: boolean): void;
377
+ id: "disable-shared-memory-capture";
378
+ };
363
379
  folderExpiryOption: {
364
380
  name: string;
365
381
  cliFlag: "enable-folder-expiry";
@@ -1025,7 +1041,7 @@ export declare const allOptions: {
1025
1041
  cliFlag: "image-sequence-pattern";
1026
1042
  ssrName: string;
1027
1043
  description: () => import("react/jsx-runtime").JSX.Element;
1028
- docLink: null;
1044
+ docLink: string;
1029
1045
  type: string | null;
1030
1046
  getValue: ({ commandLine }: {
1031
1047
  commandLine: Record<string, unknown>;
@@ -1259,6 +1275,24 @@ export declare const allOptions: {
1259
1275
  setConfig(value: boolean): void;
1260
1276
  id: "experimental-keep-audio-context-alive";
1261
1277
  };
1278
+ experimentalTracksOption: {
1279
+ name: string;
1280
+ cliFlag: "experimental-tracks";
1281
+ description: () => import("react/jsx-runtime").JSX.Element;
1282
+ ssrName: null;
1283
+ docLink: string;
1284
+ type: boolean;
1285
+ getValue: ({ commandLine }: {
1286
+ commandLine: Record<string, unknown>;
1287
+ }) => {
1288
+ value: boolean;
1289
+ source: string;
1290
+ };
1291
+ setConfig(value: boolean): void;
1292
+ getConfigValue: () => boolean | null;
1293
+ reset: () => void;
1294
+ id: "experimental-tracks";
1295
+ };
1262
1296
  numberOfSharedAudioTagsOption: {
1263
1297
  name: string;
1264
1298
  cliFlag: "number-of-shared-audio-tags";
@@ -1439,7 +1473,7 @@ export declare const allOptions: {
1439
1473
  cliFlag: "rspack";
1440
1474
  description: () => import("react/jsx-runtime").JSX.Element;
1441
1475
  ssrName: null;
1442
- docLink: null;
1476
+ docLink: string;
1443
1477
  type: boolean;
1444
1478
  getValue: ({ commandLine }: {
1445
1479
  commandLine: Record<string, unknown>;
@@ -24,6 +24,7 @@ const default_coding_agent_1 = require("./default-coding-agent");
24
24
  const default_editor_1 = require("./default-editor");
25
25
  const delete_after_1 = require("./delete-after");
26
26
  const disable_git_source_1 = require("./disable-git-source");
27
+ const disable_shared_memory_capture_1 = require("./disable-shared-memory-capture");
27
28
  const disable_web_security_1 = require("./disable-web-security");
28
29
  const disallow_parallel_encoding_1 = require("./disallow-parallel-encoding");
29
30
  const enable_cancellation_1 = require("./enable-cancellation");
@@ -35,6 +36,7 @@ const enforce_audio_1 = require("./enforce-audio");
35
36
  const env_file_1 = require("./env-file");
36
37
  const every_nth_frame_1 = require("./every-nth-frame");
37
38
  const experimental_keep_audio_context_alive_1 = require("./experimental-keep-audio-context-alive");
39
+ const experimental_tracks_1 = require("./experimental-tracks");
38
40
  const folder_expiry_1 = require("./folder-expiry");
39
41
  const for_seamless_aac_concatenation_1 = require("./for-seamless-aac-concatenation");
40
42
  const force_new_studio_1 = require("./force-new-studio");
@@ -120,6 +122,7 @@ exports.allOptions = {
120
122
  deleteAfterOption: delete_after_1.deleteAfterOption,
121
123
  disableWebSecurityOption: disable_web_security_1.disableWebSecurityOption,
122
124
  disallowParallelEncodingOption: disallow_parallel_encoding_1.disallowParallelEncodingOption,
125
+ disableSharedMemoryCaptureOption: disable_shared_memory_capture_1.disableSharedMemoryCaptureOption,
123
126
  folderExpiryOption: folder_expiry_1.folderExpiryOption,
124
127
  enableCancellationOption: enable_cancellation_1.enableCancellationOption,
125
128
  enableMultiprocessOnLinuxOption: enable_multiprocess_on_linux_1.enableMultiprocessOnLinuxOption,
@@ -172,6 +175,7 @@ exports.allOptions = {
172
175
  framesOption: frames_1.framesOption,
173
176
  forceNewStudioOption: force_new_studio_1.forceNewStudioOption,
174
177
  experimentalKeepAudioContextAliveOption: experimental_keep_audio_context_alive_1.experimentalKeepAudioContextAliveOption,
178
+ experimentalTracksOption: experimental_tracks_1.experimentalTracksOption,
175
179
  numberOfSharedAudioTagsOption: number_of_shared_audio_tags_1.numberOfSharedAudioTagsOption,
176
180
  ipv4Option: ipv4_1.ipv4Option,
177
181
  stillImageFormatOption: still_image_format_1.stillImageFormatOption,