@remotion/renderer 4.0.363 → 4.0.365

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 (646) hide show
  1. package/package.json +12 -12
  2. package/.prettierignore +0 -2
  3. package/dist/test/actual-concurrency.test.d.ts +0 -1
  4. package/dist/test/artifacts.test.d.ts +0 -1
  5. package/dist/test/asset-calculation.test.d.ts +0 -1
  6. package/dist/test/asset-compression.test.d.ts +0 -1
  7. package/dist/test/avoid-ffmpeg-stackoverflow.test.d.ts +0 -1
  8. package/dist/test/browser-log-message.test.d.ts +0 -1
  9. package/dist/test/calculate-atempo.test.d.ts +0 -1
  10. package/dist/test/compositor-rust.test.d.ts +0 -1
  11. package/dist/test/crf.test.d.ts +0 -1
  12. package/dist/test/derive-codec-from-file-extension.test.d.ts +0 -1
  13. package/dist/test/dont-skip-assets.test.d.ts +0 -1
  14. package/dist/test/download-file.test.d.ts +0 -1
  15. package/dist/test/even-dimensions.test.d.ts +0 -1
  16. package/dist/test/extra-frames-to-capture.test.d.ts +0 -1
  17. package/dist/test/extract-audio.test.d.ts +0 -1
  18. package/dist/test/extract-frame-rust.test.d.ts +0 -1
  19. package/dist/test/ffmpeg-filters.test.d.ts +0 -1
  20. package/dist/test/ffmpeg-merge-filter.test.d.ts +0 -1
  21. package/dist/test/ffmpeg-volume-expression.test.d.ts +0 -1
  22. package/dist/test/file-extension.test.d.ts +0 -1
  23. package/dist/test/find-closest-package-json.test.d.ts +0 -1
  24. package/dist/test/flatten-volume-array.test.d.ts +0 -1
  25. package/dist/test/format-logs.test.d.ts +0 -1
  26. package/dist/test/frame-padded-index.test.d.ts +0 -1
  27. package/dist/test/frame.test.d.ts +0 -1
  28. package/dist/test/get-assets-for-markup.d.ts +0 -8
  29. package/dist/test/get-audio-channels.test.d.ts +0 -1
  30. package/dist/test/get-bundle-url-from-serve-url.test.d.ts +0 -1
  31. package/dist/test/get-silent-parts.test.d.ts +0 -1
  32. package/dist/test/guess-extension-for-media.test.d.ts +0 -1
  33. package/dist/test/handle-weird-file-names.test.d.ts +0 -1
  34. package/dist/test/log-level.test.d.ts +0 -1
  35. package/dist/test/mime-types.test.d.ts +0 -1
  36. package/dist/test/offthread-extract-url.test.d.ts +0 -1
  37. package/dist/test/parse-ffmpeg-progress.test.d.ts +0 -1
  38. package/dist/test/partitions.test.d.ts +0 -1
  39. package/dist/test/pixel-format.test.d.ts +0 -1
  40. package/dist/test/port-config.test.d.ts +0 -1
  41. package/dist/test/port-selection.test.d.ts +0 -1
  42. package/dist/test/prores-profile.test.d.ts +0 -1
  43. package/dist/test/render-still.test.d.ts +0 -1
  44. package/dist/test/rust-errors.test.d.ts +0 -1
  45. package/dist/test/rust-get-video-metadata.test.d.ts +0 -1
  46. package/dist/test/rust-memory-usage.test.d.ts +0 -1
  47. package/dist/test/sanitize-file-path.test.d.ts +0 -1
  48. package/dist/test/serve-url.test.d.ts +0 -1
  49. package/dist/test/symbolicate-remote-stack.test.d.ts +0 -1
  50. package/dist/test/validate-concurrency.test.d.ts +0 -1
  51. package/dist/test/validate-config-stitcher.test.d.ts +0 -1
  52. package/dist/test/validate-config.test.d.ts +0 -1
  53. package/dist/test/validate-even-dimensions-with-codec.test.d.ts +0 -1
  54. package/dist/test/validate-image-format.test.d.ts +0 -1
  55. package/dist/test/webpack-to-serve-url.test.d.ts +0 -1
  56. package/ensure-browser.mjs +0 -3337
  57. package/package/dist/assets/apply-tone-frequency.d.ts +0 -11
  58. package/package/dist/assets/apply-tone-frequency.js +0 -34
  59. package/package/dist/assets/calculate-asset-positions.d.ts +0 -3
  60. package/package/dist/assets/calculate-asset-positions.js +0 -72
  61. package/package/dist/assets/calculate-atempo.d.ts +0 -1
  62. package/package/dist/assets/calculate-atempo.js +0 -16
  63. package/package/dist/assets/convert-assets-to-file-urls.d.ts +0 -13
  64. package/package/dist/assets/convert-assets-to-file-urls.js +0 -36
  65. package/package/dist/assets/download-and-map-assets-to-file.d.ts +0 -37
  66. package/package/dist/assets/download-and-map-assets-to-file.js +0 -312
  67. package/package/dist/assets/download-file.d.ts +0 -18
  68. package/package/dist/assets/download-file.js +0 -135
  69. package/package/dist/assets/download-map.d.ts +0 -55
  70. package/package/dist/assets/download-map.js +0 -63
  71. package/package/dist/assets/ffmpeg-volume-expression.d.ts +0 -12
  72. package/package/dist/assets/ffmpeg-volume-expression.js +0 -96
  73. package/package/dist/assets/flatten-volume-array.d.ts +0 -3
  74. package/package/dist/assets/flatten-volume-array.js +0 -26
  75. package/package/dist/assets/get-audio-channels.d.ts +0 -20
  76. package/package/dist/assets/get-audio-channels.js +0 -78
  77. package/package/dist/assets/inline-audio-mixing.d.ts +0 -22
  78. package/package/dist/assets/inline-audio-mixing.js +0 -189
  79. package/package/dist/assets/read-file.d.ts +0 -7
  80. package/package/dist/assets/read-file.js +0 -97
  81. package/package/dist/assets/round-volume-to-avoid-stack-overflow.d.ts +0 -1
  82. package/package/dist/assets/round-volume-to-avoid-stack-overflow.js +0 -17
  83. package/package/dist/assets/sanitize-filename.d.ts +0 -1
  84. package/package/dist/assets/sanitize-filename.js +0 -58
  85. package/package/dist/assets/sanitize-filepath.d.ts +0 -1
  86. package/package/dist/assets/sanitize-filepath.js +0 -16
  87. package/package/dist/assets/truncate-utf8-bytes.d.ts +0 -1
  88. package/package/dist/assets/truncate-utf8-bytes.js +0 -36
  89. package/package/dist/assets/types.d.ts +0 -18
  90. package/package/dist/assets/types.js +0 -21
  91. package/package/dist/browser/Browser.d.ts +0 -97
  92. package/package/dist/browser/Browser.js +0 -246
  93. package/package/dist/browser/BrowserFetcher.d.ts +0 -33
  94. package/package/dist/browser/BrowserFetcher.js +0 -215
  95. package/package/dist/browser/BrowserPage.d.ts +0 -104
  96. package/package/dist/browser/BrowserPage.js +0 -436
  97. package/package/dist/browser/BrowserRunner.d.ts +0 -33
  98. package/package/dist/browser/BrowserRunner.js +0 -303
  99. package/package/dist/browser/Connection.d.ts +0 -49
  100. package/package/dist/browser/Connection.js +0 -258
  101. package/package/dist/browser/ConsoleMessage.d.ts +0 -42
  102. package/package/dist/browser/ConsoleMessage.js +0 -47
  103. package/package/dist/browser/DOMWorld.d.ts +0 -56
  104. package/package/dist/browser/DOMWorld.js +0 -272
  105. package/package/dist/browser/Errors.d.ts +0 -25
  106. package/package/dist/browser/Errors.js +0 -35
  107. package/package/dist/browser/EvalTypes.d.ts +0 -27
  108. package/package/dist/browser/EvalTypes.js +0 -17
  109. package/package/dist/browser/EventEmitter.d.ts +0 -23
  110. package/package/dist/browser/EventEmitter.js +0 -53
  111. package/package/dist/browser/ExecutionContext.d.ts +0 -34
  112. package/package/dist/browser/ExecutionContext.js +0 -174
  113. package/package/dist/browser/FrameManager.d.ts +0 -89
  114. package/package/dist/browser/FrameManager.js +0 -487
  115. package/package/dist/browser/HTTPRequest.d.ts +0 -29
  116. package/package/dist/browser/HTTPRequest.js +0 -39
  117. package/package/dist/browser/HTTPResponse.d.ts +0 -21
  118. package/package/dist/browser/HTTPResponse.js +0 -41
  119. package/package/dist/browser/JSHandle.d.ts +0 -35
  120. package/package/dist/browser/JSHandle.js +0 -90
  121. package/package/dist/browser/LaunchOptions.d.ts +0 -26
  122. package/package/dist/browser/LaunchOptions.js +0 -17
  123. package/package/dist/browser/Launcher.d.ts +0 -18
  124. package/package/dist/browser/Launcher.js +0 -41
  125. package/package/dist/browser/LifecycleWatcher.d.ts +0 -29
  126. package/package/dist/browser/LifecycleWatcher.js +0 -180
  127. package/package/dist/browser/NetworkEventManager.d.ts +0 -34
  128. package/package/dist/browser/NetworkEventManager.js +0 -85
  129. package/package/dist/browser/NetworkManager.d.ts +0 -37
  130. package/package/dist/browser/NetworkManager.js +0 -246
  131. package/package/dist/browser/NodeWebSocketTransport.d.ts +0 -19
  132. package/package/dist/browser/NodeWebSocketTransport.js +0 -81
  133. package/package/dist/browser/PuppeteerViewport.d.ts +0 -5
  134. package/package/dist/browser/PuppeteerViewport.js +0 -2
  135. package/package/dist/browser/ScreenshotOptions.d.ts +0 -0
  136. package/package/dist/browser/ScreenshotOptions.js +0 -1
  137. package/package/dist/browser/Target.d.ts +0 -72
  138. package/package/dist/browser/Target.js +0 -161
  139. package/package/dist/browser/TaskQueue.d.ts +0 -20
  140. package/package/dist/browser/TaskQueue.js +0 -47
  141. package/package/dist/browser/TimeoutSettings.d.ts +0 -24
  142. package/package/dist/browser/TimeoutSettings.js +0 -62
  143. package/package/dist/browser/assert.d.ts +0 -1
  144. package/package/dist/browser/assert.js +0 -9
  145. package/package/dist/browser/browser-download-progress-bar.d.ts +0 -7
  146. package/package/dist/browser/browser-download-progress-bar.js +0 -31
  147. package/package/dist/browser/devtools-commands.d.ts +0 -274
  148. package/package/dist/browser/devtools-commands.js +0 -2
  149. package/package/dist/browser/devtools-types.d.ts +0 -1263
  150. package/package/dist/browser/devtools-types.js +0 -2
  151. package/package/dist/browser/flaky-errors.d.ts +0 -2
  152. package/package/dist/browser/flaky-errors.js +0 -20
  153. package/package/dist/browser/get-download-destination.d.ts +0 -1
  154. package/package/dist/browser/get-download-destination.js +0 -38
  155. package/package/dist/browser/handle-failed-resource.d.ts +0 -10
  156. package/package/dist/browser/handle-failed-resource.js +0 -21
  157. package/package/dist/browser/mitt/index.d.ts +0 -22
  158. package/package/dist/browser/mitt/index.js +0 -49
  159. package/package/dist/browser/should-log-message.d.ts +0 -24
  160. package/package/dist/browser/should-log-message.js +0 -104
  161. package/package/dist/browser/source-map-getter.d.ts +0 -2
  162. package/package/dist/browser/source-map-getter.js +0 -2
  163. package/package/dist/browser/util.d.ts +0 -37
  164. package/package/dist/browser/util.js +0 -169
  165. package/package/dist/browser-executable.d.ts +0 -1
  166. package/package/dist/browser-executable.js +0 -2
  167. package/package/dist/browser-log.d.ts +0 -6
  168. package/package/dist/browser-log.js +0 -2
  169. package/package/dist/browser.d.ts +0 -2
  170. package/package/dist/browser.js +0 -4
  171. package/package/dist/call-ffmpeg.d.ts +0 -22
  172. package/package/dist/call-ffmpeg.js +0 -53
  173. package/package/dist/can-concat-seamlessly.d.ts +0 -4
  174. package/package/dist/can-concat-seamlessly.js +0 -17
  175. package/package/dist/can-use-parallel-encoding.d.ts +0 -3
  176. package/package/dist/can-use-parallel-encoding.js +0 -19
  177. package/package/dist/chalk/index.d.ts +0 -55
  178. package/package/dist/chalk/index.js +0 -130
  179. package/package/dist/chalk/is-color-supported.d.ts +0 -1
  180. package/package/dist/chalk/is-color-supported.js +0 -55
  181. package/package/dist/check-version-requirements.d.ts +0 -3
  182. package/package/dist/check-version-requirements.js +0 -82
  183. package/package/dist/chunk.d.ts +0 -1
  184. package/package/dist/chunk.js +0 -11
  185. package/package/dist/client.d.ts +0 -3016
  186. package/package/dist/client.js +0 -57
  187. package/package/dist/codec-supports-media.d.ts +0 -9
  188. package/package/dist/codec-supports-media.js +0 -76
  189. package/package/dist/codec.d.ts +0 -4
  190. package/package/dist/codec.js +0 -17
  191. package/package/dist/collect-assets.d.ts +0 -7
  192. package/package/dist/collect-assets.js +0 -38
  193. package/package/dist/combine-audio.d.ts +0 -21
  194. package/package/dist/combine-audio.js +0 -183
  195. package/package/dist/combine-chunks.d.ts +0 -39
  196. package/package/dist/combine-chunks.js +0 -171
  197. package/package/dist/combine-video-streams-seamlessly.d.ts +0 -3
  198. package/package/dist/combine-video-streams-seamlessly.js +0 -8
  199. package/package/dist/combine-video-streams.d.ts +0 -17
  200. package/package/dist/combine-video-streams.js +0 -75
  201. package/package/dist/compositor/compositor.d.ts +0 -22
  202. package/package/dist/compositor/compositor.js +0 -182
  203. package/package/dist/compositor/get-executable-path.d.ts +0 -12
  204. package/package/dist/compositor/get-executable-path.js +0 -95
  205. package/package/dist/compositor/get-explicit-env.d.ts +0 -3
  206. package/package/dist/compositor/get-explicit-env.js +0 -13
  207. package/package/dist/compositor/make-file-executable.d.ts +0 -1
  208. package/package/dist/compositor/make-file-executable.js +0 -44
  209. package/package/dist/compositor/make-nonce.d.ts +0 -1
  210. package/package/dist/compositor/make-nonce.js +0 -8
  211. package/package/dist/compositor/payloads.d.ts +0 -73
  212. package/package/dist/compositor/payloads.js +0 -2
  213. package/package/dist/compositor/serialize-command.d.ts +0 -2
  214. package/package/dist/compositor/serialize-command.js +0 -14
  215. package/package/dist/compress-assets.d.ts +0 -7
  216. package/package/dist/compress-assets.js +0 -25
  217. package/package/dist/compress-audio.d.ts +0 -16
  218. package/package/dist/compress-audio.js +0 -44
  219. package/package/dist/convert-number-of-gif-loops-to-ffmpeg.d.ts +0 -1
  220. package/package/dist/convert-number-of-gif-loops-to-ffmpeg.js +0 -17
  221. package/package/dist/convert-to-positive-frame-index.d.ts +0 -4
  222. package/package/dist/convert-to-positive-frame-index.js +0 -8
  223. package/package/dist/create-audio.d.ts +0 -29
  224. package/package/dist/create-audio.js +0 -127
  225. package/package/dist/create-ffmpeg-complex-filter.d.ts +0 -10
  226. package/package/dist/create-ffmpeg-complex-filter.js +0 -24
  227. package/package/dist/create-ffmpeg-merge-filter.d.ts +0 -5
  228. package/package/dist/create-ffmpeg-merge-filter.js +0 -25
  229. package/package/dist/create-silent-audio.d.ts +0 -10
  230. package/package/dist/create-silent-audio.js +0 -28
  231. package/package/dist/crf.d.ts +0 -13
  232. package/package/dist/crf.js +0 -103
  233. package/package/dist/cycle-browser-tabs.d.ts +0 -10
  234. package/package/dist/cycle-browser-tabs.js +0 -50
  235. package/package/dist/default-on-log.d.ts +0 -2
  236. package/package/dist/default-on-log.js +0 -8
  237. package/package/dist/delay-render-embedded-stack.d.ts +0 -2
  238. package/package/dist/delay-render-embedded-stack.js +0 -17
  239. package/package/dist/delete-directory.d.ts +0 -1
  240. package/package/dist/delete-directory.js +0 -68
  241. package/package/dist/ensure-browser.d.ts +0 -24
  242. package/package/dist/ensure-browser.js +0 -58
  243. package/package/dist/ensure-frames-in-order.d.ts +0 -5
  244. package/package/dist/ensure-frames-in-order.js +0 -39
  245. package/package/dist/ensure-output-directory.d.ts +0 -1
  246. package/package/dist/ensure-output-directory.js +0 -17
  247. package/package/dist/error-handling/handle-javascript-exception.d.ts +0 -23
  248. package/package/dist/error-handling/handle-javascript-exception.js +0 -86
  249. package/package/dist/error-handling/symbolicate-error.d.ts +0 -3
  250. package/package/dist/error-handling/symbolicate-error.js +0 -26
  251. package/package/dist/error-handling/symbolicateable-error.d.ts +0 -18
  252. package/package/dist/error-handling/symbolicateable-error.js +0 -19
  253. package/package/dist/error-handling.d.ts +0 -1
  254. package/package/dist/error-handling.js +0 -5
  255. package/package/dist/esm/client.mjs +0 -3270
  256. package/package/dist/esm/error-handling.mjs +0 -363
  257. package/package/dist/esm/index.mjs +0 -23201
  258. package/package/dist/esm/pure.mjs +0 -526
  259. package/package/dist/extract-audio.d.ts +0 -7
  260. package/package/dist/extract-audio.js +0 -25
  261. package/package/dist/ffmpeg-args.d.ts +0 -21
  262. package/package/dist/ffmpeg-args.js +0 -96
  263. package/package/dist/ffmpeg-filter-file.d.ts +0 -13
  264. package/package/dist/ffmpeg-filter-file.js +0 -70
  265. package/package/dist/ffmpeg-override.d.ts +0 -4
  266. package/package/dist/ffmpeg-override.js +0 -2
  267. package/package/dist/file-extensions.d.ts +0 -14
  268. package/package/dist/file-extensions.js +0 -85
  269. package/package/dist/filter-asset-types.d.ts +0 -8
  270. package/package/dist/filter-asset-types.js +0 -44
  271. package/package/dist/find-closest-package-json.d.ts +0 -2
  272. package/package/dist/find-closest-package-json.js +0 -31
  273. package/package/dist/format-logs.d.ts +0 -3
  274. package/package/dist/format-logs.js +0 -214
  275. package/package/dist/frame-range.d.ts +0 -2
  276. package/package/dist/frame-range.js +0 -49
  277. package/package/dist/get-browser-instance.d.ts +0 -24
  278. package/package/dist/get-browser-instance.js +0 -63
  279. package/package/dist/get-bundle-url-from-serve-url.d.ts +0 -2
  280. package/package/dist/get-bundle-url-from-serve-url.js +0 -30
  281. package/package/dist/get-codec-name.d.ts +0 -21
  282. package/package/dist/get-codec-name.js +0 -87
  283. package/package/dist/get-compositions.d.ts +0 -34
  284. package/package/dist/get-compositions.js +0 -196
  285. package/package/dist/get-concurrency.d.ts +0 -1
  286. package/package/dist/get-concurrency.js +0 -27
  287. package/package/dist/get-cpu-count.d.ts +0 -2
  288. package/package/dist/get-cpu-count.js +0 -33
  289. package/package/dist/get-duration-from-frame-range.d.ts +0 -1
  290. package/package/dist/get-duration-from-frame-range.js +0 -17
  291. package/package/dist/get-extension-from-codec.d.ts +0 -6
  292. package/package/dist/get-extension-from-codec.js +0 -61
  293. package/package/dist/get-extension-of-filename.d.ts +0 -1
  294. package/package/dist/get-extension-of-filename.js +0 -15
  295. package/package/dist/get-extra-frames-to-capture.d.ts +0 -14
  296. package/package/dist/get-extra-frames-to-capture.js +0 -62
  297. package/package/dist/get-frame-padded-index.d.ts +0 -21
  298. package/package/dist/get-frame-padded-index.js +0 -43
  299. package/package/dist/get-frame-to-render.d.ts +0 -2
  300. package/package/dist/get-frame-to-render.js +0 -19
  301. package/package/dist/get-local-browser-executable.d.ts +0 -9
  302. package/package/dist/get-local-browser-executable.js +0 -36
  303. package/package/dist/get-port.d.ts +0 -15
  304. package/package/dist/get-port.js +0 -86
  305. package/package/dist/get-prores-profile-name.d.ts +0 -3
  306. package/package/dist/get-prores-profile-name.js +0 -25
  307. package/package/dist/get-silent-parts.d.ts +0 -10
  308. package/package/dist/get-silent-parts.js +0 -66
  309. package/package/dist/get-video-metadata.d.ts +0 -10
  310. package/package/dist/get-video-metadata.js +0 -25
  311. package/package/dist/get-video-threads-flag.d.ts +0 -2
  312. package/package/dist/get-video-threads-flag.js +0 -16
  313. package/package/dist/goto-page-or-throw.d.ts +0 -3
  314. package/package/dist/goto-page-or-throw.js +0 -16
  315. package/package/dist/guess-extension-for-media.d.ts +0 -9
  316. package/package/dist/guess-extension-for-media.js +0 -31
  317. package/package/dist/image-format.d.ts +0 -13
  318. package/package/dist/image-format.js +0 -37
  319. package/package/dist/index.d.ts +0 -1256
  320. package/package/dist/index.js +0 -227
  321. package/package/dist/is-audio-codec.d.ts +0 -2
  322. package/package/dist/is-audio-codec.js +0 -7
  323. package/package/dist/is-delay-render-error-with-retry.d.ts +0 -1
  324. package/package/dist/is-delay-render-error-with-retry.js +0 -28
  325. package/package/dist/is-serve-url.d.ts +0 -1
  326. package/package/dist/is-serve-url.js +0 -15
  327. package/package/dist/jpeg-quality.d.ts +0 -2
  328. package/package/dist/jpeg-quality.js +0 -22
  329. package/package/dist/locks.d.ts +0 -7
  330. package/package/dist/locks.js +0 -47
  331. package/package/dist/log-level.d.ts +0 -4
  332. package/package/dist/log-level.js +0 -15
  333. package/package/dist/logger.d.ts +0 -20
  334. package/package/dist/logger.js +0 -89
  335. package/package/dist/make-cancel-signal.d.ts +0 -14
  336. package/package/dist/make-cancel-signal.js +0 -48
  337. package/package/dist/make-metadata-args.d.ts +0 -2
  338. package/package/dist/make-metadata-args.js +0 -22
  339. package/package/dist/make-page.d.ts +0 -30
  340. package/package/dist/make-page.js +0 -70
  341. package/package/dist/memory/from-docker-cgroup.d.ts +0 -1
  342. package/package/dist/memory/from-docker-cgroup.js +0 -66
  343. package/package/dist/memory/from-lambda-env.d.ts +0 -1
  344. package/package/dist/memory/from-lambda-env.js +0 -10
  345. package/package/dist/memory/from-proc-meminfo.d.ts +0 -2
  346. package/package/dist/memory/from-proc-meminfo.js +0 -44
  347. package/package/dist/memory/get-available-memory.d.ts +0 -2
  348. package/package/dist/memory/get-available-memory.js +0 -44
  349. package/package/dist/merge-audio-track.d.ts +0 -19
  350. package/package/dist/merge-audio-track.js +0 -133
  351. package/package/dist/mime-db.d.ts +0 -6
  352. package/package/dist/mime-db.js +0 -8636
  353. package/package/dist/mime-types.d.ts +0 -3
  354. package/package/dist/mime-types.js +0 -94
  355. package/package/dist/mux-video-and-audio.d.ts +0 -15
  356. package/package/dist/mux-video-and-audio.js +0 -54
  357. package/package/dist/next-frame-to-render.d.ts +0 -11
  358. package/package/dist/next-frame-to-render.js +0 -41
  359. package/package/dist/normalize-serve-url.d.ts +0 -1
  360. package/package/dist/normalize-serve-url.js +0 -19
  361. package/package/dist/offthread-video-server.d.ts +0 -51
  362. package/package/dist/offthread-video-server.js +0 -217
  363. package/package/dist/open-browser.d.ts +0 -47
  364. package/package/dist/open-browser.js +0 -200
  365. package/package/dist/options/api-key.d.ts +0 -15
  366. package/package/dist/options/api-key.js +0 -29
  367. package/package/dist/options/audio-bitrate.d.ts +0 -18
  368. package/package/dist/options/audio-bitrate.js +0 -35
  369. package/package/dist/options/audio-codec.d.ts +0 -55
  370. package/package/dist/options/audio-codec.js +0 -188
  371. package/package/dist/options/beep-on-finish.d.ts +0 -15
  372. package/package/dist/options/beep-on-finish.js +0 -35
  373. package/package/dist/options/binaries-directory.d.ts +0 -15
  374. package/package/dist/options/binaries-directory.js +0 -35
  375. package/package/dist/options/chrome-mode.d.ts +0 -17
  376. package/package/dist/options/chrome-mode.js +0 -46
  377. package/package/dist/options/color-space.d.ts +0 -23
  378. package/package/dist/options/color-space.js +0 -49
  379. package/package/dist/options/crf.d.ts +0 -17
  380. package/package/dist/options/crf.js +0 -43
  381. package/package/dist/options/cross-site-isolation.d.ts +0 -15
  382. package/package/dist/options/cross-site-isolation.js +0 -29
  383. package/package/dist/options/delete-after.d.ts +0 -19
  384. package/package/dist/options/delete-after.js +0 -37
  385. package/package/dist/options/disable-git-source.d.ts +0 -15
  386. package/package/dist/options/disable-git-source.js +0 -28
  387. package/package/dist/options/disallow-parallel-encoding.d.ts +0 -15
  388. package/package/dist/options/disallow-parallel-encoding.js +0 -35
  389. package/package/dist/options/enable-lambda-insights.d.ts +0 -15
  390. package/package/dist/options/enable-lambda-insights.js +0 -35
  391. package/package/dist/options/enable-multiprocess-on-linux.d.ts +0 -15
  392. package/package/dist/options/enable-multiprocess-on-linux.js +0 -36
  393. package/package/dist/options/encoding-buffer-size.d.ts +0 -18
  394. package/package/dist/options/encoding-buffer-size.js +0 -39
  395. package/package/dist/options/encoding-max-rate.d.ts +0 -18
  396. package/package/dist/options/encoding-max-rate.js +0 -35
  397. package/package/dist/options/enforce-audio.d.ts +0 -18
  398. package/package/dist/options/enforce-audio.js +0 -36
  399. package/package/dist/options/folder-expiry.d.ts +0 -15
  400. package/package/dist/options/folder-expiry.js +0 -37
  401. package/package/dist/options/for-seamless-aac-concatenation.d.ts +0 -19
  402. package/package/dist/options/for-seamless-aac-concatenation.js +0 -40
  403. package/package/dist/options/gl.d.ts +0 -24
  404. package/package/dist/options/gl.js +0 -68
  405. package/package/dist/options/hardware-acceleration.d.ts +0 -18
  406. package/package/dist/options/hardware-acceleration.js +0 -56
  407. package/package/dist/options/headless.d.ts +0 -15
  408. package/package/dist/options/headless.js +0 -36
  409. package/package/dist/options/image-sequence-pattern.d.ts +0 -15
  410. package/package/dist/options/image-sequence-pattern.js +0 -30
  411. package/package/dist/options/index.d.ts +0 -747
  412. package/package/dist/options/index.js +0 -97
  413. package/package/dist/options/jpeg-quality.d.ts +0 -17
  414. package/package/dist/options/jpeg-quality.js +0 -47
  415. package/package/dist/options/latency-hint.d.ts +0 -18
  416. package/package/dist/options/latency-hint.js +0 -27
  417. package/package/dist/options/log-level.d.ts +0 -16
  418. package/package/dist/options/log-level.js +0 -32
  419. package/package/dist/options/metadata.d.ts +0 -18
  420. package/package/dist/options/metadata.js +0 -47
  421. package/package/dist/options/mute.d.ts +0 -15
  422. package/package/dist/options/mute.js +0 -37
  423. package/package/dist/options/number-of-gif-loops.d.ts +0 -19
  424. package/package/dist/options/number-of-gif-loops.js +0 -44
  425. package/package/dist/options/offthreadvideo-cache-size.d.ts +0 -20
  426. package/package/dist/options/offthreadvideo-cache-size.js +0 -60
  427. package/package/dist/options/offthreadvideo-threads.d.ts +0 -20
  428. package/package/dist/options/offthreadvideo-threads.js +0 -40
  429. package/package/dist/options/on-browser-download.d.ts +0 -22
  430. package/package/dist/options/on-browser-download.js +0 -19
  431. package/package/dist/options/option.d.ts +0 -20
  432. package/package/dist/options/option.js +0 -2
  433. package/package/dist/options/options-map.d.ts +0 -2040
  434. package/package/dist/options/options-map.js +0 -192
  435. package/package/dist/options/overwrite.d.ts +0 -15
  436. package/package/dist/options/overwrite.js +0 -42
  437. package/package/dist/options/prefer-lossless.d.ts +0 -18
  438. package/package/dist/options/prefer-lossless.js +0 -26
  439. package/package/dist/options/public-dir.d.ts +0 -18
  440. package/package/dist/options/public-dir.js +0 -37
  441. package/package/dist/options/public-path.d.ts +0 -18
  442. package/package/dist/options/public-path.js +0 -37
  443. package/package/dist/options/repro.d.ts +0 -15
  444. package/package/dist/options/repro.js +0 -36
  445. package/package/dist/options/scale.d.ts +0 -15
  446. package/package/dist/options/scale.js +0 -41
  447. package/package/dist/options/separate-audio.d.ts +0 -18
  448. package/package/dist/options/separate-audio.js +0 -28
  449. package/package/dist/options/throw-if-site-exists.d.ts +0 -15
  450. package/package/dist/options/throw-if-site-exists.js +0 -28
  451. package/package/dist/options/timeout.d.ts +0 -15
  452. package/package/dist/options/timeout.js +0 -44
  453. package/package/dist/options/video-bitrate.d.ts +0 -15
  454. package/package/dist/options/video-bitrate.js +0 -35
  455. package/package/dist/options/video-cache-size.d.ts +0 -19
  456. package/package/dist/options/video-cache-size.js +0 -39
  457. package/package/dist/options/video-codec.d.ts +0 -23
  458. package/package/dist/options/video-codec.js +0 -104
  459. package/package/dist/options/webhook-custom-data.d.ts +0 -10
  460. package/package/dist/options/webhook-custom-data.js +0 -21
  461. package/package/dist/options/x264-preset.d.ts +0 -25
  462. package/package/dist/options/x264-preset.js +0 -55
  463. package/package/dist/overwrite.d.ts +0 -1
  464. package/package/dist/overwrite.js +0 -4
  465. package/package/dist/p-limit.d.ts +0 -1
  466. package/package/dist/p-limit.js +0 -57
  467. package/package/dist/parse-browser-error-stack.d.ts +0 -7
  468. package/package/dist/parse-browser-error-stack.js +0 -87
  469. package/package/dist/parse-ffmpeg-progress.d.ts +0 -1
  470. package/package/dist/parse-ffmpeg-progress.js +0 -18
  471. package/package/dist/path-normalize.d.ts +0 -1
  472. package/package/dist/path-normalize.js +0 -132
  473. package/package/dist/perf.d.ts +0 -5
  474. package/package/dist/perf.js +0 -37
  475. package/package/dist/pixel-format.d.ts +0 -6
  476. package/package/dist/pixel-format.js +0 -37
  477. package/package/dist/pool.d.ts +0 -8
  478. package/package/dist/pool.js +0 -30
  479. package/package/dist/port-config.d.ts +0 -14
  480. package/package/dist/port-config.js +0 -79
  481. package/package/dist/prepare-server.d.ts +0 -32
  482. package/package/dist/prepare-server.js +0 -123
  483. package/package/dist/preprocess-audio-track.d.ts +0 -27
  484. package/package/dist/preprocess-audio-track.js +0 -82
  485. package/package/dist/prespawn-ffmpeg.d.ts +0 -49
  486. package/package/dist/prespawn-ffmpeg.js +0 -112
  487. package/package/dist/prestitcher-memory-usage.d.ts +0 -10
  488. package/package/dist/prestitcher-memory-usage.js +0 -26
  489. package/package/dist/print-useful-error-message.d.ts +0 -2
  490. package/package/dist/print-useful-error-message.js +0 -110
  491. package/package/dist/prores-profile.d.ts +0 -7
  492. package/package/dist/prores-profile.js +0 -23
  493. package/package/dist/puppeteer-evaluate.d.ts +0 -17
  494. package/package/dist/puppeteer-evaluate.js +0 -162
  495. package/package/dist/puppeteer-screenshot.d.ts +0 -12
  496. package/package/dist/puppeteer-screenshot.js +0 -58
  497. package/package/dist/pure.d.ts +0 -17
  498. package/package/dist/pure.js +0 -17
  499. package/package/dist/redirect-status-codes.d.ts +0 -1
  500. package/package/dist/redirect-status-codes.js +0 -6
  501. package/package/dist/render-frame-and-retry-target-close.d.ts +0 -54
  502. package/package/dist/render-frame-and-retry-target-close.js +0 -179
  503. package/package/dist/render-frame-with-option-to-reject.d.ts +0 -48
  504. package/package/dist/render-frame-with-option-to-reject.js +0 -156
  505. package/package/dist/render-frame.d.ts +0 -47
  506. package/package/dist/render-frame.js +0 -51
  507. package/package/dist/render-frames.d.ts +0 -97
  508. package/package/dist/render-frames.js +0 -413
  509. package/package/dist/render-has-audio.d.ts +0 -8
  510. package/package/dist/render-has-audio.js +0 -20
  511. package/package/dist/render-media.d.ts +0 -135
  512. package/package/dist/render-media.js +0 -621
  513. package/package/dist/render-partitions.d.ts +0 -7
  514. package/package/dist/render-partitions.js +0 -50
  515. package/package/dist/render-still.d.ts +0 -74
  516. package/package/dist/render-still.js +0 -356
  517. package/package/dist/replace-browser.d.ts +0 -7
  518. package/package/dist/replace-browser.js +0 -48
  519. package/package/dist/repro.d.ts +0 -25
  520. package/package/dist/repro.js +0 -184
  521. package/package/dist/resolve-asset-src.d.ts +0 -1
  522. package/package/dist/resolve-asset-src.js +0 -17
  523. package/package/dist/sample-rate.d.ts +0 -1
  524. package/package/dist/sample-rate.js +0 -4
  525. package/package/dist/screenshot-task.d.ts +0 -12
  526. package/package/dist/screenshot-task.js +0 -86
  527. package/package/dist/seamless-aac-trim.d.ts +0 -12
  528. package/package/dist/seamless-aac-trim.js +0 -24
  529. package/package/dist/seek-to-frame.d.ts +0 -18
  530. package/package/dist/seek-to-frame.js +0 -148
  531. package/package/dist/select-composition.d.ts +0 -45
  532. package/package/dist/select-composition.js +0 -219
  533. package/package/dist/serialize-artifact.d.ts +0 -7
  534. package/package/dist/serialize-artifact.js +0 -2
  535. package/package/dist/serve-handler/index.d.ts +0 -4
  536. package/package/dist/serve-handler/index.js +0 -208
  537. package/package/dist/serve-handler/is-path-inside.d.ts +0 -1
  538. package/package/dist/serve-handler/is-path-inside.js +0 -27
  539. package/package/dist/serve-handler/range-parser.d.ts +0 -13
  540. package/package/dist/serve-handler/range-parser.js +0 -57
  541. package/package/dist/serve-static.d.ts +0 -18
  542. package/package/dist/serve-static.js +0 -141
  543. package/package/dist/set-props-and-env.d.ts +0 -22
  544. package/package/dist/set-props-and-env.js +0 -219
  545. package/package/dist/stitch-frames-to-video.d.ts +0 -77
  546. package/package/dist/stitch-frames-to-video.js +0 -350
  547. package/package/dist/stringify-ffmpeg-filter.d.ts +0 -24
  548. package/package/dist/stringify-ffmpeg-filter.js +0 -140
  549. package/package/dist/succeed-or-cancel.d.ts +0 -6
  550. package/package/dist/succeed-or-cancel.js +0 -23
  551. package/package/dist/symbolicate-stacktrace.d.ts +0 -29
  552. package/package/dist/symbolicate-stacktrace.js +0 -155
  553. package/package/dist/take-frame.d.ts +0 -13
  554. package/package/dist/take-frame.js +0 -47
  555. package/package/dist/test/actual-concurrency.test.d.ts +0 -1
  556. package/package/dist/test/artifacts.test.d.ts +0 -1
  557. package/package/dist/test/asset-calculation.test.d.ts +0 -1
  558. package/package/dist/test/asset-compression.test.d.ts +0 -1
  559. package/package/dist/test/avoid-ffmpeg-stackoverflow.test.d.ts +0 -1
  560. package/package/dist/test/browser-log-message.test.d.ts +0 -1
  561. package/package/dist/test/calculate-atempo.test.d.ts +0 -1
  562. package/package/dist/test/compositor-rust.test.d.ts +0 -1
  563. package/package/dist/test/crf.test.d.ts +0 -1
  564. package/package/dist/test/derive-codec-from-file-extension.test.d.ts +0 -1
  565. package/package/dist/test/dont-skip-assets.test.d.ts +0 -1
  566. package/package/dist/test/download-file.test.d.ts +0 -1
  567. package/package/dist/test/even-dimensions.test.d.ts +0 -1
  568. package/package/dist/test/extra-frames-to-capture.test.d.ts +0 -1
  569. package/package/dist/test/extract-audio.test.d.ts +0 -1
  570. package/package/dist/test/extract-frame-rust.test.d.ts +0 -1
  571. package/package/dist/test/ffmpeg-filters.test.d.ts +0 -1
  572. package/package/dist/test/ffmpeg-merge-filter.test.d.ts +0 -1
  573. package/package/dist/test/ffmpeg-volume-expression.test.d.ts +0 -1
  574. package/package/dist/test/file-extension.test.d.ts +0 -1
  575. package/package/dist/test/find-closest-package-json.test.d.ts +0 -1
  576. package/package/dist/test/flatten-volume-array.test.d.ts +0 -1
  577. package/package/dist/test/format-logs.test.d.ts +0 -1
  578. package/package/dist/test/frame-padded-index.test.d.ts +0 -1
  579. package/package/dist/test/frame.test.d.ts +0 -1
  580. package/package/dist/test/get-assets-for-markup.d.ts +0 -8
  581. package/package/dist/test/get-audio-channels.test.d.ts +0 -1
  582. package/package/dist/test/get-bundle-url-from-serve-url.test.d.ts +0 -1
  583. package/package/dist/test/get-silent-parts.test.d.ts +0 -1
  584. package/package/dist/test/guess-extension-for-media.test.d.ts +0 -1
  585. package/package/dist/test/handle-weird-file-names.test.d.ts +0 -1
  586. package/package/dist/test/log-level.test.d.ts +0 -1
  587. package/package/dist/test/mime-types.test.d.ts +0 -1
  588. package/package/dist/test/offthread-extract-url.test.d.ts +0 -1
  589. package/package/dist/test/parse-ffmpeg-progress.test.d.ts +0 -1
  590. package/package/dist/test/partitions.test.d.ts +0 -1
  591. package/package/dist/test/pixel-format.test.d.ts +0 -1
  592. package/package/dist/test/port-config.test.d.ts +0 -1
  593. package/package/dist/test/port-selection.test.d.ts +0 -1
  594. package/package/dist/test/prores-profile.test.d.ts +0 -1
  595. package/package/dist/test/render-still.test.d.ts +0 -1
  596. package/package/dist/test/rust-errors.test.d.ts +0 -1
  597. package/package/dist/test/rust-get-video-metadata.test.d.ts +0 -1
  598. package/package/dist/test/rust-memory-usage.test.d.ts +0 -1
  599. package/package/dist/test/sanitize-file-path.test.d.ts +0 -1
  600. package/package/dist/test/serve-url.test.d.ts +0 -1
  601. package/package/dist/test/symbolicate-remote-stack.test.d.ts +0 -1
  602. package/package/dist/test/validate-concurrency.test.d.ts +0 -1
  603. package/package/dist/test/validate-config-stitcher.test.d.ts +0 -1
  604. package/package/dist/test/validate-config.test.d.ts +0 -1
  605. package/package/dist/test/validate-even-dimensions-with-codec.test.d.ts +0 -1
  606. package/package/dist/test/validate-image-format.test.d.ts +0 -1
  607. package/package/dist/test/webpack-to-serve-url.test.d.ts +0 -1
  608. package/package/dist/test-gpu.d.ts +0 -21
  609. package/package/dist/test-gpu.js +0 -45
  610. package/package/dist/tmp-dir.d.ts +0 -1
  611. package/package/dist/tmp-dir.js +0 -63
  612. package/package/dist/to-megabytes.d.ts +0 -1
  613. package/package/dist/to-megabytes.js +0 -7
  614. package/package/dist/truthy.d.ts +0 -3
  615. package/package/dist/truthy.js +0 -6
  616. package/package/dist/types.d.ts +0 -10
  617. package/package/dist/types.js +0 -2
  618. package/package/dist/v5-required-input-props.d.ts +0 -6
  619. package/package/dist/v5-required-input-props.js +0 -2
  620. package/package/dist/validate-concurrency.d.ts +0 -7
  621. package/package/dist/validate-concurrency.js +0 -38
  622. package/package/dist/validate-even-dimensions-with-codec.d.ts +0 -14
  623. package/package/dist/validate-even-dimensions-with-codec.js +0 -40
  624. package/package/dist/validate-every-nth-frame.d.ts +0 -1
  625. package/package/dist/validate-every-nth-frame.js +0 -24
  626. package/package/dist/validate-ffmpeg-override.d.ts +0 -2
  627. package/package/dist/validate-ffmpeg-override.js +0 -12
  628. package/package/dist/validate-number-of-gif-loops.d.ts +0 -2
  629. package/package/dist/validate-number-of-gif-loops.js +0 -24
  630. package/package/dist/validate-output-filename.d.ts +0 -9
  631. package/package/dist/validate-output-filename.js +0 -32
  632. package/package/dist/validate-puppeteer-timeout.d.ts +0 -1
  633. package/package/dist/validate-puppeteer-timeout.js +0 -25
  634. package/package/dist/validate-scale.d.ts +0 -1
  635. package/package/dist/validate-scale.js +0 -26
  636. package/package/dist/validate-videobitrate.d.ts +0 -1
  637. package/package/dist/validate-videobitrate.js +0 -20
  638. package/package/dist/validate.d.ts +0 -4
  639. package/package/dist/validate.js +0 -8
  640. package/package/dist/wait-for-symbolication-error-to-be-done.d.ts +0 -3
  641. package/package/dist/wait-for-symbolication-error-to-be-done.js +0 -8
  642. package/package/dist/wrap-with-error-handling.d.ts +0 -8
  643. package/package/dist/wrap-with-error-handling.js +0 -18
  644. package/package/dist/ws/ws-types.d.ts +0 -15
  645. package/package/dist/ws/ws-types.js +0 -8
  646. package/package/ensure-browser.mjs +0 -3337
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.chromeModeOption = exports.validChromeModeOptions = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- exports.validChromeModeOptions = [
6
- 'headless-shell',
7
- 'chrome-for-testing',
8
- ];
9
- const cliFlag = 'chrome-mode';
10
- let configSelection = null;
11
- exports.chromeModeOption = {
12
- cliFlag,
13
- name: 'Chrome Mode',
14
- ssrName: 'chromeMode',
15
- description: () => {
16
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["One of", ' ', exports.validChromeModeOptions.map((option, i) => ((0, jsx_runtime_1.jsxs)("code", { children: [option, i === exports.validChromeModeOptions.length - 1 ? '' : ', '] }, option))), ". Default ", (0, jsx_runtime_1.jsx)("code", { children: "headless-shell" }), ".", ' ', (0, jsx_runtime_1.jsxs)("a", { href: "https://remotion.dev/docs/miscellaneous/chrome-headless-shell", children: ["Use ", (0, jsx_runtime_1.jsx)("code", { children: "chrome-for-testing" }), " to take advantage of GPU drivers on Linux."] })] }));
17
- },
18
- docLink: 'https://www.remotion.dev/chrome-for-testing',
19
- getValue: ({ commandLine }) => {
20
- if (commandLine[cliFlag]) {
21
- if (!exports.validChromeModeOptions.includes(commandLine[cliFlag])) {
22
- throw new Error(`Invalid \`--${cliFlag}\` value passed. Accepted values: ${exports.validChromeModeOptions
23
- .map((l) => `'${l}'`)
24
- .join(', ')}.`);
25
- }
26
- return {
27
- value: commandLine[cliFlag],
28
- source: 'cli',
29
- };
30
- }
31
- if (configSelection !== null) {
32
- return {
33
- value: configSelection,
34
- source: 'config',
35
- };
36
- }
37
- return {
38
- value: 'headless-shell',
39
- source: 'default',
40
- };
41
- },
42
- setConfig: (newChromeMode) => {
43
- configSelection = newChromeMode;
44
- },
45
- type: 'headless-shell',
46
- };
@@ -1,23 +0,0 @@
1
- import { NoReactInternals } from 'remotion/no-react';
2
- declare const validV4ColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
3
- declare const validV5ColorSpaces: readonly ["bt601", "bt709", "bt2020-ncl"];
4
- export declare const validColorSpaces: true extends typeof NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? typeof validV5ColorSpaces : typeof validV4ColorSpaces;
5
- export type ColorSpace = (typeof validColorSpaces)[number];
6
- export declare const DEFAULT_COLOR_SPACE: true extends typeof NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? "bt709" : "default";
7
- export declare const colorSpaceOption: {
8
- name: string;
9
- cliFlag: "color-space";
10
- description: () => import("react/jsx-runtime").JSX.Element;
11
- docLink: string;
12
- ssrName: string;
13
- type: ColorSpace | null;
14
- getValue: ({ commandLine }: {
15
- commandLine: Record<string, unknown>;
16
- }) => {
17
- source: string;
18
- value: ColorSpace;
19
- };
20
- setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
21
- };
22
- export declare const validateColorSpace: (option: unknown) => void;
23
- export {};
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateColorSpace = exports.colorSpaceOption = exports.DEFAULT_COLOR_SPACE = exports.validColorSpaces = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const no_react_1 = require("remotion/no-react");
6
- const validV4ColorSpaces = ['default', 'bt709', 'bt2020-ncl'];
7
- const validV5ColorSpaces = ['bt601', 'bt709', 'bt2020-ncl'];
8
- exports.validColorSpaces = (no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES
9
- ? validV5ColorSpaces
10
- : validV4ColorSpaces);
11
- exports.DEFAULT_COLOR_SPACE = (no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? 'bt709' : 'default');
12
- let colorSpace = exports.DEFAULT_COLOR_SPACE;
13
- const cliFlag = 'color-space';
14
- exports.colorSpaceOption = {
15
- name: 'Color space',
16
- cliFlag: 'color-space',
17
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Color space to use for the video. Acceptable values:", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', exports.DEFAULT_COLOR_SPACE, '"'] }), "(default since 5.0),", ' ', no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? ((0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt601", '"', ', '] })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt709", '"'] }), ' ', "(since v4.0.28),", ' '] })), (0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt2020-ncl", '"'] }), ' ', "(since v4.0.88),", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "bt2020-cl", '"'] }), ' ', "(since v4.0.88), .", (0, jsx_runtime_1.jsx)("br", {}), "For best color accuracy, it is recommended to also use", ' ', (0, jsx_runtime_1.jsxs)("code", { children: ['"', "png", '"'] }), ' ', "as the image format to have accurate color transformations throughout.", (0, jsx_runtime_1.jsx)("br", {}), "Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."] })),
18
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#colorspace',
19
- ssrName: 'colorSpace',
20
- type: exports.DEFAULT_COLOR_SPACE,
21
- getValue: ({ commandLine }) => {
22
- if (commandLine[cliFlag] !== undefined) {
23
- return {
24
- source: 'cli',
25
- value: commandLine[cliFlag],
26
- };
27
- }
28
- if (colorSpace !== exports.DEFAULT_COLOR_SPACE) {
29
- return {
30
- source: 'config',
31
- value: colorSpace,
32
- };
33
- }
34
- return {
35
- source: 'default',
36
- value: exports.DEFAULT_COLOR_SPACE,
37
- };
38
- },
39
- setConfig: (value) => {
40
- colorSpace = value !== null && value !== void 0 ? value : exports.DEFAULT_COLOR_SPACE;
41
- },
42
- };
43
- const validateColorSpace = (option) => {
44
- if (exports.validColorSpaces.includes(option)) {
45
- return;
46
- }
47
- throw new Error(`Expected one of ${exports.validColorSpaces.map((c) => `"${c}"`).join(', ')} for ${exports.colorSpaceOption.ssrName} but got "${option}"`);
48
- };
49
- exports.validateColorSpace = validateColorSpace;
@@ -1,17 +0,0 @@
1
- import type { Crf } from '../crf';
2
- export declare const validateCrf: (newCrf: Crf) => void;
3
- export declare const crfOption: {
4
- name: string;
5
- cliFlag: "crf";
6
- description: () => import("react/jsx-runtime").JSX.Element;
7
- ssrName: string;
8
- docLink: string;
9
- type: number;
10
- getValue: ({ commandLine }: {
11
- commandLine: Record<string, unknown>;
12
- }) => {
13
- source: string;
14
- value: Crf;
15
- };
16
- setConfig: (crf: Crf) => void;
17
- };
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crfOption = exports.validateCrf = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- let currentCrf;
6
- const validateCrf = (newCrf) => {
7
- if (typeof newCrf !== 'number' && newCrf !== undefined) {
8
- throw new TypeError('The CRF must be a number or undefined.');
9
- }
10
- };
11
- exports.validateCrf = validateCrf;
12
- const cliFlag = 'crf';
13
- exports.crfOption = {
14
- name: 'CRF',
15
- cliFlag,
16
- description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "No matter which codec you end up using, there's always a tradeoff between file size and video quality. You can control it by setting the CRF (Constant Rate Factor). The lower the number, the better the quality, the higher the number, the smaller the file is \u2013 of course at the cost of quality." })),
17
- ssrName: 'crf',
18
- docLink: 'https://www.remotion.dev/docs/encoding/#controlling-quality-using-the-crf-setting',
19
- type: 0,
20
- getValue: ({ commandLine }) => {
21
- if (commandLine[cliFlag] !== undefined) {
22
- (0, exports.validateCrf)(commandLine[cliFlag]);
23
- return {
24
- source: 'cli',
25
- value: commandLine[cliFlag],
26
- };
27
- }
28
- if (currentCrf !== null) {
29
- return {
30
- source: 'config',
31
- value: currentCrf,
32
- };
33
- }
34
- return {
35
- source: 'default',
36
- value: undefined,
37
- };
38
- },
39
- setConfig: (crf) => {
40
- (0, exports.validateCrf)(crf);
41
- currentCrf = crf;
42
- },
43
- };
@@ -1,15 +0,0 @@
1
- export declare const enableCrossSiteIsolationOption: {
2
- name: string;
3
- cliFlag: "cross-site-isolation";
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
- };
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.enableCrossSiteIsolationOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- let enableCrossSiteIsolation = false;
6
- const cliFlag = 'cross-site-isolation';
7
- exports.enableCrossSiteIsolationOption = {
8
- name: 'Enable Cross-Site Isolation',
9
- cliFlag,
10
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for", ' ', (0, jsx_runtime_1.jsx)("code", { children: "@remotion/whisper-web" }), ")."] })),
11
- ssrName: null,
12
- docLink: 'https://www.remotion.dev/docs/config#setenablecrosssiteisolation',
13
- type: false,
14
- getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
16
- return {
17
- value: commandLine[cliFlag],
18
- source: 'cli',
19
- };
20
- }
21
- return {
22
- value: enableCrossSiteIsolation,
23
- source: 'config',
24
- };
25
- },
26
- setConfig(value) {
27
- enableCrossSiteIsolation = value;
28
- },
29
- };
@@ -1,19 +0,0 @@
1
- export type DeleteAfter = '1-day' | '3-days' | '7-days' | '30-days';
2
- export declare const deleteAfterOption: {
3
- name: string;
4
- cliFlag: "delete-after";
5
- description: () => import("react/jsx-runtime").JSX.Element;
6
- ssrName: "deleteAfter";
7
- docLink: string;
8
- type: DeleteAfter | null;
9
- getValue: ({ commandLine }: {
10
- commandLine: Record<string, unknown>;
11
- }) => {
12
- source: string;
13
- value: DeleteAfter;
14
- } | {
15
- source: string;
16
- value: null;
17
- };
18
- setConfig: (value: DeleteAfter | null) => void;
19
- };
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteAfterOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const cliFlag = 'delete-after';
6
- let deleteAfter = null;
7
- exports.deleteAfterOption = {
8
- name: 'Lambda render expiration',
9
- cliFlag,
10
- description: () => {
11
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Automatically delete the render after a certain period. Accepted values are ", (0, jsx_runtime_1.jsx)("code", { children: "1-day" }), ", ", (0, jsx_runtime_1.jsx)("code", { children: "3-days" }), ", ", (0, jsx_runtime_1.jsx)("code", { children: "7-days" }), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "30-days" }), ".", (0, jsx_runtime_1.jsx)("br", {}), " For this to work, your bucket needs to have", ' ', (0, jsx_runtime_1.jsx)("a", { href: "/docs/lambda/autodelete", children: "lifecycles enabled" }), "."] }));
12
- },
13
- ssrName: 'deleteAfter',
14
- docLink: 'https://www.remotion.dev/docs/lambda/autodelete',
15
- type: '1-day',
16
- getValue: ({ commandLine }) => {
17
- if (commandLine[cliFlag] !== undefined) {
18
- return {
19
- source: 'cli',
20
- value: commandLine[cliFlag],
21
- };
22
- }
23
- if (deleteAfter !== null) {
24
- return {
25
- source: 'config',
26
- value: deleteAfter,
27
- };
28
- }
29
- return {
30
- source: 'default',
31
- value: null,
32
- };
33
- },
34
- setConfig: (value) => {
35
- deleteAfter = value;
36
- },
37
- };
@@ -1,15 +0,0 @@
1
- export declare const disableGitSourceOption: {
2
- cliFlag: string;
3
- description: () => string;
4
- docLink: string;
5
- getValue: ({ commandLine }: {
6
- commandLine: Record<string, unknown>;
7
- }) => {
8
- source: string;
9
- value: boolean;
10
- };
11
- name: string;
12
- setConfig: () => never;
13
- ssrName: string;
14
- type: boolean;
15
- };
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.disableGitSourceOption = void 0;
4
- const DEFAULT = false;
5
- const cliFlag = 'disable-git-source';
6
- exports.disableGitSourceOption = {
7
- cliFlag,
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',
10
- getValue: ({ commandLine }) => {
11
- if (commandLine[cliFlag]) {
12
- return {
13
- source: 'cli',
14
- value: commandLine[cliFlag],
15
- };
16
- }
17
- return {
18
- source: 'default',
19
- value: DEFAULT,
20
- };
21
- },
22
- name: 'Disable Git source',
23
- setConfig: () => {
24
- throw new Error('Not implemented');
25
- },
26
- ssrName: 'disableGitSource',
27
- type: false,
28
- };
@@ -1,15 +0,0 @@
1
- export declare const disallowParallelEncodingOption: {
2
- name: string;
3
- cliFlag: "disallow-parallel-encoding";
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
- };
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.disallowParallelEncodingOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- let disallowParallelEncoding = false;
6
- const cliFlag = 'disallow-parallel-encoding';
7
- exports.disallowParallelEncodingOption = {
8
- name: 'Disallow parallel encoding',
9
- cliFlag,
10
- description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower." })),
11
- ssrName: 'disallowParallelEncoding',
12
- docLink: 'https://www.remotion.dev/docs/config#setdisallowparallelencoding',
13
- type: false,
14
- getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
16
- return {
17
- value: commandLine[cliFlag],
18
- source: 'cli',
19
- };
20
- }
21
- if (disallowParallelEncoding !== false) {
22
- return {
23
- value: disallowParallelEncoding,
24
- source: 'config',
25
- };
26
- }
27
- return {
28
- value: false,
29
- source: 'default',
30
- };
31
- },
32
- setConfig(value) {
33
- disallowParallelEncoding = value;
34
- },
35
- };
@@ -1,15 +0,0 @@
1
- export declare const enableLambdaInsights: {
2
- name: string;
3
- cliFlag: "enable-lambda-insights";
4
- description: () => import("react/jsx-runtime").JSX.Element;
5
- ssrName: string;
6
- docLink: string;
7
- type: boolean;
8
- setConfig: (value: boolean) => void;
9
- getValue: ({ commandLine }: {
10
- commandLine: Record<string, unknown>;
11
- }) => {
12
- value: boolean;
13
- source: string;
14
- };
15
- };
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.enableLambdaInsights = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const cliFlag = 'enable-lambda-insights';
6
- let option = false;
7
- exports.enableLambdaInsights = {
8
- name: 'Enable Lambda Insights',
9
- cliFlag,
10
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable", ' ', (0, jsx_runtime_1.jsx)("a", { href: "https://remotion.dev/docs/lambda/insights", children: "Lambda Insights in AWS CloudWatch" }), ". For this to work, you may have to update your role permission."] })),
11
- ssrName: 'enableLambdaInsights',
12
- docLink: 'https://www.remotion.dev/docs/lambda/insights',
13
- type: false,
14
- setConfig: (value) => {
15
- option = value;
16
- },
17
- getValue: ({ commandLine }) => {
18
- if (commandLine[cliFlag] !== undefined) {
19
- return {
20
- value: commandLine[cliFlag],
21
- source: 'cli',
22
- };
23
- }
24
- if (option) {
25
- return {
26
- value: option,
27
- source: 'config',
28
- };
29
- }
30
- return {
31
- value: false,
32
- source: 'default',
33
- };
34
- },
35
- };
@@ -1,15 +0,0 @@
1
- export declare const enableMultiprocessOnLinuxOption: {
2
- name: string;
3
- cliFlag: "enable-multiprocess-on-linux";
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
- source: string;
12
- value: boolean;
13
- };
14
- setConfig: (value: boolean) => void;
15
- };
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.enableMultiprocessOnLinuxOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const DEFAULT_VALUE = true;
6
- let multiProcessOnLinux = DEFAULT_VALUE;
7
- const cliFlag = 'enable-multiprocess-on-linux';
8
- exports.enableMultiprocessOnLinuxOption = {
9
- name: 'Enable Multiprocess on Linux',
10
- cliFlag,
11
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Removes the ", (0, jsx_runtime_1.jsx)("code", { children: '--single-process' }), " flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.", (0, jsx_runtime_1.jsx)("br", {}), "Default: ", (0, jsx_runtime_1.jsx)("code", { children: "false" }), " until v4.0.136, then ", (0, jsx_runtime_1.jsx)("code", { children: "true" }), " from v4.0.137 on because newer Chrome versions ", "don't", " allow rendering with the ", (0, jsx_runtime_1.jsx)("code", { children: "--single-process" }), " flag. ", (0, jsx_runtime_1.jsx)("br", {}), "This flag will be removed in Remotion v5.0."] })),
12
- ssrName: 'chromiumOptions.enableMultiprocessOnLinux',
13
- docLink: 'https://www.remotion.dev/docs/chromium-flags',
14
- type: false,
15
- getValue: ({ commandLine }) => {
16
- if (commandLine[cliFlag] !== undefined) {
17
- return {
18
- source: 'cli',
19
- value: commandLine[cliFlag],
20
- };
21
- }
22
- if (multiProcessOnLinux !== false) {
23
- return {
24
- source: 'config',
25
- value: multiProcessOnLinux,
26
- };
27
- }
28
- return {
29
- source: 'default',
30
- value: DEFAULT_VALUE,
31
- };
32
- },
33
- setConfig: (value) => {
34
- multiProcessOnLinux = value;
35
- },
36
- };
@@ -1,18 +0,0 @@
1
- export declare const encodingBufferSizeOption: {
2
- name: string;
3
- cliFlag: "buffer-size";
4
- description: () => import("react/jsx-runtime").JSX.Element;
5
- ssrName: "encodingBufferSize";
6
- docLink: string;
7
- type: string | null;
8
- getValue: ({ commandLine }: {
9
- commandLine: Record<string, unknown>;
10
- }) => {
11
- value: string;
12
- source: string;
13
- } | {
14
- value: null;
15
- source: string;
16
- };
17
- setConfig: (bitrate: string | null) => void;
18
- };
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encodingBufferSizeOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- /**
6
- * encodingBufferSize is not a bitrate, but it is a bitrate-related option and get validated like a bitrate.
7
- */
8
- let encodingBufferSize = null;
9
- const setEncodingBufferSize = (bitrate) => {
10
- encodingBufferSize = bitrate;
11
- };
12
- const cliFlag = 'buffer-size';
13
- exports.encodingBufferSizeOption = {
14
- name: 'FFmpeg -bufsize flag',
15
- cliFlag,
16
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The value for the ", (0, jsx_runtime_1.jsx)("code", { children: "-bufsize" }), " flag of FFmpeg. Should be used in conjunction with the encoding max rate flag."] })),
17
- ssrName: 'encodingBufferSize',
18
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#encodingbuffersize',
19
- type: '',
20
- getValue: ({ commandLine }) => {
21
- if (commandLine[cliFlag] !== undefined) {
22
- return {
23
- value: commandLine[cliFlag],
24
- source: 'cli',
25
- };
26
- }
27
- if (encodingBufferSize !== null) {
28
- return {
29
- value: encodingBufferSize,
30
- source: 'config',
31
- };
32
- }
33
- return {
34
- value: null,
35
- source: 'default',
36
- };
37
- },
38
- setConfig: setEncodingBufferSize,
39
- };
@@ -1,18 +0,0 @@
1
- export declare const encodingMaxRateOption: {
2
- name: string;
3
- cliFlag: "max-rate";
4
- description: () => import("react/jsx-runtime").JSX.Element;
5
- ssrName: "encodingMaxRate";
6
- docLink: string;
7
- type: string | null;
8
- getValue: ({ commandLine }: {
9
- commandLine: Record<string, unknown>;
10
- }) => {
11
- value: string;
12
- source: string;
13
- } | {
14
- value: null;
15
- source: string;
16
- };
17
- setConfig: (newMaxRate: string | null) => void;
18
- };
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encodingMaxRateOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- let encodingMaxRate = null;
6
- const cliFlag = 'max-rate';
7
- exports.encodingMaxRateOption = {
8
- name: 'FFmpeg -maxrate flag',
9
- cliFlag,
10
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The value for the ", (0, jsx_runtime_1.jsx)("code", { children: "-maxrate" }), " flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag."] })),
11
- ssrName: 'encodingMaxRate',
12
- docLink: 'https://www.remotion.dev/docs/renderer/render-media#encodingmaxrate',
13
- type: '',
14
- getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
16
- return {
17
- value: commandLine[cliFlag],
18
- source: 'cli',
19
- };
20
- }
21
- if (encodingMaxRate !== null) {
22
- return {
23
- value: encodingMaxRate,
24
- source: 'config',
25
- };
26
- }
27
- return {
28
- value: null,
29
- source: 'default',
30
- };
31
- },
32
- setConfig: (newMaxRate) => {
33
- encodingMaxRate = newMaxRate;
34
- },
35
- };
@@ -1,18 +0,0 @@
1
- export declare const enforceAudioOption: {
2
- name: string;
3
- cliFlag: "enforce-audio-track";
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
- source: string;
12
- value: true;
13
- } | {
14
- source: string;
15
- value: false;
16
- };
17
- setConfig: (value: boolean) => void;
18
- };