@remotion/renderer 4.0.538 → 4.0.540

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 (151) hide show
  1. package/dist/assets/download-and-map-assets-to-file.js +16 -3
  2. package/dist/assets/download-file.js +9 -2
  3. package/dist/assets/download-map.d.ts +1 -1
  4. package/dist/assets/read-file.d.ts +1 -1
  5. package/dist/assets/read-file.js +7 -7
  6. package/dist/browser/BrowserFetcher.js +4 -1
  7. package/dist/browser/BrowserPage.js +27 -8
  8. package/dist/browser/NetworkManager.js +6 -1
  9. package/dist/browser/devtools-commands.d.ts +6 -1
  10. package/dist/browser/get-chrome-download-url.d.ts +1 -1
  11. package/dist/browser/get-chrome-download-url.js +4 -1
  12. package/dist/check-version-requirements.js +6 -6
  13. package/dist/client.d.ts +459 -238
  14. package/dist/esm/client.mjs +372 -314
  15. package/dist/esm/index.mjs +393 -349
  16. package/dist/get-compositions.js +6 -3
  17. package/dist/index.d.ts +113 -41
  18. package/dist/index.js +4 -2
  19. package/dist/make-page.d.ts +3 -1
  20. package/dist/make-page.js +2 -1
  21. package/dist/merge-audio-track.d.ts +1 -1
  22. package/dist/merge-audio-track.js +24 -23
  23. package/dist/options/allow-html-in-canvas.d.ts +1 -1
  24. package/dist/options/api-key.d.ts +1 -1
  25. package/dist/options/ask-ai.d.ts +1 -1
  26. package/dist/options/ask-ai.js +1 -1
  27. package/dist/options/audio-bitrate.d.ts +1 -1
  28. package/dist/options/beep-on-finish.d.ts +1 -1
  29. package/dist/options/benchmark-concurrencies.d.ts +1 -1
  30. package/dist/options/binaries-directory.d.ts +1 -1
  31. package/dist/options/browser-executable.d.ts +1 -1
  32. package/dist/options/browser-executable.js +1 -1
  33. package/dist/options/browser.d.ts +1 -1
  34. package/dist/options/bundle-cache.d.ts +1 -1
  35. package/dist/options/canvas-tabs.d.ts +1 -1
  36. package/dist/options/chrome-mode.d.ts +1 -1
  37. package/dist/options/color-space.d.ts +1 -1
  38. package/dist/options/concurrency.d.ts +1 -1
  39. package/dist/options/config.d.ts +1 -1
  40. package/dist/options/crf.d.ts +1 -1
  41. package/dist/options/crf.js +1 -1
  42. package/dist/options/cross-site-isolation.d.ts +1 -1
  43. package/dist/options/cross-site-isolation.js +2 -2
  44. package/dist/options/dark-mode.d.ts +1 -1
  45. package/dist/options/default-coding-agent.d.ts +1 -1
  46. package/dist/options/default-editor.d.ts +1 -1
  47. package/dist/options/default-premount-in-seconds.d.ts +1 -1
  48. package/dist/options/delete-after.d.ts +1 -1
  49. package/dist/options/disable-git-source.d.ts +2 -2
  50. package/dist/options/disable-shared-memory-capture.d.ts +1 -1
  51. package/dist/options/disable-web-security.d.ts +1 -1
  52. package/dist/options/disallow-parallel-encoding.d.ts +1 -1
  53. package/dist/options/enable-cancellation.d.ts +1 -1
  54. package/dist/options/enable-lambda-insights.d.ts +1 -1
  55. package/dist/options/enable-lambda-insights.js +2 -2
  56. package/dist/options/enable-multiprocess-on-linux.d.ts +1 -1
  57. package/dist/options/enable-multiprocess-on-linux.js +2 -2
  58. package/dist/options/encoding-buffer-size.d.ts +1 -1
  59. package/dist/options/encoding-max-rate.d.ts +1 -1
  60. package/dist/options/enforce-audio.d.ts +1 -1
  61. package/dist/options/env-file.d.ts +1 -1
  62. package/dist/options/every-nth-frame.d.ts +1 -1
  63. package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -1
  64. package/dist/options/folder-expiry.d.ts +1 -1
  65. package/dist/options/folder-expiry.js +1 -1
  66. package/dist/options/for-seamless-aac-concatenation.d.ts +1 -1
  67. package/dist/options/force-new-studio.d.ts +1 -1
  68. package/dist/options/frames.d.ts +1 -1
  69. package/dist/options/gl.d.ts +1 -1
  70. package/dist/options/gop-size.d.ts +1 -1
  71. package/dist/options/headless.d.ts +1 -1
  72. package/dist/options/ignore-certificate-errors.d.ts +1 -1
  73. package/dist/options/image-sequence-pattern.d.ts +1 -1
  74. package/dist/options/image-sequence.d.ts +1 -1
  75. package/dist/options/index.d.ts +119 -102
  76. package/dist/options/index.js +2 -0
  77. package/dist/options/interactivity.d.ts +1 -1
  78. package/dist/options/ipv4.d.ts +1 -1
  79. package/dist/options/is-production.d.ts +1 -1
  80. package/dist/options/is-production.js +1 -1
  81. package/dist/options/jpeg-quality.d.ts +1 -1
  82. package/dist/options/keyboard-shortcuts.d.ts +1 -1
  83. package/dist/options/latency-hint.d.ts +1 -1
  84. package/dist/options/license-key.d.ts +1 -1
  85. package/dist/options/license-key.js +1 -1
  86. package/dist/options/log-level.d.ts +1 -1
  87. package/dist/options/metadata.d.ts +1 -1
  88. package/dist/options/mute.d.ts +1 -1
  89. package/dist/options/no-open.d.ts +1 -1
  90. package/dist/options/number-of-gif-loops.d.ts +1 -1
  91. package/dist/options/number-of-shared-audio-tags.d.ts +1 -1
  92. package/dist/options/offthreadvideo-cache-size.d.ts +1 -1
  93. package/dist/options/offthreadvideo-threads.d.ts +1 -1
  94. package/dist/options/on-browser-download.d.ts +1 -1
  95. package/dist/options/options-map.d.ts +340 -136
  96. package/dist/options/options-map.js +13 -0
  97. package/dist/options/out-dir.d.ts +1 -1
  98. package/dist/options/override-duration.d.ts +1 -1
  99. package/dist/options/override-fps.d.ts +1 -1
  100. package/dist/options/override-height.d.ts +1 -1
  101. package/dist/options/override-width.d.ts +1 -1
  102. package/dist/options/overwrite.d.ts +1 -1
  103. package/dist/options/package-manager.d.ts +1 -1
  104. package/dist/options/pixel-format.d.ts +1 -1
  105. package/dist/options/port.d.ts +1 -1
  106. package/dist/options/prefer-lossless.d.ts +1 -1
  107. package/dist/options/preferred-effect-backend.d.ts +18 -0
  108. package/dist/options/preferred-effect-backend.js +28 -0
  109. package/dist/options/preserve-pitch-on-playback.d.ts +1 -1
  110. package/dist/options/preview-sample-rate.d.ts +1 -1
  111. package/dist/options/props.d.ts +1 -1
  112. package/dist/options/prores-profile.d.ts +1 -1
  113. package/dist/options/public-dir.d.ts +1 -1
  114. package/dist/options/public-license-key.d.ts +1 -1
  115. package/dist/options/public-path.d.ts +1 -1
  116. package/dist/options/repro.d.ts +1 -1
  117. package/dist/options/rspack.d.ts +1 -1
  118. package/dist/options/runs.d.ts +1 -1
  119. package/dist/options/sample-rate.d.ts +1 -1
  120. package/dist/options/scale.d.ts +1 -1
  121. package/dist/options/sequence-activity-limit.d.ts +1 -1
  122. package/dist/options/show-layer-frame-numbers.d.ts +1 -1
  123. package/dist/options/show-premounting.d.ts +1 -1
  124. package/dist/options/skip-skills.d.ts +1 -1
  125. package/dist/options/still-frame.d.ts +1 -1
  126. package/dist/options/still-image-format.d.ts +1 -1
  127. package/dist/options/throw-if-site-exists.d.ts +2 -2
  128. package/dist/options/timeout.d.ts +1 -1
  129. package/dist/options/user-agent.d.ts +1 -1
  130. package/dist/options/version-flag.d.ts +1 -1
  131. package/dist/options/video-bitrate.d.ts +1 -1
  132. package/dist/options/video-cache-size.d.ts +1 -1
  133. package/dist/options/video-codec.d.ts +1 -1
  134. package/dist/options/video-image-format.d.ts +1 -1
  135. package/dist/options/webhook-custom-data.d.ts +1 -1
  136. package/dist/options/webpack-poll.d.ts +1 -1
  137. package/dist/options/x264-preset.d.ts +1 -1
  138. package/dist/render-frames.js +6 -3
  139. package/dist/render-media.d.ts +1 -1
  140. package/dist/render-media.js +4 -2
  141. package/dist/render-still.js +6 -2
  142. package/dist/select-composition.js +6 -3
  143. package/dist/serve-handler/range-parser.js +1 -1
  144. package/dist/serve-static.js +4 -1
  145. package/dist/set-props-and-env.d.ts +2 -0
  146. package/dist/set-props-and-env.js +8 -3
  147. package/dist/stringify-ffmpeg-filter.js +6 -2
  148. package/dist/symbolicate-stacktrace.js +1 -1
  149. package/dist/validate-selected-frames.d.ts +4 -4
  150. package/dist/validate-selected-frames.js +2 -31
  151. package/package.json +15 -15
