@remotion/cli 3.1.10 → 3.2.1

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 (387) hide show
  1. package/dist/config/drop-silent-audio-if-silent.d.ts +2 -0
  2. package/dist/config/drop-silent-audio-if-silent.js +13 -0
  3. package/dist/config/enforce-audio-track.d.ts +2 -0
  4. package/dist/config/enforce-audio-track.js +13 -0
  5. package/dist/config/index.d.ts +4 -0
  6. package/dist/config/index.js +8 -0
  7. package/dist/config/muted.d.ts +2 -0
  8. package/dist/config/muted.js +13 -0
  9. package/dist/editor/components/Editor.js +3 -1
  10. package/dist/editor/components/InitialCompositionLoader.js +13 -0
  11. package/dist/editor/components/PlayPause.js +41 -23
  12. package/dist/editor/components/PreviewToolbar.js +2 -2
  13. package/dist/editor/components/Splitter/SplitterElement.js +1 -0
  14. package/dist/editor/components/TimeValue.js +9 -5
  15. package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +1 -0
  16. package/dist/editor/components/Timeline/MaxTimelineTracks.js +5 -3
  17. package/dist/editor/components/Timeline/Timeline.js +11 -4
  18. package/dist/editor/components/Timeline/TimelineDragHandler.js +120 -23
  19. package/dist/editor/components/Timeline/TimelineList.js +5 -4
  20. package/dist/editor/components/Timeline/TimelineListItem.d.ts +1 -0
  21. package/dist/editor/components/Timeline/TimelineListItem.js +8 -4
  22. package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +3 -2
  23. package/dist/editor/components/Timeline/TimelineScrollable.js +3 -1
  24. package/dist/editor/components/Timeline/TimelineSlider.d.ts +3 -0
  25. package/dist/editor/components/Timeline/TimelineSlider.js +35 -2
  26. package/dist/editor/components/Timeline/TimelineSliderHandle.js +1 -3
  27. package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +1 -1
  28. package/dist/editor/components/Timeline/TimelineTimeIndicators.js +106 -17
  29. package/dist/editor/components/Timeline/TimelineTracks.js +14 -9
  30. package/dist/editor/components/Timeline/TimelineZoomControls.js +1 -1
  31. package/dist/editor/components/Timeline/imperative-state.d.ts +3 -0
  32. package/dist/editor/components/Timeline/imperative-state.js +10 -1
  33. package/dist/editor/components/Timeline/timeline-refs.d.ts +2 -0
  34. package/dist/editor/components/Timeline/timeline-refs.js +3 -1
  35. package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +1 -1
  36. package/dist/editor/components/Timeline/timeline-scroll-logic.js +10 -7
  37. package/dist/editor/components/ZoomPersistor.d.ts +1 -1
  38. package/dist/editor/components/ZoomPersistor.js +4 -4
  39. package/dist/editor/helpers/colors.d.ts +1 -0
  40. package/dist/editor/helpers/colors.js +2 -1
  41. package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +1 -0
  42. package/dist/editor/helpers/get-left-of-timeline-slider.js +7 -4
  43. package/dist/editor/helpers/get-timeline-sequence-layout.js +29 -9
  44. package/dist/get-cli-options.d.ts +2 -0
  45. package/dist/get-cli-options.js +2 -0
  46. package/dist/handle-common-errors.js +5 -0
  47. package/dist/index.d.ts +2 -0
  48. package/dist/parse-command-line.d.ts +2 -0
  49. package/dist/parse-command-line.js +8 -0
  50. package/dist/preview-server/error-overlay/remotion-overlay/Button.d.ts +1 -0
  51. package/dist/preview-server/error-overlay/remotion-overlay/Button.js +9 -2
  52. package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +5 -1
  53. package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.js +24 -0
  54. package/dist/preview-server/live-events.js +4 -0
  55. package/dist/preview-server/routes.js +16 -2
  56. package/dist/preview-server/start-server.js +1 -1
  57. package/dist/progress-bar.js +7 -2
  58. package/dist/render.js +3 -1
  59. package/dist/upgrade.js +1 -0
  60. package/dist/versions.js +1 -0
  61. package/package.json +7 -7
  62. package/dist/ansi/ansi-diff.d.ts.map +0 -1
  63. package/dist/ansi/ansi-diff.js.map +0 -1
  64. package/dist/ansi/ansi-regex.d.ts.map +0 -1
  65. package/dist/ansi/ansi-regex.js.map +0 -1
  66. package/dist/ansi/ansi-split.d.ts.map +0 -1
  67. package/dist/ansi/ansi-split.js.map +0 -1
  68. package/dist/check-version.d.ts.map +0 -1
  69. package/dist/check-version.js.map +0 -1
  70. package/dist/code-frame.d.ts.map +0 -1
  71. package/dist/code-frame.js.map +0 -1
  72. package/dist/compositions.d.ts.map +0 -1
  73. package/dist/compositions.js.map +0 -1
  74. package/dist/editor/components/AudioWaveform.d.ts.map +0 -1
  75. package/dist/editor/components/AudioWaveform.js.map +0 -1
  76. package/dist/editor/components/AudioWaveformBar.d.ts.map +0 -1
  77. package/dist/editor/components/AudioWaveformBar.js.map +0 -1
  78. package/dist/editor/components/Canvas.d.ts.map +0 -1
  79. package/dist/editor/components/Canvas.js.map +0 -1
  80. package/dist/editor/components/CheckboardToggle.d.ts.map +0 -1
  81. package/dist/editor/components/CheckboardToggle.js.map +0 -1
  82. package/dist/editor/components/ClipboardIcon.d.ts.map +0 -1
  83. package/dist/editor/components/ClipboardIcon.js.map +0 -1
  84. package/dist/editor/components/CompositionSelector.d.ts.map +0 -1
  85. package/dist/editor/components/CompositionSelector.js.map +0 -1
  86. package/dist/editor/components/CompositionSelectorItem.d.ts.map +0 -1
  87. package/dist/editor/components/CompositionSelectorItem.js.map +0 -1
  88. package/dist/editor/components/ControlButton.d.ts.map +0 -1
  89. package/dist/editor/components/ControlButton.js.map +0 -1
  90. package/dist/editor/components/CopyButton.d.ts.map +0 -1
  91. package/dist/editor/components/CopyButton.js.map +0 -1
  92. package/dist/editor/components/CurrentComposition.d.ts.map +0 -1
  93. package/dist/editor/components/CurrentComposition.js.map +0 -1
  94. package/dist/editor/components/Editor.d.ts.map +0 -1
  95. package/dist/editor/components/Editor.js.map +0 -1
  96. package/dist/editor/components/EditorContent.d.ts.map +0 -1
  97. package/dist/editor/components/EditorContent.js.map +0 -1
  98. package/dist/editor/components/FpsCounter.d.ts.map +0 -1
  99. package/dist/editor/components/FpsCounter.js.map +0 -1
  100. package/dist/editor/components/FramePersistor.d.ts.map +0 -1
  101. package/dist/editor/components/FramePersistor.js.map +0 -1
  102. package/dist/editor/components/GlobalKeybindings.d.ts.map +0 -1
  103. package/dist/editor/components/GlobalKeybindings.js.map +0 -1
  104. package/dist/editor/components/KeyboardShortcutsModal.d.ts.map +0 -1
  105. package/dist/editor/components/KeyboardShortcutsModal.js.map +0 -1
  106. package/dist/editor/components/LoadingIndicator.d.ts +0 -3
  107. package/dist/editor/components/LoadingIndicator.d.ts.map +0 -1
  108. package/dist/editor/components/LoadingIndicator.js +0 -36
  109. package/dist/editor/components/LoadingIndicator.js.map +0 -1
  110. package/dist/editor/components/LoopToggle.d.ts.map +0 -1
  111. package/dist/editor/components/LoopToggle.js.map +0 -1
  112. package/dist/editor/components/Menu/MenuDivider.d.ts.map +0 -1
  113. package/dist/editor/components/Menu/MenuDivider.js.map +0 -1
  114. package/dist/editor/components/Menu/MenuItem.d.ts.map +0 -1
  115. package/dist/editor/components/Menu/MenuItem.js.map +0 -1
  116. package/dist/editor/components/Menu/MenuSubItem.d.ts.map +0 -1
  117. package/dist/editor/components/Menu/MenuSubItem.js.map +0 -1
  118. package/dist/editor/components/Menu/SubMenu.d.ts.map +0 -1
  119. package/dist/editor/components/Menu/SubMenu.js.map +0 -1
  120. package/dist/editor/components/Menu/portals.d.ts.map +0 -1
  121. package/dist/editor/components/Menu/portals.js.map +0 -1
  122. package/dist/editor/components/Menu/styles.d.ts.map +0 -1
  123. package/dist/editor/components/Menu/styles.js.map +0 -1
  124. package/dist/editor/components/MenuToolbar.d.ts.map +0 -1
  125. package/dist/editor/components/MenuToolbar.js.map +0 -1
  126. package/dist/editor/components/ModalContainer.d.ts.map +0 -1
  127. package/dist/editor/components/ModalContainer.js.map +0 -1
  128. package/dist/editor/components/ModalHeader.d.ts.map +0 -1
  129. package/dist/editor/components/ModalHeader.js.map +0 -1
  130. package/dist/editor/components/MuteToggle.d.ts.map +0 -1
  131. package/dist/editor/components/MuteToggle.js.map +0 -1
  132. package/dist/editor/components/NewComposition/CancelButton.d.ts.map +0 -1
  133. package/dist/editor/components/NewComposition/CancelButton.js.map +0 -1
  134. package/dist/editor/components/NewComposition/ComboBox.d.ts.map +0 -1
  135. package/dist/editor/components/NewComposition/ComboBox.js.map +0 -1
  136. package/dist/editor/components/NewComposition/CopyHint.d.ts.map +0 -1
  137. package/dist/editor/components/NewComposition/CopyHint.js.map +0 -1
  138. package/dist/editor/components/NewComposition/InputDragger.d.ts.map +0 -1
  139. package/dist/editor/components/NewComposition/InputDragger.js.map +0 -1
  140. package/dist/editor/components/NewComposition/MenuContent.d.ts.map +0 -1
  141. package/dist/editor/components/NewComposition/MenuContent.js.map +0 -1
  142. package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts.map +0 -1
  143. package/dist/editor/components/NewComposition/NewCompAspectRatio.js.map +0 -1
  144. package/dist/editor/components/NewComposition/NewCompCode.d.ts.map +0 -1
  145. package/dist/editor/components/NewComposition/NewCompCode.js.map +0 -1
  146. package/dist/editor/components/NewComposition/NewCompDuration.d.ts.map +0 -1
  147. package/dist/editor/components/NewComposition/NewCompDuration.js.map +0 -1
  148. package/dist/editor/components/NewComposition/NewComposition.d.ts.map +0 -1
  149. package/dist/editor/components/NewComposition/NewComposition.js.map +0 -1
  150. package/dist/editor/components/NewComposition/RemInput.d.ts.map +0 -1
  151. package/dist/editor/components/NewComposition/RemInput.js.map +0 -1
  152. package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts.map +0 -1
  153. package/dist/editor/components/NewComposition/ToggleAspectRatio.js.map +0 -1
  154. package/dist/editor/components/NewComposition/ValidationMessage.d.ts.map +0 -1
  155. package/dist/editor/components/NewComposition/ValidationMessage.js.map +0 -1
  156. package/dist/editor/components/NewComposition/new-comp-layout.d.ts.map +0 -1
  157. package/dist/editor/components/NewComposition/new-comp-layout.js.map +0 -1
  158. package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts.map +0 -1
  159. package/dist/editor/components/NewComposition/render-aspect-ratio.js.map +0 -1
  160. package/dist/editor/components/PlayPause.d.ts.map +0 -1
  161. package/dist/editor/components/PlayPause.js.map +0 -1
  162. package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts.map +0 -1
  163. package/dist/editor/components/PlaybackKeyboardShortcutsManager.js.map +0 -1
  164. package/dist/editor/components/PlaybackRatePersistor.d.ts.map +0 -1
  165. package/dist/editor/components/PlaybackRatePersistor.js.map +0 -1
  166. package/dist/editor/components/PlaybackRateSelector.d.ts.map +0 -1
  167. package/dist/editor/components/PlaybackRateSelector.js.map +0 -1
  168. package/dist/editor/components/Preview.d.ts.map +0 -1
  169. package/dist/editor/components/Preview.js.map +0 -1
  170. package/dist/editor/components/PreviewToolbar.d.ts.map +0 -1
  171. package/dist/editor/components/PreviewToolbar.js.map +0 -1
  172. package/dist/editor/components/RichTimelineToggle.d.ts.map +0 -1
  173. package/dist/editor/components/RichTimelineToggle.js.map +0 -1
  174. package/dist/editor/components/SizeSelector.d.ts.map +0 -1
  175. package/dist/editor/components/SizeSelector.js.map +0 -1
  176. package/dist/editor/components/Splitter/SplitterContainer.d.ts.map +0 -1
  177. package/dist/editor/components/Splitter/SplitterContainer.js.map +0 -1
  178. package/dist/editor/components/Splitter/SplitterContext.d.ts.map +0 -1
  179. package/dist/editor/components/Splitter/SplitterContext.js.map +0 -1
  180. package/dist/editor/components/Splitter/SplitterElement.d.ts.map +0 -1
  181. package/dist/editor/components/Splitter/SplitterElement.js.map +0 -1
  182. package/dist/editor/components/Splitter/SplitterHandle.d.ts.map +0 -1
  183. package/dist/editor/components/Splitter/SplitterHandle.js.map +0 -1
  184. package/dist/editor/components/Thumbnail.d.ts.map +0 -1
  185. package/dist/editor/components/Thumbnail.js.map +0 -1
  186. package/dist/editor/components/TimeValue.d.ts.map +0 -1
  187. package/dist/editor/components/TimeValue.js.map +0 -1
  188. package/dist/editor/components/Timeline/LoopedIndicator.d.ts.map +0 -1
  189. package/dist/editor/components/Timeline/LoopedIndicator.js.map +0 -1
  190. package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts.map +0 -1
  191. package/dist/editor/components/Timeline/LoopedTimelineIndicators.js.map +0 -1
  192. package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts.map +0 -1
  193. package/dist/editor/components/Timeline/MaxTimelineTracks.js.map +0 -1
  194. package/dist/editor/components/Timeline/Timeline.d.ts.map +0 -1
  195. package/dist/editor/components/Timeline/Timeline.js.map +0 -1
  196. package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts.map +0 -1
  197. package/dist/editor/components/Timeline/TimelineCollapseToggle.js.map +0 -1
  198. package/dist/editor/components/Timeline/TimelineDragHandler.d.ts.map +0 -1
  199. package/dist/editor/components/Timeline/TimelineDragHandler.js.map +0 -1
  200. package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts.map +0 -1
  201. package/dist/editor/components/Timeline/TimelineInOutPointer.js.map +0 -1
  202. package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts.map +0 -1
  203. package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js.map +0 -1
  204. package/dist/editor/components/Timeline/TimelineList.d.ts.map +0 -1
  205. package/dist/editor/components/Timeline/TimelineList.js.map +0 -1
  206. package/dist/editor/components/Timeline/TimelineListItem.d.ts.map +0 -1
  207. package/dist/editor/components/Timeline/TimelineListItem.js.map +0 -1
  208. package/dist/editor/components/Timeline/TimelineSequence.d.ts.map +0 -1
  209. package/dist/editor/components/Timeline/TimelineSequence.js.map +0 -1
  210. package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts.map +0 -1
  211. package/dist/editor/components/Timeline/TimelineSequenceFrame.js.map +0 -1
  212. package/dist/editor/components/Timeline/TimelineSlider.d.ts.map +0 -1
  213. package/dist/editor/components/Timeline/TimelineSlider.js.map +0 -1
  214. package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts.map +0 -1
  215. package/dist/editor/components/Timeline/TimelineSliderHandle.js.map +0 -1
  216. package/dist/editor/components/Timeline/TimelineTracks.d.ts.map +0 -1
  217. package/dist/editor/components/Timeline/TimelineTracks.js.map +0 -1
  218. package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts.map +0 -1
  219. package/dist/editor/components/Timeline/TimelineVideoInfo.js.map +0 -1
  220. package/dist/editor/components/Timeline/is-collapsed.d.ts.map +0 -1
  221. package/dist/editor/components/Timeline/is-collapsed.js.map +0 -1
  222. package/dist/editor/components/Timeline/timeline-refs.d.ts.map +0 -1
  223. package/dist/editor/components/Timeline/timeline-refs.js.map +0 -1
  224. package/dist/editor/components/Timeline/timeline-state-reducer.d.ts.map +0 -1
  225. package/dist/editor/components/Timeline/timeline-state-reducer.js.map +0 -1
  226. package/dist/editor/components/TimelineInOutToggle.d.ts.map +0 -1
  227. package/dist/editor/components/TimelineInOutToggle.js.map +0 -1
  228. package/dist/editor/components/TopPanel.d.ts.map +0 -1
  229. package/dist/editor/components/TopPanel.js.map +0 -1
  230. package/dist/editor/components/UpdateCheck.d.ts.map +0 -1
  231. package/dist/editor/components/UpdateCheck.js.map +0 -1
  232. package/dist/editor/components/UpdateModal/UpdateModal.d.ts.map +0 -1
  233. package/dist/editor/components/UpdateModal/UpdateModal.js.map +0 -1
  234. package/dist/editor/components/layout.d.ts.map +0 -1
  235. package/dist/editor/components/layout.js.map +0 -1
  236. package/dist/editor/helpers/calculate-timeline.d.ts.map +0 -1
  237. package/dist/editor/helpers/calculate-timeline.js.map +0 -1
  238. package/dist/editor/helpers/checkerboard-background.d.ts.map +0 -1
  239. package/dist/editor/helpers/checkerboard-background.js.map +0 -1
  240. package/dist/editor/helpers/colors.d.ts.map +0 -1
  241. package/dist/editor/helpers/colors.js.map +0 -1
  242. package/dist/editor/helpers/copy-text.d.ts.map +0 -1
  243. package/dist/editor/helpers/copy-text.js.map +0 -1
  244. package/dist/editor/helpers/get-left-of-timeline-slider.d.ts.map +0 -1
  245. package/dist/editor/helpers/get-left-of-timeline-slider.js.map +0 -1
  246. package/dist/editor/helpers/get-sequence-visible-range.d.ts.map +0 -1
  247. package/dist/editor/helpers/get-sequence-visible-range.js.map +0 -1
  248. package/dist/editor/helpers/get-timeline-nestedness.d.ts.map +0 -1
  249. package/dist/editor/helpers/get-timeline-nestedness.js.map +0 -1
  250. package/dist/editor/helpers/get-timeline-sequence-hash.d.ts.map +0 -1
  251. package/dist/editor/helpers/get-timeline-sequence-hash.js.map +0 -1
  252. package/dist/editor/helpers/get-timeline-sequence-layout.d.ts.map +0 -1
  253. package/dist/editor/helpers/get-timeline-sequence-layout.js.map +0 -1
  254. package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts.map +0 -1
  255. package/dist/editor/helpers/get-timeline-sequence-sort-key.js.map +0 -1
  256. package/dist/editor/helpers/is-composition-still.d.ts.map +0 -1
  257. package/dist/editor/helpers/is-composition-still.js.map +0 -1
  258. package/dist/editor/helpers/is-current-selected-still.d.ts.map +0 -1
  259. package/dist/editor/helpers/is-current-selected-still.js.map +0 -1
  260. package/dist/editor/helpers/noop.d.ts.map +0 -1
  261. package/dist/editor/helpers/noop.js.map +0 -1
  262. package/dist/editor/helpers/timeline-layout.d.ts.map +0 -1
  263. package/dist/editor/helpers/timeline-layout.js.map +0 -1
  264. package/dist/editor/helpers/use-keybinding.d.ts.map +0 -1
  265. package/dist/editor/helpers/use-keybinding.js.map +0 -1
  266. package/dist/editor/helpers/validate-new-comp-data.d.ts.map +0 -1
  267. package/dist/editor/helpers/validate-new-comp-data.js.map +0 -1
  268. package/dist/editor/icons/Checkmark.d.ts.map +0 -1
  269. package/dist/editor/icons/Checkmark.js.map +0 -1
  270. package/dist/editor/icons/caret.d.ts.map +0 -1
  271. package/dist/editor/icons/caret.js.map +0 -1
  272. package/dist/editor/icons/film.d.ts.map +0 -1
  273. package/dist/editor/icons/film.js.map +0 -1
  274. package/dist/editor/icons/keys.d.ts.map +0 -1
  275. package/dist/editor/icons/keys.js.map +0 -1
  276. package/dist/editor/icons/lock.d.ts.map +0 -1
  277. package/dist/editor/icons/lock.js.map +0 -1
  278. package/dist/editor/icons/media-volume.d.ts.map +0 -1
  279. package/dist/editor/icons/media-volume.js.map +0 -1
  280. package/dist/editor/icons/pause.d.ts.map +0 -1
  281. package/dist/editor/icons/pause.js.map +0 -1
  282. package/dist/editor/icons/play.d.ts.map +0 -1
  283. package/dist/editor/icons/play.js.map +0 -1
  284. package/dist/editor/icons/step-back.d.ts.map +0 -1
  285. package/dist/editor/icons/step-back.js.map +0 -1
  286. package/dist/editor/icons/step-forward.d.ts.map +0 -1
  287. package/dist/editor/icons/step-forward.js.map +0 -1
  288. package/dist/editor/icons/still.d.ts.map +0 -1
  289. package/dist/editor/icons/still.js.map +0 -1
  290. package/dist/editor/icons/timeline.d.ts.map +0 -1
  291. package/dist/editor/icons/timeline.js.map +0 -1
  292. package/dist/editor/icons/timelineInOutPointer.d.ts.map +0 -1
  293. package/dist/editor/icons/timelineInOutPointer.js.map +0 -1
  294. package/dist/editor/state/aspect-ratio-locked.d.ts.map +0 -1
  295. package/dist/editor/state/aspect-ratio-locked.js.map +0 -1
  296. package/dist/editor/state/checkerboard.d.ts.map +0 -1
  297. package/dist/editor/state/checkerboard.js.map +0 -1
  298. package/dist/editor/state/highest-z-index.d.ts.map +0 -1
  299. package/dist/editor/state/highest-z-index.js.map +0 -1
  300. package/dist/editor/state/input-dragger-click-lock.d.ts.map +0 -1
  301. package/dist/editor/state/input-dragger-click-lock.js.map +0 -1
  302. package/dist/editor/state/keybindings.d.ts.map +0 -1
  303. package/dist/editor/state/keybindings.js.map +0 -1
  304. package/dist/editor/state/loop.d.ts.map +0 -1
  305. package/dist/editor/state/loop.js.map +0 -1
  306. package/dist/editor/state/marks.d.ts.map +0 -1
  307. package/dist/editor/state/marks.js.map +0 -1
  308. package/dist/editor/state/modals.d.ts.map +0 -1
  309. package/dist/editor/state/modals.js.map +0 -1
  310. package/dist/editor/state/mute.d.ts.map +0 -1
  311. package/dist/editor/state/mute.js.map +0 -1
  312. package/dist/editor/state/playbackrate.d.ts.map +0 -1
  313. package/dist/editor/state/playbackrate.js.map +0 -1
  314. package/dist/editor/state/preview-size.d.ts.map +0 -1
  315. package/dist/editor/state/preview-size.js.map +0 -1
  316. package/dist/editor/state/render-frame.d.ts.map +0 -1
  317. package/dist/editor/state/render-frame.js.map +0 -1
  318. package/dist/editor/state/rich-timeline.d.ts.map +0 -1
  319. package/dist/editor/state/rich-timeline.js.map +0 -1
  320. package/dist/editor/state/timeline-ref.d.ts.map +0 -1
  321. package/dist/editor/state/timeline-ref.js.map +0 -1
  322. package/dist/editor/state/timeline.d.ts.map +0 -1
  323. package/dist/editor/state/timeline.js.map +0 -1
  324. package/dist/editor/state/z-index.d.ts.map +0 -1
  325. package/dist/editor/state/z-index.js.map +0 -1
  326. package/dist/get-cli-options.d.ts.map +0 -1
  327. package/dist/get-cli-options.js.map +0 -1
  328. package/dist/get-composition-id.d.ts.map +0 -1
  329. package/dist/get-composition-id.js.map +0 -1
  330. package/dist/get-config-file-name.d.ts.map +0 -1
  331. package/dist/get-config-file-name.js.map +0 -1
  332. package/dist/get-env.d.ts.map +0 -1
  333. package/dist/get-env.js.map +0 -1
  334. package/dist/get-filename.d.ts.map +0 -1
  335. package/dist/get-filename.js.map +0 -1
  336. package/dist/get-input-props.d.ts.map +0 -1
  337. package/dist/get-input-props.js.map +0 -1
  338. package/dist/handle-common-errors.d.ts.map +0 -1
  339. package/dist/handle-common-errors.js.map +0 -1
  340. package/dist/image-formats.d.ts.map +0 -1
  341. package/dist/image-formats.js.map +0 -1
  342. package/dist/index.d.ts.map +0 -1
  343. package/dist/index.js.map +0 -1
  344. package/dist/initialize-render-cli.d.ts.map +0 -1
  345. package/dist/initialize-render-cli.js.map +0 -1
  346. package/dist/is-javascript.d.ts.map +0 -1
  347. package/dist/is-javascript.js.map +0 -1
  348. package/dist/lambda-command.d.ts.map +0 -1
  349. package/dist/lambda-command.js.map +0 -1
  350. package/dist/load-config.d.ts.map +0 -1
  351. package/dist/load-config.js.map +0 -1
  352. package/dist/log.d.ts.map +0 -1
  353. package/dist/log.js.map +0 -1
  354. package/dist/parse-command-line.d.ts.map +0 -1
  355. package/dist/parse-command-line.js.map +0 -1
  356. package/dist/preview.d.ts.map +0 -1
  357. package/dist/preview.js.map +0 -1
  358. package/dist/previewEntry.d.ts.map +0 -1
  359. package/dist/previewEntry.js.map +0 -1
  360. package/dist/print-error.d.ts.map +0 -1
  361. package/dist/print-error.js.map +0 -1
  362. package/dist/print-help.d.ts.map +0 -1
  363. package/dist/print-help.js.map +0 -1
  364. package/dist/progress-bar.d.ts.map +0 -1
  365. package/dist/progress-bar.js.map +0 -1
  366. package/dist/render.d.ts.map +0 -1
  367. package/dist/render.js.map +0 -1
  368. package/dist/resolve-from.d.ts.map +0 -1
  369. package/dist/resolve-from.js.map +0 -1
  370. package/dist/setup-cache.d.ts.map +0 -1
  371. package/dist/setup-cache.js.map +0 -1
  372. package/dist/step.d.ts.map +0 -1
  373. package/dist/step.js.map +0 -1
  374. package/dist/still.d.ts.map +0 -1
  375. package/dist/still.js.map +0 -1
  376. package/dist/upgrade.d.ts.map +0 -1
  377. package/dist/upgrade.js.map +0 -1
  378. package/dist/user-passed-output-location.d.ts.map +0 -1
  379. package/dist/user-passed-output-location.js.map +0 -1
  380. package/dist/validate-ffmpeg-version.d.ts.map +0 -1
  381. package/dist/validate-ffmpeg-version.js.map +0 -1
  382. package/dist/versions.d.ts.map +0 -1
  383. package/dist/versions.js.map +0 -1
  384. package/dist/warn-about-ffmpeg-version.d.ts.map +0 -1
  385. package/dist/warn-about-ffmpeg-version.js.map +0 -1
  386. package/dist/webpack-cache.d.ts +0 -12
  387. package/dist/webpack-cache.js +0 -66
