@remotion/renderer 4.0.534 → 4.0.536

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/browser/BrowserPage.js +9 -4
  2. package/dist/client.d.ts +303 -7
  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 +727 -541
  9. package/dist/esm/index.mjs +409 -359
  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/mime-db.js +5 -0
  14. package/dist/mux-video-and-audio.js +3 -0
  15. package/dist/options/allow-html-in-canvas.d.ts +1 -0
  16. package/dist/options/allow-html-in-canvas.js +1 -0
  17. package/dist/options/api-key.d.ts +1 -0
  18. package/dist/options/api-key.js +1 -0
  19. package/dist/options/ask-ai.d.ts +1 -0
  20. package/dist/options/ask-ai.js +1 -0
  21. package/dist/options/audio-bitrate.d.ts +1 -0
  22. package/dist/options/audio-bitrate.js +1 -0
  23. package/dist/options/audio-codec.d.ts +1 -0
  24. package/dist/options/audio-codec.js +1 -0
  25. package/dist/options/beep-on-finish.d.ts +1 -0
  26. package/dist/options/beep-on-finish.js +1 -0
  27. package/dist/options/benchmark-concurrencies.d.ts +1 -0
  28. package/dist/options/benchmark-concurrencies.js +1 -0
  29. package/dist/options/binaries-directory.d.ts +1 -0
  30. package/dist/options/binaries-directory.js +1 -0
  31. package/dist/options/browser-executable.d.ts +1 -0
  32. package/dist/options/browser-executable.js +1 -0
  33. package/dist/options/browser.d.ts +1 -0
  34. package/dist/options/browser.js +1 -0
  35. package/dist/options/bundle-cache.d.ts +1 -0
  36. package/dist/options/bundle-cache.js +1 -0
  37. package/dist/options/canvas-tabs.d.ts +1 -0
  38. package/dist/options/canvas-tabs.js +1 -0
  39. package/dist/options/chrome-mode.d.ts +1 -0
  40. package/dist/options/chrome-mode.js +1 -0
  41. package/dist/options/color-space.d.ts +1 -0
  42. package/dist/options/color-space.js +1 -0
  43. package/dist/options/concurrency.d.ts +1 -0
  44. package/dist/options/concurrency.js +1 -0
  45. package/dist/options/config.d.ts +1 -0
  46. package/dist/options/config.js +1 -0
  47. package/dist/options/crf.d.ts +1 -0
  48. package/dist/options/crf.js +1 -0
  49. package/dist/options/cross-site-isolation.d.ts +1 -0
  50. package/dist/options/cross-site-isolation.js +1 -0
  51. package/dist/options/dark-mode.d.ts +1 -0
  52. package/dist/options/dark-mode.js +1 -0
  53. package/dist/options/default-coding-agent.d.ts +1 -0
  54. package/dist/options/default-coding-agent.js +1 -0
  55. package/dist/options/default-editor.d.ts +1 -0
  56. package/dist/options/default-editor.js +1 -0
  57. package/dist/options/default-premount-in-seconds.d.ts +19 -0
  58. package/dist/options/default-premount-in-seconds.js +36 -0
  59. package/dist/options/delete-after.d.ts +1 -0
  60. package/dist/options/delete-after.js +1 -0
  61. package/dist/options/disable-git-source.d.ts +1 -0
  62. package/dist/options/disable-git-source.js +1 -0
  63. package/dist/options/disable-shared-memory-capture.d.ts +1 -0
  64. package/dist/options/disable-shared-memory-capture.js +1 -0
  65. package/dist/options/disable-web-security.d.ts +1 -0
  66. package/dist/options/disable-web-security.js +1 -0
  67. package/dist/options/disallow-parallel-encoding.d.ts +1 -0
  68. package/dist/options/disallow-parallel-encoding.js +1 -0
  69. package/dist/options/enable-cancellation.d.ts +1 -0
  70. package/dist/options/enable-cancellation.js +1 -0
  71. package/dist/options/enable-lambda-insights.d.ts +1 -0
  72. package/dist/options/enable-lambda-insights.js +1 -0
  73. package/dist/options/enable-multiprocess-on-linux.d.ts +1 -0
  74. package/dist/options/enable-multiprocess-on-linux.js +1 -0
  75. package/dist/options/encoding-buffer-size.d.ts +1 -0
  76. package/dist/options/encoding-buffer-size.js +1 -0
  77. package/dist/options/encoding-max-rate.d.ts +1 -0
  78. package/dist/options/encoding-max-rate.js +1 -0
  79. package/dist/options/enforce-audio.d.ts +1 -0
  80. package/dist/options/enforce-audio.js +1 -0
  81. package/dist/options/env-file.d.ts +1 -0
  82. package/dist/options/env-file.js +1 -0
  83. package/dist/options/every-nth-frame.d.ts +1 -0
  84. package/dist/options/every-nth-frame.js +1 -0
  85. package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -0
  86. package/dist/options/experimental-keep-audio-context-alive.js +1 -0
  87. package/dist/options/experimental-sequence-activity-limit.d.ts +19 -0
  88. package/dist/options/experimental-sequence-activity-limit.js +40 -0
  89. package/dist/options/experimental-sequence-activity.d.ts +19 -0
  90. package/dist/options/experimental-sequence-activity.js +38 -0
  91. package/dist/options/experimental-tracks.d.ts +1 -0
  92. package/dist/options/experimental-tracks.js +1 -0
  93. package/dist/options/folder-expiry.d.ts +1 -0
  94. package/dist/options/folder-expiry.js +1 -0
  95. package/dist/options/for-seamless-aac-concatenation.d.ts +1 -0
  96. package/dist/options/for-seamless-aac-concatenation.js +1 -0
  97. package/dist/options/force-new-studio.d.ts +1 -0
  98. package/dist/options/force-new-studio.js +1 -0
  99. package/dist/options/frames.d.ts +1 -0
  100. package/dist/options/frames.js +1 -0
  101. package/dist/options/gl.d.ts +1 -0
  102. package/dist/options/gl.js +1 -0
  103. package/dist/options/gop-size.d.ts +1 -0
  104. package/dist/options/gop-size.js +1 -0
  105. package/dist/options/hardware-acceleration.d.ts +1 -0
  106. package/dist/options/hardware-acceleration.js +1 -0
  107. package/dist/options/headless.d.ts +1 -0
  108. package/dist/options/headless.js +1 -0
  109. package/dist/options/ignore-certificate-errors.d.ts +1 -0
  110. package/dist/options/ignore-certificate-errors.js +1 -0
  111. package/dist/options/image-sequence-pattern.d.ts +1 -0
  112. package/dist/options/image-sequence-pattern.js +1 -0
  113. package/dist/options/image-sequence.d.ts +1 -0
  114. package/dist/options/image-sequence.js +1 -0
  115. package/dist/options/index.d.ts +163 -7
  116. package/dist/options/index.js +8 -2
  117. package/dist/options/interactivity.d.ts +1 -0
  118. package/dist/options/interactivity.js +1 -0
  119. package/dist/options/ipv4.d.ts +1 -0
  120. package/dist/options/ipv4.js +1 -0
  121. package/dist/options/is-production.d.ts +1 -0
  122. package/dist/options/is-production.js +1 -0
  123. package/dist/options/jpeg-quality.d.ts +1 -0
  124. package/dist/options/jpeg-quality.js +1 -0
  125. package/dist/options/keyboard-shortcuts.d.ts +1 -0
  126. package/dist/options/keyboard-shortcuts.js +1 -0
  127. package/dist/options/latency-hint.d.ts +1 -0
  128. package/dist/options/latency-hint.js +1 -0
  129. package/dist/options/license-key.d.ts +1 -0
  130. package/dist/options/license-key.js +1 -0
  131. package/dist/options/log-level.d.ts +1 -0
  132. package/dist/options/log-level.js +1 -0
  133. package/dist/options/metadata.d.ts +1 -0
  134. package/dist/options/metadata.js +1 -0
  135. package/dist/options/mute.d.ts +1 -0
  136. package/dist/options/mute.js +1 -0
  137. package/dist/options/no-open.d.ts +1 -0
  138. package/dist/options/no-open.js +1 -0
  139. package/dist/options/number-of-gif-loops.d.ts +1 -0
  140. package/dist/options/number-of-gif-loops.js +1 -0
  141. package/dist/options/number-of-shared-audio-tags.d.ts +1 -0
  142. package/dist/options/number-of-shared-audio-tags.js +1 -0
  143. package/dist/options/offthreadvideo-cache-size.d.ts +1 -0
  144. package/dist/options/offthreadvideo-cache-size.js +1 -0
  145. package/dist/options/offthreadvideo-threads.d.ts +1 -0
  146. package/dist/options/offthreadvideo-threads.js +1 -0
  147. package/dist/options/on-browser-download.d.ts +1 -0
  148. package/dist/options/on-browser-download.js +1 -0
  149. package/dist/options/option.d.ts +1 -0
  150. package/dist/options/options-map.d.ts +140 -0
  151. package/dist/options/out-dir.d.ts +1 -0
  152. package/dist/options/out-dir.js +1 -0
  153. package/dist/options/override-duration.d.ts +1 -0
  154. package/dist/options/override-duration.js +1 -0
  155. package/dist/options/override-fps.d.ts +1 -0
  156. package/dist/options/override-fps.js +1 -0
  157. package/dist/options/override-height.d.ts +1 -0
  158. package/dist/options/override-height.js +1 -0
  159. package/dist/options/override-width.d.ts +1 -0
  160. package/dist/options/override-width.js +1 -0
  161. package/dist/options/overwrite.d.ts +1 -0
  162. package/dist/options/overwrite.js +1 -0
  163. package/dist/options/package-manager.d.ts +1 -0
  164. package/dist/options/package-manager.js +1 -0
  165. package/dist/options/pixel-format.d.ts +1 -0
  166. package/dist/options/pixel-format.js +1 -0
  167. package/dist/options/port.d.ts +1 -0
  168. package/dist/options/port.js +1 -0
  169. package/dist/options/prefer-lossless.d.ts +1 -0
  170. package/dist/options/prefer-lossless.js +1 -0
  171. package/dist/options/preview-sample-rate.d.ts +1 -0
  172. package/dist/options/preview-sample-rate.js +1 -0
  173. package/dist/options/props.d.ts +1 -0
  174. package/dist/options/props.js +1 -0
  175. package/dist/options/prores-profile.d.ts +1 -0
  176. package/dist/options/prores-profile.js +1 -0
  177. package/dist/options/public-dir.d.ts +1 -0
  178. package/dist/options/public-dir.js +1 -0
  179. package/dist/options/public-license-key.d.ts +1 -0
  180. package/dist/options/public-license-key.js +1 -0
  181. package/dist/options/public-path.d.ts +1 -0
  182. package/dist/options/public-path.js +1 -0
  183. package/dist/options/repro.d.ts +1 -0
  184. package/dist/options/repro.js +1 -0
  185. package/dist/options/rspack.d.ts +1 -0
  186. package/dist/options/rspack.js +1 -0
  187. package/dist/options/runs.d.ts +1 -0
  188. package/dist/options/runs.js +1 -0
  189. package/dist/options/sample-rate.d.ts +1 -0
  190. package/dist/options/sample-rate.js +1 -0
  191. package/dist/options/scale.d.ts +1 -0
  192. package/dist/options/scale.js +1 -0
  193. package/dist/options/separate-audio.d.ts +1 -0
  194. package/dist/options/separate-audio.js +2 -1
  195. package/dist/options/sequence-activity-limit.d.ts +19 -0
  196. package/dist/options/sequence-activity-limit.js +44 -0
  197. package/dist/options/show-layer-frame-numbers.d.ts +19 -0
  198. package/dist/options/show-layer-frame-numbers.js +34 -0
  199. package/dist/options/{experimental-client-side-rendering.d.ts → show-premounting.d.ts} +6 -3
  200. package/dist/options/show-premounting.js +33 -0
  201. package/dist/options/skip-skills.d.ts +1 -0
  202. package/dist/options/skip-skills.js +1 -0
  203. package/dist/options/still-frame.d.ts +1 -0
  204. package/dist/options/still-frame.js +1 -0
  205. package/dist/options/still-image-format.d.ts +1 -0
  206. package/dist/options/still-image-format.js +1 -0
  207. package/dist/options/throw-if-site-exists.d.ts +1 -0
  208. package/dist/options/throw-if-site-exists.js +1 -0
  209. package/dist/options/timeout.d.ts +1 -0
  210. package/dist/options/timeout.js +1 -0
  211. package/dist/options/user-agent.d.ts +1 -0
  212. package/dist/options/user-agent.js +1 -0
  213. package/dist/options/version-flag.d.ts +1 -0
  214. package/dist/options/version-flag.js +1 -0
  215. package/dist/options/video-bitrate.d.ts +1 -0
  216. package/dist/options/video-bitrate.js +1 -0
  217. package/dist/options/video-cache-size.d.ts +1 -0
  218. package/dist/options/video-cache-size.js +1 -0
  219. package/dist/options/video-codec.d.ts +1 -0
  220. package/dist/options/video-codec.js +1 -0
  221. package/dist/options/video-image-format.d.ts +1 -0
  222. package/dist/options/video-image-format.js +1 -0
  223. package/dist/options/webhook-custom-data.d.ts +1 -0
  224. package/dist/options/webhook-custom-data.js +1 -0
  225. package/dist/options/webpack-poll.d.ts +1 -0
  226. package/dist/options/webpack-poll.js +1 -0
  227. package/dist/options/x264-preset.d.ts +1 -0
  228. package/dist/options/x264-preset.js +1 -0
  229. package/dist/prespawn-ffmpeg.js +10 -5
  230. package/dist/stringify-ffmpeg-filter.js +8 -4
  231. package/package.json +16 -14
  232. package/dist/options/experimental-client-side-rendering.js +0 -30
  233. package/dist/prestitcher-memory-usage.d.ts +0 -13
  234. package/dist/prestitcher-memory-usage.js +0 -33
  235. package/dist/render-partitions.d.ts +0 -7
  236. package/dist/render-partitions.js +0 -50
