@remotion/cli 4.0.70 → 4.0.72
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/benchmark.js +3 -3
- package/dist/compositions.js +2 -2
- package/dist/config/audio-codec.d.ts +1 -1
- package/dist/config/image-format.d.ts +1 -1
- package/dist/config/index.d.ts +3 -3
- package/dist/config/still-frame.js +2 -2
- package/dist/editor/components/InlineAction.d.ts +1 -1
- package/dist/editor/components/InlineAction.js +1 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts +2 -2
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemTextarea.d.ts +1 -1
- package/dist/editor/components/RenderModal/DataEditor.js +2 -1
- package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.js +2 -2
- package/dist/editor/components/RenderQueue/actions.js +5 -5
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/editor/helpers/presets-labels.d.ts +1 -1
- package/dist/editor/helpers/render-modal-sections.d.ts +1 -0
- package/dist/get-cli-options.d.ts +2 -2
- package/dist/index.d.ts +13 -13
- package/dist/preview-server/render-queue/make-retry-payload.js +4 -4
- package/dist/preview-server/routes.d.ts +1 -0
- package/dist/render-flows/render.js +3 -3
- package/dist/render-flows/still.js +2 -2
- package/dist/render.js +2 -2
- package/dist/still.js +2 -2
- package/dist/validate.d.ts +2 -2
- package/dist/validate.js +2 -2
- package/package.json +8 -8
package/dist/benchmark.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.benchmarkCommand = void 0;
|
|
4
4
|
const renderer_1 = require("@remotion/renderer");
|
|
5
|
-
const
|
|
5
|
+
const no_react_1 = require("remotion/no-react");
|
|
6
6
|
const chalk_1 = require("./chalk");
|
|
7
7
|
const cleanup_before_quit_1 = require("./cleanup-before-quit");
|
|
8
8
|
const config_1 = require("./config");
|
|
@@ -128,7 +128,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
128
128
|
});
|
|
129
129
|
(0, cleanup_before_quit_1.registerCleanupJob)(() => cleanupBundle());
|
|
130
130
|
const puppeteerInstance = await browserInstance;
|
|
131
|
-
const serializedInputPropsWithCustomSchema =
|
|
131
|
+
const serializedInputPropsWithCustomSchema = no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
132
132
|
data: inputProps !== null && inputProps !== void 0 ? inputProps : {},
|
|
133
133
|
indent: undefined,
|
|
134
134
|
staticBase: null,
|
|
@@ -234,7 +234,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
234
234
|
onStart: () => undefined,
|
|
235
235
|
preferLossless: false,
|
|
236
236
|
server: undefined,
|
|
237
|
-
serializedResolvedPropsWithCustomSchema:
|
|
237
|
+
serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
238
238
|
data: composition.props,
|
|
239
239
|
indent: undefined,
|
|
240
240
|
staticBase: null,
|
package/dist/compositions.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.listCompositionsCommand = void 0;
|
|
4
4
|
const renderer_1 = require("@remotion/renderer");
|
|
5
|
-
const
|
|
5
|
+
const no_react_1 = require("remotion/no-react");
|
|
6
6
|
const cleanup_before_quit_1 = require("./cleanup-before-quit");
|
|
7
7
|
const preview_server_1 = require("./config/preview-server");
|
|
8
8
|
const entry_point_1 = require("./entry-point");
|
|
@@ -45,7 +45,7 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
45
45
|
browserExecutable,
|
|
46
46
|
chromiumOptions,
|
|
47
47
|
envVariables,
|
|
48
|
-
serializedInputPropsWithCustomSchema:
|
|
48
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
49
49
|
data: inputProps,
|
|
50
50
|
staticBase: null,
|
|
51
51
|
indent: undefined,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { AudioCodec } from '@remotion/renderer';
|
|
2
2
|
export declare const setAudioCodec: (audioCodec: AudioCodec | null) => void;
|
|
3
|
-
export declare const getAudioCodec: () => "
|
|
3
|
+
export declare const getAudioCodec: () => "pcm-16" | "aac" | "mp3" | "opus" | null;
|
|
@@ -2,4 +2,4 @@ import type { StillImageFormat, VideoImageFormat } from '@remotion/renderer';
|
|
|
2
2
|
export declare const setStillImageFormat: (format: StillImageFormat) => void;
|
|
3
3
|
export declare const setVideoImageFormat: (format: VideoImageFormat) => void;
|
|
4
4
|
export declare const getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
|
|
5
|
-
export declare const getUserPreferredVideoImageFormat: () => "
|
|
5
|
+
export declare const getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
package/dist/config/index.d.ts
CHANGED
|
@@ -307,7 +307,7 @@ export declare const ConfigInternals: {
|
|
|
307
307
|
getBrowser: () => null;
|
|
308
308
|
getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
309
309
|
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
310
|
-
getPresetProfile: () => "
|
|
310
|
+
getPresetProfile: () => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
311
311
|
getShouldOverwrite: ({ defaultValue, }: {
|
|
312
312
|
defaultValue: boolean;
|
|
313
313
|
}) => boolean;
|
|
@@ -324,12 +324,12 @@ export declare const ConfigInternals: {
|
|
|
324
324
|
getConcurrency: () => string | number | null;
|
|
325
325
|
getCurrentPuppeteerTimeout: () => number;
|
|
326
326
|
getJpegQuality: () => number;
|
|
327
|
-
getAudioCodec: () => "
|
|
327
|
+
getAudioCodec: () => "pcm-16" | "aac" | "mp3" | "opus" | null;
|
|
328
328
|
getStillFrame: () => number;
|
|
329
329
|
getShouldOutputImageSequence: (frameRange: FrameRange | null) => boolean;
|
|
330
330
|
getDotEnvLocation: () => string | null;
|
|
331
331
|
getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
|
|
332
|
-
getUserPreferredVideoImageFormat: () => "
|
|
332
|
+
getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
333
333
|
getWebpackOverrideFn: () => WebpackOverrideFn;
|
|
334
334
|
getWebpackCaching: () => boolean;
|
|
335
335
|
getOutputLocation: () => string | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getStillFrame = exports.setStillFrame = void 0;
|
|
4
|
-
const
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
5
5
|
let stillFrame = 0;
|
|
6
6
|
const setStillFrame = (frame) => {
|
|
7
|
-
|
|
7
|
+
no_react_1.NoReactInternals.validateFrame({
|
|
8
8
|
frame,
|
|
9
9
|
durationInFrames: Infinity,
|
|
10
10
|
allowFloats: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type RenderInlineAction = (color: string) => React.ReactNode;
|
|
3
3
|
export declare const InlineAction: React.FC<{
|
|
4
|
-
onClick: React.MouseEventHandler<
|
|
4
|
+
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
renderAction: RenderInlineAction;
|
|
7
7
|
title?: string;
|
|
@@ -29,6 +29,6 @@ const InlineAction = ({ renderAction, onClick, disabled, title }) => {
|
|
|
29
29
|
pointerEvents: disabled ? 'none' : 'auto',
|
|
30
30
|
};
|
|
31
31
|
}, [disabled, hovered]);
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)("
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: "button", onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, onClick: onClick, style: style, tabIndex: tabIndex, title: title, children: renderAction(hovered ? 'white' : colors_1.LIGHT_TEXT) }));
|
|
33
33
|
};
|
|
34
34
|
exports.InlineAction = InlineAction;
|
|
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
|
|
|
12
12
|
status: 'error' | 'warning' | 'ok';
|
|
13
13
|
isFocused: boolean;
|
|
14
14
|
isHovered: boolean;
|
|
15
|
-
}) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)"
|
|
16
|
-
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement
|
|
15
|
+
}) => "#ff3232" | "hsla(0, 0%, 100%, 0.15)" | "#f1c40f" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)";
|
|
16
|
+
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | "rightAlign" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
export {};
|
|
@@ -4,5 +4,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
4
4
|
status: RemInputStatus;
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement
|
|
7
|
+
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLTextAreaEleme
|
|
|
3
3
|
status: 'error' | 'warning' | 'ok';
|
|
4
4
|
};
|
|
5
5
|
export declare const inputBaseStyle: React.CSSProperties;
|
|
6
|
-
export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "
|
|
6
|
+
export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLTextAreaElement>> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
7
7
|
export {};
|
|
@@ -27,6 +27,7 @@ exports.DataEditor = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const react_1 = __importStar(require("react"));
|
|
29
29
|
const remotion_1 = require("remotion");
|
|
30
|
+
const no_react_1 = require("remotion/no-react");
|
|
30
31
|
const event_source_1 = require("../../../event-source");
|
|
31
32
|
const client_id_1 = require("../../helpers/client-id");
|
|
32
33
|
const colors_1 = require("../../helpers/colors");
|
|
@@ -96,7 +97,7 @@ const DataEditor = ({ unresolvedComposition, inputProps, setInputProps, mayShowS
|
|
|
96
97
|
return null;
|
|
97
98
|
}
|
|
98
99
|
const value = inputProps;
|
|
99
|
-
return
|
|
100
|
+
return no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
100
101
|
data: value,
|
|
101
102
|
indent: 2,
|
|
102
103
|
staticBase: window.remotion_staticBase,
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.RenderModalJSONPropsEditor = void 0;
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const react_1 = __importStar(require("react"));
|
|
29
|
-
const
|
|
29
|
+
const no_react_1 = require("remotion/no-react");
|
|
30
30
|
const Button_1 = require("../../../preview-server/error-overlay/remotion-overlay/Button");
|
|
31
31
|
const colors_1 = require("../../helpers/colors");
|
|
32
32
|
const document_title_1 = require("../../helpers/document-title");
|
|
@@ -48,7 +48,7 @@ const scrollable = {
|
|
|
48
48
|
};
|
|
49
49
|
const parseJSON = (str, schema) => {
|
|
50
50
|
try {
|
|
51
|
-
const value =
|
|
51
|
+
const value = no_react_1.NoReactInternals.deserializeJSONWithCustomFields(str);
|
|
52
52
|
const zodValidation = schema.safeParse(value);
|
|
53
53
|
return { str, value, validJSON: true, zodValidation };
|
|
54
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.canUpdateDefaultProps = exports.updateDefaultProps = exports.updateAvailable = exports.cancelRenderJob = exports.removeRenderJob = exports.copyToClipboard = exports.openInFileExplorer = exports.subscribeToFileExistenceWatcher = exports.unsubscribeFromFileExistenceWatcher = exports.addVideoRenderJob = exports.addSequenceRenderJob = exports.addStillRenderJob = void 0;
|
|
4
|
-
const
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
5
5
|
const callApi = (endpoint, body, signal) => {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
7
7
|
fetch(endpoint, {
|
|
@@ -39,7 +39,7 @@ const addStillRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, f
|
|
|
39
39
|
chromiumOptions,
|
|
40
40
|
delayRenderTimeout,
|
|
41
41
|
envVariables,
|
|
42
|
-
serializedInputPropsWithCustomSchema:
|
|
42
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
43
43
|
data: inputProps,
|
|
44
44
|
staticBase: window.remotion_staticBase,
|
|
45
45
|
indent: undefined,
|
|
@@ -64,7 +64,7 @@ const addSequenceRenderJob = ({ compositionId, outName, imageFormat, startFrame,
|
|
|
64
64
|
delayRenderTimeout,
|
|
65
65
|
envVariables,
|
|
66
66
|
concurrency,
|
|
67
|
-
serializedInputPropsWithCustomSchema:
|
|
67
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
68
68
|
data: inputProps,
|
|
69
69
|
staticBase: window.remotion_staticBase,
|
|
70
70
|
indent: undefined,
|
|
@@ -103,7 +103,7 @@ const addVideoRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, s
|
|
|
103
103
|
disallowParallelEncoding,
|
|
104
104
|
chromiumOptions,
|
|
105
105
|
envVariables,
|
|
106
|
-
serializedInputPropsWithCustomSchema:
|
|
106
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
107
107
|
data: inputProps,
|
|
108
108
|
staticBase: window.remotion_staticBase,
|
|
109
109
|
indent: undefined,
|
|
@@ -159,7 +159,7 @@ exports.updateAvailable = updateAvailable;
|
|
|
159
159
|
const updateDefaultProps = (compositionId, defaultProps, enumPaths) => {
|
|
160
160
|
return callApi('/api/update-default-props', {
|
|
161
161
|
compositionId,
|
|
162
|
-
defaultProps:
|
|
162
|
+
defaultProps: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
163
163
|
data: defaultProps,
|
|
164
164
|
indent: undefined,
|
|
165
165
|
staticBase: window.remotion_staticBase,
|
|
@@ -21,4 +21,4 @@ export declare const SELECTED_GUIDE = "#d22d3a";
|
|
|
21
21
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
22
22
|
selected: boolean;
|
|
23
23
|
hovered: boolean;
|
|
24
|
-
}) => "transparent" | "hsla(0, 0%, 100%, 0.
|
|
24
|
+
}) => "transparent" | "hsla(0, 0%, 100%, 0.25)" | "hsla(0, 0%, 100%, 0.15)" | "rgba(255, 255, 255, 0.06)";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { X264Preset } from '@remotion/renderer';
|
|
2
|
-
export declare const labelx264Preset: (profile: X264Preset) => "
|
|
2
|
+
export declare const labelx264Preset: (profile: X264Preset) => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
@@ -17,7 +17,7 @@ export declare const getCliOptions: (options: {
|
|
|
17
17
|
crf: import("@remotion/renderer").Crf | null;
|
|
18
18
|
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
19
19
|
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
20
|
-
x264Preset: "
|
|
20
|
+
x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
21
21
|
everyNthFrame: number;
|
|
22
22
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
23
23
|
stillFrame: number;
|
|
@@ -34,7 +34,7 @@ export declare const getCliOptions: (options: {
|
|
|
34
34
|
videoBitrate: string | null;
|
|
35
35
|
height: number | null;
|
|
36
36
|
width: number | null;
|
|
37
|
-
configFileImageFormat: "
|
|
37
|
+
configFileImageFormat: "png" | "jpeg" | "none" | undefined;
|
|
38
38
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
39
39
|
deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
|
|
40
40
|
colorSpace: "default" | "bt709";
|
package/dist/index.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export declare const CliInternals: {
|
|
|
87
87
|
crf: import("@remotion/renderer").Crf | null;
|
|
88
88
|
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
89
89
|
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
90
|
-
x264Preset: "
|
|
90
|
+
x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
91
91
|
everyNthFrame: number;
|
|
92
92
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
93
93
|
stillFrame: number;
|
|
@@ -104,7 +104,7 @@ export declare const CliInternals: {
|
|
|
104
104
|
videoBitrate: string | null;
|
|
105
105
|
height: number | null;
|
|
106
106
|
width: number | null;
|
|
107
|
-
configFileImageFormat: "
|
|
107
|
+
configFileImageFormat: "png" | "jpeg" | "none" | undefined;
|
|
108
108
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
109
109
|
deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
|
|
110
110
|
colorSpace: "default" | "bt709";
|
|
@@ -116,9 +116,9 @@ export declare const CliInternals: {
|
|
|
116
116
|
parsedCli: {
|
|
117
117
|
"browser-executable": import("@remotion/renderer").BrowserExecutable;
|
|
118
118
|
"pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
119
|
-
"image-format": "
|
|
119
|
+
"image-format": "png" | "jpeg" | "pdf" | "webp" | "none";
|
|
120
120
|
"prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
|
|
121
|
-
"x264-preset": "
|
|
121
|
+
"x264-preset": "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
122
122
|
"bundle-cache": string;
|
|
123
123
|
"env-file": string;
|
|
124
124
|
"ignore-certificate-errors": string;
|
|
@@ -127,14 +127,14 @@ export declare const CliInternals: {
|
|
|
127
127
|
"number-of-gif-loops": number;
|
|
128
128
|
"number-of-shared-audio-tags": number;
|
|
129
129
|
version: string;
|
|
130
|
-
codec: "
|
|
130
|
+
codec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
131
131
|
concurrency: number;
|
|
132
132
|
timeout: number;
|
|
133
133
|
config: string;
|
|
134
134
|
"public-dir": string;
|
|
135
135
|
"audio-bitrate": string;
|
|
136
136
|
"video-bitrate": string;
|
|
137
|
-
"audio-codec": "
|
|
137
|
+
"audio-codec": "pcm-16" | "aac" | "mp3" | "opus";
|
|
138
138
|
crf: number;
|
|
139
139
|
force: boolean;
|
|
140
140
|
output: string;
|
|
@@ -187,7 +187,7 @@ export declare const CliInternals: {
|
|
|
187
187
|
downloadName: string | null;
|
|
188
188
|
outName: string | null;
|
|
189
189
|
configImageFormat: "png" | "jpeg" | "pdf" | "webp" | null;
|
|
190
|
-
cliFlag: "
|
|
190
|
+
cliFlag: "png" | "jpeg" | "pdf" | "webp" | "none" | null;
|
|
191
191
|
isLambda: boolean;
|
|
192
192
|
fromUi: "png" | "jpeg" | "pdf" | "webp" | null;
|
|
193
193
|
}) => {
|
|
@@ -202,18 +202,18 @@ export declare const CliInternals: {
|
|
|
202
202
|
};
|
|
203
203
|
getVideoImageFormat: ({ codec, uiImageFormat, }: {
|
|
204
204
|
codec: import("@remotion/renderer").CodecOrUndefined;
|
|
205
|
-
uiImageFormat: "
|
|
206
|
-
}) => "
|
|
205
|
+
uiImageFormat: "png" | "jpeg" | "none" | null;
|
|
206
|
+
}) => "png" | "jpeg" | "none";
|
|
207
207
|
printCompositions: (compositions: import("remotion").VideoConfig[]) => void;
|
|
208
208
|
getFinalOutputCodec: ({ cliFlag, configFile, downloadName, outName, uiCodec, compositionCodec, }: {
|
|
209
209
|
cliFlag: import("@remotion/renderer").CodecOrUndefined;
|
|
210
210
|
outName: string | null;
|
|
211
211
|
downloadName: string | null;
|
|
212
|
-
configFile: "
|
|
213
|
-
uiCodec: "
|
|
214
|
-
compositionCodec: "
|
|
212
|
+
configFile: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
213
|
+
uiCodec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
214
|
+
compositionCodec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
215
215
|
}) => {
|
|
216
|
-
codec: "
|
|
216
|
+
codec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
217
217
|
reason: string;
|
|
218
218
|
};
|
|
219
219
|
listOfRemotionPackages: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.makeRetryPayload = void 0;
|
|
4
|
-
const
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
5
5
|
const makeRetryPayload = (job) => {
|
|
6
6
|
var _a, _b, _c, _d, _e;
|
|
7
7
|
const defaults = window.remotion_renderDefaults;
|
|
@@ -37,7 +37,7 @@ const makeRetryPayload = (job) => {
|
|
|
37
37
|
initialOpenGlRenderer: job.chromiumOptions.gl,
|
|
38
38
|
initialHeadless: job.chromiumOptions.headless,
|
|
39
39
|
initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
|
|
40
|
-
defaultProps:
|
|
40
|
+
defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
|
|
41
41
|
inFrameMark: null,
|
|
42
42
|
outFrameMark: null,
|
|
43
43
|
initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
|
|
@@ -73,7 +73,7 @@ const makeRetryPayload = (job) => {
|
|
|
73
73
|
initialOpenGlRenderer: job.chromiumOptions.gl,
|
|
74
74
|
initialHeadless: job.chromiumOptions.headless,
|
|
75
75
|
initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
|
|
76
|
-
defaultProps:
|
|
76
|
+
defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
|
|
77
77
|
initialStillImageFormat: defaults.stillImageFormat,
|
|
78
78
|
inFrameMark: job.startFrame,
|
|
79
79
|
outFrameMark: job.endFrame,
|
|
@@ -112,7 +112,7 @@ const makeRetryPayload = (job) => {
|
|
|
112
112
|
initialOpenGlRenderer: job.chromiumOptions.gl,
|
|
113
113
|
initialHeadless: job.chromiumOptions.headless,
|
|
114
114
|
initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
|
|
115
|
-
defaultProps:
|
|
115
|
+
defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
|
|
116
116
|
inFrameMark: job.startFrame,
|
|
117
117
|
outFrameMark: job.endFrame,
|
|
118
118
|
initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
|
|
@@ -31,7 +31,7 @@ const renderer_1 = require("@remotion/renderer");
|
|
|
31
31
|
const node_fs_1 = __importStar(require("node:fs"));
|
|
32
32
|
const node_os_1 = __importDefault(require("node:os"));
|
|
33
33
|
const node_path_1 = __importDefault(require("node:path"));
|
|
34
|
-
const
|
|
34
|
+
const no_react_1 = require("remotion/no-react");
|
|
35
35
|
const chalk_1 = require("../chalk");
|
|
36
36
|
const config_1 = require("../config");
|
|
37
37
|
const get_cli_options_1 = require("../get-cli-options");
|
|
@@ -246,7 +246,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
246
246
|
onBrowserLog: null,
|
|
247
247
|
onFrameBuffer: null,
|
|
248
248
|
logLevel,
|
|
249
|
-
serializedResolvedPropsWithCustomSchema:
|
|
249
|
+
serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
250
250
|
indent: undefined,
|
|
251
251
|
staticBase: null,
|
|
252
252
|
data: config.props,
|
|
@@ -321,7 +321,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
321
321
|
disallowParallelEncoding,
|
|
322
322
|
onBrowserLog: null,
|
|
323
323
|
onStart: () => undefined,
|
|
324
|
-
serializedResolvedPropsWithCustomSchema:
|
|
324
|
+
serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
325
325
|
data: config.props,
|
|
326
326
|
indent: undefined,
|
|
327
327
|
staticBase: null,
|
|
@@ -8,7 +8,7 @@ exports.renderStillFlow = void 0;
|
|
|
8
8
|
const renderer_1 = require("@remotion/renderer");
|
|
9
9
|
const node_fs_1 = require("node:fs");
|
|
10
10
|
const node_path_1 = __importDefault(require("node:path"));
|
|
11
|
-
const
|
|
11
|
+
const no_react_1 = require("remotion/no-react");
|
|
12
12
|
const chalk_1 = require("../chalk");
|
|
13
13
|
const cleanup_before_quit_1 = require("../cleanup-before-quit");
|
|
14
14
|
const config_1 = require("../config");
|
|
@@ -182,7 +182,7 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
182
182
|
indent,
|
|
183
183
|
onBrowserLog: null,
|
|
184
184
|
logLevel,
|
|
185
|
-
serializedResolvedPropsWithCustomSchema:
|
|
185
|
+
serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
186
186
|
indent: undefined,
|
|
187
187
|
staticBase: null,
|
|
188
188
|
data: config.props,
|
package/dist/render.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.render = void 0;
|
|
4
|
-
const
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
5
5
|
const cleanup_before_quit_1 = require("./cleanup-before-quit");
|
|
6
6
|
const config_1 = require("./config");
|
|
7
7
|
const preview_server_1 = require("./config/preview-server");
|
|
@@ -44,7 +44,7 @@ const render = async (remotionRoot, args, logLevel) => {
|
|
|
44
44
|
shouldOutputImageSequence,
|
|
45
45
|
publicDir,
|
|
46
46
|
envVariables,
|
|
47
|
-
serializedInputPropsWithCustomSchema:
|
|
47
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
48
48
|
indent: undefined,
|
|
49
49
|
staticBase: null,
|
|
50
50
|
data: inputProps,
|
package/dist/still.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.still = void 0;
|
|
4
|
-
const
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
5
5
|
const cleanup_before_quit_1 = require("./cleanup-before-quit");
|
|
6
6
|
const preview_server_1 = require("./config/preview-server");
|
|
7
7
|
const convert_entry_point_to_serve_url_1 = require("./convert-entry-point-to-serve-url");
|
|
@@ -39,7 +39,7 @@ const still = async (remotionRoot, args, logLevel) => {
|
|
|
39
39
|
chromiumOptions,
|
|
40
40
|
envVariables,
|
|
41
41
|
height,
|
|
42
|
-
serializedInputPropsWithCustomSchema:
|
|
42
|
+
serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
43
43
|
data: inputProps,
|
|
44
44
|
indent: undefined,
|
|
45
45
|
staticBase: null,
|
package/dist/validate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const validateDimension: typeof
|
|
1
|
+
import { NoReactInternals } from 'remotion/no-react';
|
|
2
|
+
export declare const validateDimension: typeof NoReactInternals.validateDimension;
|
package/dist/validate.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validateDimension = void 0;
|
|
4
4
|
/* eslint-disable prefer-destructuring */
|
|
5
|
-
const
|
|
6
|
-
exports.validateDimension =
|
|
5
|
+
const no_react_1 = require("remotion/no-react");
|
|
6
|
+
exports.validateDimension = no_react_1.NoReactInternals.validateDimension;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.72",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"prompts": "2.4.1",
|
|
36
36
|
"semver": "7.5.3",
|
|
37
37
|
"source-map": "0.6.1",
|
|
38
|
-
"@remotion/bundler": "4.0.
|
|
39
|
-
"@remotion/media-utils": "4.0.
|
|
40
|
-
"
|
|
41
|
-
"@remotion/
|
|
42
|
-
"remotion": "4.0.
|
|
38
|
+
"@remotion/bundler": "4.0.72",
|
|
39
|
+
"@remotion/media-utils": "4.0.72",
|
|
40
|
+
"remotion": "4.0.72",
|
|
41
|
+
"@remotion/player": "4.0.72",
|
|
42
|
+
"@remotion/renderer": "4.0.72"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"react-dom": "18.2.0",
|
|
66
66
|
"vitest": "0.31.1",
|
|
67
67
|
"zod": "^3.22.3",
|
|
68
|
-
"@remotion/
|
|
69
|
-
"@remotion/
|
|
68
|
+
"@remotion/tailwind": "4.0.72",
|
|
69
|
+
"@remotion/zod-types": "4.0.72"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"remotion",
|