@@ -1,9 +1,12 @@
1
1
  export declare let currentFrame: number;
2
2
  export declare let currentZoom: number;
3
3
  export declare let currentDuration: number;
4
+ export declare let currentFps: number;
4
5
  export declare const getCurrentZoom: () => number;
5
6
  export declare const setCurrentZoom: (z: number) => void;
6
7
  export declare const getCurrentFrame: () => number;
7
8
  export declare const setCurrentFrame: (f: number) => void;
8
9
  export declare const getCurrentDuration: () => number;
9
10
  export declare const setCurrentDuration: (d: number) => void;
11
+ export declare const getCurrentFps: () => number;
12
+ export declare const setCurrentFps: (d: number) => void;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setCurrentDuration = exports.getCurrentDuration = exports.setCurrentFrame = exports.getCurrentFrame = exports.setCurrentZoom = exports.getCurrentZoom = exports.currentDuration = exports.currentZoom = exports.currentFrame = void 0;
3
+ exports.setCurrentFps = exports.getCurrentFps = exports.setCurrentDuration = exports.getCurrentDuration = exports.setCurrentFrame = exports.getCurrentFrame = exports.setCurrentZoom = exports.getCurrentZoom = exports.currentFps = exports.currentDuration = exports.currentZoom = exports.currentFrame = void 0;
4
4
  exports.currentFrame = 0;
