@remotion/cli 3.0.12 → 3.0.14
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/compositions.js +2 -2
- package/dist/editor/components/KeyboardShortcutsModal.js +1 -1
- package/dist/editor/components/PlayPause.js +38 -9
- package/dist/editor/icons/jump-to-start.d.ts +2 -0
- package/dist/editor/icons/jump-to-start.js +8 -0
- package/dist/get-cli-options.js +3 -1
- package/dist/print-error.js +1 -0
- package/package.json +7 -7
package/dist/compositions.js
CHANGED
|
@@ -27,13 +27,13 @@ const max = (arr) => {
|
|
|
27
27
|
const listCompositionsCommand = async () => {
|
|
28
28
|
const file = parse_command_line_1.parsedCli._[1];
|
|
29
29
|
if (!file) {
|
|
30
|
-
log_1.Log.error('The compositions command requires you to specify a root file. For example');
|
|
30
|
+
log_1.Log.error('The `compositions` command requires you to specify a root file. For example');
|
|
31
31
|
log_1.Log.error(' npx remotion compositions src/index.tsx');
|
|
32
32
|
log_1.Log.error('See https://www.remotion.dev/docs/register-root for more information.');
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|
|
35
35
|
const fullPath = path_1.default.join(process.cwd(), file);
|
|
36
|
-
(0, get_config_file_name_1.loadConfig)();
|
|
36
|
+
await (0, get_config_file_name_1.loadConfig)();
|
|
37
37
|
const { browserExecutable, ffmpegExecutable, chromiumOptions, envVariables, inputProps, puppeteerTimeout, port, } = await (0, get_cli_options_1.getCliOptions)({ isLambda: false, type: 'get-compositions' });
|
|
38
38
|
const bundled = await (0, setup_cache_1.bundleOnCli)(fullPath, ['bundling']);
|
|
39
39
|
const compositions = await (0, renderer_1.getCompositions)(bundled, {
|
|
@@ -48,6 +48,6 @@ const KeyboardShortcuts = () => {
|
|
|
48
48
|
const onQuit = (0, react_1.useCallback)(() => {
|
|
49
49
|
setSelectedModal(null);
|
|
50
50
|
}, [setSelectedModal]);
|
|
51
|
-
return ((0, jsx_runtime_1.jsxs)(ModalContainer_1.ModalContainer, { onEscape: onQuit, onOutsideClick: onQuit, children: [(0, jsx_runtime_1.jsx)(ModalHeader_1.NewCompHeader, { title: "Keyboard shortcuts" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { style: container, children: [(0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second back" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Previous frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "Space" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Next frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second forward" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "J" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Reverse playback" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "K" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "L" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Speed up" })] })] }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 8 }), (0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Navigation" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "N" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "New composition" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "T" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Toggle checkerboard transparency" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "?" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Show keyboard shortcuts" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback range" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "I" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set In Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "O" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set Out Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "X" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Clear In/Out Points" })] })] })] })] }));
|
|
51
|
+
return ((0, jsx_runtime_1.jsxs)(ModalContainer_1.ModalContainer, { onEscape: onQuit, onOutsideClick: onQuit, children: [(0, jsx_runtime_1.jsx)(ModalHeader_1.NewCompHeader, { title: "Keyboard shortcuts" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { style: container, children: [(0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second back" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Previous frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "Space" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Next frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second forward" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "A" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Jump to beginning" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "E" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Jump to end" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "J" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Reverse playback" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "K" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "L" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Speed up" })] })] }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 8 }), (0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Navigation" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "N" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "New composition" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "T" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Toggle checkerboard transparency" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "?" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Show keyboard shortcuts" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback range" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "I" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set In Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "O" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set Out Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: shortLeft, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "X" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Clear In/Out Points" })] })] })] })] }));
|
|
52
52
|
};
|
|
53
53
|
exports.KeyboardShortcuts = KeyboardShortcuts;
|
|
@@ -7,6 +7,7 @@ const react_1 = require("react");
|
|
|
7
7
|
const remotion_1 = require("remotion");
|
|
8
8
|
const is_current_selected_still_1 = require("../helpers/is-current-selected-still");
|
|
9
9
|
const use_keybinding_1 = require("../helpers/use-keybinding");
|
|
10
|
+
const jump_to_start_1 = require("../icons/jump-to-start");
|
|
10
11
|
const pause_1 = require("../icons/pause");
|
|
11
12
|
const play_1 = require("../icons/play");
|
|
12
13
|
const step_back_1 = require("../icons/step-back");
|
|
@@ -14,7 +15,6 @@ const step_forward_1 = require("../icons/step-forward");
|
|
|
14
15
|
const ControlButton_1 = require("./ControlButton");
|
|
15
16
|
const forwardBackStyle = {
|
|
16
17
|
height: 16,
|
|
17
|
-
width: 16,
|
|
18
18
|
color: 'white',
|
|
19
19
|
};
|
|
20
20
|
const PlayPause = ({ playbackRate, loop }) => {
|
|
@@ -25,7 +25,7 @@ const PlayPause = ({ playbackRate, loop }) => {
|
|
|
25
25
|
loop,
|
|
26
26
|
playbackRate,
|
|
27
27
|
});
|
|
28
|
-
const { playing, play, pause, frameBack, frameForward, isLastFrame } = player_1.PlayerInternals.usePlayer();
|
|
28
|
+
const { playing, play, pause, frameBack, seek, frameForward, isLastFrame } = player_1.PlayerInternals.usePlayer();
|
|
29
29
|
const isStill = (0, is_current_selected_still_1.useIsStill)();
|
|
30
30
|
(0, react_1.useEffect)(() => {
|
|
31
31
|
if (isStill) {
|
|
@@ -46,37 +46,66 @@ const PlayPause = ({ playbackRate, loop }) => {
|
|
|
46
46
|
if (!videoFps) {
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
|
-
frameBack(e.shiftKey ? videoFps : 1);
|
|
50
49
|
e.preventDefault();
|
|
51
|
-
|
|
50
|
+
if (e.altKey) {
|
|
51
|
+
seek(0);
|
|
52
|
+
}
|
|
53
|
+
else if (e.shiftKey) {
|
|
54
|
+
frameBack(videoFps);
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
frameBack(1);
|
|
58
|
+
}
|
|
59
|
+
}, [frameBack, seek, videoFps]);
|
|
52
60
|
const onArrowRight = (0, react_1.useCallback)((e) => {
|
|
53
|
-
if (!
|
|
61
|
+
if (!video) {
|
|
54
62
|
return null;
|
|
55
63
|
}
|
|
56
|
-
|
|
64
|
+
if (e.altKey) {
|
|
65
|
+
seek(video.durationInFrames - 1);
|
|
66
|
+
}
|
|
67
|
+
else if (e.shiftKey) {
|
|
68
|
+
frameForward(video.fps);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
frameForward(1);
|
|
72
|
+
}
|
|
57
73
|
e.preventDefault();
|
|
58
|
-
}, [frameForward,
|
|
74
|
+
}, [frameForward, seek, video]);
|
|
59
75
|
const oneFrameBack = (0, react_1.useCallback)(() => {
|
|
60
76
|
frameBack(1);
|
|
61
77
|
}, [frameBack]);
|
|
62
78
|
const oneFrameForward = (0, react_1.useCallback)(() => {
|
|
63
79
|
frameForward(1);
|
|
64
80
|
}, [frameForward]);
|
|
81
|
+
const jumpToStart = (0, react_1.useCallback)(() => {
|
|
82
|
+
seek(0);
|
|
83
|
+
}, [seek]);
|
|
84
|
+
const jumpToEnd = (0, react_1.useCallback)(() => {
|
|
85
|
+
if (!video) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
seek(video.durationInFrames - 1);
|
|
89
|
+
}, [seek, video]);
|
|
65
90
|
const keybindings = (0, use_keybinding_1.useKeybinding)();
|
|
66
91
|
(0, react_1.useEffect)(() => {
|
|
67
92
|
const arrowLeft = keybindings.registerKeybinding('keydown', 'ArrowLeft', onArrowLeft);
|
|
68
93
|
const arrowRight = keybindings.registerKeybinding('keydown', 'ArrowRight', onArrowRight);
|
|
69
94
|
const space = keybindings.registerKeybinding('keydown', ' ', onSpace);
|
|
95
|
+
const a = keybindings.registerKeybinding('keydown', 'a', jumpToStart);
|
|
96
|
+
const e = keybindings.registerKeybinding('keydown', 'e', jumpToEnd);
|
|
70
97
|
return () => {
|
|
71
98
|
arrowLeft.unregister();
|
|
72
99
|
arrowRight.unregister();
|
|
73
100
|
space.unregister();
|
|
101
|
+
a.unregister();
|
|
102
|
+
e.unregister();
|
|
74
103
|
};
|
|
75
|
-
}, [keybindings, onArrowLeft, onArrowRight, onSpace]);
|
|
104
|
+
}, [jumpToEnd, jumpToStart, keybindings, onArrowLeft, onArrowRight, onSpace]);
|
|
76
105
|
if (isStill) {
|
|
77
106
|
return null;
|
|
78
107
|
}
|
|
79
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { "aria-label": "Step back one frame", title: "Step back one frame", disabled: frame === 0, onClick: oneFrameBack, children: (0, jsx_runtime_1.jsx)(step_back_1.StepBack, { style: forwardBackStyle }) }), (0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { "aria-label": playing ? 'Pause' : 'Play', title: playing ? 'Pause' : 'Play', disabled: !video, onClick: playing ? pause : play, children: playing ? ((0, jsx_runtime_1.jsx)(pause_1.Pause, { style: {
|
|
108
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { "aria-label": "Jump to beginning", title: "Jump to beginning", disabled: frame === 0, onClick: jumpToStart, children: (0, jsx_runtime_1.jsx)(jump_to_start_1.JumpToStart, { style: forwardBackStyle }) }), (0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { "aria-label": "Step back one frame", title: "Step back one frame", disabled: frame === 0, onClick: oneFrameBack, children: (0, jsx_runtime_1.jsx)(step_back_1.StepBack, { style: forwardBackStyle }) }), (0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { "aria-label": playing ? 'Pause' : 'Play', title: playing ? 'Pause' : 'Play', disabled: !video, onClick: playing ? pause : play, children: playing ? ((0, jsx_runtime_1.jsx)(pause_1.Pause, { style: {
|
|
80
109
|
height: 14,
|
|
81
110
|
width: 14,
|
|
82
111
|
color: 'white',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JumpToStart = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const JumpToStart = (props) => {
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M0 415.1V96.03c0-17.67 14.33-31.1 31.1-31.1C49.67 64.03 64 78.36 64 96.03v131.8l171.5-156.5C256.1 54.28 288 68.66 288 96.03v131.9l171.5-156.5C480.1 54.28 512 68.66 512 96.03v319.9c0 27.37-31.88 41.74-52.5 24.62L288 285.2v130.7c0 27.37-31.88 41.74-52.5 24.62L64 285.2v130.7c0 17.67-14.33 31.1-31.1 31.1C14.33 447.1 0 433.6 0 415.1z" }) }));
|
|
7
|
+
};
|
|
8
|
+
exports.JumpToStart = JumpToStart;
|
package/dist/get-cli-options.js
CHANGED
|
@@ -117,7 +117,9 @@ const getAndValidateBrowser = async (browserExecutable) => {
|
|
|
117
117
|
const getCliOptions = async (options) => {
|
|
118
118
|
var _a;
|
|
119
119
|
const frameRange = getAndValidateFrameRange();
|
|
120
|
-
const codec =
|
|
120
|
+
const codec = options.type === 'get-compositions'
|
|
121
|
+
? 'h264'
|
|
122
|
+
: await getFinalCodec({ isLambda: options.isLambda });
|
|
121
123
|
const shouldOutputImageSequence = options.type === 'still'
|
|
122
124
|
? true
|
|
123
125
|
: await getAndValidateShouldOutputImageSequence({
|
package/dist/print-error.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@remotion/bundler": "3.0.
|
|
27
|
-
"@remotion/media-utils": "3.0.
|
|
28
|
-
"@remotion/player": "3.0.
|
|
29
|
-
"@remotion/renderer": "3.0.
|
|
26
|
+
"@remotion/bundler": "3.0.14",
|
|
27
|
+
"@remotion/media-utils": "3.0.14",
|
|
28
|
+
"@remotion/player": "3.0.14",
|
|
29
|
+
"@remotion/renderer": "3.0.14",
|
|
30
30
|
"better-opn": "2.1.1",
|
|
31
31
|
"chalk": "4.1.2",
|
|
32
32
|
"dotenv": "9.0.2",
|
|
33
33
|
"execa": "5.1.1",
|
|
34
34
|
"minimist": "1.2.6",
|
|
35
|
-
"remotion": "3.0.
|
|
35
|
+
"remotion": "3.0.14",
|
|
36
36
|
"semver": "7.3.5",
|
|
37
37
|
"webpack": "5.72.0"
|
|
38
38
|
},
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "475caaea420199fcaf3c95c0da908e9208dc0e61"
|
|
76
76
|
}
|