@remotion/renderer 3.3.52 → 3.3.53
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/client.d.ts +43 -43
- package/dist/index.d.ts +3 -3
- package/package.json +10 -10
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const BrowserSafeApis: {
|
|
2
|
-
getFileExtensionFromCodec: <T extends "
|
|
2
|
+
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension;
|
|
3
3
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
4
|
-
getDefaultCrfForCodec: (codec: "
|
|
5
|
-
getValidCrfRanges: (codec: "
|
|
6
|
-
isAudioCodec: (codec: "
|
|
4
|
+
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => number;
|
|
5
|
+
getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => [number, number];
|
|
6
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | undefined) => boolean;
|
|
7
7
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
8
8
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
9
9
|
supportedAudioCodecs: {
|
|
@@ -19,7 +19,7 @@ export declare const BrowserSafeApis: {
|
|
|
19
19
|
readonly wav: readonly ["pcm-16"];
|
|
20
20
|
};
|
|
21
21
|
defaultFileExtensionMap: {
|
|
22
|
-
|
|
22
|
+
h264: {
|
|
23
23
|
default: import("./file-extensions").FileExtension;
|
|
24
24
|
forAudioCodec: {
|
|
25
25
|
aac: {
|
|
@@ -32,49 +32,49 @@ export declare const BrowserSafeApis: {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
h265: {
|
|
36
36
|
default: import("./file-extensions").FileExtension;
|
|
37
37
|
forAudioCodec: {
|
|
38
|
-
|
|
38
|
+
aac: {
|
|
39
39
|
possible: import("./file-extensions").FileExtension[];
|
|
40
40
|
default: import("./file-extensions").FileExtension;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
"pcm-16": {
|
|
43
43
|
possible: import("./file-extensions").FileExtension[];
|
|
44
44
|
default: import("./file-extensions").FileExtension;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
|
|
49
|
-
default: import("./file-extensions").FileExtension;
|
|
50
|
-
forAudioCodec: {};
|
|
51
|
-
};
|
|
52
|
-
wav: {
|
|
48
|
+
vp8: {
|
|
53
49
|
default: import("./file-extensions").FileExtension;
|
|
54
50
|
forAudioCodec: {
|
|
55
51
|
"pcm-16": {
|
|
56
52
|
possible: import("./file-extensions").FileExtension[];
|
|
57
53
|
default: import("./file-extensions").FileExtension;
|
|
58
54
|
};
|
|
55
|
+
opus: {
|
|
56
|
+
possible: import("./file-extensions").FileExtension[];
|
|
57
|
+
default: import("./file-extensions").FileExtension;
|
|
58
|
+
};
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
vp9: {
|
|
62
62
|
default: import("./file-extensions").FileExtension;
|
|
63
63
|
forAudioCodec: {
|
|
64
|
-
|
|
64
|
+
"pcm-16": {
|
|
65
65
|
possible: import("./file-extensions").FileExtension[];
|
|
66
66
|
default: import("./file-extensions").FileExtension;
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
opus: {
|
|
69
69
|
possible: import("./file-extensions").FileExtension[];
|
|
70
70
|
default: import("./file-extensions").FileExtension;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
mp3: {
|
|
75
75
|
default: import("./file-extensions").FileExtension;
|
|
76
76
|
forAudioCodec: {
|
|
77
|
-
|
|
77
|
+
mp3: {
|
|
78
78
|
possible: import("./file-extensions").FileExtension[];
|
|
79
79
|
default: import("./file-extensions").FileExtension;
|
|
80
80
|
};
|
|
@@ -84,30 +84,26 @@ export declare const BrowserSafeApis: {
|
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
aac: {
|
|
88
88
|
default: import("./file-extensions").FileExtension;
|
|
89
89
|
forAudioCodec: {
|
|
90
|
-
|
|
90
|
+
aac: {
|
|
91
91
|
possible: import("./file-extensions").FileExtension[];
|
|
92
92
|
default: import("./file-extensions").FileExtension;
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
"pcm-16": {
|
|
95
95
|
possible: import("./file-extensions").FileExtension[];
|
|
96
96
|
default: import("./file-extensions").FileExtension;
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
|
|
100
|
+
wav: {
|
|
101
101
|
default: import("./file-extensions").FileExtension;
|
|
102
102
|
forAudioCodec: {
|
|
103
103
|
"pcm-16": {
|
|
104
104
|
possible: import("./file-extensions").FileExtension[];
|
|
105
105
|
default: import("./file-extensions").FileExtension;
|
|
106
106
|
};
|
|
107
|
-
opus: {
|
|
108
|
-
possible: import("./file-extensions").FileExtension[];
|
|
109
|
-
default: import("./file-extensions").FileExtension;
|
|
110
|
-
};
|
|
111
107
|
};
|
|
112
108
|
};
|
|
113
109
|
prores: {
|
|
@@ -132,24 +128,12 @@ export declare const BrowserSafeApis: {
|
|
|
132
128
|
};
|
|
133
129
|
};
|
|
134
130
|
};
|
|
135
|
-
};
|
|
136
|
-
defaultAudioCodecs: {
|
|
137
|
-
aac: {
|
|
138
|
-
compressed: "aac" | "pcm-16" | null;
|
|
139
|
-
lossless: "aac" | "pcm-16" | null;
|
|
140
|
-
};
|
|
141
|
-
mp3: {
|
|
142
|
-
compressed: "pcm-16" | "mp3" | null;
|
|
143
|
-
lossless: "pcm-16" | "mp3" | null;
|
|
144
|
-
};
|
|
145
131
|
gif: {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
wav: {
|
|
150
|
-
compressed: "pcm-16" | null;
|
|
151
|
-
lossless: "pcm-16" | null;
|
|
132
|
+
default: import("./file-extensions").FileExtension;
|
|
133
|
+
forAudioCodec: {};
|
|
152
134
|
};
|
|
135
|
+
};
|
|
136
|
+
defaultAudioCodecs: {
|
|
153
137
|
h264: {
|
|
154
138
|
compressed: "aac" | "pcm-16" | null;
|
|
155
139
|
lossless: "aac" | "pcm-16" | null;
|
|
@@ -166,6 +150,18 @@ export declare const BrowserSafeApis: {
|
|
|
166
150
|
compressed: "pcm-16" | "opus" | null;
|
|
167
151
|
lossless: "pcm-16" | "opus" | null;
|
|
168
152
|
};
|
|
153
|
+
mp3: {
|
|
154
|
+
compressed: "mp3" | "pcm-16" | null;
|
|
155
|
+
lossless: "mp3" | "pcm-16" | null;
|
|
156
|
+
};
|
|
157
|
+
aac: {
|
|
158
|
+
compressed: "aac" | "pcm-16" | null;
|
|
159
|
+
lossless: "aac" | "pcm-16" | null;
|
|
160
|
+
};
|
|
161
|
+
wav: {
|
|
162
|
+
compressed: "pcm-16" | null;
|
|
163
|
+
lossless: "pcm-16" | null;
|
|
164
|
+
};
|
|
169
165
|
prores: {
|
|
170
166
|
compressed: "aac" | "pcm-16" | null;
|
|
171
167
|
lossless: "aac" | "pcm-16" | null;
|
|
@@ -174,6 +170,10 @@ export declare const BrowserSafeApis: {
|
|
|
174
170
|
compressed: "pcm-16" | null;
|
|
175
171
|
lossless: "pcm-16" | null;
|
|
176
172
|
};
|
|
173
|
+
gif: {
|
|
174
|
+
compressed: null;
|
|
175
|
+
lossless: null;
|
|
176
|
+
};
|
|
177
177
|
};
|
|
178
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "
|
|
178
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
|
|
179
179
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -119,8 +119,8 @@ export declare const RenderInternals: {
|
|
|
119
119
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
120
120
|
DEFAULT_BROWSER: import("./browser").Browser;
|
|
121
121
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
122
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
123
|
-
validateOpenGlRenderer: (option: "
|
|
122
|
+
DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
123
|
+
validateOpenGlRenderer: (option: "swangle" | "angle" | "egl" | "swiftshader" | null) => "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
124
124
|
validImageFormats: readonly ["png", "jpeg", "none"];
|
|
125
125
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
126
126
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
@@ -129,7 +129,7 @@ export declare const RenderInternals: {
|
|
|
129
129
|
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
130
130
|
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | undefined) => boolean;
|
|
131
131
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
132
|
-
isEqualOrBelowLogLevel: (currentLevel: "
|
|
132
|
+
isEqualOrBelowLogLevel: (currentLevel: "verbose" | "error" | "info" | "warn", level: "verbose" | "error" | "info" | "warn") => boolean;
|
|
133
133
|
isValidLogLevel: (level: string) => boolean;
|
|
134
134
|
perf: typeof perf;
|
|
135
135
|
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.53",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"execa": "5.1.1",
|
|
26
26
|
"extract-zip": "2.0.1",
|
|
27
|
-
"remotion": "3.3.
|
|
27
|
+
"remotion": "3.3.53",
|
|
28
28
|
"source-map": "^0.8.0-beta.0",
|
|
29
29
|
"ws": "8.7.0"
|
|
30
30
|
},
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"vitest": "0.24.3"
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@remotion/compositor-darwin-arm64": "3.3.
|
|
53
|
-
"@remotion/compositor-darwin-x64": "3.3.
|
|
54
|
-
"@remotion/compositor-linux-arm64-gnu": "3.3.
|
|
55
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
56
|
-
"@remotion/compositor-linux-x64-gnu": "3.3.
|
|
57
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
58
|
-
"@remotion/compositor-win32-x64-msvc": "3.3.
|
|
52
|
+
"@remotion/compositor-darwin-arm64": "3.3.53",
|
|
53
|
+
"@remotion/compositor-darwin-x64": "3.3.53",
|
|
54
|
+
"@remotion/compositor-linux-arm64-gnu": "3.3.53",
|
|
55
|
+
"@remotion/compositor-linux-arm64-musl": "3.3.53",
|
|
56
|
+
"@remotion/compositor-linux-x64-gnu": "3.3.53",
|
|
57
|
+
"@remotion/compositor-linux-x64-musl": "3.3.53",
|
|
58
|
+
"@remotion/compositor-win32-x64-msvc": "3.3.53"
|
|
59
59
|
},
|
|
60
60
|
"keywords": [
|
|
61
61
|
"remotion",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b6d64c3ec91b55ac537765fda0b927c3a472b529"
|
|
71
71
|
}
|