5
5
  exports.currentZoom = 1;
6
6
  exports.currentDuration = 1;
7
+ exports.currentFps = 1;
7
8
  const getCurrentZoom = () => {
8
9
  return exports.currentZoom;
9
10
  };
@@ -28,3 +29,11 @@ const setCurrentDuration = (d) => {
28
29
  exports.currentDuration = d;
29
30
  };
30
31
  exports.setCurrentDuration = setCurrentDuration;
32
+ const getCurrentFps = () => {
33
+ return exports.currentFps;
34
+ };
35
+ exports.getCurrentFps = getCurrentFps;
36
+ const setCurrentFps = (d) => {
37
+ exports.currentFps = d;
38
+ };
39
+ exports.setCurrentFps = setCurrentFps;
@@ -1,2 +1,4 @@
1
1
  import React from 'react';
2
2
  export declare const sliderAreaRef: React.RefObject<HTMLDivElement>;
3
+ export declare const scrollableRef: React.RefObject<HTMLDivElement>;
4
+ export declare const timelineVerticalScroll: React.RefObject<HTMLDivElement>;
@@ -3,6 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.sliderAreaRef = void 0;
6
+ exports.timelineVerticalScroll = exports.scrollableRef = exports.sliderAreaRef = void 0;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  exports.sliderAreaRef = react_1.default.createRef();
9
+ exports.scrollableRef = react_1.default.createRef();
10
+ exports.timelineVerticalScroll = react_1.default.createRef();
@@ -2,7 +2,6 @@ export declare const canScrollTimelineIntoDirection: () => {
2
2
  canScrollRight: boolean;
3
3
  canScrollLeft: boolean;
4
4
  };