@@ -1,5 +1,6 @@
1
1
  export declare const outDirOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "out-dir";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "outDir";
@@ -6,6 +6,7 @@ const cliFlag = 'out-dir';
6
6
  let currentOutDir = null;
7
7
  exports.outDirOption = {
8
8
  name: 'Output Directory',
9
+ addedIn: '4.0.426',
9
10
  cliFlag,
10
11
  description: () => {
11
12
  return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Define the location of the resulting bundle. By default it is a folder called ",
@@ -1,5 +1,6 @@
1
1
  export declare const overrideDurationOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "duration";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let currentDuration = null;
7
7
  const cliFlag = 'duration';
8
8
  exports.overrideDurationOption = {
9
9
  name: 'Override Duration',
10
+ addedIn: '4.0.424',
10
11
  cliFlag,
11
12
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the duration in frames of the composition." }),
12
13
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const overrideFpsOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "fps";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let currentFps = null;
7
7
  const cliFlag = 'fps';
8
8
  exports.overrideFpsOption = {
9
9
  name: 'Override FPS',
10
+ addedIn: '4.0.424',
10
11
  cliFlag,
11
12
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the frames per second of the composition." }),
12
13
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const overrideHeightOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "height";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let currentHeight = null;
7
7
  const cliFlag = 'height';
8
8
  exports.overrideHeightOption = {
9
9
  name: 'Override Height',
10
+ addedIn: '3.2.40',
10
11
  cliFlag,
11
12
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the height of the composition." }),
12
13
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const overrideWidthOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "width";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let currentWidth = null;
7
7
  const cliFlag = 'width';
8
8
  exports.overrideWidthOption = {
9
9
  name: 'Override Width',
10
+ addedIn: '3.2.40',
10
11
  cliFlag,
11
12
  description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Overrides the width of the composition." }),
12
13
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const overwriteOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "overwrite";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -11,6 +11,7 @@ const validate = (value) => {
11
11
  };
12
12
  exports.overwriteOption = {
13
13
  name: 'Overwrite output',
14
+ addedIn: '1.0.0',
14
15
  cliFlag,
15
16
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["If set to ",
16
17
  jsx_runtime_1.jsx("code", { children: "false" }),
@@ -1,5 +1,6 @@
1
1
  export declare const packageManagerOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "package-manager";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "packageManager";
@@ -6,6 +6,7 @@ const cliFlag = 'package-manager';
6
6
  let currentPackageManager = null;
7
7
  exports.packageManagerOption = {
8
8
  name: 'Package Manager',
9
+ addedIn: '3.2.33',
9
10
  cliFlag,
10
11
  description: () => {
11
12
  return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
@@ -1,5 +1,6 @@
1
1
  export declare const pixelFormatOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "pixel-format";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "pixelFormat";
@@ -7,6 +7,7 @@ let currentPixelFormat = pixel_format_1.DEFAULT_PIXEL_FORMAT;
7
7
  const cliFlag = 'pixel-format';
8
8
  exports.pixelFormatOption = {
9
9
  name: 'Pixel format',
10
+ addedIn: '1.4.0',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Sets the pixel format in FFmpeg. See", ' ', jsx_runtime_1.jsx("a", { href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling", children: "the FFmpeg docs for an explanation" }),
12
13
  ". Acceptable values: ", pixel_format_1.validPixelFormats.map((f) => `"${f}"`).join(', '), "."] })),
@@ -1,5 +1,6 @@
1
1
  export declare const portOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "port";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ const cliFlag = 'port';
6
6
  let currentPort = null;
7
7
  exports.portOption = {
8
8
  name: 'Port',
9
+ addedIn: '2.1.3',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set a custom HTTP server port for the Studio or the render process. If not defined, Remotion will try to find a free port." })),
11
12
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const preferLosslessAudioOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "prefer-lossless";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  docLink: string;
@@ -6,6 +6,7 @@ const cliFlag = 'prefer-lossless';
6
6
  let input = false;
7
7
  exports.preferLosslessAudioOption = {
8
8
  name: 'Prefer lossless',
9
+ addedIn: '4.0.123',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Uses a lossless audio codec, if one is available for the codec. If you set",
11
12
  jsx_runtime_1.jsx("code", { children: "audioCodec" }),
@@ -1,5 +1,6 @@
1
1
  export declare const previewSampleRateOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "preview-sample-rate";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -6,6 +6,7 @@ const cliFlag = 'preview-sample-rate';
6
6
  let currentPreviewSampleRate = null;
7
7
  exports.previewSampleRateOption = {
8
8
  name: 'Preview Sample Rate',
9
+ addedIn: '4.0.470',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
11
12
  jsx_runtime_1.jsx("code", { children: "48000" }),
@@ -1,5 +1,6 @@
1
1
  export declare const propsOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "props";
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 = 'props';
6
6
  exports.propsOption = {
7
7
  name: 'Input Props',
8
+ addedIn: '1.0.0',
8
9
  cliFlag,
9
10
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
10
11
  jsx_runtime_1.jsxs("code", { children: ["--props='", '{', "\"hello\": \"world\"", '}', "'"] }),
@@ -1,6 +1,7 @@
1
1
  export type ProResProfile = '4444-xq' | '4444' | 'hq' | 'standard' | 'light' | 'proxy';
2
2
  export declare const proResProfileOption: {
3
3
  name: string;
4
+ addedIn: string;
4
5
  cliFlag: "prores-profile";
5
6
  description: () => import("react/jsx-runtime").JSX.Element;
6
7
  ssrName: "proResProfile";
@@ -14,6 +14,7 @@ let proResProfile;
14
14
  const cliFlag = 'prores-profile';
15
15
  exports.proResProfileOption = {
16
16
  name: 'ProRes profile',
17
+ addedIn: '2.1.6',
17
18
  cliFlag,
18
19
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Set the ProRes profile. This option is only valid if the codec has been set to ",
19
20
  jsx_runtime_1.jsx("code", { children: "prores" }),
@@ -1,5 +1,6 @@
1
1
  export declare const publicDirOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "public-dir";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "publicDir";
@@ -6,6 +6,7 @@ const cliFlag = 'public-dir';
6
6
  let currentPublicDir = null;
7
7
  exports.publicDirOption = {
8
8
  name: 'Public Directory',
9
+ addedIn: '3.2.13',
9
10
  cliFlag,
10
11
  description: () => {
11
12
  return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Define the location of the", ' ', jsx_runtime_1.jsx("a", { href: "/docs/terminology/public-dir", children: jsx_runtime_1.jsx("code", { children: "public/ directory" }) }),
@@ -1,5 +1,6 @@
1
1
  export declare const publicLicenseKeyOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "public-license-key";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "publicLicenseKey";
@@ -6,6 +6,7 @@ const cliFlag = 'public-license-key';
6
6
  let currentPublicLicenseKey = null;
7
7
  exports.publicLicenseKeyOption = {
8
8
  name: 'Public License Key',
9
+ addedIn: '4.0.398',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The public license key for your company license, obtained from the License keys page on ",
11
12
  jsx_runtime_1.jsx("a", { href: "https://remotion.pro/dashboard", children: "remotion.pro" }),
@@ -1,5 +1,6 @@
1
1
  export declare const publicPathOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "public-path";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "publicPath";
@@ -6,6 +6,7 @@ const cliFlag = 'public-path';
6
6
  let currentPublicPath = null;
7
7
  exports.publicPathOption = {
8
8
  name: 'Public Path',
9
+ addedIn: '4.0.127',
9
10
  cliFlag,
10
11
  description: () => {
11
12
  return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The path of the URL where the bundle is going to be hosted. By default it is ",
@@ -1,5 +1,6 @@
1
1
  export declare const reproOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "repro";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -9,6 +9,7 @@ const setRepro = (should) => {
9
9
  const cliFlag = 'repro';
10
10
  exports.reproOption = {
11
11
  name: 'Create reproduction',
12
+ addedIn: '4.0.88',
12
13
  cliFlag,
13
14
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Create a ZIP that you can submit to Remotion if asked for a reproduction." })),
14
15
  ssrName: 'repro',
@@ -1,5 +1,6 @@
1
1
  export declare const rspackOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "rspack";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let configuredRspackEnabled = null;
7
7
  const cliFlag = 'rspack';
8
8
  exports.rspackOption = {
9
9
  name: 'Rspack',
10
+ addedIn: '4.0.502',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle." })),
12
13
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const runsOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "runs";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: null;
@@ -7,6 +7,7 @@ let currentRuns = DEFAULT_RUNS;
7
7
  const cliFlag = 'runs';
8
8
  exports.runsOption = {
9
9
  name: 'Benchmark runs',
10
+ addedIn: '3.2.28',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify how many times the video should be rendered during a benchmark. Default ",
12
13
  jsx_runtime_1.jsx("code", { children: DEFAULT_RUNS }),
@@ -1,5 +1,6 @@
1
1
  export declare const sampleRateOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "sample-rate";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "sampleRate";
@@ -6,6 +6,7 @@ const cliFlag = 'sample-rate';
6
6
  let currentSampleRate = 48000;
7
7
  exports.sampleRateOption = {
8
8
  name: 'Sample Rate',
9
+ addedIn: '4.0.448',
9
10
  cliFlag,
10
11
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Controls the sample rate of the output audio. The default is", ' ', jsx_runtime_1.jsx("code", { children: "48000" }),
11
12
  " Hz. Match this to your source audio to avoid resampling artifacts."] })),
@@ -1,5 +1,6 @@
1
1
  export declare const scaleOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "scale";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: string;
@@ -11,6 +11,7 @@ const validateScale = (value) => {
11
11
  };
12
12
  exports.scaleOption = {
13
13
  name: 'Scale',
14
+ addedIn: '2.6.7',
14
15
  cliFlag,
15
16
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
16
17
  jsx_runtime_1.jsx("code", { children: "1.5" }),
@@ -12,6 +12,7 @@ export declare const separateAudioOption: {
12
12
  value: null;
13
13
  };
14
14
  name: string;
15
+ addedIn: string;
15
16
  setConfig: () => never;
16
17
  ssrName: string;
17
18
  type: string | null;
@@ -5,7 +5,7 @@ const DEFAULT = null;
5
5
  const cliFlag = 'separate-audio-to';
6
6
  exports.separateAudioOption = {
7
7
  cliFlag,
8
- description: () => `If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false. The muted option still takes precedence. It is recommended to use an absolute path. If a relative path is passed, it is relative to the Remotion Root.`,
8
+ description: () => `If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false. Audio-only renders, muted renders and codecs without audio support cannot use this option. For local renders, use an absolute path; relative paths are resolved against the Remotion Root. On Lambda, pass an output name or custom destination as described in renderMediaOnLambda().`,
9
9
  docLink: 'https://www.remotion.dev/docs/options/separate-audio-to',
10
10
  getValue: ({ commandLine }) => {
11
11
  if (commandLine[cliFlag]) {
@@ -20,6 +20,7 @@ exports.separateAudioOption = {
20
20
  };
21
21
  },
22
22
  name: 'Separate audio to',
23
+ addedIn: '4.0.123',
23
24
  setConfig: () => {
24
25
  throw new Error('Not implemented');
25
26
  },
@@ -0,0 +1,19 @@
1
+ export declare const sequenceActivityLimitOption: {
2
+ name: string;
3
+ addedIn: string;
4
+ cliFlag: "sequence-activity-limit";
5
+ id: "sequence-activity-limit";
6
+ description: () => import("react/jsx-runtime").JSX.Element;
7
+ ssrName: null;
8
+ docLink: string;
9
+ type: number;
10
+ getValue: ({ commandLine }: {
11
+ commandLine: Record<string, unknown>;
12
+ }) => {
13
+ value: number;
14
+ source: string;
15
+ };
16
+ setConfig(value: number): void;
17
+ getConfigValue: () => number | null;
18
+ reset: () => void;
19
+ };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sequenceActivityLimitOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const no_react_1 = require("remotion/no-react");
6
+ let configuredLimit = null;
7
+ const cliFlag = 'sequence-activity-limit';
8
+ exports.sequenceActivityLimitOption = {
9
+ name: 'Sequence Activity limit',
10
+ addedIn: '4.0.536',
11
+ cliFlag,
12
+ id: cliFlag,
13
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Limit hidden scenes discovered by Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to", ' ', jsx_runtime_1.jsx("code", { children: "Infinity" }),
14
+ " for unlimited discovery without admission delays. Must be a non-negative safe integer or ",
15
+ jsx_runtime_1.jsx("code", { children: "Infinity" }),
16
+ ". Set to 0 to disable Sequence Activity. Finite limits prioritize nearby scenes. Does not affect rendering."] })),
17
+ ssrName: null,
18
+ docLink: 'https://www.remotion.dev/docs/options/sequence-activity-limit',
19
+ type: 0,
20
+ getValue: ({ commandLine }) => {
21
+ if (commandLine[cliFlag] !== undefined) {
22
+ const value = commandLine[cliFlag] === 'Infinity' ? Infinity : commandLine[cliFlag];
23
+ if (value !== Infinity &&
24
+ (!Number.isSafeInteger(value) || value < 0)) {
25
+ throw new Error('Sequence Activity limit must be a non-negative safe integer or Infinity.');
26
+ }
27
+ return { value: value, source: 'cli' };
28
+ }
29
+ return {
30
+ value: configuredLimit !== null && configuredLimit !== void 0 ? configuredLimit : no_react_1.NoReactInternals.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
31
+ source: 'config',
32
+ };
33
+ },
34
+ setConfig(value) {
35
+ if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
36
+ throw new Error('Sequence Activity limit must be a non-negative safe integer or Infinity.');
37
+ }
38
+ configuredLimit = value;
39
+ },
40
+ getConfigValue: () => configuredLimit,
41
+ reset: () => {
42
+ configuredLimit = null;
43
+ },
44
+ };
@@ -0,0 +1,19 @@
1
+ export declare const showLayerFrameNumbersOption: {
2
+ name: string;
3
+ addedIn: string;
4
+ cliFlag: "show-layer-frame-numbers";
5
+ id: "show-layer-frame-numbers";
6
+ description: () => import("react/jsx-runtime").JSX.Element;
7
+ ssrName: null;
8
+ docLink: string;
9
+ type: boolean;
10
+ getValue: ({ commandLine }: {
11
+ commandLine: Record<string, unknown>;
12
+ }) => {
13
+ value: boolean;
14
+ source: string;
15
+ };
16
+ setConfig(value: boolean): void;
17
+ getConfigValue: () => boolean | null;
18
+ reset: () => void;
19
+ };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.showLayerFrameNumbersOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let configuredShowLayerFrameNumbers = null;
6
+ const cliFlag = 'show-layer-frame-numbers';
7
+ exports.showLayerFrameNumbersOption = {
8
+ name: 'Show frame numbers of layer',
9
+ addedIn: '4.0.535',
10
+ cliFlag,
11
+ id: cliFlag,
12
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Show the current frame number inside sequence layers in the Studio timeline. Defaults to ",
13
+ jsx_runtime_1.jsx("code", { children: "false" }),
14
+ "."] })),
15
+ ssrName: null,
16
+ docLink: 'https://www.remotion.dev/docs/options/show-layer-frame-numbers',
17
+ type: false,
18
+ getValue: ({ commandLine }) => {
19
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
20
+ return { value: commandLine[cliFlag], source: 'cli' };
21
+ }
22
+ return { value: configuredShowLayerFrameNumbers !== null && configuredShowLayerFrameNumbers !== void 0 ? configuredShowLayerFrameNumbers : false, source: 'config' };
23
+ },
24
+ setConfig(value) {
25
+ if (typeof value !== 'boolean') {
26
+ throw new Error('Config.setShowLayerFrameNumbers() expects a boolean');
27
+ }
28
+ configuredShowLayerFrameNumbers = value;
29
+ },
30
+ getConfigValue: () => configuredShowLayerFrameNumbers,
31
+ reset: () => {
32
+ configuredShowLayerFrameNumbers = null;
33
+ },
34
+ };
@@ -1,6 +1,8 @@
1
- export declare const experimentalClientSideRenderingOption: {
1
+ export declare const showPremountingOption: {
2
2
  name: string;
3
- cliFlag: "enable-experimental-client-side-rendering";
3
+ addedIn: string;
4
+ cliFlag: "show-premounting";
5
+ id: "show-premounting";
4
6
  description: () => import("react/jsx-runtime").JSX.Element;
5
7
  ssrName: null;
6
8
  docLink: string;
@@ -12,5 +14,6 @@ export declare const experimentalClientSideRenderingOption: {
12
14
  source: string;
13
15
  };
14
16
  setConfig(value: boolean): void;
15
- id: "enable-experimental-client-side-rendering";
17
+ getConfigValue: () => boolean | null;
18
+ reset: () => void;
16
19
  };
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.showPremountingOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let configuredShowPremounting = null;
6
+ const cliFlag = 'show-premounting';
7
+ exports.showPremountingOption = {
8
+ name: 'Show premounting in the Studio timeline',
9
+ addedIn: '4.0.535',
10
+ cliFlag,
11
+ id: cliFlag,
12
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Show premounting indicators in the Studio timeline. Defaults to", ' ', jsx_runtime_1.jsx("code", { children: "false" }),
13
+ "."] })),
14
+ ssrName: null,
15
+ docLink: 'https://www.remotion.dev/docs/options/show-premounting',
16
+ type: true,
17
+ getValue: ({ commandLine }) => {
18
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
19
+ return { value: commandLine[cliFlag], source: 'cli' };
20
+ }
21
+ return { value: configuredShowPremounting !== null && configuredShowPremounting !== void 0 ? configuredShowPremounting : false, source: 'config' };
22
+ },
23
+ setConfig(value) {
24
+ if (typeof value !== 'boolean') {
25
+ throw new Error('Config.setShowPremounting() expects a boolean');
26
+ }
27
+ configuredShowPremounting = value;
28
+ },
29
+ getConfigValue: () => configuredShowPremounting,
30
+ reset: () => {
31
+ configuredShowPremounting = null;
32
+ },
33
+ };
@@ -1,5 +1,6 @@
1
1
  export declare const skipSkillsOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "skip-skills";
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 = 'skip-skills';
6
6
  exports.skipSkillsOption = {
7
7
  name: 'Skip Skills',
8
+ addedIn: '4.0.503',
8
9
  cliFlag,
9
10
  description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Do not update installed Remotion Agent Skills while upgrading Remotion." })),
10
11
  ssrName: null,
@@ -1,5 +1,6 @@
1
1
  export declare const stillFrameOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "frame";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "frame";
@@ -14,6 +14,7 @@ const validate = (frame) => {
14
14
  };
15
15
  exports.stillFrameOption = {
16
16
  name: 'Frame',
17
+ addedIn: '2.3.0',
17
18
  cliFlag,
18
19
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Which frame should be rendered when rendering a still. Default", ' ', jsx_runtime_1.jsx("code", { children: "0" }),
19
20
  ". From v3.2.27, negative values are allowed, with", ' ', jsx_runtime_1.jsx("code", { children: "-1" }),
@@ -1,5 +1,6 @@
1
1
  export declare const stillImageFormatOption: {
2
2
  name: string;
3
+ addedIn: string;
3
4
  cliFlag: "image-format";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
6
  ssrName: "imageFormat";
@@ -7,6 +7,7 @@ let currentStillImageFormat = null;
7
7
  const cliFlag = 'image-format';
8
8
  exports.stillImageFormatOption = {
9
9
  name: 'Still Image Format',
10
+ addedIn: '2.3.0',
10
11
  cliFlag,
11
12
  description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The image format to use when rendering a still. Must be one of", ' ', image_format_1.validStillImageFormats.map((f) => `"${f}"`).join(', '), ". Default:", ' ', jsx_runtime_1.jsx("code", { children: "\"png\"" }),
12
13
  "."] })),
@@ -9,6 +9,7 @@ export declare const throwIfSiteExistsOption: {
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;