@remotion/renderer 4.1.0-alpha2 → 4.1.0-alpha3
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/index.d.ts +11 -12
- package/dist/logger.d.ts +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import execa from 'execa';
|
|
3
2
|
import { HeadlessBrowser } from './browser/Browser';
|
|
4
3
|
import { SymbolicateableError } from './error-handling/symbolicateable-error';
|
|
@@ -114,8 +113,8 @@ export declare const RenderInternals: {
|
|
|
114
113
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
115
114
|
DEFAULT_BROWSER: import("./browser").Browser;
|
|
116
115
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
117
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
118
|
-
validateOpenGlRenderer: (option: "
|
|
116
|
+
DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
117
|
+
validateOpenGlRenderer: (option: "swangle" | "angle" | "egl" | "swiftshader" | null) => "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
119
118
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
120
119
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
121
120
|
validateJpegQuality: (q: number | undefined) => void;
|
|
@@ -123,7 +122,7 @@ export declare const RenderInternals: {
|
|
|
123
122
|
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
124
123
|
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | undefined) => boolean;
|
|
125
124
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
126
|
-
isEqualOrBelowLogLevel: (currentLevel: "
|
|
125
|
+
isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
|
|
127
126
|
isValidLogLevel: (level: string) => boolean;
|
|
128
127
|
perf: typeof perf;
|
|
129
128
|
convertToPositiveFrameIndex: ({ frame, durationInFrames, }: {
|
|
@@ -300,8 +299,8 @@ export declare const RenderInternals: {
|
|
|
300
299
|
};
|
|
301
300
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
302
301
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
303
|
-
DEFAULT_STILL_IMAGE_FORMAT: "
|
|
304
|
-
DEFAULT_VIDEO_IMAGE_FORMAT: "
|
|
302
|
+
DEFAULT_STILL_IMAGE_FORMAT: "png" | "jpeg" | "pdf" | "webp";
|
|
303
|
+
DEFAULT_VIDEO_IMAGE_FORMAT: "png" | "jpeg" | "none";
|
|
305
304
|
DEFAULT_JPEG_QUALITY: number;
|
|
306
305
|
chalk: {
|
|
307
306
|
enabled: boolean;
|
|
@@ -356,7 +355,7 @@ export declare const RenderInternals: {
|
|
|
356
355
|
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
357
356
|
verboseAdvanced: (options: {
|
|
358
357
|
indent: boolean;
|
|
359
|
-
logLevel: "
|
|
358
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
360
359
|
} & {
|
|
361
360
|
tag?: string | undefined;
|
|
362
361
|
secondTag?: string | undefined;
|
|
@@ -364,17 +363,17 @@ export declare const RenderInternals: {
|
|
|
364
363
|
info: (message?: any, ...optionalParams: any[]) => void;
|
|
365
364
|
infoAdvanced: (options: {
|
|
366
365
|
indent: boolean;
|
|
367
|
-
logLevel: "
|
|
366
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
368
367
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
369
368
|
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
370
369
|
warnAdvanced: (options: {
|
|
371
370
|
indent: boolean;
|
|
372
|
-
logLevel: "
|
|
371
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
373
372
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
374
373
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
375
374
|
};
|
|
376
|
-
getLogLevel: () => "
|
|
377
|
-
setLogLevel: (newLogLevel: "
|
|
375
|
+
getLogLevel: () => "verbose" | "info" | "warn" | "error";
|
|
376
|
+
setLogLevel: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
|
|
378
377
|
INDENT_TOKEN: string;
|
|
379
378
|
isColorSupported: boolean;
|
|
380
379
|
HeadlessBrowser: typeof HeadlessBrowser;
|
|
@@ -405,7 +404,7 @@ export declare const RenderInternals: {
|
|
|
405
404
|
output: string | null;
|
|
406
405
|
frame: number;
|
|
407
406
|
inputProps: Record<string, unknown>;
|
|
408
|
-
imageFormat: "
|
|
407
|
+
imageFormat: "png" | "jpeg" | "pdf" | "webp";
|
|
409
408
|
jpegQuality: number;
|
|
410
409
|
puppeteerInstance: HeadlessBrowser | null;
|
|
411
410
|
dumpBrowserLogs: boolean;
|
package/dist/logger.d.ts
CHANGED
|
@@ -19,6 +19,6 @@ export declare const Log: {
|
|
|
19
19
|
warnAdvanced: (options: LogOptions, message?: any, ...optionalParams: any[]) => void;
|
|
20
20
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
21
21
|
};
|
|
22
|
-
export declare const getLogLevel: () => "
|
|
22
|
+
export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
|
|
23
23
|
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
|
24
24
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.1.0-
|
|
3
|
+
"version": "4.1.0-alpha3",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"extract-zip": "2.0.1",
|
|
19
19
|
"source-map": "^0.8.0-beta.0",
|
|
20
20
|
"ws": "8.7.0",
|
|
21
|
-
"remotion": "4.1.0-
|
|
21
|
+
"remotion": "4.1.0-alpha3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"zod": "^3.21.4"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@remotion/compositor-darwin-
|
|
46
|
-
"@remotion/compositor-
|
|
47
|
-
"@remotion/compositor-linux-arm64-
|
|
48
|
-
"@remotion/compositor-
|
|
49
|
-
"@remotion/compositor-
|
|
50
|
-
"@remotion/compositor-
|
|
51
|
-
"@remotion/compositor-linux-x64-
|
|
45
|
+
"@remotion/compositor-darwin-arm64": "4.1.0-alpha3",
|
|
46
|
+
"@remotion/compositor-linux-x64-musl": "4.1.0-alpha3",
|
|
47
|
+
"@remotion/compositor-linux-arm64-gnu": "4.1.0-alpha3",
|
|
48
|
+
"@remotion/compositor-win32-x64-msvc": "4.1.0-alpha3",
|
|
49
|
+
"@remotion/compositor-darwin-x64": "4.1.0-alpha3",
|
|
50
|
+
"@remotion/compositor-linux-arm64-musl": "4.1.0-alpha3",
|
|
51
|
+
"@remotion/compositor-linux-x64-gnu": "4.1.0-alpha3"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
54
54
|
"remotion",
|