@@ -74,6 +74,7 @@ const package_manager_1 = require("./package-manager");
74
74
  const pixel_format_1 = require("./pixel-format");
75
75
  const port_1 = require("./port");
76
76
  const prefer_lossless_1 = require("./prefer-lossless");
77
+ const preferred_effect_backend_1 = require("./preferred-effect-backend");
77
78
  const preserve_pitch_on_playback_1 = require("./preserve-pitch-on-playback");
78
79
  const preview_sample_rate_1 = require("./preview-sample-rate");
79
80
  const props_1 = require("./props");
@@ -170,6 +171,7 @@ exports.allOptions = {
170
171
  ignoreCertificateErrorsOption: ignore_certificate_errors_1.ignoreCertificateErrorsOption,
171
172
  imageSequencePatternOption: image_sequence_pattern_1.imageSequencePatternOption,
172
173
  mediaCacheSizeInBytesOption: video_cache_size_1.mediaCacheSizeInBytesOption,
174
+ preferredEffectBackendOption: preferred_effect_backend_1.preferredEffectBackendOption,
173
175
  darkModeOption: dark_mode_1.darkModeOption,
174
176
  defaultCodingAgentOption: default_coding_agent_1.defaultCodingAgentOption,
175
177
  defaultEditorOption: default_editor_1.defaultEditorOption,
@@ -2,7 +2,7 @@ export declare const interactivityOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "disable-interactivity";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: null;
7
7
  docLink: string;
8
8
  type: boolean;
@@ -2,7 +2,7 @@ export declare const ipv4Option: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "ipv4";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: null;
7
7
  docLink: string;
8
8
  type: boolean;
@@ -2,7 +2,7 @@ export declare const isProductionOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "is-production";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: 'isProduction';
7
7
  docLink: string;
8
8
  getValue: ({ commandLine }: {
@@ -8,7 +8,7 @@ exports.isProductionOption = {
8
8
  name: 'Is Production',
9
9
  addedIn: '4.0.409',
10
10
  cliFlag,
11
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Pass ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with", ' ', (0, jsx_runtime_1.jsx)("code", { children: "licenseKey" }), "."] })),
11
+ description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Pass ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), " for a development render so it is not counted as a billable render on remotion.pro. Defaults to ", (0, jsx_runtime_1.jsx)("code", { children: "true" }), ". Only has an effect when a license key is provided."] })),
12
12
  ssrName: 'isProduction',
