@remotion/cli 4.0.422 → 4.0.424
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/add.d.ts +1 -2
- package/dist/benchmark.d.ts +1 -2
- package/dist/browser/ensure.d.ts +1 -2
- package/dist/browser/index.d.ts +1 -2
- package/dist/browser-download-bar.d.ts +2 -2
- package/dist/bundle.d.ts +1 -2
- package/dist/chalk/index.js +1 -1
- package/dist/check-for-npm-run-flag-pass.d.ts +1 -2
- package/dist/cleanup-before-quit.d.ts +2 -3
- package/dist/cloudrun-command.d.ts +1 -2
- package/dist/code-frame.d.ts +2 -2
- package/dist/compositions.d.ts +1 -2
- package/dist/config/image-format.d.ts +4 -5
- package/dist/config/index.d.ts +3 -5
- package/dist/config/index.js +3 -6
- package/dist/config/pixel-format.d.ts +2 -3
- package/dist/config/prores-profile.d.ts +2 -3
- package/dist/determine-image-format.d.ts +4 -6
- package/dist/determine-image-format.js +10 -17
- package/dist/entry-point.d.ts +1 -2
- package/dist/extra-packages.js +1 -1
- package/dist/ffmpeg.d.ts +6 -7
- package/dist/get-cli-options.d.ts +4 -6
- package/dist/get-cli-options.js +0 -1
- package/dist/get-composition-id.d.ts +3 -3
- package/dist/get-composition-with-dimension-override.d.ts +4 -4
- package/dist/get-env.d.ts +1 -2
- package/dist/get-filename.d.ts +1 -2
- package/dist/get-github-repository.d.ts +2 -3
- package/dist/get-input-props.d.ts +1 -2
- package/dist/get-render-defaults.js +9 -3
- package/dist/gpu.d.ts +1 -2
- package/dist/image-formats.d.ts +3 -5
- package/dist/image-formats.js +6 -11
- package/dist/index.d.ts +28 -30
- package/dist/initialize-cli.d.ts +1 -2
- package/dist/lambda-command.d.ts +1 -2
- package/dist/log.js +1 -1
- package/dist/make-on-download.d.ts +2 -2
- package/dist/parse-command-line.d.ts +26 -3
- package/dist/print-compositions.d.ts +1 -2
- package/dist/print-error.d.ts +1 -2
- package/dist/print-help.d.ts +1 -2
- package/dist/progress-bar.d.ts +4 -4
- package/dist/render-flows/add-log-to-aggregate-progress.d.ts +3 -5
- package/dist/render-flows/render.d.ts +13 -15
- package/dist/render-flows/still.d.ts +5 -5
- package/dist/render-flows/still.js +4 -4
- package/dist/render-queue/process-video.d.ts +1 -2
- package/dist/render-queue/queue.d.ts +1 -2
- package/dist/render.d.ts +1 -2
- package/dist/setup-cache.d.ts +2 -3
- package/dist/should-use-non-overlaying-logger.d.ts +1 -2
- package/dist/show-compositions-picker.d.ts +2 -5
- package/dist/skills.d.ts +2 -3
- package/dist/still.d.ts +1 -2
- package/dist/studio.d.ts +1 -2
- package/dist/upgrade.d.ts +1 -2
- package/dist/user-passed-output-location.js +0 -1
- package/dist/versions.d.ts +2 -3
- package/package.json +18 -17
- package/remotion-cli.js +1 -1
- package/dist/config/number-of-shared-audio-tags.d.ts +0 -2
- package/dist/config/number-of-shared-audio-tags.js +0 -12
- package/dist/detect-remotion-server.d.ts +0 -9
- package/dist/detect-remotion-server.js +0 -45
- package/dist/is-port-open.d.ts +0 -1
- package/dist/is-port-open.js +0 -24
package/dist/index.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export declare const CliInternals: {
|
|
|
77
77
|
};
|
|
78
78
|
getCliOptions: (options: {
|
|
79
79
|
isStill: boolean;
|
|
80
|
-
logLevel:
|
|
80
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
81
81
|
indent: boolean;
|
|
82
82
|
}) => {
|
|
83
83
|
concurrency: string | number | null;
|
|
@@ -85,8 +85,8 @@ export declare const CliInternals: {
|
|
|
85
85
|
shouldOutputImageSequence: boolean;
|
|
86
86
|
inputProps: Record<string, unknown>;
|
|
87
87
|
envVariables: Record<string, string>;
|
|
88
|
-
pixelFormat: "yuv420p" | "
|
|
89
|
-
proResProfile: "4444
|
|
88
|
+
pixelFormat: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
89
|
+
proResProfile: "4444" | "4444-xq" | "hq" | "light" | "proxy" | "standard" | undefined;
|
|
90
90
|
everyNthFrame: number;
|
|
91
91
|
stillFrame: number;
|
|
92
92
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
@@ -96,53 +96,51 @@ export declare const CliInternals: {
|
|
|
96
96
|
ffmpegOverride: import("@remotion/renderer").FfmpegOverrideFn;
|
|
97
97
|
height: number | null;
|
|
98
98
|
width: number | null;
|
|
99
|
-
configFileImageFormat: "png" | "jpeg" | "none" | undefined;
|
|
100
99
|
};
|
|
101
100
|
loadConfig: (remotionRoot: string) => Promise<string | null>;
|
|
102
|
-
formatBytes: (number: number, options?: Intl.NumberFormatOptions & {
|
|
101
|
+
formatBytes: (number: number, options?: (Intl.NumberFormatOptions & {
|
|
103
102
|
locale: string;
|
|
104
|
-
bits?: boolean;
|
|
105
|
-
binary?: boolean;
|
|
103
|
+
bits?: boolean | undefined;
|
|
104
|
+
binary?: boolean | undefined;
|
|
106
105
|
signed: boolean;
|
|
107
|
-
}) => string;
|
|
108
|
-
initializeCli: (remotionRoot: string) => Promise<
|
|
106
|
+
}) | undefined) => string;
|
|
107
|
+
initializeCli: (remotionRoot: string) => Promise<"error" | "info" | "trace" | "verbose" | "warn">;
|
|
109
108
|
BooleanFlags: string[];
|
|
110
109
|
quietFlagProvided: () => boolean;
|
|
111
110
|
parsedCli: import("./parse-command-line").CommandLineOptions & {
|
|
112
111
|
_: string[];
|
|
113
112
|
};
|
|
114
|
-
printError: (err: Error, logLevel:
|
|
113
|
+
printError: (err: Error, logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<void>;
|
|
115
114
|
getFileSizeDownloadBar: (downloaded: number) => string;
|
|
116
|
-
determineFinalStillImageFormat: ({ downloadName, outName,
|
|
115
|
+
determineFinalStillImageFormat: ({ downloadName, outName, configuredImageFormat, isLambda, fromUi, }: {
|
|
117
116
|
downloadName: string | null;
|
|
118
117
|
outName: string | null;
|
|
119
|
-
|
|
120
|
-
cliFlag: import("@remotion/renderer").StillImageFormat | import("@remotion/renderer").VideoImageFormat | null;
|
|
118
|
+
configuredImageFormat: "jpeg" | "pdf" | "png" | "webp" | null;
|
|
121
119
|
isLambda: boolean;
|
|
122
|
-
fromUi:
|
|
120
|
+
fromUi: "jpeg" | "pdf" | "png" | "webp" | null;
|
|
123
121
|
}) => {
|
|
124
|
-
format:
|
|
122
|
+
format: "jpeg" | "pdf" | "png" | "webp";
|
|
125
123
|
source: string;
|
|
126
124
|
};
|
|
127
125
|
minimist: typeof minimist;
|
|
128
126
|
findEntryPoint: ({ args, logLevel, remotionRoot, allowDirectory, }: {
|
|
129
127
|
args: (string | number)[];
|
|
130
128
|
remotionRoot: string;
|
|
131
|
-
logLevel:
|
|
129
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
132
130
|
allowDirectory: boolean;
|
|
133
131
|
}) => {
|
|
134
132
|
file: string | null;
|
|
135
133
|
remainingArgs: (string | number)[];
|
|
136
|
-
reason: "argument passed - found in cwd" | "argument passed - found in root" | "
|
|
134
|
+
reason: "argument passed" | "argument passed - found in cwd" | "argument passed - found in root" | "common paths" | "config file" | "none found";
|
|
137
135
|
};
|
|
138
136
|
getVideoImageFormat: ({ codec, uiImageFormat, }: {
|
|
139
|
-
codec:
|
|
140
|
-
uiImageFormat:
|
|
141
|
-
}) =>
|
|
142
|
-
printCompositions: (compositions: import("remotion").VideoConfig[], logLevel:
|
|
137
|
+
codec: import("@remotion/renderer").CodecOrUndefined;
|
|
138
|
+
uiImageFormat: "jpeg" | "none" | "png" | null;
|
|
139
|
+
}) => "jpeg" | "none" | "png";
|
|
140
|
+
printCompositions: (compositions: import("remotion").VideoConfig[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
143
141
|
listOfRemotionPackages: string[];
|
|
144
142
|
shouldUseNonOverlayingLogger: ({ logLevel, }: {
|
|
145
|
-
logLevel:
|
|
143
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
146
144
|
}) => boolean;
|
|
147
145
|
getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, serializedInputPropsWithCustomSchema, logLevel, server, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, binariesDirectory, onBrowserDownload, chromeMode, mediaCacheSizeInBytes, }: {
|
|
148
146
|
height: number | null;
|
|
@@ -154,17 +152,17 @@ export declare const CliInternals: {
|
|
|
154
152
|
envVariables: Record<string, string>;
|
|
155
153
|
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
156
154
|
port: number | null;
|
|
157
|
-
browserExecutable: import("@remotion/renderer").BrowserExecutable
|
|
155
|
+
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
158
156
|
serveUrlOrWebpackUrl: string;
|
|
159
157
|
indent: boolean;
|
|
160
|
-
logLevel:
|
|
158
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
161
159
|
serializedInputPropsWithCustomSchema: string;
|
|
162
160
|
server: import("@remotion/renderer").RemotionServer;
|
|
163
161
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
164
162
|
offthreadVideoThreads: number | null;
|
|
165
163
|
binariesDirectory: string | null;
|
|
166
164
|
onBrowserDownload: import("@remotion/renderer").OnBrowserDownload;
|
|
167
|
-
chromeMode:
|
|
165
|
+
chromeMode: "chrome-for-testing" | "headless-shell";
|
|
168
166
|
mediaCacheSizeInBytes: number | null;
|
|
169
167
|
}) => Promise<{
|
|
170
168
|
compositionId: string;
|
|
@@ -174,17 +172,17 @@ export declare const CliInternals: {
|
|
|
174
172
|
}>;
|
|
175
173
|
defaultBrowserDownloadProgress: ({ indent, logLevel, quiet, onProgress, }: {
|
|
176
174
|
indent: boolean;
|
|
177
|
-
logLevel:
|
|
175
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
178
176
|
quiet: boolean;
|
|
179
177
|
onProgress: (progress: import("@remotion/studio-shared").BrowserDownloadState) => void;
|
|
180
178
|
}) => import("@remotion/renderer").OnBrowserDownload;
|
|
181
179
|
LABEL_WIDTH: number;
|
|
182
|
-
printFact: (printLevel:
|
|
180
|
+
printFact: (printLevel: "error" | "info" | "trace" | "verbose" | "warn") => ({ indent, logLevel, left, right, color, link, }: {
|
|
183
181
|
indent: boolean;
|
|
184
|
-
logLevel:
|
|
182
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
185
183
|
left: string;
|
|
186
184
|
right: string;
|
|
187
|
-
link?: string;
|
|
185
|
+
link?: string | undefined;
|
|
188
186
|
color: "blue" | "blueBright" | "gray" | undefined;
|
|
189
187
|
}) => void;
|
|
190
188
|
makeHyperlink: ({ text, url, fallback, }: {
|
|
@@ -196,6 +194,6 @@ export declare const CliInternals: {
|
|
|
196
194
|
getGitSource: ({ remotionRoot, disableGitSource, logLevel, }: {
|
|
197
195
|
remotionRoot: string;
|
|
198
196
|
disableGitSource: boolean;
|
|
199
|
-
logLevel:
|
|
197
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
200
198
|
}) => import("@remotion/studio-shared").GitSource | null;
|
|
201
199
|
};
|
package/dist/initialize-cli.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const initializeCli: (remotionRoot: string) => Promise<LogLevel>;
|
|
1
|
+
export declare const initializeCli: (remotionRoot: string) => Promise<"error" | "info" | "trace" | "verbose" | "warn">;
|
package/dist/lambda-command.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const lambdaCommand: (remotionRoot: string, args: string[], logLevel: LogLevel) => Promise<never>;
|
|
1
|
+
export declare const lambdaCommand: (remotionRoot: string, args: string[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<never>;
|
package/dist/log.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RenderMediaOnDownload } from '@remotion/renderer';
|
|
2
2
|
import type { DownloadProgress } from '@remotion/studio-server';
|
|
3
3
|
export declare const makeOnDownload: ({ indent, logLevel, updatesDontOverwrite, downloads, updateRenderProgress, isUsingParallelEncoding, }: {
|
|
4
4
|
indent: boolean;
|
|
5
|
-
logLevel:
|
|
5
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
6
6
|
updatesDontOverwrite: boolean;
|
|
7
7
|
downloads: DownloadProgress[];
|
|
8
8
|
isUsingParallelEncoding: boolean;
|
|
@@ -15,20 +15,22 @@ declare const beepOnFinishOption: {
|
|
|
15
15
|
source: string;
|
|
16
16
|
};
|
|
17
17
|
setConfig(value: boolean): void;
|
|
18
|
+
id: "beep-on-finish";
|
|
18
19
|
}, colorSpaceOption: {
|
|
19
20
|
name: string;
|
|
20
21
|
cliFlag: "color-space";
|
|
21
22
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
docLink: string;
|
|
23
24
|
ssrName: string;
|
|
24
|
-
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
25
|
+
type: "bt2020-ncl" | "bt601" | "bt709" | "default" | null;
|
|
25
26
|
getValue: ({ commandLine }: {
|
|
26
27
|
commandLine: Record<string, unknown>;
|
|
27
28
|
}) => {
|
|
28
29
|
source: string;
|
|
29
|
-
value: "bt2020-ncl" | "bt709" | "default";
|
|
30
|
+
value: "bt2020-ncl" | "bt601" | "bt709" | "default";
|
|
30
31
|
};
|
|
31
|
-
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
32
|
+
setConfig: (value: "bt2020-ncl" | "bt601" | "bt709" | "default" | null) => void;
|
|
33
|
+
id: "color-space";
|
|
32
34
|
}, disallowParallelEncodingOption: {
|
|
33
35
|
name: string;
|
|
34
36
|
cliFlag: "disallow-parallel-encoding";
|
|
@@ -43,6 +45,7 @@ declare const beepOnFinishOption: {
|
|
|
43
45
|
source: string;
|
|
44
46
|
};
|
|
45
47
|
setConfig(value: boolean): void;
|
|
48
|
+
id: "disallow-parallel-encoding";
|
|
46
49
|
}, offthreadVideoCacheSizeInBytesOption: {
|
|
47
50
|
name: string;
|
|
48
51
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
@@ -60,6 +63,7 @@ declare const beepOnFinishOption: {
|
|
|
60
63
|
value: null;
|
|
61
64
|
};
|
|
62
65
|
setConfig: (size: number | null) => void;
|
|
66
|
+
id: "offthreadvideo-cache-size-in-bytes";
|
|
63
67
|
}, encodingBufferSizeOption: {
|
|
64
68
|
name: string;
|
|
65
69
|
cliFlag: "buffer-size";
|
|
@@ -77,6 +81,7 @@ declare const beepOnFinishOption: {
|
|
|
77
81
|
source: string;
|
|
78
82
|
};
|
|
79
83
|
setConfig: (bitrate: string | null) => void;
|
|
84
|
+
id: "buffer-size";
|
|
80
85
|
}, encodingMaxRateOption: {
|
|
81
86
|
name: string;
|
|
82
87
|
cliFlag: "max-rate";
|
|
@@ -94,6 +99,7 @@ declare const beepOnFinishOption: {
|
|
|
94
99
|
source: string;
|
|
95
100
|
};
|
|
96
101
|
setConfig: (newMaxRate: string | null) => void;
|
|
102
|
+
id: "max-rate";
|
|
97
103
|
}, deleteAfterOption: {
|
|
98
104
|
name: string;
|
|
99
105
|
cliFlag: "delete-after";
|
|
@@ -111,6 +117,7 @@ declare const beepOnFinishOption: {
|
|
|
111
117
|
value: null;
|
|
112
118
|
};
|
|
113
119
|
setConfig: (value: import("@remotion/renderer").DeleteAfter | null) => void;
|
|
120
|
+
id: "delete-after";
|
|
114
121
|
}, folderExpiryOption: {
|
|
115
122
|
name: string;
|
|
116
123
|
cliFlag: "enable-folder-expiry";
|
|
@@ -125,6 +132,7 @@ declare const beepOnFinishOption: {
|
|
|
125
132
|
value: boolean | null;
|
|
126
133
|
};
|
|
127
134
|
setConfig: (value: boolean | null) => void;
|
|
135
|
+
id: "enable-folder-expiry";
|
|
128
136
|
}, enableMultiprocessOnLinuxOption: {
|
|
129
137
|
name: string;
|
|
130
138
|
cliFlag: "enable-multiprocess-on-linux";
|
|
@@ -139,6 +147,7 @@ declare const beepOnFinishOption: {
|
|
|
139
147
|
value: boolean;
|
|
140
148
|
};
|
|
141
149
|
setConfig: (value: boolean) => void;
|
|
150
|
+
id: "enable-multiprocess-on-linux";
|
|
142
151
|
}, numberOfGifLoopsOption: {
|
|
143
152
|
name: string;
|
|
144
153
|
cliFlag: "number-of-gif-loops";
|
|
@@ -156,6 +165,7 @@ declare const beepOnFinishOption: {
|
|
|
156
165
|
source: string;
|
|
157
166
|
};
|
|
158
167
|
setConfig: (newLoop: import("@remotion/renderer").NumberOfGifLoops) => void;
|
|
168
|
+
id: "number-of-gif-loops";
|
|
159
169
|
}, x264Option: {
|
|
160
170
|
name: string;
|
|
161
171
|
cliFlag: "x264-preset";
|
|
@@ -173,6 +183,7 @@ declare const beepOnFinishOption: {
|
|
|
173
183
|
source: string;
|
|
174
184
|
};
|
|
175
185
|
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
186
|
+
id: "x264-preset";
|
|
176
187
|
}, enforceAudioOption: {
|
|
177
188
|
name: string;
|
|
178
189
|
cliFlag: "enforce-audio-track";
|
|
@@ -190,6 +201,7 @@ declare const beepOnFinishOption: {
|
|
|
190
201
|
value: false;
|
|
191
202
|
};
|
|
192
203
|
setConfig: (value: boolean) => void;
|
|
204
|
+
id: "enforce-audio-track";
|
|
193
205
|
}, jpegQualityOption: {
|
|
194
206
|
name: string;
|
|
195
207
|
cliFlag: "jpeg-quality";
|
|
@@ -204,6 +216,7 @@ declare const beepOnFinishOption: {
|
|
|
204
216
|
source: string;
|
|
205
217
|
value: number;
|
|
206
218
|
};
|
|
219
|
+
id: "jpeg-quality";
|
|
207
220
|
}, audioBitrateOption: {
|
|
208
221
|
name: string;
|
|
209
222
|
cliFlag: "audio-bitrate";
|
|
@@ -221,6 +234,7 @@ declare const beepOnFinishOption: {
|
|
|
221
234
|
source: string;
|
|
222
235
|
};
|
|
223
236
|
setConfig: (value: string | null) => void;
|
|
237
|
+
id: "audio-bitrate";
|
|
224
238
|
}, videoBitrateOption: {
|
|
225
239
|
name: string;
|
|
226
240
|
cliFlag: "video-bitrate";
|
|
@@ -235,6 +249,7 @@ declare const beepOnFinishOption: {
|
|
|
235
249
|
value: string | null;
|
|
236
250
|
};
|
|
237
251
|
setConfig: (bitrate: string | null) => void;
|
|
252
|
+
id: "video-bitrate";
|
|
238
253
|
}, audioCodecOption: {
|
|
239
254
|
cliFlag: "audio-codec";
|
|
240
255
|
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
@@ -252,6 +267,7 @@ declare const beepOnFinishOption: {
|
|
|
252
267
|
name: string;
|
|
253
268
|
ssrName: "audioCodec";
|
|
254
269
|
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
270
|
+
id: "audio-codec";
|
|
255
271
|
}, publicPathOption: {
|
|
256
272
|
name: string;
|
|
257
273
|
cliFlag: "public-path";
|
|
@@ -269,6 +285,7 @@ declare const beepOnFinishOption: {
|
|
|
269
285
|
};
|
|
270
286
|
setConfig: (value: string | null) => void;
|
|
271
287
|
type: string | null;
|
|
288
|
+
id: "public-path";
|
|
272
289
|
}, audioLatencyHintOption: {
|
|
273
290
|
name: string;
|
|
274
291
|
cliFlag: "audio-latency-hint";
|
|
@@ -286,6 +303,7 @@ declare const beepOnFinishOption: {
|
|
|
286
303
|
source: string;
|
|
287
304
|
};
|
|
288
305
|
setConfig: (profile: AudioContextLatencyCategory | null) => void;
|
|
306
|
+
id: "audio-latency-hint";
|
|
289
307
|
}, darkModeOption: {
|
|
290
308
|
name: string;
|
|
291
309
|
cliFlag: "dark-mode";
|
|
@@ -300,6 +318,7 @@ declare const beepOnFinishOption: {
|
|
|
300
318
|
value: boolean;
|
|
301
319
|
};
|
|
302
320
|
setConfig: (value: boolean) => void;
|
|
321
|
+
id: "dark-mode";
|
|
303
322
|
}, publicLicenseKeyOption: {
|
|
304
323
|
name: string;
|
|
305
324
|
cliFlag: "public-license-key";
|
|
@@ -314,6 +333,7 @@ declare const beepOnFinishOption: {
|
|
|
314
333
|
};
|
|
315
334
|
setConfig: (value: string | null) => void;
|
|
316
335
|
type: string | null;
|
|
336
|
+
id: "public-license-key";
|
|
317
337
|
}, forceNewStudioOption: {
|
|
318
338
|
name: string;
|
|
319
339
|
cliFlag: "force-new";
|
|
@@ -328,6 +348,7 @@ declare const beepOnFinishOption: {
|
|
|
328
348
|
source: string;
|
|
329
349
|
};
|
|
330
350
|
setConfig(value: boolean): void;
|
|
351
|
+
id: "force-new";
|
|
331
352
|
}, numberOfSharedAudioTagsOption: {
|
|
332
353
|
name: string;
|
|
333
354
|
cliFlag: "number-of-shared-audio-tags";
|
|
@@ -342,6 +363,7 @@ declare const beepOnFinishOption: {
|
|
|
342
363
|
source: string;
|
|
343
364
|
};
|
|
344
365
|
setConfig(value: number): void;
|
|
366
|
+
id: "number-of-shared-audio-tags";
|
|
345
367
|
}, ipv4Option: {
|
|
346
368
|
name: string;
|
|
347
369
|
cliFlag: "ipv4";
|
|
@@ -356,6 +378,7 @@ declare const beepOnFinishOption: {
|
|
|
356
378
|
source: string;
|
|
357
379
|
};
|
|
358
380
|
setConfig(value: boolean): void;
|
|
381
|
+
id: "ipv4";
|
|
359
382
|
};
|
|
360
383
|
export type CommandLineOptions = {
|
|
361
384
|
['browser-executable']: BrowserExecutable;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type { LogLevel } from '@remotion/renderer';
|
|
2
1
|
import type { VideoConfig } from 'remotion';
|
|
3
|
-
export declare const printCompositions: (compositions: VideoConfig[], logLevel:
|
|
2
|
+
export declare const printCompositions: (compositions: VideoConfig[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
package/dist/print-error.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const printError: (err: Error, logLevel: LogLevel) => Promise<void>;
|
|
1
|
+
export declare const printError: (err: Error, logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<void>;
|
package/dist/print-help.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const printHelp: (logLevel: LogLevel) => void;
|
|
1
|
+
export declare const printHelp: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
package/dist/progress-bar.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CancelSignal
|
|
1
|
+
import type { CancelSignal } from '@remotion/renderer';
|
|
2
2
|
import type { AggregateRenderProgress, BundlingState, CopyingState } from '@remotion/studio-server';
|
|
3
3
|
export type OverwriteableCliOutput = {
|
|
4
4
|
update: (up: string, newline: boolean) => boolean;
|
|
@@ -27,11 +27,11 @@ export declare const makeRenderingAndStitchingProgress: ({ prog, isUsingParallel
|
|
|
27
27
|
progress: number;
|
|
28
28
|
message: string;
|
|
29
29
|
};
|
|
30
|
-
export declare const printFact: (printLevel:
|
|
30
|
+
export declare const printFact: (printLevel: "error" | "info" | "trace" | "verbose" | "warn") => ({ indent, logLevel, left, right, color, link, }: {
|
|
31
31
|
indent: boolean;
|
|
32
|
-
logLevel:
|
|
32
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
33
33
|
left: string;
|
|
34
34
|
right: string;
|
|
35
|
-
link?: string;
|
|
35
|
+
link?: string | undefined;
|
|
36
36
|
color: "blue" | "blueBright" | "gray" | undefined;
|
|
37
37
|
}) => void;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { AggregateRenderProgress } from '@remotion/studio-shared';
|
|
2
|
-
import type { LogLevel } from 'remotion';
|
|
3
1
|
export declare const addLogToAggregateProgress: ({ logs, logLogLevel, logLevel, previewString, tag, }: {
|
|
4
|
-
logs:
|
|
5
|
-
logLogLevel:
|
|
6
|
-
logLevel:
|
|
2
|
+
logs: import("@remotion/studio-shared").BrowserProgressLog[];
|
|
3
|
+
logLogLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
4
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
7
5
|
previewString: string;
|
|
8
6
|
tag: string | null;
|
|
9
7
|
}) => void;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { HardwareAccelerationOption } from '@remotion/renderer/client';
|
|
1
|
+
import type { BrowserExecutable, CancelSignal, ChromiumOptions, Crf, FfmpegOverrideFn, FrameRange, NumberOfGifLoops } from '@remotion/renderer';
|
|
3
2
|
import type { JobProgressCallback } from '@remotion/studio-server';
|
|
4
|
-
import type { _InternalTypes } from 'remotion';
|
|
5
3
|
export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, askAIEnabled, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, }: {
|
|
6
4
|
remotionRoot: string;
|
|
7
5
|
fullEntryPoint: string;
|
|
8
6
|
entryPointReason: string;
|
|
9
7
|
browserExecutable: BrowserExecutable;
|
|
10
8
|
chromiumOptions: ChromiumOptions;
|
|
11
|
-
logLevel:
|
|
12
|
-
browser:
|
|
9
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
10
|
+
browser: "chrome";
|
|
13
11
|
scale: number;
|
|
14
12
|
indent: boolean;
|
|
15
13
|
shouldOutputImageSequence: boolean;
|
|
@@ -25,7 +23,7 @@ export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, l
|
|
|
25
23
|
outputLocationFromUI: string | null;
|
|
26
24
|
overwrite: boolean;
|
|
27
25
|
quiet: boolean;
|
|
28
|
-
concurrency:
|
|
26
|
+
concurrency: string | number | null;
|
|
29
27
|
frameRange: FrameRange | null;
|
|
30
28
|
everyNthFrame: number;
|
|
31
29
|
jpegQuality: number | undefined;
|
|
@@ -33,8 +31,8 @@ export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, l
|
|
|
33
31
|
addCleanupCallback: (label: string, cb: () => void) => void;
|
|
34
32
|
crf: Crf | null;
|
|
35
33
|
cancelSignal: CancelSignal | null;
|
|
36
|
-
uiCodec:
|
|
37
|
-
uiImageFormat:
|
|
34
|
+
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
35
|
+
uiImageFormat: "jpeg" | "none" | "png" | null;
|
|
38
36
|
ffmpegOverride: FfmpegOverrideFn;
|
|
39
37
|
audioBitrate: string | null;
|
|
40
38
|
videoBitrate: string | null;
|
|
@@ -42,23 +40,23 @@ export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, l
|
|
|
42
40
|
encodingBufferSize: string | null;
|
|
43
41
|
muted: boolean;
|
|
44
42
|
enforceAudioTrack: boolean;
|
|
45
|
-
proResProfile:
|
|
46
|
-
x264Preset:
|
|
47
|
-
pixelFormat:
|
|
43
|
+
proResProfile: "4444" | "4444-xq" | "hq" | "light" | "proxy" | "standard" | undefined;
|
|
44
|
+
x264Preset: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
45
|
+
pixelFormat: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
48
46
|
numberOfGifLoops: NumberOfGifLoops;
|
|
49
|
-
audioCodec:
|
|
47
|
+
audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null;
|
|
50
48
|
disallowParallelEncoding: boolean;
|
|
51
49
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
52
50
|
offthreadVideoThreads: number | null;
|
|
53
|
-
colorSpace:
|
|
51
|
+
colorSpace: "bt2020-ncl" | "bt601" | "bt709" | "default" | null;
|
|
54
52
|
repro: boolean;
|
|
55
53
|
binariesDirectory: string | null;
|
|
56
54
|
forSeamlessAacConcatenation: boolean;
|
|
57
55
|
separateAudioTo: string | null;
|
|
58
56
|
publicPath: string | null;
|
|
59
57
|
metadata: Record<string, string> | null;
|
|
60
|
-
hardwareAcceleration:
|
|
61
|
-
chromeMode:
|
|
58
|
+
hardwareAcceleration: "disable" | "if-possible" | "required";
|
|
59
|
+
chromeMode: "chrome-for-testing" | "headless-shell";
|
|
62
60
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
63
61
|
imageSequencePattern: string | null;
|
|
64
62
|
mediaCacheSizeInBytes: number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BrowserExecutable, CancelSignal, ChromiumOptions } from '@remotion/renderer';
|
|
2
2
|
import type { JobProgressCallback } from '@remotion/studio-server';
|
|
3
3
|
export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, width, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, askAIEnabled, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, }: {
|
|
4
4
|
remotionRoot: string;
|
|
@@ -8,7 +8,7 @@ export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPoin
|
|
|
8
8
|
serializedInputPropsWithCustomSchema: string;
|
|
9
9
|
envVariables: Record<string, string>;
|
|
10
10
|
jpegQuality: number;
|
|
11
|
-
browser:
|
|
11
|
+
browser: "chrome";
|
|
12
12
|
stillFrame: number;
|
|
13
13
|
browserExecutable: BrowserExecutable;
|
|
14
14
|
chromiumOptions: ChromiumOptions;
|
|
@@ -20,8 +20,8 @@ export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPoin
|
|
|
20
20
|
height: number | null;
|
|
21
21
|
width: number | null;
|
|
22
22
|
compositionIdFromUi: string | null;
|
|
23
|
-
imageFormatFromUi:
|
|
24
|
-
logLevel:
|
|
23
|
+
imageFormatFromUi: "jpeg" | "pdf" | "png" | "webp" | null;
|
|
24
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
25
25
|
onProgress: JobProgressCallback;
|
|
26
26
|
indent: boolean;
|
|
27
27
|
addCleanupCallback: (label: string, cb: () => void) => void;
|
|
@@ -31,7 +31,7 @@ export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPoin
|
|
|
31
31
|
offthreadVideoThreads: number | null;
|
|
32
32
|
binariesDirectory: string | null;
|
|
33
33
|
publicPath: string | null;
|
|
34
|
-
chromeMode:
|
|
34
|
+
chromeMode: "chrome-for-testing" | "headless-shell";
|
|
35
35
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
36
36
|
mediaCacheSizeInBytes: number | null;
|
|
37
37
|
askAIEnabled: boolean;
|
|
@@ -6,13 +6,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.renderStillFlow = void 0;
|
|
8
8
|
const renderer_1 = require("@remotion/renderer");
|
|
9
|
+
const client_1 = require("@remotion/renderer/client");
|
|
9
10
|
const node_fs_1 = require("node:fs");
|
|
10
11
|
const node_path_1 = __importDefault(require("node:path"));
|
|
11
12
|
const no_react_1 = require("remotion/no-react");
|
|
12
13
|
const browser_download_bar_1 = require("../browser-download-bar");
|
|
13
14
|
const chalk_1 = require("../chalk");
|
|
14
15
|
const cleanup_before_quit_1 = require("../cleanup-before-quit");
|
|
15
|
-
const config_1 = require("../config");
|
|
16
16
|
const determine_image_format_1 = require("../determine-image-format");
|
|
17
17
|
const get_cli_options_1 = require("../get-cli-options");
|
|
18
18
|
const get_composition_with_dimension_override_1 = require("../get-composition-with-dimension-override");
|
|
@@ -29,7 +29,6 @@ const truthy_1 = require("../truthy");
|
|
|
29
29
|
const user_passed_output_location_1 = require("../user-passed-output-location");
|
|
30
30
|
const add_log_to_aggregate_progress_1 = require("./add-log-to-aggregate-progress");
|
|
31
31
|
const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, width, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, askAIEnabled, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, }) => {
|
|
32
|
-
var _a, _b;
|
|
33
32
|
const isVerbose = renderer_1.RenderInternals.isEqualOrBelowLogLevel(logLevel, 'verbose');
|
|
34
33
|
log_1.Log.verbose({ indent, logLevel }, chalk_1.chalk.gray(`Entry point = ${fullEntryPoint} (${entryPointReason})`));
|
|
35
34
|
const aggregate = (0, progress_types_1.initialAggregateRenderProgress)();
|
|
@@ -153,8 +152,9 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
153
152
|
mediaCacheSizeInBytes,
|
|
154
153
|
});
|
|
155
154
|
const { format: imageFormat, source } = (0, determine_image_format_1.determineFinalStillImageFormat)({
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
configuredImageFormat: client_1.BrowserSafeApis.options.stillImageFormatOption.getValue({
|
|
156
|
+
commandLine: parsed_cli_1.parsedCli,
|
|
157
|
+
}).value,
|
|
158
158
|
downloadName: null,
|
|
159
159
|
outName: (0, user_passed_output_location_1.getUserPassedOutputLocation)(argsAfterComposition, outputLocationFromUi),
|
|
160
160
|
isLambda: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LogLevel } from '@remotion/renderer';
|
|
2
1
|
import type { JobProgressCallback, RenderJob } from '@remotion/studio-server';
|
|
3
2
|
export declare const processVideoJob: ({ job, remotionRoot, entryPoint, onProgress, addCleanupCallback, logLevel, }: {
|
|
4
3
|
job: RenderJob;
|
|
@@ -6,5 +5,5 @@ export declare const processVideoJob: ({ job, remotionRoot, entryPoint, onProgre
|
|
|
6
5
|
entryPoint: string;
|
|
7
6
|
onProgress: JobProgressCallback;
|
|
8
7
|
addCleanupCallback: (label: string, cb: () => void) => void;
|
|
9
|
-
logLevel:
|
|
8
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
10
9
|
}) => Promise<void>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { LogLevel } from '@remotion/renderer';
|
|
2
1
|
import type { RenderJob, RenderJobWithCleanup } from '@remotion/studio-server';
|
|
3
2
|
export declare const getRenderQueue: () => RenderJob[];
|
|
4
3
|
export declare const addJob: ({ job, entryPoint, remotionRoot, logLevel, }: {
|
|
5
4
|
job: RenderJobWithCleanup;
|
|
6
5
|
entryPoint: string;
|
|
7
6
|
remotionRoot: string;
|
|
8
|
-
logLevel:
|
|
7
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
9
8
|
}) => void;
|
|
10
9
|
export declare const removeJob: (jobId: string) => void;
|
|
11
10
|
export declare const cancelJob: (jobId: string) => void;
|
package/dist/render.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const render: (remotionRoot: string, args: (string | number)[], logLevel: LogLevel) => Promise<void>;
|
|
1
|
+
export declare const render: (remotionRoot: string, args: (string | number)[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<void>;
|
package/dist/setup-cache.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LogLevel } from '@remotion/renderer';
|
|
2
1
|
import type { BundlingState, CopyingState } from '@remotion/studio-server';
|
|
3
2
|
import type { GitSource } from '@remotion/studio-shared';
|
|
4
3
|
export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, }: {
|
|
@@ -10,7 +9,7 @@ export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publi
|
|
|
10
9
|
copying: CopyingState;
|
|
11
10
|
}) => void;
|
|
12
11
|
indentOutput: boolean;
|
|
13
|
-
logLevel:
|
|
12
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
14
13
|
onDirectoryCreated: (path: string) => void;
|
|
15
14
|
quietProgress: boolean;
|
|
16
15
|
quietFlag: boolean;
|
|
@@ -36,7 +35,7 @@ export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgre
|
|
|
36
35
|
copying: CopyingState;
|
|
37
36
|
}) => void;
|
|
38
37
|
indent: boolean;
|
|
39
|
-
logLevel:
|
|
38
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
40
39
|
onDirectoryCreated: (path: string) => void;
|
|
41
40
|
quietProgress: boolean;
|
|
42
41
|
quietFlag: boolean;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
type Await<T> = T extends PromiseLike<infer U> ? U : T;
|
|
3
|
-
export declare const showSingleCompositionsPicker: (validCompositions: Await<ReturnType<typeof getCompositions>>, logLevel: LogLevel) => Promise<{
|
|
1
|
+
export declare const showSingleCompositionsPicker: (validCompositions: import("remotion").VideoConfig[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<{
|
|
4
2
|
compositionId: string;
|
|
5
3
|
reason: string;
|
|
6
4
|
}>;
|
|
7
|
-
export declare const showMultiCompositionsPicker: (validCompositions:
|
|
8
|
-
export {};
|
|
5
|
+
export declare const showMultiCompositionsPicker: (validCompositions: import("remotion").VideoConfig[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<string[]>;
|
package/dist/skills.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const skillsCommand: (args: string[], logLevel: LogLevel) => Promise<void> | undefined;
|
|
1
|
+
export declare const printSkillsHelp: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2
|
+
export declare const skillsCommand: (args: string[], logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<void> | undefined;
|