5
- export declare const SCROLL_INCREMENT = 200;
6
5
  export declare const getFrameWhileScrollingLeft: ({ durationInFrames, width, }: {
7
6
  durationInFrames: number;
8
7
  width: number;
@@ -26,6 +25,7 @@ export declare const getScrollPositionForCursorOnRightEdge: ({ nextFrame, durati
26
25
  durationInFrames: number;
27
26
  }) => number;
28
27
  export declare const getFrameIncrement: (durationInFrames: number) => number;
28
+ export declare const getFrameIncrementFromWidth: (durationInFrames: number, width: number) => number;
29
29
  export declare const getFrameWhileScrollingRight: ({ durationInFrames, width, }: {
30
30
  durationInFrames: number;
31
31
  width: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zoomAndPreserveCursor = exports.getFrameFromX = exports.getFrameWhileScrollingRight = exports.getFrameIncrement = exports.getScrollPositionForCursorOnRightEdge = exports.getScrollPositionForCursorOnLeftEdge = exports.scrollToTimelineXOffset = exports.ensureFrameIsInViewport = exports.isCursorInViewport = exports.getFrameWhileScrollingLeft = exports.SCROLL_INCREMENT = exports.canScrollTimelineIntoDirection = void 0;
3
+ exports.zoomAndPreserveCursor = exports.getFrameFromX = exports.getFrameWhileScrollingRight = exports.getFrameIncrementFromWidth = exports.getFrameIncrement = exports.getScrollPositionForCursorOnRightEdge = exports.getScrollPositionForCursorOnLeftEdge = exports.scrollToTimelineXOffset = exports.ensureFrameIsInViewport = exports.isCursorInViewport = exports.getFrameWhileScrollingLeft = exports.canScrollTimelineIntoDirection = void 0;
4
4
  const remotion_1 = require("remotion");
5
5
  const timeline_layout_1 = require("../../helpers/timeline-layout");
6
6
  const timeline_refs_1 = require("./timeline-refs");
@@ -13,7 +13,7 @@ const canScrollTimelineIntoDirection = () => {
13
13
  return { canScrollRight, canScrollLeft };
14
14
  };
15
15
  exports.canScrollTimelineIntoDirection = canScrollTimelineIntoDirection;
16
- exports.SCROLL_INCREMENT = 200;
16
+ const SCROLL_INCREMENT = 200;
17
17
  const calculateFrameWhileScrollingRight = ({ durationInFrames, width, scrollLeft, }) => {
18
18
  var _a;
19
19
  return ((0, exports.getFrameFromX)({
@@ -28,7 +28,7 @@ const calculateFrameWhileScrollingRight = ({ durationInFrames, width, scrollLeft
28
28
  const getFrameWhileScrollingLeft = ({ durationInFrames, width, }) => {
29
29
  var _a, _b;
30
30
  const nextFrame = (0, exports.getFrameFromX)({
31
- clientX: ((_a = timeline_refs_1.scrollableRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) - exports.SCROLL_INCREMENT,
31
+ clientX: ((_a = timeline_refs_1.scrollableRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) - SCROLL_INCREMENT,
32
32
  durationInFrames,
33
33
  width,
34
34
  extrapolate: 'clamp',
@@ -95,7 +95,7 @@ const ensureFrameIsInViewport = ({ direction, durationInFrames, frame, }) => {
95
95
  if (direction === 'fit-right') {
96
96
  const currentFrameRight = calculateFrameWhileScrollingRight({
97
97
  durationInFrames,
98
- scrollLeft: scrollLeft,
98
+ scrollLeft,
99
99
  width,
100
100
  });
101
101
  const scrollPos = (0, exports.getScrollPositionForCursorOnRightEdge)({
@@ -166,16 +166,19 @@ exports.getScrollPositionForCursorOnRightEdge = getScrollPositionForCursorOnRigh
166
166
  const getFrameIncrement = (durationInFrames) => {
167
167
  var _a, _b;
168
168
  const width = (_b = (_a = timeline_refs_1.scrollableRef.current) === null || _a === void 0 ? void 0 : _a.scrollWidth) !== null && _b !== void 0 ? _b : 0;
169
- return ((width - timeline_layout_1.TIMELINE_PADDING * 2) /
170
- (durationInFrames - 1));
169
+ return (0, exports.getFrameIncrementFromWidth)(durationInFrames, width);
171
170
  };
172
171
  exports.getFrameIncrement = getFrameIncrement;
172
+ const getFrameIncrementFromWidth = (durationInFrames, width) => {
173
+ return (width - timeline_layout_1.TIMELINE_PADDING * 2) / (durationInFrames - 1);
174
+ };
175
+ exports.getFrameIncrementFromWidth = getFrameIncrementFromWidth;
173
176
  const getFrameWhileScrollingRight = ({ durationInFrames, width, }) => {
174
177
  var _a, _b;
175
178
  const nextFrame = calculateFrameWhileScrollingRight({
176
179
  durationInFrames,
177
180
  width,
178
- scrollLeft: ((_a = timeline_refs_1.scrollableRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) + exports.SCROLL_INCREMENT,
181
+ scrollLeft: ((_a = timeline_refs_1.scrollableRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) + SCROLL_INCREMENT,
179
182
  });
180
183
  const currentFrame = calculateFrameWhileScrollingRight({
181
184
  durationInFrames,
@@ -1,4 +1,4 @@
1
1
  import type React from 'react';
2
- export declare const persistCurrentZoom: (frame: number) => void;
2
+ export declare const persistCurrentZoom: (zoom: number) => void;
3
3
  export declare const getZoomForComposition: (composition: string) => number;
4
4
  export declare const ZoomPersistor: React.FC;
@@ -8,17 +8,17 @@ const FramePersistor_1 = require("./FramePersistor");
8
8
  const makeKey = (composition) => {
9
9
  return `remotion.zoom.${composition}`;
10
10
  };
11
- const persistCurrentZoom = (frame) => {
11
+ const persistCurrentZoom = (zoom) => {
12
12
  const currentComposition = (0, FramePersistor_1.getCurrentCompositionFromUrl)();
13
13
  if (!currentComposition) {
14
14
  return;
15
15
  }
16
- localStorage.setItem(makeKey(currentComposition), String(frame));
16
+ localStorage.setItem(makeKey(currentComposition), String(zoom));
17
17
  };
18
18
  exports.persistCurrentZoom = persistCurrentZoom;
19
19
  const getZoomForComposition = (composition) => {
20
- const frame = localStorage.getItem(makeKey(composition));
21
- return frame ? Number(frame) : 0;
20
+ const zoom = localStorage.getItem(makeKey(composition));
21
+ return zoom ? Number(zoom) : 0;
22
22
  };
23
23
  exports.getZoomForComposition = getZoomForComposition;
24
24
  const ZoomPersistor = () => {
@@ -8,6 +8,7 @@ export declare const SELECTED_HOVER_BACKGROUND = "hsla(0, 0%, 100%, 0.25)";
8
8
  export declare const CLEAR_HOVER = "rgba(255, 255, 255, 0.06)";
9
9
  export declare const INPUT_BORDER_COLOR_UNHOVERED = "rgba(0, 0, 0, 0.6)";
10
10
  export declare const INPUT_BORDER_COLOR_HOVERED = "rgba(255, 255, 255, 0.05)";
11
+ export declare const TIMELINE_BACKGROUND = "#111";
11
12
  export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
12
13
  selected: boolean;
13
14
  hovered: boolean;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBackgroundFromHoverState = exports.INPUT_BORDER_COLOR_HOVERED = exports.INPUT_BORDER_COLOR_UNHOVERED = exports.CLEAR_HOVER = exports.SELECTED_HOVER_BACKGROUND = exports.LIGHT_TEXT = exports.SELECTED_BACKGROUND = exports.LIGHT_COLOR = exports.BORDER_COLOR = exports.INPUT_BACKGROUND = exports.BACKGROUND = void 0;
3
+ exports.getBackgroundFromHoverState = exports.TIMELINE_BACKGROUND = exports.INPUT_BORDER_COLOR_HOVERED = exports.INPUT_BORDER_COLOR_UNHOVERED = exports.CLEAR_HOVER = exports.SELECTED_HOVER_BACKGROUND = exports.LIGHT_TEXT = exports.SELECTED_BACKGROUND = exports.LIGHT_COLOR = exports.BORDER_COLOR = exports.INPUT_BACKGROUND = exports.BACKGROUND = void 0;
4
4
  exports.BACKGROUND = '#1f2428';
5
5
  exports.INPUT_BACKGROUND = '#2f363d';
6
6
  exports.BORDER_COLOR = '#000';
@@ -11,6 +11,7 @@ exports.SELECTED_HOVER_BACKGROUND = 'hsla(0, 0%, 100%, 0.25)';
11
11
  exports.CLEAR_HOVER = 'rgba(255, 255, 255, 0.06)';
12
12
  exports.INPUT_BORDER_COLOR_UNHOVERED = 'rgba(0, 0, 0, 0.6)';
13
13
  exports.INPUT_BORDER_COLOR_HOVERED = 'rgba(255, 255, 255, 0.05)';
14
+ exports.TIMELINE_BACKGROUND = '#111';
14
15
  const getBackgroundFromHoverState = ({ selected, hovered, }) => {
15
16
  if (selected) {
16
17
  if (hovered) {
@@ -2,3 +2,4 @@ export declare const useGetXPositionOfItemInTimeline: () => {
2
2
  get: (frame: number) => number;
3
3
  width: number;
4
4
  };
5
+ export declare const getXPositionOfItemInTimelineImperatively: (frame: number, duration: number, width: number) => number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useGetXPositionOfItemInTimeline = void 0;
3
+ exports.getXPositionOfItemInTimelineImperatively = exports.useGetXPositionOfItemInTimeline = void 0;
4
4
  const player_1 = require("@remotion/player");
5
5
  const react_1 = require("react");
6
6
  const remotion_1 = require("remotion");
@@ -18,12 +18,15 @@ const useGetXPositionOfItemInTimeline = () => {
18
18
  if (!videoConfig) {
19
19
  return 0;
20
20
  }
21
- return ((frame / (videoConfig.durationInFrames - 1)) *
22
- (width - timeline_layout_1.TIMELINE_PADDING * 2) +
23
- timeline_layout_1.TIMELINE_PADDING);
21
+ return (0, exports.getXPositionOfItemInTimelineImperatively)(frame, videoConfig.durationInFrames, width);
24
22
  }, [videoConfig, width]);
25
23
  return (0, react_1.useMemo)(() => {
26
24
  return { get, width };
27
25
  }, [get, width]);
28
26
  };
29
27
  exports.useGetXPositionOfItemInTimeline = useGetXPositionOfItemInTimeline;
28
+ const getXPositionOfItemInTimelineImperatively = (frame, duration, width) => {
29
+ const proportion = frame / (duration - 1);
30
+ return proportion * (width - timeline_layout_1.TIMELINE_PADDING * 2) + timeline_layout_1.TIMELINE_PADDING;
31
+ };
32
+ exports.getXPositionOfItemInTimelineImperatively = getXPositionOfItemInTimelineImperatively;
@@ -3,23 +3,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getTimelineSequenceLayout = exports.SEQUENCE_BORDER_WIDTH = void 0;
4
4
  const timeline_layout_1 = require("./timeline-layout");
5
5
  exports.SEQUENCE_BORDER_WIDTH = 1;
6
+ const getWidthOfTrack = ({ durationInFrames, lastFrame, windowWidth, spatialDuration, nonNegativeMarginLeft, }) => {
7
+ const fullWidth = windowWidth - timeline_layout_1.TIMELINE_PADDING * 2;
8
+ const base = durationInFrames === Infinity || lastFrame === 0
9
+ ? fullWidth
10
+ : (spatialDuration / lastFrame) * fullWidth;
11
+ return base - exports.SEQUENCE_BORDER_WIDTH + nonNegativeMarginLeft;
12
+ };
6
13
  const getTimelineSequenceLayout = ({ durationInFrames, startFrom, maxMediaDuration, startFromMedia, video, windowWidth, }) => {
7
14
  var _a;
8
15
  const maxMediaSequenceDuration = (maxMediaDuration !== null && maxMediaDuration !== void 0 ? maxMediaDuration : Infinity) - startFromMedia;
9
- const spatialDuration = Math.min(maxMediaSequenceDuration, durationInFrames - 1);
16
+ let spatialDuration = Math.min(maxMediaSequenceDuration, durationInFrames - 1);
10
17
  const lastFrame = ((_a = video.durationInFrames) !== null && _a !== void 0 ? _a : 1) - 1;
18
+ const shouldAddHalfAFrameAtEnd = startFrom + durationInFrames < lastFrame;
19
+ const shouldAddHalfAFrameAtStart = startFrom > 0;
20
+ if (shouldAddHalfAFrameAtEnd) {
21
+ spatialDuration += 0.5;
22
+ }
23
+ if (shouldAddHalfAFrameAtStart) {
24
+ spatialDuration += 0.5;
25
+ }
26
+ const startFromWithOffset = shouldAddHalfAFrameAtStart
27
+ ? startFrom - 0.5
28
+ : startFrom;
11
29
  const marginLeft = lastFrame === 0
12
30
  ? 0
13
- : (startFrom / lastFrame) * (windowWidth - timeline_layout_1.TIMELINE_PADDING * 2);
14
- const negativeMarginLeft = Math.min(marginLeft, 0);
15
- const width = (durationInFrames === Infinity || lastFrame === 0
16
- ? windowWidth - timeline_layout_1.TIMELINE_PADDING * 2
17
- : (spatialDuration / lastFrame) * (windowWidth - timeline_layout_1.TIMELINE_PADDING * 2)) -
18
- exports.SEQUENCE_BORDER_WIDTH +
19
- negativeMarginLeft;
31
+ : (startFromWithOffset / lastFrame) *
32
+ (windowWidth - timeline_layout_1.TIMELINE_PADDING * 2);
33
+ const nonNegativeMarginLeft = Math.min(marginLeft, 0);
20
34
  return {
21
35
  marginLeft: Math.round(Math.max(marginLeft, 0)),
22
- width: Math.floor(width),
36
+ width: Math.floor(getWidthOfTrack({
37
+ durationInFrames,
38
+ lastFrame,
39
+ nonNegativeMarginLeft,
40
+ spatialDuration,
41
+ windowWidth,
42
+ })),
23
43
  };
24
44
  };
25
45
  exports.getTimelineSequenceLayout = getTimelineSequenceLayout;
@@ -28,4 +28,6 @@ export declare const getCliOptions: (options: {
28
28
  chromiumOptions: ChromiumOptions;
29
29
  overwrite: boolean;
30
30
  port: number | null;
31
+ muted: boolean;
32
+ enforceAudioTrack: boolean;
31
33
  }>;
@@ -179,6 +179,8 @@ const getCliOptions = async (options) => {
179
179
  chromiumOptions,
180
180
  overwrite,
181
181
  port: port !== null && port !== void 0 ? port : null,
182
+ muted: config_1.ConfigInternals.getMuted(),
183
+ enforceAudioTrack: config_1.ConfigInternals.getEnforceAudioTrack(),
182
184
  };
183
185
  };
184
186
  exports.getCliOptions = getCliOptions;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handleCommonError = void 0;
4
+ const chalk_1 = require("./chalk");
4
5
  const log_1 = require("./log");
5
6
  const print_error_1 = require("./print-error");
6
7
  const handleCommonError = async (err) => {
@@ -21,5 +22,9 @@ const handleCommonError = async (err) => {
21
22
  log_1.Log.info();
22
23
  log_1.Log.info('💡 Get help for this issue at https://remotion.dev/docs/enametoolong');
23
24
  }
25
+ if (err.message.includes('The bucket does not allow ACLs')) {
26
+ log_1.Log.info();
27
+ log_1.Log.info(chalk_1.chalk.green('💡 Fix this issue https://remotion.dev/docs/lambda/troubleshooting/bucket-disallows-acl'));
28
+ }
24
29
  };
25
30
  exports.handleCommonError = handleCommonError;
package/dist/index.d.ts CHANGED
@@ -95,6 +95,8 @@ export declare const CliInternals: {
95
95
  chromiumOptions: import("@remotion/renderer").ChromiumOptions;
96
96
  overwrite: boolean;
97
97
  port: number | null;
98
+ muted: boolean;
99
+ enforceAudioTrack: boolean;
98
100
  }>;
99
101
  parseCommandLine: (type: "sequence" | "still" | "lambda" | "preview" | "versions") => void;
100
102
  loadConfig: (remotionRoot: string) => Promise<string | null>;
@@ -33,6 +33,8 @@ export declare type CommandLineOptions = {
33
33
  port: number;
34
34
  frame: string | number;
35
35
  ['disable-headless']: boolean;
36
+ muted: boolean;
37
+ ['enforce-audio-track']: boolean;
36
38
  gl: OpenGlRenderer;
37
39
  };
38
40
  export declare const BooleanFlags: string[];
@@ -16,6 +16,8 @@ exports.BooleanFlags = [
16
16
  'help',
17
17
  'quiet',
18
18
  'q',
19
+ 'muted',
20
+ 'enforce-audio-track',
19
21
  // Lambda flags
20
22
  'force',
21
23
  'disable-chunk-optimization',
@@ -126,6 +128,12 @@ const parseCommandLine = (type) => {
126
128
  if (typeof exports.parsedCli.port !== 'undefined') {
127
129
  config_1.Config.Bundling.setPort(exports.parsedCli.port);
128
130
  }
131
+ if (typeof exports.parsedCli.muted !== 'undefined') {
132
+ config_1.Config.Rendering.setMuted(exports.parsedCli.muted);
133
+ }
134
+ if (typeof exports.parsedCli['enforce-audio-track'] !== 'undefined') {
135
+ config_1.Config.Rendering.setEnforceAudioTrack(exports.parsedCli['enforce-audio-track']);
136
+ }
129
137
  };
130
138
  exports.parseCommandLine = parseCommandLine;
131
139
  const quietFlagProvided = () => exports.parsedCli.quiet || exports.parsedCli.q;
@@ -3,4 +3,5 @@ export declare const Button: React.FC<{
3
3
  onClick: () => void;
4
4
  disabled?: boolean;
5
5
  children: React.ReactNode;
6
+ style?: React.CSSProperties;
6
7
  }>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Button = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
5
6
  const colors_1 = require("../../../editor/helpers/colors");
6
7
  const button = {
7
8
  border: `1px solid ${colors_1.INPUT_BORDER_COLOR_UNHOVERED}`,
@@ -18,7 +19,13 @@ const buttonContainer = {
18
19
  cursor: 'pointer',
19
20
  fontSize: 14,
20
21
  };
21
- const Button = ({ children, onClick, disabled }) => {
22
- return ((0, jsx_runtime_1.jsx)("button", { style: button, type: "button", disabled: disabled, onClick: onClick, children: (0, jsx_runtime_1.jsx)("div", { style: buttonContainer, children: children }) }));
22
+ const Button = ({ children, onClick, disabled, style }) => {
23
+ const combined = (0, react_1.useMemo)(() => {
24
+ return {
25
+ ...button,
26
+ ...(style !== null && style !== void 0 ? style : {}),
27
+ };
28
+ }, [style]);
29
+ return ((0, jsx_runtime_1.jsx)("button", { style: combined, type: "button", disabled: disabled, onClick: onClick, children: (0, jsx_runtime_1.jsx)("div", { style: buttonContainer, children: children }) }));
23
30
  };
24
31
  exports.Button = Button;
@@ -6,6 +6,10 @@ const react_1 = require("react");
6
6
  const use_keybinding_1 = require("../../../editor/helpers/use-keybinding");
7
7
  const Button_1 = require("./Button");
8
8
  const ShortcutHint_1 = require("./ShortcutHint");
9
+ const buttonStyle = {
10
+ backgroundColor: 'var(--blue)',
11
+ color: 'white',
12
+ };
9
13
  const HelpLink = ({ canHaveKeyboardShortcuts, link }) => {
10
14
  const openLink = (0, react_1.useCallback)(() => {
11
15
  window.open(link.url, '_blank');
@@ -26,6 +30,6 @@ const HelpLink = ({ canHaveKeyboardShortcuts, link }) => {
26
30
  });
27
31
  return () => unregister();
28
32
  }, [canHaveKeyboardShortcuts, openLink, registerKeybinding]);
29
- return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { onClick: openLink, children: ["Help: ", '"', link.title, '"', canHaveKeyboardShortcuts ? ((0, jsx_runtime_1.jsx)(ShortcutHint_1.ShortcutHint, { keyToPress: "h", cmdOrCtrl: true })) : null] }));
33
+ return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { style: buttonStyle, onClick: openLink, children: ["Help: ", '"', link.title, '"', canHaveKeyboardShortcuts ? ((0, jsx_runtime_1.jsx)(ShortcutHint_1.ShortcutHint, { keyToPress: "h", cmdOrCtrl: true })) : null] }));
30
34
  };
31
35
  exports.HelpLink = HelpLink;
@@ -14,6 +14,30 @@ const getHelpLink = (message) => {
14
14
  url: 'https://remotion.dev/docs/wrong-composition-mount',
15
15
  };
16
16
  }
17
+ if (message.includes('https://remotion.dev/docs/staticfile-relative-paths')) {
18
+ return {
19
+ title: 'staticFile() relative paths',
20
+ url: 'https://remotion.dev/docs/staticfile-relative-paths',
21
+ };
22
+ }
23
+ if (message.includes('https://remotion.dev/docs/staticfile-remote-urls')) {
24
+ return {
25
+ title: 'staticFile() remote URLs',
26
+ url: 'https://remotion.dev/docs/staticfile-remote-urls',
27
+ };
28
+ }
29
+ if (message.includes('https://remotion.dev/docs/non-seekable-media')) {
30
+ return {
31
+ title: 'Non-seekable media',
32
+ url: 'https://remotion.dev/docs/non-seekable-media',
33
+ };
34
+ }
35
+ if (message.includes('https://remotion.dev/docs/media-playback-error')) {
36
+ return {
37
+ title: 'Media playback error',
38
+ url: 'https://remotion.dev/docs/media-playback-error',
39
+ };
40
+ }
17
41
  return null;
18
42
  };
19
43
  exports.getHelpLink = getHelpLink;
@@ -13,6 +13,10 @@ const makeLiveEventsRouter = () => {
13
13
  'cache-control': 'no-cache',
14
14
  };
15
15
  response.writeHead(200, headers);
16
+ if (request.method === 'OPTIONS') {
17
+ response.end();
18
+ return;
19
+ }
16
20
  response.write(serializeMessage({ type: 'init' }));
17
21
  const clientId = String(Math.random());
18
22
  const newClient = {
@@ -43,7 +43,12 @@ const handleProjectInfo = async (remotionRoot, _, response) => {
43
43
  response.writeHead(200);
44
44
  response.end(JSON.stringify(data));
45
45
  };
46
- const handleFileSource = async (remotionRoot, search, _, response) => {
46
+ const handleFileSource = async ({ method, remotionRoot, search, response, }) => {
47
+ if (method === 'OPTIONS') {
48
+ response.writeHead(200);
49
+ response.end();
50
+ return;
51
+ }
47
52
  if (!search.startsWith('?')) {
48
53
  throw new Error('query must start with ?');
49
54
  }
@@ -58,6 +63,10 @@ const handleFileSource = async (remotionRoot, search, _, response) => {
58
63
  return response.end();
59
64
  };
60
65
  const handleOpenInEditor = async (remotionRoot, req, res) => {
66
+ if (req.method === 'OPTIONS') {
67
+ res.statusCode = 200;
68
+ res.end();
69
+ }
61
70
  try {
62
71
  const b = await new Promise((_resolve) => {
63
72
  let data = '';
@@ -114,7 +123,12 @@ const handleRoutes = ({ hash, hashPrefix, request, response, liveEventsServer, g
114
123
  return handleProjectInfo(remotionRoot, request, response);
115
124
  }
116
125
  if (url.pathname === '/api/file-source') {
117
- return handleFileSource(remotionRoot, url.search, request, response);
126
+ return handleFileSource({
127
+ remotionRoot,
128
+ search: url.search,
129
+ method: request.method,
130
+ response,
131
+ });
118
132
  }
119
133
  if (url.pathname === '/api/open-in-editor') {
120
134
  return handleOpenInEditor(remotionRoot, request, response);
@@ -53,7 +53,7 @@ const startServer = async (entry, userDefinedComponent, options) => {
53
53
  });
54
54
  })
55
55
  .then(() => {
56
- (0, routes_1.handleRoutes)({
56
+ return (0, routes_1.handleRoutes)({
57
57
  hash,
58
58
  hashPrefix,
59
59
  request,
@@ -50,12 +50,17 @@ const makeRenderingProgress = ({ frames, totalFrames, steps, concurrency, doneIn
50
50
  exports.makeRenderingProgress = makeRenderingProgress;
51
51
  const makeStitchingProgress = ({ frames, totalFrames, steps, doneIn, stage, codec, }) => {
52
52
  const progress = frames / totalFrames;
53
+ const mediaType = codec === 'gif'
54
+ ? 'GIF'
55
+ : renderer_1.RenderInternals.isAudioCodec(codec)
56
+ ? 'audio'
57
+ : 'video';
53
58
  return [
54
59
  `(${steps.indexOf('stitching') + 1}/${steps.length})`,
55
60
  (0, make_progress_bar_1.makeProgressBar)(progress),
56
61
  stage === 'muxing' && renderer_1.RenderInternals.canUseParallelEncoding(codec)
57
- ? `${doneIn ? 'Muxed' : 'Muxing'} audio`
58
- : `${doneIn ? 'Encoded' : 'Encoding'} ${codec === 'gif' ? 'GIF' : 'video'}`,
62
+ ? `${doneIn ? 'Muxed' : 'Muxing'} ${mediaType}`
63
+ : `${doneIn ? 'Encoded' : 'Encoding'} ${mediaType}`,
59
64
  doneIn === null ? `${frames}/${totalFrames}` : chalk_1.chalk.gray(`${doneIn}ms`),
60
65
  ].join(' ');
61
66
  };
package/dist/render.js CHANGED
@@ -36,7 +36,7 @@ const render = async (remotionRoot) => {
36
36
  const downloadMap = renderer_1.RenderInternals.makeDownloadMap();
37
37
  await (0, initialize_render_cli_1.initializeRenderCli)(remotionRoot, 'sequence');
38
38
  log_1.Log.verbose('Asset dirs', downloadMap.assetDir);
39
- const { codec, proResProfile, parallelism, frameRange, shouldOutputImageSequence, overwrite, inputProps, envVariables, quality, browser, crf, pixelFormat, imageFormat, browserExecutable, ffmpegExecutable, ffprobeExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, puppeteerTimeout, } = await (0, get_cli_options_1.getCliOptions)({
39
+ const { codec, proResProfile, parallelism, frameRange, shouldOutputImageSequence, overwrite, inputProps, envVariables, quality, browser, crf, pixelFormat, imageFormat, browserExecutable, ffmpegExecutable, ffprobeExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, puppeteerTimeout, muted, enforceAudioTrack, } = await (0, get_cli_options_1.getCliOptions)({
40
40
  isLambda: false,
41
41
  type: 'series',
42
42
  });
@@ -232,6 +232,8 @@ const render = async (remotionRoot) => {
232
232
  everyNthFrame,
233
233
  verbose: renderer_1.RenderInternals.isEqualOrBelowLogLevel(config_1.ConfigInternals.Logging.getLogLevel(), 'verbose'),
234
234
  downloadMap,
235
+ muted,
236
+ enforceAudioTrack,
235
237
  });
236
238
  log_1.Log.info();
237
239
  log_1.Log.info();
package/dist/upgrade.js CHANGED
@@ -37,6 +37,7 @@ const upgrade = async (remotionRoot) => {
37
37
  '@remotion/eslint-config',
38
38
  '@remotion/renderer',
39
39
  '@remotion/skia',
40
+ '@remotion/lottie',
40
41
  '@remotion/media-utils',
41
42
  '@remotion/babel-loader',
42
43
  '@remotion/lambda',
package/dist/versions.js CHANGED
@@ -16,6 +16,7 @@ const packages = [
16
16
  '@remotion/eslint-config',
17
17
  '@remotion/renderer',
18
18
  '@remotion/skia',
19
+ '@remotion/lottie',
19
20
  '@remotion/media-utils',
20
21
  '@remotion/babel-loader',
21
22
  '@remotion/lambda',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "3.1.10",
3
+ "version": "3.2.1",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -23,15 +23,15 @@
23
23
  "author": "Jonny Burger <jonny@remotion.dev>",
24
24
  "license": "SEE LICENSE IN LICENSE.md",
25
25
  "dependencies": {
26
- "@remotion/bundler": "3.1.10",
27
- "@remotion/media-utils": "3.1.10",
28
- "@remotion/player": "3.1.10",
29
- "@remotion/renderer": "3.1.10",
26
+ "@remotion/bundler": "3.2.1",
27
+ "@remotion/media-utils": "3.2.1",
28
+ "@remotion/player": "3.2.1",
29
+ "@remotion/renderer": "3.2.1",
30
30
  "better-opn": "2.1.1",
31
31
  "dotenv": "9.0.2",
32
32
  "memfs": "3.4.3",
33
33
  "minimist": "1.2.6",
34
- "remotion": "3.1.10",
34
+ "remotion": "3.2.1",
35
35
  "semver": "7.3.5",
36
36
  "source-map": "0.6.1"
37
37
  },
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "bcf9e6a75b738fa36db53abc9cc92a6b9d9eefd2"
74
+ "gitHead": "0c4f0e1fdd423b882bf3dbc48b50037f9d5251c8"
75
75
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"ansi-diff.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-diff.ts"],"names":[],"mappings":";AAKA,aAAK,OAAO,GAAG;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,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K,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACzC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;KACvB;IAED,OAAO,GAAG,CAAC;AACZ,CAAC;AAED,SAAS,KAAK,CAAC,CAAS;IACvB,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC/C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ansi-regex.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-regex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,cAOrB,CAAC;AAEF,eAAO,MAAM,SAAS,QAAS,MAAM,WAMpC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ansi-regex.js","sourceRoot":"","sources":["../../src/ansi/ansi-regex.ts"],"names":[],"mappings":";;;AAAO,MAAM,SAAS,GAAG,GAAG,EAAE;IAC7B,MAAM,OAAO,GAAG;QACf,8HAA8H;QAC9H,0DAA0D;KAC1D,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC,CAAC;AAPW,QAAA,SAAS,aAOpB;AAEK,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,EAAE;IACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC5B,MAAM,IAAI,SAAS,CAAC,gCAAgC,OAAO,GAAG,IAAI,CAAC,CAAC;KACpE;IAED,OAAO,GAAG,CAAC,OAAO,CAAC,IAAA,iBAAS,GAAE,EAAE,EAAE,CAAC,CAAC;AACrC,CAAC,CAAC;AANW,QAAA,SAAS,aAMpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ansi-split.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-split.ts"],"names":[],"mappings":"AAEA,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAwB/C"}