13
13
  docLink: 'https://www.remotion.dev/docs/options/is-production',
14
14
  getValue: ({ commandLine }) => {
@@ -4,7 +4,7 @@ export declare const jpegQualityOption: {
4
4
  name: string;
5
5
  addedIn: string;
6
6
  cliFlag: "jpeg-quality";
7
- description: () => import("react/jsx-runtime").JSX.Element;
7
+ description: () => import("react").JSX.Element;
8
8
  ssrName: string;
9
9
  docLink: string;
10
10
  type: number;
@@ -2,7 +2,7 @@ export declare const keyboardShortcutsOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "disable-keyboard-shortcuts";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: null;
7
7
  docLink: string;
8
8
  type: boolean;
@@ -2,7 +2,7 @@ export declare const audioLatencyHintOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "audio-latency-hint";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: 'audioLatencyHint';
7
7
  docLink: string;
8
8
  type: AudioContextLatencyCategory;
@@ -2,7 +2,7 @@ export declare const licenseKeyOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "license-key";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: 'licenseKey';
7
7
  docLink: string;
8
8
  type: string | null;
@@ -8,7 +8,7 @@ exports.licenseKeyOption = {
8
8
  name: 'License key',
9
9
  addedIn: '4.0.409',
10
10
  cliFlag,
11
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["License key for sending a usage event using", ' ', (0, jsx_runtime_1.jsx)("code", { children: "@remotion/licensing" }), "."] })),
11
+ description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["License key for sending a usage event using", ' ', (0, jsx_runtime_1.jsx)("code", { children: "@remotion/licensing" }), ". For ", (0, jsx_runtime_1.jsx)("code", { children: "npx remotion render" }), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "npx remotion still" }), ", pass a private API key starting with", ' ', (0, jsx_runtime_1.jsx)("code", { children: "rm_sec_" }), " from the License keys page on", ' ', (0, jsx_runtime_1.jsx)("a", { href: "https://www.remotion.pro/dashboard", children: "remotion.pro" }), "."] })),
12
12
  ssrName: 'licenseKey',
