@remotion/cli 4.0.72 → 4.0.74
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/audio-codec.d.ts +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/editor/components/NewComposition/RemInput.d.ts +1 -1
- package/dist/editor/components/RenderModal/human-readable-codec.d.ts +1 -1
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/editor/helpers/presets-labels.d.ts +1 -1
- package/dist/get-cli-options.d.ts +1 -1
- package/dist/gpu.js +2 -1
- package/dist/index.d.ts +8 -8
- package/dist/preview-server/dev-middleware/range-parser.d.ts +1 -1
- package/dist/render-flows/render.js +0 -3
- package/dist/render-flows/still.js +0 -3
- package/package.json +8 -8
|
@@ -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: () => "mp3" | "aac" | "pcm-16" | "opus" | null;
|
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: () => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
310
|
+
getPresetProfile: () => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
311
311
|
getShouldOverwrite: ({ defaultValue, }: {
|
|
312
312
|
defaultValue: boolean;
|
|
313
313
|
}) => boolean;
|
|
@@ -324,7 +324,7 @@ export declare const ConfigInternals: {
|
|
|
324
324
|
getConcurrency: () => string | number | null;
|
|
325
325
|
getCurrentPuppeteerTimeout: () => number;
|
|
326
326
|
getJpegQuality: () => number;
|
|
327
|
-
getAudioCodec: () => "
|
|
327
|
+
getAudioCodec: () => "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
328
328
|
getStillFrame: () => number;
|
|
329
329
|
getShouldOutputImageSequence: (frameRange: FrameRange | null) => boolean;
|
|
330
330
|
getDotEnvLocation: () => string | null;
|
|
@@ -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
|
-
}) => "
|
|
15
|
+
}) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#ff3232" | "#f1c40f";
|
|
16
16
|
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | "rightAlign" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Codec } from '@remotion/renderer';
|
|
2
|
-
export declare const humanReadableCodec: (codec: Codec) => "
|
|
2
|
+
export declare const humanReadableCodec: (codec: Codec) => "GIF" | "AAC" | "MP3" | "H.264" | "H.264 Matroska" | "H.265" | "ProRes" | "WebM VP8" | "WebM VP9" | "Waveform" | undefined;
|
|
@@ -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.15)" | "hsla(0, 0%, 100%, 0.25)" | "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) => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
2
|
+
export declare const labelx264Preset: (profile: X264Preset) => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "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: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
20
|
+
x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
21
21
|
everyNthFrame: number;
|
|
22
22
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
23
23
|
stillFrame: number;
|
package/dist/gpu.js
CHANGED
|
@@ -7,7 +7,7 @@ const get_cli_options_1 = require("./get-cli-options");
|
|
|
7
7
|
const log_1 = require("./log");
|
|
8
8
|
exports.GPU_COMMAND = 'gpu';
|
|
9
9
|
const gpuCommand = async (remotionRoot, logLevel) => {
|
|
10
|
-
const { browserExecutable, chromiumOptions } = await (0, get_cli_options_1.getCliOptions)({
|
|
10
|
+
const { browserExecutable, chromiumOptions, puppeteerTimeout } = await (0, get_cli_options_1.getCliOptions)({
|
|
11
11
|
isLambda: false,
|
|
12
12
|
remotionRoot,
|
|
13
13
|
type: 'get-compositions',
|
|
@@ -18,6 +18,7 @@ const gpuCommand = async (remotionRoot, logLevel) => {
|
|
|
18
18
|
indent: false,
|
|
19
19
|
logLevel,
|
|
20
20
|
chromiumOptions,
|
|
21
|
+
timeoutInMilliseconds: puppeteerTimeout,
|
|
21
22
|
});
|
|
22
23
|
for (const { feature, status } of statuses) {
|
|
23
24
|
log_1.Log.info(`${feature}: ${colorStatus(status)}`);
|
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: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
90
|
+
x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
|
|
91
91
|
everyNthFrame: number;
|
|
92
92
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
93
93
|
stillFrame: number;
|
|
@@ -118,7 +118,7 @@ export declare const CliInternals: {
|
|
|
118
118
|
"pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
119
119
|
"image-format": "png" | "jpeg" | "pdf" | "webp" | "none";
|
|
120
120
|
"prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
|
|
121
|
-
"x264-preset": "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
121
|
+
"x264-preset": "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "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: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "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": "mp3" | "aac" | "pcm-16" | "opus";
|
|
138
138
|
crf: number;
|
|
139
139
|
force: boolean;
|
|
140
140
|
output: string;
|
|
@@ -209,11 +209,11 @@ export declare const CliInternals: {
|
|
|
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: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
213
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
214
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
215
215
|
}) => {
|
|
216
|
-
codec: "
|
|
216
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
217
217
|
reason: string;
|
|
218
218
|
};
|
|
219
219
|
listOfRemotionPackages: string[];
|
|
@@ -11,5 +11,5 @@ type Range = {
|
|
|
11
11
|
type Ranges = Range[] & {
|
|
12
12
|
type?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function parseRange(size: number, str: string | string[]): -1 |
|
|
14
|
+
export declare function parseRange(size: number, str: string | string[]): -1 | Ranges | -2;
|
|
15
15
|
export {};
|
|
@@ -50,9 +50,6 @@ const user_passed_output_location_1 = require("../user-passed-output-location");
|
|
|
50
50
|
const renderVideoFlow = async ({ 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, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, colorSpace, }) => {
|
|
51
51
|
var _a;
|
|
52
52
|
const downloads = [];
|
|
53
|
-
if (browserExecutable) {
|
|
54
|
-
log_1.Log.verbose({ indent, logLevel }, 'Browser executable: ', browserExecutable);
|
|
55
|
-
}
|
|
56
53
|
const browserInstance = renderer_1.RenderInternals.internalOpenBrowser({
|
|
57
54
|
browser,
|
|
58
55
|
browserExecutable,
|
|
@@ -50,9 +50,6 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
50
50
|
}
|
|
51
51
|
onProgress({ message, value: progress, ...aggregate });
|
|
52
52
|
};
|
|
53
|
-
if (browserExecutable) {
|
|
54
|
-
log_1.Log.verbose({ indent, logLevel }, 'Browser executable: ', browserExecutable);
|
|
55
|
-
}
|
|
56
53
|
const browserInstance = renderer_1.RenderInternals.internalOpenBrowser({
|
|
57
54
|
browser,
|
|
58
55
|
browserExecutable,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.74",
|
|
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
|
-
"remotion": "4.0.
|
|
41
|
-
"@remotion/
|
|
42
|
-
"
|
|
38
|
+
"@remotion/bundler": "4.0.74",
|
|
39
|
+
"@remotion/media-utils": "4.0.74",
|
|
40
|
+
"@remotion/player": "4.0.74",
|
|
41
|
+
"@remotion/renderer": "4.0.74",
|
|
42
|
+
"remotion": "4.0.74"
|
|
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/zod-types": "4.0.74",
|
|
69
|
+
"@remotion/tailwind": "4.0.74"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"remotion",
|