@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.
- package/dist/config/drop-silent-audio-if-silent.d.ts +2 -0
- package/dist/config/drop-silent-audio-if-silent.js +13 -0
- package/dist/config/enforce-audio-track.d.ts +2 -0
- package/dist/config/enforce-audio-track.js +13 -0
- package/dist/config/index.d.ts +4 -0
- package/dist/config/index.js +8 -0
- package/dist/config/muted.d.ts +2 -0
- package/dist/config/muted.js +13 -0
- package/dist/editor/components/Editor.js +3 -1
- package/dist/editor/components/InitialCompositionLoader.js +13 -0
- package/dist/editor/components/PlayPause.js +41 -23
- package/dist/editor/components/PreviewToolbar.js +2 -2
- package/dist/editor/components/Splitter/SplitterElement.js +1 -0
- package/dist/editor/components/TimeValue.js +9 -5
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +1 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.js +5 -3
- package/dist/editor/components/Timeline/Timeline.js +11 -4
- package/dist/editor/components/Timeline/TimelineDragHandler.js +120 -23
- package/dist/editor/components/Timeline/TimelineList.js +5 -4
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +1 -0
- package/dist/editor/components/Timeline/TimelineListItem.js +8 -4
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +3 -2
- package/dist/editor/components/Timeline/TimelineScrollable.js +3 -1
- package/dist/editor/components/Timeline/TimelineSlider.d.ts +3 -0
- package/dist/editor/components/Timeline/TimelineSlider.js +35 -2
- package/dist/editor/components/Timeline/TimelineSliderHandle.js +1 -3
- package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +1 -1
- package/dist/editor/components/Timeline/TimelineTimeIndicators.js +106 -17
- package/dist/editor/components/Timeline/TimelineTracks.js +14 -9
- package/dist/editor/components/Timeline/TimelineZoomControls.js +1 -1
- package/dist/editor/components/Timeline/imperative-state.d.ts +3 -0
- package/dist/editor/components/Timeline/imperative-state.js +10 -1
- package/dist/editor/components/Timeline/timeline-refs.d.ts +2 -0
- package/dist/editor/components/Timeline/timeline-refs.js +3 -1
- package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +1 -1
- package/dist/editor/components/Timeline/timeline-scroll-logic.js +10 -7
- package/dist/editor/components/ZoomPersistor.d.ts +1 -1
- package/dist/editor/components/ZoomPersistor.js +4 -4
- package/dist/editor/helpers/colors.d.ts +1 -0
- package/dist/editor/helpers/colors.js +2 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +1 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.js +7 -4
- package/dist/editor/helpers/get-timeline-sequence-layout.js +29 -9
- package/dist/get-cli-options.d.ts +2 -0
- package/dist/get-cli-options.js +2 -0
- package/dist/handle-common-errors.js +5 -0
- package/dist/index.d.ts +2 -0
- package/dist/parse-command-line.d.ts +2 -0
- package/dist/parse-command-line.js +8 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.d.ts +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.js +9 -2
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +5 -1
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.js +24 -0
- package/dist/preview-server/live-events.js +4 -0
- package/dist/preview-server/routes.js +16 -2
- package/dist/preview-server/start-server.js +1 -1
- package/dist/progress-bar.js +7 -2
- package/dist/render.js +3 -1
- package/dist/upgrade.js +1 -0
- package/dist/versions.js +1 -0
- package/package.json +7 -7
- package/dist/ansi/ansi-diff.d.ts.map +0 -1
- package/dist/ansi/ansi-diff.js.map +0 -1
- package/dist/ansi/ansi-regex.d.ts.map +0 -1
- package/dist/ansi/ansi-regex.js.map +0 -1
- package/dist/ansi/ansi-split.d.ts.map +0 -1
- package/dist/ansi/ansi-split.js.map +0 -1
- package/dist/check-version.d.ts.map +0 -1
- package/dist/check-version.js.map +0 -1
- package/dist/code-frame.d.ts.map +0 -1
- package/dist/code-frame.js.map +0 -1
- package/dist/compositions.d.ts.map +0 -1
- package/dist/compositions.js.map +0 -1
- package/dist/editor/components/AudioWaveform.d.ts.map +0 -1
- package/dist/editor/components/AudioWaveform.js.map +0 -1
- package/dist/editor/components/AudioWaveformBar.d.ts.map +0 -1
- package/dist/editor/components/AudioWaveformBar.js.map +0 -1
- package/dist/editor/components/Canvas.d.ts.map +0 -1
- package/dist/editor/components/Canvas.js.map +0 -1
- package/dist/editor/components/CheckboardToggle.d.ts.map +0 -1
- package/dist/editor/components/CheckboardToggle.js.map +0 -1
- package/dist/editor/components/ClipboardIcon.d.ts.map +0 -1
- package/dist/editor/components/ClipboardIcon.js.map +0 -1
- package/dist/editor/components/CompositionSelector.d.ts.map +0 -1
- package/dist/editor/components/CompositionSelector.js.map +0 -1
- package/dist/editor/components/CompositionSelectorItem.d.ts.map +0 -1
- package/dist/editor/components/CompositionSelectorItem.js.map +0 -1
- package/dist/editor/components/ControlButton.d.ts.map +0 -1
- package/dist/editor/components/ControlButton.js.map +0 -1
- package/dist/editor/components/CopyButton.d.ts.map +0 -1
- package/dist/editor/components/CopyButton.js.map +0 -1
- package/dist/editor/components/CurrentComposition.d.ts.map +0 -1
- package/dist/editor/components/CurrentComposition.js.map +0 -1
- package/dist/editor/components/Editor.d.ts.map +0 -1
- package/dist/editor/components/Editor.js.map +0 -1
- package/dist/editor/components/EditorContent.d.ts.map +0 -1
- package/dist/editor/components/EditorContent.js.map +0 -1
- package/dist/editor/components/FpsCounter.d.ts.map +0 -1
- package/dist/editor/components/FpsCounter.js.map +0 -1
- package/dist/editor/components/FramePersistor.d.ts.map +0 -1
- package/dist/editor/components/FramePersistor.js.map +0 -1
- package/dist/editor/components/GlobalKeybindings.d.ts.map +0 -1
- package/dist/editor/components/GlobalKeybindings.js.map +0 -1
- package/dist/editor/components/KeyboardShortcutsModal.d.ts.map +0 -1
- package/dist/editor/components/KeyboardShortcutsModal.js.map +0 -1
- package/dist/editor/components/LoadingIndicator.d.ts +0 -3
- package/dist/editor/components/LoadingIndicator.d.ts.map +0 -1
- package/dist/editor/components/LoadingIndicator.js +0 -36
- package/dist/editor/components/LoadingIndicator.js.map +0 -1
- package/dist/editor/components/LoopToggle.d.ts.map +0 -1
- package/dist/editor/components/LoopToggle.js.map +0 -1
- package/dist/editor/components/Menu/MenuDivider.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuDivider.js.map +0 -1
- package/dist/editor/components/Menu/MenuItem.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuItem.js.map +0 -1
- package/dist/editor/components/Menu/MenuSubItem.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuSubItem.js.map +0 -1
- package/dist/editor/components/Menu/SubMenu.d.ts.map +0 -1
- package/dist/editor/components/Menu/SubMenu.js.map +0 -1
- package/dist/editor/components/Menu/portals.d.ts.map +0 -1
- package/dist/editor/components/Menu/portals.js.map +0 -1
- package/dist/editor/components/Menu/styles.d.ts.map +0 -1
- package/dist/editor/components/Menu/styles.js.map +0 -1
- package/dist/editor/components/MenuToolbar.d.ts.map +0 -1
- package/dist/editor/components/MenuToolbar.js.map +0 -1
- package/dist/editor/components/ModalContainer.d.ts.map +0 -1
- package/dist/editor/components/ModalContainer.js.map +0 -1
- package/dist/editor/components/ModalHeader.d.ts.map +0 -1
- package/dist/editor/components/ModalHeader.js.map +0 -1
- package/dist/editor/components/MuteToggle.d.ts.map +0 -1
- package/dist/editor/components/MuteToggle.js.map +0 -1
- package/dist/editor/components/NewComposition/CancelButton.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/CancelButton.js.map +0 -1
- package/dist/editor/components/NewComposition/ComboBox.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ComboBox.js.map +0 -1
- package/dist/editor/components/NewComposition/CopyHint.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/CopyHint.js.map +0 -1
- package/dist/editor/components/NewComposition/InputDragger.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/InputDragger.js.map +0 -1
- package/dist/editor/components/NewComposition/MenuContent.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/MenuContent.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompCode.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompCode.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompDuration.js.map +0 -1
- package/dist/editor/components/NewComposition/NewComposition.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewComposition.js.map +0 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/RemInput.js.map +0 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js.map +0 -1
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ValidationMessage.js.map +0 -1
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/new-comp-layout.js.map +0 -1
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/render-aspect-ratio.js.map +0 -1
- package/dist/editor/components/PlayPause.d.ts.map +0 -1
- package/dist/editor/components/PlayPause.js.map +0 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts.map +0 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js.map +0 -1
- package/dist/editor/components/PlaybackRatePersistor.d.ts.map +0 -1
- package/dist/editor/components/PlaybackRatePersistor.js.map +0 -1
- package/dist/editor/components/PlaybackRateSelector.d.ts.map +0 -1
- package/dist/editor/components/PlaybackRateSelector.js.map +0 -1
- package/dist/editor/components/Preview.d.ts.map +0 -1
- package/dist/editor/components/Preview.js.map +0 -1
- package/dist/editor/components/PreviewToolbar.d.ts.map +0 -1
- package/dist/editor/components/PreviewToolbar.js.map +0 -1
- package/dist/editor/components/RichTimelineToggle.d.ts.map +0 -1
- package/dist/editor/components/RichTimelineToggle.js.map +0 -1
- package/dist/editor/components/SizeSelector.d.ts.map +0 -1
- package/dist/editor/components/SizeSelector.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterContainer.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterContainer.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterContext.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterContext.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterElement.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterElement.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterHandle.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterHandle.js.map +0 -1
- package/dist/editor/components/Thumbnail.d.ts.map +0 -1
- package/dist/editor/components/Thumbnail.js.map +0 -1
- package/dist/editor/components/TimeValue.d.ts.map +0 -1
- package/dist/editor/components/TimeValue.js.map +0 -1
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts.map +0 -1
- package/dist/editor/components/Timeline/LoopedIndicator.js.map +0 -1
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts.map +0 -1
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js.map +0 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts.map +0 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.js.map +0 -1
- package/dist/editor/components/Timeline/Timeline.d.ts.map +0 -1
- package/dist/editor/components/Timeline/Timeline.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointer.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineList.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineList.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineListItem.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineListItem.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequence.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequence.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSlider.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSlider.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineTracks.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineTracks.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.js.map +0 -1
- package/dist/editor/components/Timeline/is-collapsed.d.ts.map +0 -1
- package/dist/editor/components/Timeline/is-collapsed.js.map +0 -1
- package/dist/editor/components/Timeline/timeline-refs.d.ts.map +0 -1
- package/dist/editor/components/Timeline/timeline-refs.js.map +0 -1
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts.map +0 -1
- package/dist/editor/components/Timeline/timeline-state-reducer.js.map +0 -1
- package/dist/editor/components/TimelineInOutToggle.d.ts.map +0 -1
- package/dist/editor/components/TimelineInOutToggle.js.map +0 -1
- package/dist/editor/components/TopPanel.d.ts.map +0 -1
- package/dist/editor/components/TopPanel.js.map +0 -1
- package/dist/editor/components/UpdateCheck.d.ts.map +0 -1
- package/dist/editor/components/UpdateCheck.js.map +0 -1
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts.map +0 -1
- package/dist/editor/components/UpdateModal/UpdateModal.js.map +0 -1
- package/dist/editor/components/layout.d.ts.map +0 -1
- package/dist/editor/components/layout.js.map +0 -1
- package/dist/editor/helpers/calculate-timeline.d.ts.map +0 -1
- package/dist/editor/helpers/calculate-timeline.js.map +0 -1
- package/dist/editor/helpers/checkerboard-background.d.ts.map +0 -1
- package/dist/editor/helpers/checkerboard-background.js.map +0 -1
- package/dist/editor/helpers/colors.d.ts.map +0 -1
- package/dist/editor/helpers/colors.js.map +0 -1
- package/dist/editor/helpers/copy-text.d.ts.map +0 -1
- package/dist/editor/helpers/copy-text.js.map +0 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts.map +0 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.js.map +0 -1
- package/dist/editor/helpers/get-sequence-visible-range.d.ts.map +0 -1
- package/dist/editor/helpers/get-sequence-visible-range.js.map +0 -1
- package/dist/editor/helpers/get-timeline-nestedness.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-nestedness.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-hash.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-layout.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js.map +0 -1
- package/dist/editor/helpers/is-composition-still.d.ts.map +0 -1
- package/dist/editor/helpers/is-composition-still.js.map +0 -1
- package/dist/editor/helpers/is-current-selected-still.d.ts.map +0 -1
- package/dist/editor/helpers/is-current-selected-still.js.map +0 -1
- package/dist/editor/helpers/noop.d.ts.map +0 -1
- package/dist/editor/helpers/noop.js.map +0 -1
- package/dist/editor/helpers/timeline-layout.d.ts.map +0 -1
- package/dist/editor/helpers/timeline-layout.js.map +0 -1
- package/dist/editor/helpers/use-keybinding.d.ts.map +0 -1
- package/dist/editor/helpers/use-keybinding.js.map +0 -1
- package/dist/editor/helpers/validate-new-comp-data.d.ts.map +0 -1
- package/dist/editor/helpers/validate-new-comp-data.js.map +0 -1
- package/dist/editor/icons/Checkmark.d.ts.map +0 -1
- package/dist/editor/icons/Checkmark.js.map +0 -1
- package/dist/editor/icons/caret.d.ts.map +0 -1
- package/dist/editor/icons/caret.js.map +0 -1
- package/dist/editor/icons/film.d.ts.map +0 -1
- package/dist/editor/icons/film.js.map +0 -1
- package/dist/editor/icons/keys.d.ts.map +0 -1
- package/dist/editor/icons/keys.js.map +0 -1
- package/dist/editor/icons/lock.d.ts.map +0 -1
- package/dist/editor/icons/lock.js.map +0 -1
- package/dist/editor/icons/media-volume.d.ts.map +0 -1
- package/dist/editor/icons/media-volume.js.map +0 -1
- package/dist/editor/icons/pause.d.ts.map +0 -1
- package/dist/editor/icons/pause.js.map +0 -1
- package/dist/editor/icons/play.d.ts.map +0 -1
- package/dist/editor/icons/play.js.map +0 -1
- package/dist/editor/icons/step-back.d.ts.map +0 -1
- package/dist/editor/icons/step-back.js.map +0 -1
- package/dist/editor/icons/step-forward.d.ts.map +0 -1
- package/dist/editor/icons/step-forward.js.map +0 -1
- package/dist/editor/icons/still.d.ts.map +0 -1
- package/dist/editor/icons/still.js.map +0 -1
- package/dist/editor/icons/timeline.d.ts.map +0 -1
- package/dist/editor/icons/timeline.js.map +0 -1
- package/dist/editor/icons/timelineInOutPointer.d.ts.map +0 -1
- package/dist/editor/icons/timelineInOutPointer.js.map +0 -1
- package/dist/editor/state/aspect-ratio-locked.d.ts.map +0 -1
- package/dist/editor/state/aspect-ratio-locked.js.map +0 -1
- package/dist/editor/state/checkerboard.d.ts.map +0 -1
- package/dist/editor/state/checkerboard.js.map +0 -1
- package/dist/editor/state/highest-z-index.d.ts.map +0 -1
- package/dist/editor/state/highest-z-index.js.map +0 -1
- package/dist/editor/state/input-dragger-click-lock.d.ts.map +0 -1
- package/dist/editor/state/input-dragger-click-lock.js.map +0 -1
- package/dist/editor/state/keybindings.d.ts.map +0 -1
- package/dist/editor/state/keybindings.js.map +0 -1
- package/dist/editor/state/loop.d.ts.map +0 -1
- package/dist/editor/state/loop.js.map +0 -1
- package/dist/editor/state/marks.d.ts.map +0 -1
- package/dist/editor/state/marks.js.map +0 -1
- package/dist/editor/state/modals.d.ts.map +0 -1
- package/dist/editor/state/modals.js.map +0 -1
- package/dist/editor/state/mute.d.ts.map +0 -1
- package/dist/editor/state/mute.js.map +0 -1
- package/dist/editor/state/playbackrate.d.ts.map +0 -1
- package/dist/editor/state/playbackrate.js.map +0 -1
- package/dist/editor/state/preview-size.d.ts.map +0 -1
- package/dist/editor/state/preview-size.js.map +0 -1
- package/dist/editor/state/render-frame.d.ts.map +0 -1
- package/dist/editor/state/render-frame.js.map +0 -1
- package/dist/editor/state/rich-timeline.d.ts.map +0 -1
- package/dist/editor/state/rich-timeline.js.map +0 -1
- package/dist/editor/state/timeline-ref.d.ts.map +0 -1
- package/dist/editor/state/timeline-ref.js.map +0 -1
- package/dist/editor/state/timeline.d.ts.map +0 -1
- package/dist/editor/state/timeline.js.map +0 -1
- package/dist/editor/state/z-index.d.ts.map +0 -1
- package/dist/editor/state/z-index.js.map +0 -1
- package/dist/get-cli-options.d.ts.map +0 -1
- package/dist/get-cli-options.js.map +0 -1
- package/dist/get-composition-id.d.ts.map +0 -1
- package/dist/get-composition-id.js.map +0 -1
- package/dist/get-config-file-name.d.ts.map +0 -1
- package/dist/get-config-file-name.js.map +0 -1
- package/dist/get-env.d.ts.map +0 -1
- package/dist/get-env.js.map +0 -1
- package/dist/get-filename.d.ts.map +0 -1
- package/dist/get-filename.js.map +0 -1
- package/dist/get-input-props.d.ts.map +0 -1
- package/dist/get-input-props.js.map +0 -1
- package/dist/handle-common-errors.d.ts.map +0 -1
- package/dist/handle-common-errors.js.map +0 -1
- package/dist/image-formats.d.ts.map +0 -1
- package/dist/image-formats.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/initialize-render-cli.d.ts.map +0 -1
- package/dist/initialize-render-cli.js.map +0 -1
- package/dist/is-javascript.d.ts.map +0 -1
- package/dist/is-javascript.js.map +0 -1
- package/dist/lambda-command.d.ts.map +0 -1
- package/dist/lambda-command.js.map +0 -1
- package/dist/load-config.d.ts.map +0 -1
- package/dist/load-config.js.map +0 -1
- package/dist/log.d.ts.map +0 -1
- package/dist/log.js.map +0 -1
- package/dist/parse-command-line.d.ts.map +0 -1
- package/dist/parse-command-line.js.map +0 -1
- package/dist/preview.d.ts.map +0 -1
- package/dist/preview.js.map +0 -1
- package/dist/previewEntry.d.ts.map +0 -1
- package/dist/previewEntry.js.map +0 -1
- package/dist/print-error.d.ts.map +0 -1
- package/dist/print-error.js.map +0 -1
- package/dist/print-help.d.ts.map +0 -1
- package/dist/print-help.js.map +0 -1
- package/dist/progress-bar.d.ts.map +0 -1
- package/dist/progress-bar.js.map +0 -1
- package/dist/render.d.ts.map +0 -1
- package/dist/render.js.map +0 -1
- package/dist/resolve-from.d.ts.map +0 -1
- package/dist/resolve-from.js.map +0 -1
- package/dist/setup-cache.d.ts.map +0 -1
- package/dist/setup-cache.js.map +0 -1
- package/dist/step.d.ts.map +0 -1
- package/dist/step.js.map +0 -1
- package/dist/still.d.ts.map +0 -1
- package/dist/still.js.map +0 -1
- package/dist/upgrade.d.ts.map +0 -1
- package/dist/upgrade.js.map +0 -1
- package/dist/user-passed-output-location.d.ts.map +0 -1
- package/dist/user-passed-output-location.js.map +0 -1
- package/dist/validate-ffmpeg-version.d.ts.map +0 -1
- package/dist/validate-ffmpeg-version.js.map +0 -1
- package/dist/versions.d.ts.map +0 -1
- package/dist/versions.js.map +0 -1
- package/dist/warn-about-ffmpeg-version.d.ts.map +0 -1
- package/dist/warn-about-ffmpeg-version.js.map +0 -1
- package/dist/webpack-cache.d.ts +0 -12
- 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;
|
|
@@ -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.
|
|
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
|
-
|
|
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) -
|
|
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
|
|
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 (
|
|
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) +
|
|
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: (
|
|
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 = (
|
|
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(
|
|
16
|
+
localStorage.setItem(makeKey(currentComposition), String(zoom));
|
|
17
17
|
};
|
|
18
18
|
exports.persistCurrentZoom = persistCurrentZoom;
|
|
19
19
|
const getZoomForComposition = (composition) => {
|
|
20
|
-
const
|
|
21
|
-
return
|
|
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) {
|
|
@@ -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
|
|
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
|
-
|
|
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
|
-
: (
|
|
14
|
-
|
|
15
|
-
const
|
|
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(
|
|
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;
|
package/dist/get-cli-options.js
CHANGED
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
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,
|
|
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(
|
|
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);
|
package/dist/progress-bar.js
CHANGED
|
@@ -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'}
|
|
58
|
-
: `${doneIn ? 'Encoded' : 'Encoding'} ${
|
|
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
package/dist/versions.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.1
|
|
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
|
|
27
|
-
"@remotion/media-utils": "3.1
|
|
28
|
-
"@remotion/player": "3.1
|
|
29
|
-
"@remotion/renderer": "3.1
|
|
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
|
|
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": "
|
|
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,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAEjD,qBAAa,QAAQ;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE,IAAI,EAAE,CAAC;gBAEH,IAAI,CAAC,EAAE,OAAO;IAW1B,MAAM,SAAU,OAAO,UAkBrB;IAEF,QAAQ;IAIR,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE;QAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAC;IAuElE,UAAU,CAAC,CAAC,EAAE,MAAM;IASpB,QAAQ;IAMR,MAAM,CAAC,IAAI,EAAE,IAAI;IAMjB,O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"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"}
|