13
13
  docLink: 'https://www.remotion.dev/docs/options/license-key',
14
14
  type: null,
@@ -4,7 +4,7 @@ export declare const logLevelOption: {
4
4
  name: string;
5
5
  addedIn: string;
6
6
  ssrName: string;
7
- description: () => import("react/jsx-runtime").JSX.Element;
7
+ description: () => import("react").JSX.Element;
8
8
  docLink: string;
9
9
  getValue: ({ commandLine }: {
10
10
  commandLine: Record<string, unknown>;
@@ -3,7 +3,7 @@ export declare const metadataOption: {
3
3
  name: string;
4
4
  addedIn: string;
5
5
  cliFlag: "metadata";
6
- description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
6
+ description: (mode: "cli" | "ssr") => import("react").JSX.Element;
7
7
  docLink: string;
8
8
  type: Metadata;
9
9
  getValue: ({ commandLine }: {
@@ -2,7 +2,7 @@ export declare const mutedOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "muted";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: string;
7
7
  docLink: string;
8
8
  type: boolean;
@@ -2,7 +2,7 @@ export declare const noOpenOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "no-open";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: null;
7
7
  docLink: string;
8
8
  type: boolean;
@@ -3,7 +3,7 @@ export declare const numberOfGifLoopsOption: {
3
3
  name: string;
4
4
  addedIn: string;
5
5
  cliFlag: "number-of-gif-loops";
6
- description: () => import("react/jsx-runtime").JSX.Element;
6
+ description: () => import("react").JSX.Element;
7
7
  ssrName: 'numberOfGifLoops';
8
8
  docLink: string;
9
9
  type: number | null;
@@ -2,7 +2,7 @@ export declare const numberOfSharedAudioTagsOption: {
2
2
  name: string;
3
3
  addedIn: string;
4
4
  cliFlag: "number-of-shared-audio-tags";
5
- description: () => import("react/jsx-runtime").JSX.Element;
5
+ description: () => import("react").JSX.Element;
6
6
  ssrName: null;
7
7
  docLink: string;
8
8
  type: number;
@@ -3,7 +3,7 @@ export declare const offthreadVideoCacheSizeInBytesOption: {
3
3
  name: string;
4
4
  addedIn: string;
5
5
  cliFlag: "offthreadvideo-cache-size-in-bytes";
6
- description: () => import("react/jsx-runtime").JSX.Element;
6
+ description: () => import("react").JSX.Element;
7
7
  ssrName: 'offthreadVideoCacheSizeInBytes';
8
8
  docLink: string;
9
9
  type: number | null;
@@ -3,7 +3,7 @@ export declare const offthreadVideoThreadsOption: {
3
3
  name: string;
4
4
  addedIn: string;
5
5
  cliFlag: "offthreadvideo-video-threads";
6
- description: () => import("react/jsx-runtime").JSX.Element;
6
+ description: () => import("react").JSX.Element;
7
7
  ssrName: 'offthreadVideoThreads';
8
8
  docLink: string;
9
9
  type: number | null;
@@ -15,7 +15,7 @@ export declare const onBrowserDownloadOption: {
15
15
  name: string;
16
16
  addedIn: string;
17
17
  cliFlag: "on-browser-download";
18
- description: () => import("react/jsx-runtime").JSX.Element;
18
+ description: () => import("react").JSX.Element;
19
19
  ssrName: 'onBrowserDownload';
20
20
  docLink: string;
21
21
  type: OnBrowserDownload;