@remotion/renderer 4.0.364 → 4.0.366

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,1256 +0,0 @@
1
- import execa from 'execa';
2
- import { HeadlessBrowser } from './browser/Browser';
3
- import { SymbolicateableError } from './error-handling/symbolicateable-error';
4
- import { mimeContentType, mimeLookup } from './mime-types';
5
- import * as perf from './perf';
6
- export type { RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
7
- export { Browser } from './browser';
8
- export { BrowserExecutable } from './browser-executable';
9
- export { BrowserLog } from './browser-log';
10
- export type { HeadlessBrowser } from './browser/Browser';
11
- export type { OnLog } from './browser/BrowserPage';
12
- export { Codec, CodecOrUndefined } from './codec';
13
- export { CombineChunksOnProgress, CombineChunksOptions, combineChunks, } from './combine-chunks';
14
- export { Crf } from './crf';
15
- export { EnsureBrowserOptions, ensureBrowser } from './ensure-browser';
16
- export { ErrorWithStackFrame } from './error-handling/handle-javascript-exception';
17
- export { extractAudio } from './extract-audio';
18
- export type { FfmpegOverrideFn } from './ffmpeg-override';
19
- export { FileExtension } from './file-extensions';
20
- export { FrameRange } from './frame-range';
21
- export { GetCompositionsOptions, getCompositions } from './get-compositions';
22
- export { SilentPart, getSilentParts } from './get-silent-parts';
23
- export { VideoMetadata, getVideoMetadata } from './get-video-metadata';
24
- export { ImageFormat, StillImageFormat, VideoImageFormat, validateSelectedPixelFormatAndImageFormatCombination, } from './image-format';
25
- export type { LogLevel } from './log-level';
26
- export { LogOptions } from './logger';
27
- export { CancelSignal, makeCancelSignal } from './make-cancel-signal';
28
- export { openBrowser } from './open-browser';
29
- export type { ChromiumOptions } from './open-browser';
30
- export { ChromeMode } from './options/chrome-mode';
31
- export { ColorSpace } from './options/color-space';
32
- export type { DeleteAfter } from './options/delete-after';
33
- export { OpenGlRenderer } from './options/gl';
34
- export { NumberOfGifLoops } from './options/number-of-gif-loops';
35
- export { DownloadBrowserProgressFn, OnBrowserDownload, } from './options/on-browser-download';
36
- export { AnyRemotionOption, RemotionOption, ToOptions } from './options/option';
37
- export { X264Preset } from './options/x264-preset';
38
- export { PixelFormat } from './pixel-format';
39
- export { RemotionServer } from './prepare-server';
40
- export { ProResProfile } from './prores-profile';
41
- export { OnArtifact, RenderFramesOptions, renderFrames } from './render-frames';
42
- export { InternalRenderMediaOptions, RenderMediaOnProgress, RenderMediaOptions, SlowFrame, StitchingState, renderMedia, } from './render-media';
43
- export { RenderStillOptions, renderStill } from './render-still';
44
- export { SelectCompositionOptions, selectComposition, } from './select-composition';
45
- export { EmittedArtifact } from './serialize-artifact';
46
- export { StitchFramesToVideoOptions, stitchFramesToVideo, } from './stitch-frames-to-video';
47
- export { SymbolicatedStackFrame } from './symbolicate-stacktrace';
48
- export { OnStartData, RenderFramesOutput } from './types';
49
- export { validateOutputFilename } from './validate-output-filename';
50
- export type { AudioCodec };
51
- import type { AudioCodec } from './options/audio-codec';
52
- import { toMegabytes } from './to-megabytes';
53
- export declare const RenderInternals: {
54
- resolveConcurrency: (userPreference: number | string | null) => number;
55
- serveStatic: (path: string | null, options: {
56
- port: number | null;
57
- downloadMap: import("./assets/download-map").DownloadMap;
58
- remotionRoot: string;
59
- offthreadVideoThreads: number;
60
- logLevel: import("./log-level").LogLevel;
61
- indent: boolean;
62
- offthreadVideoCacheSizeInBytes: number | null;
63
- binariesDirectory: string | null;
64
- forceIPv4: boolean;
65
- }) => Promise<{
66
- port: number;
67
- close: () => Promise<void>;
68
- compositor: import("./compositor/compositor").Compositor;
69
- }>;
70
- validateEvenDimensionsWithCodec: ({ width, height, codec, scale, wantsImageSequence, indent, logLevel, }: {
71
- width: number;
72
- height: number;
73
- scale: number;
74
- codec: import("./codec").Codec;
75
- wantsImageSequence: boolean;
76
- indent: boolean;
77
- logLevel: import("./log-level").LogLevel;
78
- }) => {
79
- actualWidth: number;
80
- actualHeight: number;
81
- };
82
- getFileExtensionFromCodec: <T extends import("./codec").Codec>(codec: T, audioCodec: AudioCodec | null) => import("./file-extensions").FileExtension;
83
- tmpDir: (str: string) => string;
84
- deleteDirectory: (directory: string) => void;
85
- isServeUrl: (potentialUrl: string) => boolean;
86
- ensureOutputDirectory: (outputLocation: string) => void;
87
- getRealFrameRange: (durationInFrames: number, frameRange: import("./frame-range").FrameRange | null) => [number, number];
88
- validatePuppeteerTimeout: (timeoutInMilliseconds: unknown) => void;
89
- downloadFile: (options: {
90
- url: string;
91
- to: (contentDisposition: string | null, contentType: string | null) => string;
92
- onProgress: ((progress: {
93
- percent: number | null;
94
- downloaded: number;
95
- totalSize: number | null;
96
- }) => void) | undefined;
97
- logLevel: import("./log-level").LogLevel;
98
- indent: boolean;
99
- }, retries?: number, attempt?: number) => Promise<{
100
- sizeInBytes: number;
101
- to: string;
102
- }>;
103
- parseStack: (stack: string[]) => import("./parse-browser-error-stack").UnsymbolicatedStackFrame[];
104
- symbolicateError: (symbolicateableError: SymbolicateableError) => Promise<import("./error-handling/handle-javascript-exception").ErrorWithStackFrame>;
105
- SymbolicateableError: typeof SymbolicateableError;
106
- getFramesToRender: (frameRange: [number, number], everyNthFrame: number) => number[];
107
- getExtensionOfFilename: (filename: string | null) => string | null;
108
- getDesiredPort: ({ desiredPort, from, hostsToTry, to, }: {
109
- desiredPort: number | undefined;
110
- from: number;
111
- to: number;
112
- hostsToTry: string[];
113
- }) => Promise<{
114
- port: number;
115
- unlockPort: () => void;
116
- }>;
117
- isPathInside: (thePath: string, potentialParent: string) => boolean;
118
- execa: {
119
- (file: string, arguments?: readonly string[], options?: execa.Options): execa.ExecaChildProcess;
120
- (file: string, arguments?: readonly string[], options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
121
- (file: string, options?: execa.Options): execa.ExecaChildProcess;
122
- (file: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
123
- sync(file: string, arguments?: readonly string[], options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
124
- sync(file: string, arguments?: readonly string[], options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
125
- sync(file: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
126
- sync(file: string, options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
127
- command(command: string, options?: execa.Options): execa.ExecaChildProcess;
128
- command(command: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
129
- commandSync(command: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
130
- commandSync(command: string, options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
131
- node(scriptPath: string, arguments?: readonly string[], options?: execa.NodeOptions): execa.ExecaChildProcess;
132
- node(scriptPath: string, arguments?: readonly string[], options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
133
- node(scriptPath: string, options?: execa.Options): execa.ExecaChildProcess;
134
- node(scriptPath: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
135
- };
136
- registerErrorSymbolicationLock: () => number;
137
- unlockErrorSymbolicationLock: (id: number) => void;
138
- canUseParallelEncoding: (codec: import("./codec").Codec) => boolean;
139
- mimeContentType: typeof mimeContentType;
140
- mimeLookup: typeof mimeLookup;
141
- validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
142
- value: unknown;
143
- setting: string;
144
- checkIfValidForCurrentMachine: boolean;
145
- }) => void;
146
- validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
147
- DEFAULT_BROWSER: "chrome";
148
- validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
149
- DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
150
- validateOpenGlRenderer: (option: unknown) => import("./options/gl").OpenGlRenderer | null;
151
- validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
152
- DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
153
- validateJpegQuality: (q: unknown) => void;
154
- DEFAULT_TIMEOUT: number;
155
- DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif";
156
- logLevels: readonly ["trace", "verbose", "info", "warn", "error"];
157
- isEqualOrBelowLogLevel: (currentLevel: import("./log-level").LogLevel, level: import("./log-level").LogLevel) => boolean;
158
- isValidLogLevel: (level: string) => boolean;
159
- perf: typeof perf;
160
- convertToPositiveFrameIndex: ({ frame, durationInFrames, }: {
161
- frame: number;
162
- durationInFrames: number;
163
- }) => number;
164
- findRemotionRoot: () => string;
165
- validateBitrate: (bitrate: unknown, name: string) => void;
166
- getMinConcurrency: () => number;
167
- getMaxConcurrency: () => number;
168
- getDefaultAudioCodec: ({ codec, preferLossless, }: {
169
- codec: import("./codec").Codec;
170
- preferLossless: boolean;
171
- }) => AudioCodec | null;
172
- defaultFileExtensionMap: {
173
- h264: {
174
- default: import("./file-extensions").FileExtension;
175
- forAudioCodec: {
176
- mp3: {
177
- possible: import("./file-extensions").FileExtension[];
178
- default: import("./file-extensions").FileExtension;
179
- };
180
- aac: {
181
- possible: import("./file-extensions").FileExtension[];
182
- default: import("./file-extensions").FileExtension;
183
- };
184
- "pcm-16": {
185
- possible: import("./file-extensions").FileExtension[];
186
- default: import("./file-extensions").FileExtension;
187
- };
188
- };
189
- };
190
- h265: {
191
- default: import("./file-extensions").FileExtension;
192
- forAudioCodec: {
193
- aac: {
194
- possible: import("./file-extensions").FileExtension[];
195
- default: import("./file-extensions").FileExtension;
196
- };
197
- "pcm-16": {
198
- possible: import("./file-extensions").FileExtension[];
199
- default: import("./file-extensions").FileExtension;
200
- };
201
- };
202
- };
203
- vp8: {
204
- default: import("./file-extensions").FileExtension;
205
- forAudioCodec: {
206
- "pcm-16": {
207
- possible: import("./file-extensions").FileExtension[];
208
- default: import("./file-extensions").FileExtension;
209
- };
210
- opus: {
211
- possible: import("./file-extensions").FileExtension[];
212
- default: import("./file-extensions").FileExtension;
213
- };
214
- };
215
- };
216
- vp9: {
217
- default: import("./file-extensions").FileExtension;
218
- forAudioCodec: {
219
- "pcm-16": {
220
- possible: import("./file-extensions").FileExtension[];
221
- default: import("./file-extensions").FileExtension;
222
- };
223
- opus: {
224
- possible: import("./file-extensions").FileExtension[];
225
- default: import("./file-extensions").FileExtension;
226
- };
227
- };
228
- };
229
- mp3: {
230
- default: import("./file-extensions").FileExtension;
231
- forAudioCodec: {
232
- mp3: {
233
- possible: import("./file-extensions").FileExtension[];
234
- default: import("./file-extensions").FileExtension;
235
- };
236
- "pcm-16": {
237
- possible: import("./file-extensions").FileExtension[];
238
- default: import("./file-extensions").FileExtension;
239
- };
240
- };
241
- };
242
- aac: {
243
- default: import("./file-extensions").FileExtension;
244
- forAudioCodec: {
245
- aac: {
246
- possible: import("./file-extensions").FileExtension[];
247
- default: import("./file-extensions").FileExtension;
248
- };
249
- "pcm-16": {
250
- possible: import("./file-extensions").FileExtension[];
251
- default: import("./file-extensions").FileExtension;
252
- };
253
- };
254
- };
255
- wav: {
256
- default: import("./file-extensions").FileExtension;
257
- forAudioCodec: {
258
- "pcm-16": {
259
- possible: import("./file-extensions").FileExtension[];
260
- default: import("./file-extensions").FileExtension;
261
- };
262
- };
263
- };
264
- prores: {
265
- default: import("./file-extensions").FileExtension;
266
- forAudioCodec: {
267
- aac: {
268
- possible: import("./file-extensions").FileExtension[];
269
- default: import("./file-extensions").FileExtension;
270
- };
271
- "pcm-16": {
272
- possible: import("./file-extensions").FileExtension[];
273
- default: import("./file-extensions").FileExtension;
274
- };
275
- };
276
- };
277
- "h264-mkv": {
278
- default: import("./file-extensions").FileExtension;
279
- forAudioCodec: {
280
- mp3: {
281
- possible: import("./file-extensions").FileExtension[];
282
- default: import("./file-extensions").FileExtension;
283
- };
284
- "pcm-16": {
285
- possible: import("./file-extensions").FileExtension[];
286
- default: import("./file-extensions").FileExtension;
287
- };
288
- };
289
- };
290
- "h264-ts": {
291
- default: import("./file-extensions").FileExtension;
292
- forAudioCodec: {
293
- aac: {
294
- possible: import("./file-extensions").FileExtension[];
295
- default: import("./file-extensions").FileExtension;
296
- };
297
- "pcm-16": {
298
- possible: import("./file-extensions").FileExtension[];
299
- default: import("./file-extensions").FileExtension;
300
- };
301
- };
302
- };
303
- gif: {
304
- default: import("./file-extensions").FileExtension;
305
- forAudioCodec: {};
306
- };
307
- };
308
- supportedAudioCodecs: {
309
- readonly h264: readonly ["aac", "pcm-16", "mp3"];
310
- readonly 'h264-mkv': readonly ["pcm-16", "mp3"];
311
- readonly 'h264-ts': readonly ["pcm-16", "aac"];
312
- readonly aac: readonly ["aac", "pcm-16"];
313
- readonly avi: readonly [];
314
- readonly gif: readonly [];
315
- readonly h265: readonly ["aac", "pcm-16"];
316
- readonly mp3: readonly ["mp3", "pcm-16"];
317
- readonly prores: readonly ["aac", "pcm-16"];
318
- readonly vp8: readonly ["opus", "pcm-16"];
319
- readonly vp9: readonly ["opus", "pcm-16"];
320
- readonly wav: readonly ["pcm-16"];
321
- };
322
- makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif")[]>;
323
- defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">;
324
- getExecutablePath: ({ indent, logLevel, type, binariesDirectory, }: {
325
- type: "compositor" | "ffmpeg" | "ffprobe";
326
- indent: boolean;
327
- logLevel: import("./log-level").LogLevel;
328
- binariesDirectory: string | null;
329
- }) => string;
330
- callFf: ({ args, bin, indent, logLevel, options, binariesDirectory, cancelSignal, }: {
331
- bin: "ffmpeg" | "ffprobe";
332
- args: (string | null)[];
333
- indent: boolean;
334
- logLevel: import("./log-level").LogLevel;
335
- binariesDirectory: string | null;
336
- cancelSignal: import("./make-cancel-signal").CancelSignal | undefined;
337
- options?: execa.Options<string>;
338
- }) => execa.ExecaChildProcess<string>;
339
- validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
340
- validVideoImageFormats: readonly ["png", "jpeg", "none"];
341
- DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
342
- DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
343
- DEFAULT_JPEG_QUALITY: number;
344
- chalk: {
345
- enabled: () => boolean;
346
- visible: boolean;
347
- styles: Record<string, {
348
- codes: [number, number];
349
- name: string;
350
- wrap?: (input: string, newline: boolean) => string;
351
- }>;
352
- keys: Record<string, string[]>;
353
- alias?: (name: string, col: string) => void;
354
- } & {
355
- reset: (str: string) => string;
356
- bold: (str: string) => string;
357
- dim: (str: string) => string;
358
- italic: (str: string) => string;
359
- underline: (str: string) => string;
360
- inverse: (str: string) => string;
361
- hidden: (str: string) => string;
362
- strikethrough: (str: string) => string;
363
- black: (str: string) => string;
364
- red: (str: string) => string;
365
- green: (str: string) => string;
366
- yellow: (str: string) => string;
367
- blue: (str: string) => string;
368
- magenta: (str: string) => string;
369
- cyan: (str: string) => string;
370
- white: (str: string) => string;
371
- gray: (str: string) => string;
372
- bgBlack: (str: string) => string;
373
- bgRed: (str: string) => string;
374
- bgGreen: (str: string) => string;
375
- bgYellow: (str: string) => string;
376
- bgBlue: (str: string) => string;
377
- bgMagenta: (str: string) => string;
378
- bgWhite: (str: string) => string;
379
- blackBright: (str: string) => string;
380
- redBright: (str: string) => string;
381
- greenBright: (str: string) => string;
382
- yellowBright: (str: string) => string;
383
- blueBright: (str: string) => string;
384
- magentaBright: (str: string) => string;
385
- whiteBright: (str: string) => string;
386
- bgBlackBright: (str: string) => string;
387
- bgRedBright: (str: string) => string;
388
- bgGreenBright: (str: string) => string;
389
- bgYellowBright: (str: string) => string;
390
- bgBlueBright: (str: string) => string;
391
- bgMagentaBright: (str: string) => string;
392
- bgWhiteBright: (str: string) => string;
393
- };
394
- Log: {
395
- formatLogs: (logLevel: import("./log-level").LogLevel, options: import("./logger").LogOptions & {
396
- tag?: string;
397
- }, args: Parameters<typeof console.log>) => string[];
398
- trace: (options: import("./logger").LogOptions & {
399
- tag?: string;
400
- }, message?: any, ...optionalParams: any[]) => boolean | void;
401
- verbose: (options: import("./logger").LogOptions & {
402
- tag?: string;
403
- }, message?: any, ...optionalParams: any[]) => boolean | void;
404
- info: (options: import("./logger").LogOptions, message?: any, ...optionalParams: any[]) => boolean | void;
405
- warn: (options: import("./logger").LogOptions, message?: any, ...optionalParams: any[]) => boolean | void;
406
- error: (options: import("./logger").LogOptions & {
407
- tag?: string;
408
- }, message?: any, ...optionalParams: any[]) => boolean | void;
409
- };
410
- INDENT_TOKEN: string;
411
- isColorSupported: () => boolean;
412
- HeadlessBrowser: typeof HeadlessBrowser;
413
- prepareServer: ({ webpackConfigOrServeUrl, port, remotionRoot, offthreadVideoThreads, logLevel, indent, offthreadVideoCacheSizeInBytes, binariesDirectory, forceIPv4, }: {
414
- webpackConfigOrServeUrl: string;
415
- port: number | null;
416
- remotionRoot: string;
417
- offthreadVideoThreads: number;
418
- logLevel: import("./log-level").LogLevel;
419
- indent: boolean;
420
- offthreadVideoCacheSizeInBytes: number | null;
421
- binariesDirectory: string | null;
422
- forceIPv4: boolean;
423
- }) => Promise<import("./prepare-server").RemotionServer>;
424
- makeOrReuseServer: (server: import("./prepare-server").RemotionServer | undefined, config: {
425
- webpackConfigOrServeUrl: string;
426
- port: number | null;
427
- remotionRoot: string;
428
- offthreadVideoThreads: number;
429
- logLevel: import("./log-level").LogLevel;
430
- indent: boolean;
431
- offthreadVideoCacheSizeInBytes: number | null;
432
- binariesDirectory: string | null;
433
- forceIPv4: boolean;
434
- }, { onDownload, }: {
435
- onDownload: import("./assets/download-and-map-assets-to-file").RenderMediaOnDownload | null;
436
- }) => Promise<{
437
- server: import("./prepare-server").RemotionServer;
438
- cleanupServer: (force: boolean) => Promise<unknown>;
439
- }>;
440
- internalRenderStill: (options: {
441
- composition: import("remotion").VideoConfig;
442
- output: string | null;
443
- frame: number;
444
- serializedInputPropsWithCustomSchema: string;
445
- serializedResolvedPropsWithCustomSchema: string;
446
- imageFormat: import("./image-format").StillImageFormat;
447
- jpegQuality: number;
448
- puppeteerInstance: HeadlessBrowser | null;
449
- envVariables: Record<string, string>;
450
- overwrite: boolean;
451
- browserExecutable: import("./browser-executable").BrowserExecutable;
452
- onBrowserLog: null | ((log: import("./browser-log").BrowserLog) => void);
453
- chromiumOptions: import("./open-browser").ChromiumOptions;
454
- scale: number;
455
- onDownload: import("./assets/download-and-map-assets-to-file").RenderMediaOnDownload | null;
456
- cancelSignal: import("./make-cancel-signal").CancelSignal | null;
457
- indent: boolean;
458
- server: import("./prepare-server").RemotionServer | undefined;
459
- serveUrl: string;
460
- port: number | null;
461
- onArtifact: import("./render-frames").OnArtifact | null;
462
- onLog: import("./browser/BrowserPage").OnLog;
463
- } & import("./options/option").ToOptions<{
464
- readonly mediaCacheSizeInBytes: {
465
- name: string;
466
- cliFlag: "media-cache-size-in-bytes";
467
- description: () => import("react/jsx-runtime").JSX.Element;
468
- ssrName: "mediaCacheSizeInBytes";
469
- docLink: string;
470
- type: number | null;
471
- getValue: ({ commandLine }: {
472
- commandLine: Record<string, unknown>;
473
- }) => {
474
- source: string;
475
- value: number;
476
- } | {
477
- source: string;
478
- value: null;
479
- };
480
- setConfig: (size: number | null) => void;
481
- };
482
- readonly offthreadVideoCacheSizeInBytes: {
483
- name: string;
484
- cliFlag: "offthreadvideo-cache-size-in-bytes";
485
- description: () => import("react/jsx-runtime").JSX.Element;
486
- ssrName: "offthreadVideoCacheSizeInBytes";
487
- docLink: string;
488
- type: number | null;
489
- getValue: ({ commandLine }: {
490
- commandLine: Record<string, unknown>;
491
- }) => {
492
- source: string;
493
- value: number;
494
- } | {
495
- source: string;
496
- value: null;
497
- };
498
- setConfig: (size: number | null) => void;
499
- };
500
- readonly offthreadVideoThreads: {
501
- name: string;
502
- cliFlag: "offthreadvideo-video-threads";
503
- description: () => import("react/jsx-runtime").JSX.Element;
504
- ssrName: "offthreadVideoThreads";
505
- docLink: string;
506
- type: number | null;
507
- getValue: ({ commandLine }: {
508
- commandLine: Record<string, unknown>;
509
- }) => {
510
- source: string;
511
- value: number;
512
- } | {
513
- source: string;
514
- value: null;
515
- };
516
- setConfig: (size: number | null) => void;
517
- };
518
- readonly jpegQuality: {
519
- name: string;
520
- cliFlag: "jpeg-quality";
521
- description: () => import("react/jsx-runtime").JSX.Element;
522
- ssrName: string;
523
- docLink: string;
524
- type: number;
525
- setConfig: (q: number | undefined) => void;
526
- getValue: ({ commandLine }: {
527
- commandLine: Record<string, unknown>;
528
- }) => {
529
- source: string;
530
- value: number;
531
- };
532
- };
533
- readonly logLevel: {
534
- cliFlag: "log";
535
- name: string;
536
- ssrName: string;
537
- description: () => import("react/jsx-runtime").JSX.Element;
538
- docLink: string;
539
- getValue: ({ commandLine }: {
540
- commandLine: Record<string, unknown>;
541
- }) => {
542
- value: import("./log-level").LogLevel;
543
- source: string;
544
- };
545
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
546
- type: import("./log-level").LogLevel;
547
- };
548
- readonly timeoutInMilliseconds: {
549
- name: string;
550
- cliFlag: "timeout";
551
- description: () => import("react/jsx-runtime").JSX.Element;
552
- ssrName: "timeoutInMilliseconds";
553
- docLink: string;
554
- type: number;
555
- getValue: ({ commandLine }: {
556
- commandLine: Record<string, unknown>;
557
- }) => {
558
- source: string;
559
- value: number;
560
- };
561
- setConfig: (value: number) => void;
562
- };
563
- readonly binariesDirectory: {
564
- name: string;
565
- cliFlag: "binaries-directory";
566
- description: () => import("react/jsx-runtime").JSX.Element;
567
- ssrName: "binariesDirectory";
568
- docLink: string;
569
- type: string | null;
570
- getValue: ({ commandLine }: {
571
- commandLine: Record<string, unknown>;
572
- }) => {
573
- source: string;
574
- value: string | null;
575
- };
576
- setConfig: (value: string | null) => void;
577
- };
578
- readonly onBrowserDownload: {
579
- name: string;
580
- cliFlag: "on-browser-download";
581
- description: () => import("react/jsx-runtime").JSX.Element;
582
- ssrName: "onBrowserDownload";
583
- docLink: string;
584
- type: import("./options/on-browser-download").OnBrowserDownload;
585
- getValue: () => never;
586
- setConfig: () => never;
587
- };
588
- readonly chromeMode: {
589
- cliFlag: "chrome-mode";
590
- name: string;
591
- ssrName: string;
592
- description: () => import("react/jsx-runtime").JSX.Element;
593
- docLink: string;
594
- getValue: ({ commandLine }: {
595
- commandLine: Record<string, unknown>;
596
- }) => {
597
- value: import("./options/chrome-mode").ChromeMode;
598
- source: string;
599
- };
600
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
601
- type: import("./options/chrome-mode").ChromeMode;
602
- };
603
- }>) => Promise<{
604
- buffer: Buffer | null;
605
- }>;
606
- internalOpenBrowser: ({ browser, browserExecutable, chromiumOptions, forceDeviceScaleFactor, indent, viewport, logLevel, onBrowserDownload, chromeMode, }: {
607
- browserExecutable: string | null;
608
- chromiumOptions: import("./open-browser").ChromiumOptions;
609
- forceDeviceScaleFactor: number | undefined;
610
- viewport: import("./browser/PuppeteerViewport").Viewport | null;
611
- indent: boolean;
612
- browser: import("./browser").Browser;
613
- } & import("./options/option").ToOptions<{
614
- readonly logLevel: {
615
- cliFlag: "log";
616
- name: string;
617
- ssrName: string;
618
- description: () => import("react/jsx-runtime").JSX.Element;
619
- docLink: string;
620
- getValue: ({ commandLine }: {
621
- commandLine: Record<string, unknown>;
622
- }) => {
623
- value: import("./log-level").LogLevel;
624
- source: string;
625
- };
626
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
627
- type: import("./log-level").LogLevel;
628
- };
629
- readonly onBrowserDownload: {
630
- name: string;
631
- cliFlag: "on-browser-download";
632
- description: () => import("react/jsx-runtime").JSX.Element;
633
- ssrName: "onBrowserDownload";
634
- docLink: string;
635
- type: import("./options/on-browser-download").OnBrowserDownload;
636
- getValue: () => never;
637
- setConfig: () => never;
638
- };
639
- readonly chromeMode: {
640
- cliFlag: "chrome-mode";
641
- name: string;
642
- ssrName: string;
643
- description: () => import("react/jsx-runtime").JSX.Element;
644
- docLink: string;
645
- getValue: ({ commandLine }: {
646
- commandLine: Record<string, unknown>;
647
- }) => {
648
- value: import("./options/chrome-mode").ChromeMode;
649
- source: string;
650
- };
651
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
652
- type: import("./options/chrome-mode").ChromeMode;
653
- };
654
- }>) => Promise<HeadlessBrowser>;
655
- internalSelectComposition: (options: {
656
- serializedInputPropsWithCustomSchema: string;
657
- envVariables: Record<string, string>;
658
- puppeteerInstance: HeadlessBrowser | undefined;
659
- onBrowserLog: null | ((log: import("./browser-log").BrowserLog) => void);
660
- browserExecutable: import("./browser-executable").BrowserExecutable | null;
661
- chromiumOptions: import("./open-browser").ChromiumOptions;
662
- port: number | null;
663
- indent: boolean;
664
- server: import("./prepare-server").RemotionServer | undefined;
665
- serveUrl: string;
666
- id: string;
667
- onServeUrlVisited: () => void;
668
- } & import("./options/option").ToOptions<{
669
- readonly mediaCacheSizeInBytes: {
670
- name: string;
671
- cliFlag: "media-cache-size-in-bytes";
672
- description: () => import("react/jsx-runtime").JSX.Element;
673
- ssrName: "mediaCacheSizeInBytes";
674
- docLink: string;
675
- type: number | null;
676
- getValue: ({ commandLine }: {
677
- commandLine: Record<string, unknown>;
678
- }) => {
679
- source: string;
680
- value: number;
681
- } | {
682
- source: string;
683
- value: null;
684
- };
685
- setConfig: (size: number | null) => void;
686
- };
687
- readonly offthreadVideoCacheSizeInBytes: {
688
- name: string;
689
- cliFlag: "offthreadvideo-cache-size-in-bytes";
690
- description: () => import("react/jsx-runtime").JSX.Element;
691
- ssrName: "offthreadVideoCacheSizeInBytes";
692
- docLink: string;
693
- type: number | null;
694
- getValue: ({ commandLine }: {
695
- commandLine: Record<string, unknown>;
696
- }) => {
697
- source: string;
698
- value: number;
699
- } | {
700
- source: string;
701
- value: null;
702
- };
703
- setConfig: (size: number | null) => void;
704
- };
705
- readonly offthreadVideoThreads: {
706
- name: string;
707
- cliFlag: "offthreadvideo-video-threads";
708
- description: () => import("react/jsx-runtime").JSX.Element;
709
- ssrName: "offthreadVideoThreads";
710
- docLink: string;
711
- type: number | null;
712
- getValue: ({ commandLine }: {
713
- commandLine: Record<string, unknown>;
714
- }) => {
715
- source: string;
716
- value: number;
717
- } | {
718
- source: string;
719
- value: null;
720
- };
721
- setConfig: (size: number | null) => void;
722
- };
723
- readonly logLevel: {
724
- cliFlag: "log";
725
- name: string;
726
- ssrName: string;
727
- description: () => import("react/jsx-runtime").JSX.Element;
728
- docLink: string;
729
- getValue: ({ commandLine }: {
730
- commandLine: Record<string, unknown>;
731
- }) => {
732
- value: import("./log-level").LogLevel;
733
- source: string;
734
- };
735
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
736
- type: import("./log-level").LogLevel;
737
- };
738
- readonly timeoutInMilliseconds: {
739
- name: string;
740
- cliFlag: "timeout";
741
- description: () => import("react/jsx-runtime").JSX.Element;
742
- ssrName: "timeoutInMilliseconds";
743
- docLink: string;
744
- type: number;
745
- getValue: ({ commandLine }: {
746
- commandLine: Record<string, unknown>;
747
- }) => {
748
- source: string;
749
- value: number;
750
- };
751
- setConfig: (value: number) => void;
752
- };
753
- readonly binariesDirectory: {
754
- name: string;
755
- cliFlag: "binaries-directory";
756
- description: () => import("react/jsx-runtime").JSX.Element;
757
- ssrName: "binariesDirectory";
758
- docLink: string;
759
- type: string | null;
760
- getValue: ({ commandLine }: {
761
- commandLine: Record<string, unknown>;
762
- }) => {
763
- source: string;
764
- value: string | null;
765
- };
766
- setConfig: (value: string | null) => void;
767
- };
768
- readonly onBrowserDownload: {
769
- name: string;
770
- cliFlag: "on-browser-download";
771
- description: () => import("react/jsx-runtime").JSX.Element;
772
- ssrName: "onBrowserDownload";
773
- docLink: string;
774
- type: import("./options/on-browser-download").OnBrowserDownload;
775
- getValue: () => never;
776
- setConfig: () => never;
777
- };
778
- readonly chromeMode: {
779
- cliFlag: "chrome-mode";
780
- name: string;
781
- ssrName: string;
782
- description: () => import("react/jsx-runtime").JSX.Element;
783
- docLink: string;
784
- getValue: ({ commandLine }: {
785
- commandLine: Record<string, unknown>;
786
- }) => {
787
- value: import("./options/chrome-mode").ChromeMode;
788
- source: string;
789
- };
790
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
791
- type: import("./options/chrome-mode").ChromeMode;
792
- };
793
- }>) => Promise<{
794
- metadata: import("remotion").VideoConfig;
795
- propsSize: number;
796
- }>;
797
- internalGetCompositions: (args_0: {
798
- serializedInputPropsWithCustomSchema: string;
799
- envVariables: Record<string, string>;
800
- puppeteerInstance: HeadlessBrowser | undefined;
801
- onBrowserLog: null | ((log: import("./browser-log").BrowserLog) => void);
802
- browserExecutable: import("./browser-executable").BrowserExecutable | null;
803
- chromiumOptions: import("./open-browser").ChromiumOptions;
804
- port: number | null;
805
- server: import("./prepare-server").RemotionServer | undefined;
806
- indent: boolean;
807
- serveUrlOrWebpackUrl: string;
808
- onLog: import("./browser/BrowserPage").OnLog;
809
- } & import("./options/option").ToOptions<{
810
- readonly mediaCacheSizeInBytes: {
811
- name: string;
812
- cliFlag: "media-cache-size-in-bytes";
813
- description: () => import("react/jsx-runtime").JSX.Element;
814
- ssrName: "mediaCacheSizeInBytes";
815
- docLink: string;
816
- type: number | null;
817
- getValue: ({ commandLine }: {
818
- commandLine: Record<string, unknown>;
819
- }) => {
820
- source: string;
821
- value: number;
822
- } | {
823
- source: string;
824
- value: null;
825
- };
826
- setConfig: (size: number | null) => void;
827
- };
828
- readonly offthreadVideoCacheSizeInBytes: {
829
- name: string;
830
- cliFlag: "offthreadvideo-cache-size-in-bytes";
831
- description: () => import("react/jsx-runtime").JSX.Element;
832
- ssrName: "offthreadVideoCacheSizeInBytes";
833
- docLink: string;
834
- type: number | null;
835
- getValue: ({ commandLine }: {
836
- commandLine: Record<string, unknown>;
837
- }) => {
838
- source: string;
839
- value: number;
840
- } | {
841
- source: string;
842
- value: null;
843
- };
844
- setConfig: (size: number | null) => void;
845
- };
846
- readonly offthreadVideoThreads: {
847
- name: string;
848
- cliFlag: "offthreadvideo-video-threads";
849
- description: () => import("react/jsx-runtime").JSX.Element;
850
- ssrName: "offthreadVideoThreads";
851
- docLink: string;
852
- type: number | null;
853
- getValue: ({ commandLine }: {
854
- commandLine: Record<string, unknown>;
855
- }) => {
856
- source: string;
857
- value: number;
858
- } | {
859
- source: string;
860
- value: null;
861
- };
862
- setConfig: (size: number | null) => void;
863
- };
864
- readonly logLevel: {
865
- cliFlag: "log";
866
- name: string;
867
- ssrName: string;
868
- description: () => import("react/jsx-runtime").JSX.Element;
869
- docLink: string;
870
- getValue: ({ commandLine }: {
871
- commandLine: Record<string, unknown>;
872
- }) => {
873
- value: import("./log-level").LogLevel;
874
- source: string;
875
- };
876
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
877
- type: import("./log-level").LogLevel;
878
- };
879
- readonly timeoutInMilliseconds: {
880
- name: string;
881
- cliFlag: "timeout";
882
- description: () => import("react/jsx-runtime").JSX.Element;
883
- ssrName: "timeoutInMilliseconds";
884
- docLink: string;
885
- type: number;
886
- getValue: ({ commandLine }: {
887
- commandLine: Record<string, unknown>;
888
- }) => {
889
- source: string;
890
- value: number;
891
- };
892
- setConfig: (value: number) => void;
893
- };
894
- readonly binariesDirectory: {
895
- name: string;
896
- cliFlag: "binaries-directory";
897
- description: () => import("react/jsx-runtime").JSX.Element;
898
- ssrName: "binariesDirectory";
899
- docLink: string;
900
- type: string | null;
901
- getValue: ({ commandLine }: {
902
- commandLine: Record<string, unknown>;
903
- }) => {
904
- source: string;
905
- value: string | null;
906
- };
907
- setConfig: (value: string | null) => void;
908
- };
909
- readonly onBrowserDownload: {
910
- name: string;
911
- cliFlag: "on-browser-download";
912
- description: () => import("react/jsx-runtime").JSX.Element;
913
- ssrName: "onBrowserDownload";
914
- docLink: string;
915
- type: import("./options/on-browser-download").OnBrowserDownload;
916
- getValue: () => never;
917
- setConfig: () => never;
918
- };
919
- readonly chromeMode: {
920
- cliFlag: "chrome-mode";
921
- name: string;
922
- ssrName: string;
923
- description: () => import("react/jsx-runtime").JSX.Element;
924
- docLink: string;
925
- getValue: ({ commandLine }: {
926
- commandLine: Record<string, unknown>;
927
- }) => {
928
- value: import("./options/chrome-mode").ChromeMode;
929
- source: string;
930
- };
931
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
932
- type: import("./options/chrome-mode").ChromeMode;
933
- };
934
- }>) => Promise<import("remotion").VideoConfig[]>;
935
- internalRenderFrames: (args_0: {
936
- onStart: null | ((data: import("./types").OnStartData) => void);
937
- onFrameUpdate: null | ((framesRendered: number, frameIndex: number, timeToRenderInMilliseconds: number) => void);
938
- outputDir: string | null;
939
- envVariables: Record<string, string>;
940
- imageFormat: import("./image-format").VideoImageFormat;
941
- jpegQuality: number;
942
- frameRange: import("./frame-range").FrameRange | null;
943
- everyNthFrame: number;
944
- puppeteerInstance: HeadlessBrowser | undefined;
945
- browserExecutable: import("./browser-executable").BrowserExecutable | null;
946
- onBrowserLog: null | ((log: import("./browser-log").BrowserLog) => void);
947
- onFrameBuffer: null | ((buffer: Buffer, frame: number) => void);
948
- onDownload: import("./assets/download-and-map-assets-to-file").RenderMediaOnDownload | null;
949
- chromiumOptions: import("./open-browser").ChromiumOptions;
950
- scale: number;
951
- port: number | null;
952
- cancelSignal: import("./make-cancel-signal").CancelSignal | undefined;
953
- composition: Omit<import("remotion").VideoConfig, "props" | "defaultProps">;
954
- indent: boolean;
955
- server: import("./prepare-server").RemotionServer | undefined;
956
- muted: boolean;
957
- concurrency: number | string | null;
958
- webpackBundleOrServeUrl: string;
959
- serializedInputPropsWithCustomSchema: string;
960
- serializedResolvedPropsWithCustomSchema: string;
961
- parallelEncodingEnabled: boolean;
962
- compositionStart: number;
963
- onArtifact: import("./render-frames").OnArtifact | null;
964
- onLog: import("./browser/BrowserPage").OnLog;
965
- } & import("./options/option").ToOptions<{
966
- readonly mediaCacheSizeInBytes: {
967
- name: string;
968
- cliFlag: "media-cache-size-in-bytes";
969
- description: () => import("react/jsx-runtime").JSX.Element;
970
- ssrName: "mediaCacheSizeInBytes";
971
- docLink: string;
972
- type: number | null;
973
- getValue: ({ commandLine }: {
974
- commandLine: Record<string, unknown>;
975
- }) => {
976
- source: string;
977
- value: number;
978
- } | {
979
- source: string;
980
- value: null;
981
- };
982
- setConfig: (size: number | null) => void;
983
- };
984
- readonly forSeamlessAacConcatenation: {
985
- name: string;
986
- cliFlag: "for-seamless-aac-concatenation";
987
- description: () => import("react/jsx-runtime").JSX.Element;
988
- docLink: string;
989
- getValue: ({ commandLine }: {
990
- commandLine: Record<string, unknown>;
991
- }) => {
992
- source: string;
993
- value: true;
994
- } | {
995
- source: string;
996
- value: false;
997
- };
998
- setConfig: (value: boolean) => void;
999
- ssrName: string;
1000
- type: boolean;
1001
- };
1002
- readonly offthreadVideoCacheSizeInBytes: {
1003
- name: string;
1004
- cliFlag: "offthreadvideo-cache-size-in-bytes";
1005
- description: () => import("react/jsx-runtime").JSX.Element;
1006
- ssrName: "offthreadVideoCacheSizeInBytes";
1007
- docLink: string;
1008
- type: number | null;
1009
- getValue: ({ commandLine }: {
1010
- commandLine: Record<string, unknown>;
1011
- }) => {
1012
- source: string;
1013
- value: number;
1014
- } | {
1015
- source: string;
1016
- value: null;
1017
- };
1018
- setConfig: (size: number | null) => void;
1019
- };
1020
- readonly offthreadVideoThreads: {
1021
- name: string;
1022
- cliFlag: "offthreadvideo-video-threads";
1023
- description: () => import("react/jsx-runtime").JSX.Element;
1024
- ssrName: "offthreadVideoThreads";
1025
- docLink: string;
1026
- type: number | null;
1027
- getValue: ({ commandLine }: {
1028
- commandLine: Record<string, unknown>;
1029
- }) => {
1030
- source: string;
1031
- value: number;
1032
- } | {
1033
- source: string;
1034
- value: null;
1035
- };
1036
- setConfig: (size: number | null) => void;
1037
- };
1038
- readonly jpegQuality: {
1039
- name: string;
1040
- cliFlag: "jpeg-quality";
1041
- description: () => import("react/jsx-runtime").JSX.Element;
1042
- ssrName: string;
1043
- docLink: string;
1044
- type: number;
1045
- setConfig: (q: number | undefined) => void;
1046
- getValue: ({ commandLine }: {
1047
- commandLine: Record<string, unknown>;
1048
- }) => {
1049
- source: string;
1050
- value: number;
1051
- };
1052
- };
1053
- readonly logLevel: {
1054
- cliFlag: "log";
1055
- name: string;
1056
- ssrName: string;
1057
- description: () => import("react/jsx-runtime").JSX.Element;
1058
- docLink: string;
1059
- getValue: ({ commandLine }: {
1060
- commandLine: Record<string, unknown>;
1061
- }) => {
1062
- value: import("./log-level").LogLevel;
1063
- source: string;
1064
- };
1065
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1066
- type: import("./log-level").LogLevel;
1067
- };
1068
- readonly timeoutInMilliseconds: {
1069
- name: string;
1070
- cliFlag: "timeout";
1071
- description: () => import("react/jsx-runtime").JSX.Element;
1072
- ssrName: "timeoutInMilliseconds";
1073
- docLink: string;
1074
- type: number;
1075
- getValue: ({ commandLine }: {
1076
- commandLine: Record<string, unknown>;
1077
- }) => {
1078
- source: string;
1079
- value: number;
1080
- };
1081
- setConfig: (value: number) => void;
1082
- };
1083
- readonly binariesDirectory: {
1084
- name: string;
1085
- cliFlag: "binaries-directory";
1086
- description: () => import("react/jsx-runtime").JSX.Element;
1087
- ssrName: "binariesDirectory";
1088
- docLink: string;
1089
- type: string | null;
1090
- getValue: ({ commandLine }: {
1091
- commandLine: Record<string, unknown>;
1092
- }) => {
1093
- source: string;
1094
- value: string | null;
1095
- };
1096
- setConfig: (value: string | null) => void;
1097
- };
1098
- readonly onBrowserDownload: {
1099
- name: string;
1100
- cliFlag: "on-browser-download";
1101
- description: () => import("react/jsx-runtime").JSX.Element;
1102
- ssrName: "onBrowserDownload";
1103
- docLink: string;
1104
- type: import("./options/on-browser-download").OnBrowserDownload;
1105
- getValue: () => never;
1106
- setConfig: () => never;
1107
- };
1108
- readonly chromeMode: {
1109
- cliFlag: "chrome-mode";
1110
- name: string;
1111
- ssrName: string;
1112
- description: () => import("react/jsx-runtime").JSX.Element;
1113
- docLink: string;
1114
- getValue: ({ commandLine }: {
1115
- commandLine: Record<string, unknown>;
1116
- }) => {
1117
- value: import("./options/chrome-mode").ChromeMode;
1118
- source: string;
1119
- };
1120
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1121
- type: import("./options/chrome-mode").ChromeMode;
1122
- };
1123
- readonly imageSequencePattern: {
1124
- name: string;
1125
- cliFlag: "image-sequence-pattern";
1126
- ssrName: string;
1127
- description: () => import("react/jsx-runtime").JSX.Element;
1128
- docLink: null;
1129
- type: string | null;
1130
- getValue: ({ commandLine }: {
1131
- commandLine: Record<string, unknown>;
1132
- }) => {
1133
- value: string;
1134
- source: string;
1135
- };
1136
- setConfig: (pattern: string | null) => void;
1137
- };
1138
- }>) => Promise<import("./types").RenderFramesOutput>;
1139
- internalRenderMedia: (args_0: import("./render-media").InternalRenderMediaOptions) => Promise<{
1140
- buffer: Buffer | null;
1141
- slowestFrames: import("./render-media").SlowFrame[];
1142
- }>;
1143
- validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
1144
- isIpV6Supported: (flattened: import("os").NetworkInterfaceInfo[]) => boolean;
1145
- getChromiumGpuInformation: ({ browserExecutable, indent, logLevel, chromiumOptions, timeoutInMilliseconds, onBrowserDownload, chromeMode, onLog, }: {
1146
- browserExecutable: import("./browser-executable").BrowserExecutable;
1147
- indent: boolean;
1148
- logLevel: import("./log-level").LogLevel;
1149
- chromiumOptions: import("./open-browser").ChromiumOptions;
1150
- timeoutInMilliseconds: number;
1151
- onBrowserDownload: import("./options/on-browser-download").OnBrowserDownload;
1152
- chromeMode: import("./options/chrome-mode").ChromeMode;
1153
- onLog: import("./browser/BrowserPage").OnLog;
1154
- }) => Promise<{
1155
- feature: string;
1156
- status: string;
1157
- }[]>;
1158
- getPortConfig: (preferIpv4: boolean) => {
1159
- host: string;
1160
- hostsToTry: string[];
1161
- };
1162
- makeDownloadMap: () => import("./assets/download-map").DownloadMap;
1163
- getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "mp3" | "aac" | "wav" | "opus";
1164
- makeFileExecutableIfItIsNot: (path: string) => void;
1165
- resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: {
1166
- setting: AudioCodec | null;
1167
- codec: import("./codec").Codec;
1168
- preferLossless: boolean;
1169
- separateAudioTo: string | null;
1170
- }) => "mp3" | "aac" | "pcm-16" | "opus" | null;
1171
- getShouldRenderAudio: ({ codec, assetsInfo, enforceAudioTrack, muted, }: {
1172
- codec: import("./codec").Codec;
1173
- assetsInfo: import("./assets/download-map").RenderAssetInfo | null;
1174
- enforceAudioTrack: boolean;
1175
- muted: boolean;
1176
- }) => "yes" | "maybe" | "no";
1177
- codecSupportsMedia: (codec: import("./codec").Codec) => {
1178
- video: boolean;
1179
- audio: boolean;
1180
- };
1181
- toMegabytes: typeof toMegabytes;
1182
- internalEnsureBrowser: (options: {
1183
- browserExecutable: import("./browser-executable").BrowserExecutable;
1184
- indent: boolean;
1185
- chromeMode: import("./options/chrome-mode").ChromeMode;
1186
- } & import("./options/option").ToOptions<{
1187
- readonly logLevel: {
1188
- cliFlag: "log";
1189
- name: string;
1190
- ssrName: string;
1191
- description: () => import("react/jsx-runtime").JSX.Element;
1192
- docLink: string;
1193
- getValue: ({ commandLine }: {
1194
- commandLine: Record<string, unknown>;
1195
- }) => {
1196
- value: import("./log-level").LogLevel;
1197
- source: string;
1198
- };
1199
- setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1200
- type: import("./log-level").LogLevel;
1201
- };
1202
- readonly onBrowserDownload: {
1203
- name: string;
1204
- cliFlag: "on-browser-download";
1205
- description: () => import("react/jsx-runtime").JSX.Element;
1206
- ssrName: "onBrowserDownload";
1207
- docLink: string;
1208
- type: import("./options/on-browser-download").OnBrowserDownload;
1209
- getValue: () => never;
1210
- setConfig: () => never;
1211
- };
1212
- readonly chromeMode: {
1213
- cliFlag: "chrome-mode";
1214
- name: string;
1215
- ssrName: string;
1216
- description: () => import("react/jsx-runtime").JSX.Element;
1217
- docLink: string;
1218
- getValue: ({ commandLine }: {
1219
- commandLine: Record<string, unknown>;
1220
- }) => {
1221
- value: import("./options/chrome-mode").ChromeMode;
1222
- source: string;
1223
- };
1224
- setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1225
- type: import("./options/chrome-mode").ChromeMode;
1226
- };
1227
- }>) => Promise<import("./ensure-browser").BrowserStatus>;
1228
- printUsefulErrorMessage: (err: Error, logLevel: import("./log-level").LogLevel, indent: boolean) => void;
1229
- DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS: number;
1230
- canConcatVideoSeamlessly: (codec: import("./codec").Codec) => codec is "h264";
1231
- canConcatAudioSeamlessly: (audioCodec: AudioCodec | null, chunkDurationInFrames: number) => boolean;
1232
- internalCombineChunks: ({ outputLocation: output, onProgress, codec, fps, numberOfGifLoops, audioBitrate, indent, logLevel, binariesDirectory, cancelSignal, metadata, audioFiles, videoFiles, framesPerChunk, audioCodec, preferLossless, everyNthFrame, frameRange, compositionDurationInFrames, }: ({
1233
- outputLocation: string;
1234
- audioFiles: string[];
1235
- codec: import("./codec").Codec;
1236
- videoFiles: string[];
1237
- fps: number;
1238
- framesPerChunk: number;
1239
- preferLossless: boolean;
1240
- compositionDurationInFrames: number;
1241
- } & {
1242
- onProgress: import("./combine-chunks").CombineChunksOnProgress;
1243
- audioBitrate: string | null;
1244
- numberOfGifLoops: number | null;
1245
- logLevel: import("./log-level").LogLevel;
1246
- binariesDirectory: string | null;
1247
- audioCodec: AudioCodec | null;
1248
- cancelSignal: import("./make-cancel-signal").CancelSignal | undefined;
1249
- metadata: Record<string, string> | null;
1250
- frameRange: import("./frame-range").FrameRange | null;
1251
- everyNthFrame: number;
1252
- }) & {
1253
- indent: boolean;
1254
- }) => Promise<void>;
1255
- defaultOnLog: import("./browser/BrowserPage").OnLog;
1256
- };