@remotion/renderer 4.0.52 → 4.0.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 +38 -37
- package/dist/get-extension-from-codec.d.ts +2 -2
- package/dist/index.d.ts +26 -26
- package/dist/options/color-space.d.ts +1 -1
- package/dist/options/gl.d.ts +1 -0
- package/dist/options/index.d.ts +2 -1
- package/dist/provide-screenshot.d.ts +1 -0
- package/dist/puppeteer-screenshot.d.ts +1 -0
- package/dist/screenshot-dom-element.d.ts +1 -0
- package/dist/screenshot-task.d.ts +1 -0
- package/dist/take-frame-and-compose.d.ts +1 -0
- package/dist/validate-output-filename.d.ts +1 -1
- package/package.json +10 -10
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const BrowserSafeApis: {
|
|
2
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
3
|
+
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
4
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
4
5
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
5
|
-
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
6
|
-
getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
7
|
-
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
6
|
+
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => number;
|
|
7
|
+
getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => [number, number];
|
|
8
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
|
|
8
9
|
proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
|
|
9
10
|
x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
|
|
10
11
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
@@ -25,11 +26,11 @@ export declare const BrowserSafeApis: {
|
|
|
25
26
|
h264: {
|
|
26
27
|
default: import("./file-extensions").FileExtension;
|
|
27
28
|
forAudioCodec: {
|
|
28
|
-
|
|
29
|
+
mp3: {
|
|
29
30
|
possible: import("./file-extensions").FileExtension[];
|
|
30
31
|
default: import("./file-extensions").FileExtension;
|
|
31
32
|
};
|
|
32
|
-
|
|
33
|
+
aac: {
|
|
33
34
|
possible: import("./file-extensions").FileExtension[];
|
|
34
35
|
default: import("./file-extensions").FileExtension;
|
|
35
36
|
};
|
|
@@ -55,11 +56,11 @@ export declare const BrowserSafeApis: {
|
|
|
55
56
|
vp8: {
|
|
56
57
|
default: import("./file-extensions").FileExtension;
|
|
57
58
|
forAudioCodec: {
|
|
58
|
-
|
|
59
|
+
"pcm-16": {
|
|
59
60
|
possible: import("./file-extensions").FileExtension[];
|
|
60
61
|
default: import("./file-extensions").FileExtension;
|
|
61
62
|
};
|
|
62
|
-
|
|
63
|
+
opus: {
|
|
63
64
|
possible: import("./file-extensions").FileExtension[];
|
|
64
65
|
default: import("./file-extensions").FileExtension;
|
|
65
66
|
};
|
|
@@ -68,20 +69,20 @@ export declare const BrowserSafeApis: {
|
|
|
68
69
|
vp9: {
|
|
69
70
|
default: import("./file-extensions").FileExtension;
|
|
70
71
|
forAudioCodec: {
|
|
71
|
-
|
|
72
|
+
"pcm-16": {
|
|
72
73
|
possible: import("./file-extensions").FileExtension[];
|
|
73
74
|
default: import("./file-extensions").FileExtension;
|
|
74
75
|
};
|
|
75
|
-
|
|
76
|
+
opus: {
|
|
76
77
|
possible: import("./file-extensions").FileExtension[];
|
|
77
78
|
default: import("./file-extensions").FileExtension;
|
|
78
79
|
};
|
|
79
80
|
};
|
|
80
81
|
};
|
|
81
|
-
|
|
82
|
+
mp3: {
|
|
82
83
|
default: import("./file-extensions").FileExtension;
|
|
83
84
|
forAudioCodec: {
|
|
84
|
-
|
|
85
|
+
mp3: {
|
|
85
86
|
possible: import("./file-extensions").FileExtension[];
|
|
86
87
|
default: import("./file-extensions").FileExtension;
|
|
87
88
|
};
|
|
@@ -104,22 +105,22 @@ export declare const BrowserSafeApis: {
|
|
|
104
105
|
};
|
|
105
106
|
};
|
|
106
107
|
};
|
|
107
|
-
|
|
108
|
+
wav: {
|
|
108
109
|
default: import("./file-extensions").FileExtension;
|
|
109
110
|
forAudioCodec: {
|
|
110
|
-
mp3: {
|
|
111
|
-
possible: import("./file-extensions").FileExtension[];
|
|
112
|
-
default: import("./file-extensions").FileExtension;
|
|
113
|
-
};
|
|
114
111
|
"pcm-16": {
|
|
115
112
|
possible: import("./file-extensions").FileExtension[];
|
|
116
113
|
default: import("./file-extensions").FileExtension;
|
|
117
114
|
};
|
|
118
115
|
};
|
|
119
116
|
};
|
|
120
|
-
|
|
117
|
+
prores: {
|
|
121
118
|
default: import("./file-extensions").FileExtension;
|
|
122
119
|
forAudioCodec: {
|
|
120
|
+
aac: {
|
|
121
|
+
possible: import("./file-extensions").FileExtension[];
|
|
122
|
+
default: import("./file-extensions").FileExtension;
|
|
123
|
+
};
|
|
123
124
|
"pcm-16": {
|
|
124
125
|
possible: import("./file-extensions").FileExtension[];
|
|
125
126
|
default: import("./file-extensions").FileExtension;
|
|
@@ -146,37 +147,37 @@ export declare const BrowserSafeApis: {
|
|
|
146
147
|
};
|
|
147
148
|
defaultAudioCodecs: {
|
|
148
149
|
h264: {
|
|
149
|
-
compressed: "
|
|
150
|
-
lossless: "
|
|
150
|
+
compressed: "mp3" | "aac" | "pcm-16" | null;
|
|
151
|
+
lossless: "mp3" | "aac" | "pcm-16" | null;
|
|
151
152
|
};
|
|
152
153
|
h265: {
|
|
153
154
|
compressed: "aac" | "pcm-16" | null;
|
|
154
155
|
lossless: "aac" | "pcm-16" | null;
|
|
155
156
|
};
|
|
156
157
|
vp8: {
|
|
157
|
-
compressed: "
|
|
158
|
-
lossless: "
|
|
158
|
+
compressed: "pcm-16" | "opus" | null;
|
|
159
|
+
lossless: "pcm-16" | "opus" | null;
|
|
159
160
|
};
|
|
160
161
|
vp9: {
|
|
161
|
-
compressed: "
|
|
162
|
-
lossless: "
|
|
162
|
+
compressed: "pcm-16" | "opus" | null;
|
|
163
|
+
lossless: "pcm-16" | "opus" | null;
|
|
163
164
|
};
|
|
164
|
-
|
|
165
|
-
compressed: "
|
|
166
|
-
lossless: "
|
|
165
|
+
mp3: {
|
|
166
|
+
compressed: "mp3" | "pcm-16" | null;
|
|
167
|
+
lossless: "mp3" | "pcm-16" | null;
|
|
167
168
|
};
|
|
168
169
|
aac: {
|
|
169
170
|
compressed: "aac" | "pcm-16" | null;
|
|
170
171
|
lossless: "aac" | "pcm-16" | null;
|
|
171
172
|
};
|
|
172
|
-
mp3: {
|
|
173
|
-
compressed: "mp3" | "pcm-16" | null;
|
|
174
|
-
lossless: "mp3" | "pcm-16" | null;
|
|
175
|
-
};
|
|
176
173
|
wav: {
|
|
177
174
|
compressed: "pcm-16" | null;
|
|
178
175
|
lossless: "pcm-16" | null;
|
|
179
176
|
};
|
|
177
|
+
prores: {
|
|
178
|
+
compressed: "aac" | "pcm-16" | null;
|
|
179
|
+
lossless: "aac" | "pcm-16" | null;
|
|
180
|
+
};
|
|
180
181
|
"h264-mkv": {
|
|
181
182
|
compressed: "mp3" | "pcm-16" | null;
|
|
182
183
|
lossless: "mp3" | "pcm-16" | null;
|
|
@@ -186,10 +187,10 @@ export declare const BrowserSafeApis: {
|
|
|
186
187
|
lossless: null;
|
|
187
188
|
};
|
|
188
189
|
};
|
|
189
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "
|
|
190
|
-
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
190
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
|
|
191
|
+
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
|
|
191
192
|
codec: T_1;
|
|
192
|
-
audioCodec: "
|
|
193
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
193
194
|
extension: string;
|
|
194
195
|
preferLossless: boolean;
|
|
195
196
|
}) => void;
|
|
@@ -280,7 +281,7 @@ export declare const BrowserSafeApis: {
|
|
|
280
281
|
description: () => JSX.Element;
|
|
281
282
|
docLink: string;
|
|
282
283
|
ssrName: string;
|
|
283
|
-
type: "
|
|
284
|
+
type: "default" | "bt709";
|
|
284
285
|
};
|
|
285
286
|
deleteAfterOption: {
|
|
286
287
|
name: string;
|
|
@@ -398,6 +399,6 @@ export declare const BrowserSafeApis: {
|
|
|
398
399
|
type: number | null;
|
|
399
400
|
}];
|
|
400
401
|
};
|
|
401
|
-
codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
402
|
-
codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
402
|
+
codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
403
|
+
codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
403
404
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AudioCodec } from './audio-codec';
|
|
2
2
|
import type { Codec } from './codec';
|
|
3
3
|
import type { FileExtension } from './file-extensions';
|
|
4
|
-
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
5
|
-
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "
|
|
4
|
+
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension;
|
|
5
|
+
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
|
|
6
6
|
export declare const defaultCodecsForFileExtension: Record<FileExtension, Codec>;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,10 +63,10 @@ export declare const RenderInternals: {
|
|
|
63
63
|
width: number;
|
|
64
64
|
height: number;
|
|
65
65
|
scale: number;
|
|
66
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
66
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
67
67
|
wantsImageSequence: boolean;
|
|
68
68
|
}) => void;
|
|
69
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
69
|
+
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;
|
|
70
70
|
tmpDir: (str: string) => string;
|
|
71
71
|
deleteDirectory: (directory: string) => void;
|
|
72
72
|
isServeUrl: (potentialUrl: string) => boolean;
|
|
@@ -123,7 +123,7 @@ export declare const RenderInternals: {
|
|
|
123
123
|
};
|
|
124
124
|
registerErrorSymbolicationLock: () => number;
|
|
125
125
|
unlockErrorSymbolicationLock: (id: number) => void;
|
|
126
|
-
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
126
|
+
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
127
127
|
mimeContentType: typeof mimeContentType;
|
|
128
128
|
mimeLookup: typeof mimeLookup;
|
|
129
129
|
validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
|
|
@@ -140,8 +140,8 @@ export declare const RenderInternals: {
|
|
|
140
140
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
141
141
|
validateJpegQuality: (q: number | undefined) => void;
|
|
142
142
|
DEFAULT_TIMEOUT: number;
|
|
143
|
-
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "
|
|
144
|
-
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
143
|
+
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
144
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
|
|
145
145
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
146
146
|
isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
|
|
147
147
|
isValidLogLevel: (level: string) => boolean;
|
|
@@ -158,28 +158,28 @@ export declare const RenderInternals: {
|
|
|
158
158
|
output: string;
|
|
159
159
|
onProgress: (p: number) => void;
|
|
160
160
|
numberOfFrames: number;
|
|
161
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
161
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
162
162
|
fps: number;
|
|
163
163
|
numberOfGifLoops: number | null;
|
|
164
|
-
audioCodec: "
|
|
164
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
165
165
|
audioBitrate: string | null;
|
|
166
166
|
}) => Promise<void>;
|
|
167
167
|
getMinConcurrency: () => number;
|
|
168
168
|
getMaxConcurrency: () => number;
|
|
169
169
|
getDefaultAudioCodec: ({ codec, preferLossless, }: {
|
|
170
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
170
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
171
171
|
preferLossless: boolean;
|
|
172
|
-
}) => "
|
|
172
|
+
}) => "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
173
173
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
174
174
|
defaultFileExtensionMap: {
|
|
175
175
|
h264: {
|
|
176
176
|
default: import("./file-extensions").FileExtension;
|
|
177
177
|
forAudioCodec: {
|
|
178
|
-
|
|
178
|
+
mp3: {
|
|
179
179
|
possible: import("./file-extensions").FileExtension[];
|
|
180
180
|
default: import("./file-extensions").FileExtension;
|
|
181
181
|
};
|
|
182
|
-
|
|
182
|
+
aac: {
|
|
183
183
|
possible: import("./file-extensions").FileExtension[];
|
|
184
184
|
default: import("./file-extensions").FileExtension;
|
|
185
185
|
};
|
|
@@ -205,11 +205,11 @@ export declare const RenderInternals: {
|
|
|
205
205
|
vp8: {
|
|
206
206
|
default: import("./file-extensions").FileExtension;
|
|
207
207
|
forAudioCodec: {
|
|
208
|
-
|
|
208
|
+
"pcm-16": {
|
|
209
209
|
possible: import("./file-extensions").FileExtension[];
|
|
210
210
|
default: import("./file-extensions").FileExtension;
|
|
211
211
|
};
|
|
212
|
-
|
|
212
|
+
opus: {
|
|
213
213
|
possible: import("./file-extensions").FileExtension[];
|
|
214
214
|
default: import("./file-extensions").FileExtension;
|
|
215
215
|
};
|
|
@@ -218,20 +218,20 @@ export declare const RenderInternals: {
|
|
|
218
218
|
vp9: {
|
|
219
219
|
default: import("./file-extensions").FileExtension;
|
|
220
220
|
forAudioCodec: {
|
|
221
|
-
|
|
221
|
+
"pcm-16": {
|
|
222
222
|
possible: import("./file-extensions").FileExtension[];
|
|
223
223
|
default: import("./file-extensions").FileExtension;
|
|
224
224
|
};
|
|
225
|
-
|
|
225
|
+
opus: {
|
|
226
226
|
possible: import("./file-extensions").FileExtension[];
|
|
227
227
|
default: import("./file-extensions").FileExtension;
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
|
-
|
|
231
|
+
mp3: {
|
|
232
232
|
default: import("./file-extensions").FileExtension;
|
|
233
233
|
forAudioCodec: {
|
|
234
|
-
|
|
234
|
+
mp3: {
|
|
235
235
|
possible: import("./file-extensions").FileExtension[];
|
|
236
236
|
default: import("./file-extensions").FileExtension;
|
|
237
237
|
};
|
|
@@ -254,22 +254,22 @@ export declare const RenderInternals: {
|
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
-
|
|
257
|
+
wav: {
|
|
258
258
|
default: import("./file-extensions").FileExtension;
|
|
259
259
|
forAudioCodec: {
|
|
260
|
-
mp3: {
|
|
261
|
-
possible: import("./file-extensions").FileExtension[];
|
|
262
|
-
default: import("./file-extensions").FileExtension;
|
|
263
|
-
};
|
|
264
260
|
"pcm-16": {
|
|
265
261
|
possible: import("./file-extensions").FileExtension[];
|
|
266
262
|
default: import("./file-extensions").FileExtension;
|
|
267
263
|
};
|
|
268
264
|
};
|
|
269
265
|
};
|
|
270
|
-
|
|
266
|
+
prores: {
|
|
271
267
|
default: import("./file-extensions").FileExtension;
|
|
272
268
|
forAudioCodec: {
|
|
269
|
+
aac: {
|
|
270
|
+
possible: import("./file-extensions").FileExtension[];
|
|
271
|
+
default: import("./file-extensions").FileExtension;
|
|
272
|
+
};
|
|
273
273
|
"pcm-16": {
|
|
274
274
|
possible: import("./file-extensions").FileExtension[];
|
|
275
275
|
default: import("./file-extensions").FileExtension;
|
|
@@ -306,8 +306,8 @@ export declare const RenderInternals: {
|
|
|
306
306
|
readonly vp9: readonly ["opus", "pcm-16"];
|
|
307
307
|
readonly wav: readonly ["pcm-16"];
|
|
308
308
|
};
|
|
309
|
-
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "
|
|
310
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "
|
|
309
|
+
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
|
|
310
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
|
|
311
311
|
getExecutablePath: (type: "compositor" | "ffmpeg" | "ffprobe" | "ffmpeg-cwd") => string;
|
|
312
312
|
callFf: (bin: "ffmpeg" | "ffprobe", args: (string | null)[], options?: execa.Options<string> | undefined) => execa.ExecaChildProcess<string>;
|
|
313
313
|
dynamicLibraryPathOptions: () => {
|
|
@@ -325,7 +325,7 @@ export declare const RenderInternals: {
|
|
|
325
325
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
326
326
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
327
327
|
DEFAULT_STILL_IMAGE_FORMAT: "png" | "jpeg" | "pdf" | "webp";
|
|
328
|
-
DEFAULT_VIDEO_IMAGE_FORMAT: "
|
|
328
|
+
DEFAULT_VIDEO_IMAGE_FORMAT: "png" | "jpeg" | "none";
|
|
329
329
|
DEFAULT_JPEG_QUALITY: number;
|
|
330
330
|
chalk: {
|
|
331
331
|
enabled: () => boolean;
|
package/dist/options/gl.d.ts
CHANGED
package/dist/options/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const allOptions: {
|
|
2
3
|
scaleOption: {
|
|
3
4
|
name: string;
|
|
@@ -85,7 +86,7 @@ export declare const allOptions: {
|
|
|
85
86
|
description: () => JSX.Element;
|
|
86
87
|
docLink: string;
|
|
87
88
|
ssrName: string;
|
|
88
|
-
type: "
|
|
89
|
+
type: "default" | "bt709";
|
|
89
90
|
};
|
|
90
91
|
deleteAfterOption: {
|
|
91
92
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AudioCodec } from './audio-codec';
|
|
2
|
-
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
2
|
+
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
|
|
3
3
|
codec: T;
|
|
4
4
|
audioCodec: AudioCodec | null;
|
|
5
5
|
extension: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.53",
|
|
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.0.
|
|
21
|
+
"remotion": "4.0.53"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/node": "18.14.6",
|
|
32
32
|
"@types/progress": "2.0.5",
|
|
33
33
|
"@types/react": "18.0.26",
|
|
34
|
-
"@types/react-dom": "18.0.
|
|
34
|
+
"@types/react-dom": "18.0.11",
|
|
35
35
|
"eslint": "8.42.0",
|
|
36
36
|
"prettier": "3.0.2",
|
|
37
37
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"vitest": "0.31.1"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
44
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
45
|
-
"@remotion/compositor-linux-
|
|
46
|
-
"@remotion/compositor-
|
|
47
|
-
"@remotion/compositor-linux-
|
|
48
|
-
"@remotion/compositor-
|
|
49
|
-
"@remotion/compositor-linux-
|
|
43
|
+
"@remotion/compositor-darwin-arm64": "4.0.53",
|
|
44
|
+
"@remotion/compositor-darwin-x64": "4.0.53",
|
|
45
|
+
"@remotion/compositor-linux-x64-musl": "4.0.53",
|
|
46
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.53",
|
|
47
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.53",
|
|
48
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.53",
|
|
49
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.53"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"remotion",
|