@remotion/renderer 4.0.88 → 4.0.90
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 +77 -78
- package/dist/compositor/compose.js +7 -3
- package/dist/compositor/compositor.d.ts +1 -1
- package/dist/compositor/compositor.js +14 -2
- package/dist/copy-to-clipboard.js +1 -1
- package/dist/extract-audio.js +1 -1
- package/dist/get-extension-from-codec.d.ts +2 -2
- package/dist/get-silent-parts.js +1 -1
- package/dist/get-video-metadata.js +1 -1
- package/dist/index.d.ts +33 -33
- package/dist/index.js +2 -0
- package/dist/offthread-video-server.js +2 -2
- package/dist/options/audio-bitrate.d.ts +1 -2
- package/dist/options/beep-on-finish.d.ts +1 -2
- package/dist/options/color-space.d.ts +2 -3
- package/dist/options/crf.d.ts +1 -2
- package/dist/options/delete-after.d.ts +1 -2
- package/dist/options/enable-lambda-insights.d.ts +1 -2
- package/dist/options/enable-multiprocess-on-linux.d.ts +1 -2
- package/dist/options/encoding-buffer-size.d.ts +1 -2
- package/dist/options/encoding-max-rate.d.ts +1 -2
- package/dist/options/enforce-audio.d.ts +1 -2
- package/dist/options/folder-expiry.d.ts +1 -2
- package/dist/options/gl.d.ts +2 -3
- package/dist/options/index.d.ts +23 -24
- package/dist/options/jpeg-quality.d.ts +1 -2
- package/dist/options/mute.d.ts +1 -2
- package/dist/options/number-of-gif-loops.d.ts +1 -2
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -2
- package/dist/options/options-map.d.ts +16 -17
- package/dist/options/repro.d.ts +1 -2
- package/dist/options/scale.d.ts +1 -2
- package/dist/options/video-bitrate.d.ts +1 -2
- package/dist/options/video-codec.d.ts +1 -2
- package/dist/options/webhook-custom-data.d.ts +1 -2
- package/dist/pixel-format.d.ts +1 -1
- package/dist/pure.d.ts +3 -3
- package/dist/validate-output-filename.d.ts +1 -1
- package/package.json +11 -11
- package/dist/does-have-m2-bug.d.ts +0 -3
- package/dist/does-have-m2-bug.js +0 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
/// <reference types="node" />
|
|
4
3
|
import execa from 'execa';
|
|
5
4
|
import { HeadlessBrowser } from './browser/Browser';
|
|
@@ -67,10 +66,10 @@ export declare const RenderInternals: {
|
|
|
67
66
|
width: number;
|
|
68
67
|
height: number;
|
|
69
68
|
scale: number;
|
|
70
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
69
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
71
70
|
wantsImageSequence: boolean;
|
|
72
71
|
}) => void;
|
|
73
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
72
|
+
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;
|
|
74
73
|
tmpDir: (str: string) => string;
|
|
75
74
|
deleteDirectory: (directory: string) => void;
|
|
76
75
|
isServeUrl: (potentialUrl: string) => boolean;
|
|
@@ -127,7 +126,7 @@ export declare const RenderInternals: {
|
|
|
127
126
|
};
|
|
128
127
|
registerErrorSymbolicationLock: () => number;
|
|
129
128
|
unlockErrorSymbolicationLock: (id: number) => void;
|
|
130
|
-
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
129
|
+
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
131
130
|
mimeContentType: typeof mimeContentType;
|
|
132
131
|
mimeLookup: typeof mimeLookup;
|
|
133
132
|
validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
|
|
@@ -138,14 +137,14 @@ export declare const RenderInternals: {
|
|
|
138
137
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
139
138
|
DEFAULT_BROWSER: "chrome";
|
|
140
139
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
141
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
142
|
-
validateOpenGlRenderer: (option: "
|
|
140
|
+
DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
141
|
+
validateOpenGlRenderer: (option: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
143
142
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
144
|
-
DEFAULT_PIXEL_FORMAT: "yuv420p" | "
|
|
143
|
+
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
145
144
|
validateJpegQuality: (q: number | undefined) => void;
|
|
146
145
|
DEFAULT_TIMEOUT: number;
|
|
147
|
-
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "
|
|
148
|
-
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
146
|
+
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
147
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null | undefined) => boolean;
|
|
149
148
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
150
149
|
isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
|
|
151
150
|
isValidLogLevel: (level: string) => boolean;
|
|
@@ -162,10 +161,10 @@ export declare const RenderInternals: {
|
|
|
162
161
|
output: string;
|
|
163
162
|
onProgress: (p: number) => void;
|
|
164
163
|
numberOfFrames: number;
|
|
165
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
164
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
166
165
|
fps: number;
|
|
167
166
|
numberOfGifLoops: number | null;
|
|
168
|
-
audioCodec: "
|
|
167
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
169
168
|
audioBitrate: string | null;
|
|
170
169
|
indent: boolean;
|
|
171
170
|
logLevel: "verbose" | "info" | "warn" | "error";
|
|
@@ -173,19 +172,19 @@ export declare const RenderInternals: {
|
|
|
173
172
|
getMinConcurrency: () => number;
|
|
174
173
|
getMaxConcurrency: () => number;
|
|
175
174
|
getDefaultAudioCodec: ({ codec, preferLossless, }: {
|
|
176
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
175
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
177
176
|
preferLossless: boolean;
|
|
178
|
-
}) => "
|
|
177
|
+
}) => "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
179
178
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
180
179
|
defaultFileExtensionMap: {
|
|
181
180
|
h264: {
|
|
182
181
|
default: import("./file-extensions").FileExtension;
|
|
183
182
|
forAudioCodec: {
|
|
184
|
-
|
|
183
|
+
mp3: {
|
|
185
184
|
possible: import("./file-extensions").FileExtension[];
|
|
186
185
|
default: import("./file-extensions").FileExtension;
|
|
187
186
|
};
|
|
188
|
-
|
|
187
|
+
aac: {
|
|
189
188
|
possible: import("./file-extensions").FileExtension[];
|
|
190
189
|
default: import("./file-extensions").FileExtension;
|
|
191
190
|
};
|
|
@@ -211,11 +210,11 @@ export declare const RenderInternals: {
|
|
|
211
210
|
vp8: {
|
|
212
211
|
default: import("./file-extensions").FileExtension;
|
|
213
212
|
forAudioCodec: {
|
|
214
|
-
|
|
213
|
+
"pcm-16": {
|
|
215
214
|
possible: import("./file-extensions").FileExtension[];
|
|
216
215
|
default: import("./file-extensions").FileExtension;
|
|
217
216
|
};
|
|
218
|
-
|
|
217
|
+
opus: {
|
|
219
218
|
possible: import("./file-extensions").FileExtension[];
|
|
220
219
|
default: import("./file-extensions").FileExtension;
|
|
221
220
|
};
|
|
@@ -224,20 +223,20 @@ export declare const RenderInternals: {
|
|
|
224
223
|
vp9: {
|
|
225
224
|
default: import("./file-extensions").FileExtension;
|
|
226
225
|
forAudioCodec: {
|
|
227
|
-
|
|
226
|
+
"pcm-16": {
|
|
228
227
|
possible: import("./file-extensions").FileExtension[];
|
|
229
228
|
default: import("./file-extensions").FileExtension;
|
|
230
229
|
};
|
|
231
|
-
|
|
230
|
+
opus: {
|
|
232
231
|
possible: import("./file-extensions").FileExtension[];
|
|
233
232
|
default: import("./file-extensions").FileExtension;
|
|
234
233
|
};
|
|
235
234
|
};
|
|
236
235
|
};
|
|
237
|
-
|
|
236
|
+
mp3: {
|
|
238
237
|
default: import("./file-extensions").FileExtension;
|
|
239
238
|
forAudioCodec: {
|
|
240
|
-
|
|
239
|
+
mp3: {
|
|
241
240
|
possible: import("./file-extensions").FileExtension[];
|
|
242
241
|
default: import("./file-extensions").FileExtension;
|
|
243
242
|
};
|
|
@@ -260,22 +259,22 @@ export declare const RenderInternals: {
|
|
|
260
259
|
};
|
|
261
260
|
};
|
|
262
261
|
};
|
|
263
|
-
|
|
262
|
+
wav: {
|
|
264
263
|
default: import("./file-extensions").FileExtension;
|
|
265
264
|
forAudioCodec: {
|
|
266
|
-
mp3: {
|
|
267
|
-
possible: import("./file-extensions").FileExtension[];
|
|
268
|
-
default: import("./file-extensions").FileExtension;
|
|
269
|
-
};
|
|
270
265
|
"pcm-16": {
|
|
271
266
|
possible: import("./file-extensions").FileExtension[];
|
|
272
267
|
default: import("./file-extensions").FileExtension;
|
|
273
268
|
};
|
|
274
269
|
};
|
|
275
270
|
};
|
|
276
|
-
|
|
271
|
+
prores: {
|
|
277
272
|
default: import("./file-extensions").FileExtension;
|
|
278
273
|
forAudioCodec: {
|
|
274
|
+
aac: {
|
|
275
|
+
possible: import("./file-extensions").FileExtension[];
|
|
276
|
+
default: import("./file-extensions").FileExtension;
|
|
277
|
+
};
|
|
279
278
|
"pcm-16": {
|
|
280
279
|
possible: import("./file-extensions").FileExtension[];
|
|
281
280
|
default: import("./file-extensions").FileExtension;
|
|
@@ -312,8 +311,8 @@ export declare const RenderInternals: {
|
|
|
312
311
|
readonly vp9: readonly ["opus", "pcm-16"];
|
|
313
312
|
readonly wav: readonly ["pcm-16"];
|
|
314
313
|
};
|
|
315
|
-
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "
|
|
316
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "
|
|
314
|
+
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif")[]>;
|
|
315
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">;
|
|
317
316
|
getExecutablePath: (type: "compositor" | "ffmpeg" | "ffprobe" | "ffmpeg-cwd", indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => string;
|
|
318
317
|
callFf: (bin: "ffmpeg" | "ffprobe", args: (string | null)[], indent: boolean, logLevel: "verbose" | "info" | "warn" | "error", options?: execa.Options<string> | undefined) => execa.ExecaChildProcess<string>;
|
|
319
318
|
dynamicLibraryPathOptions: (indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => {
|
|
@@ -331,7 +330,7 @@ export declare const RenderInternals: {
|
|
|
331
330
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
332
331
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
333
332
|
DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
|
|
334
|
-
DEFAULT_VIDEO_IMAGE_FORMAT: "
|
|
333
|
+
DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
|
|
335
334
|
DEFAULT_JPEG_QUALITY: number;
|
|
336
335
|
chalk: {
|
|
337
336
|
enabled: () => boolean;
|
|
@@ -452,7 +451,7 @@ export declare const RenderInternals: {
|
|
|
452
451
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
453
452
|
name: string;
|
|
454
453
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
455
|
-
description: () => JSX.Element;
|
|
454
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
456
455
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
457
456
|
docLink: string;
|
|
458
457
|
type: number | null;
|
|
@@ -487,7 +486,7 @@ export declare const RenderInternals: {
|
|
|
487
486
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
488
487
|
name: string;
|
|
489
488
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
490
|
-
description: () => JSX.Element;
|
|
489
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
491
490
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
492
491
|
docLink: string;
|
|
493
492
|
type: number | null;
|
|
@@ -513,7 +512,7 @@ export declare const RenderInternals: {
|
|
|
513
512
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
514
513
|
name: string;
|
|
515
514
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
516
|
-
description: () => JSX.Element;
|
|
515
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
517
516
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
518
517
|
docLink: string;
|
|
519
518
|
type: number | null;
|
|
@@ -541,4 +540,5 @@ export declare const RenderInternals: {
|
|
|
541
540
|
host: string;
|
|
542
541
|
hostsToTry: string[];
|
|
543
542
|
};
|
|
543
|
+
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
|
544
544
|
};
|
package/dist/index.js
CHANGED
|
@@ -110,6 +110,7 @@ var stitch_frames_to_video_1 = require("./stitch-frames-to-video");
|
|
|
110
110
|
Object.defineProperty(exports, "stitchFramesToVideo", { enumerable: true, get: function () { return stitch_frames_to_video_1.stitchFramesToVideo; } });
|
|
111
111
|
var validate_output_filename_1 = require("./validate-output-filename");
|
|
112
112
|
Object.defineProperty(exports, "validateOutputFilename", { enumerable: true, get: function () { return validate_output_filename_1.validateOutputFilename; } });
|
|
113
|
+
const download_map_1 = require("./assets/download-map");
|
|
113
114
|
const validate_puppeteer_timeout_1 = require("./validate-puppeteer-timeout");
|
|
114
115
|
const validate_videobitrate_1 = require("./validate-videobitrate");
|
|
115
116
|
const wait_for_symbolication_error_to_be_done_1 = require("./wait-for-symbolication-error-to-be-done");
|
|
@@ -196,6 +197,7 @@ exports.RenderInternals = {
|
|
|
196
197
|
isIpV6Supported: port_config_1.isIpV6Supported,
|
|
197
198
|
getChromiumGpuInformation: test_gpu_1.getChromiumGpuInformation,
|
|
198
199
|
getPortConfig: port_config_1.getPortConfig,
|
|
200
|
+
makeDownloadMap: download_map_1.makeDownloadMap,
|
|
199
201
|
};
|
|
200
202
|
// Warn of potential performance issues with Apple Silicon (M1 chip under Rosetta)
|
|
201
203
|
(0, check_apple_silicon_1.checkNodeVersionAndWarnAboutRosetta)('info', false);
|
|
@@ -39,13 +39,13 @@ const startOffthreadVideoServer = ({ downloadMap, concurrency, logLevel, indent,
|
|
|
39
39
|
verbose: (0, log_level_1.isEqualOrBelowLogLevel)(logLevel, 'verbose'),
|
|
40
40
|
}, logLevel, indent);
|
|
41
41
|
return {
|
|
42
|
-
close: () => {
|
|
42
|
+
close: async () => {
|
|
43
43
|
// Note: This is being used as a promise:
|
|
44
44
|
// .close().then()
|
|
45
45
|
// but if finishCommands() fails, it acts like a sync function,
|
|
46
46
|
// therefore we have to catch an error and put a promise rejection
|
|
47
47
|
try {
|
|
48
|
-
compositor.finishCommands();
|
|
48
|
+
await compositor.finishCommands();
|
|
49
49
|
return compositor.waitForDone();
|
|
50
50
|
}
|
|
51
51
|
catch (err) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const audioBitrateOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "audio-bitrate";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const beepOnFinishOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "beep-on-finish";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: null;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
|
|
3
2
|
export type ColorSpace = (typeof validColorSpaces)[number];
|
|
4
3
|
export declare const colorSpaceOption: {
|
|
5
4
|
name: string;
|
|
6
5
|
cliFlag: "color-space";
|
|
7
|
-
description: () => JSX.Element;
|
|
6
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
docLink: string;
|
|
9
8
|
ssrName: string;
|
|
10
|
-
type: "
|
|
9
|
+
type: "default" | "bt709" | "bt2020-ncl";
|
|
11
10
|
};
|
|
12
11
|
export declare const validateColorSpace: (option: unknown) => void;
|
package/dist/options/crf.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const deleteAfterOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "delete-after";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "deleteAfter";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enableLambdaInsights: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-lambda-insights";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enableMultiprocessOnLinuxOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-multiprocess-on-linux";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const encodingBufferSizeOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "buffer-size";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "encodingBufferSize";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const encodingMaxRateOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "max-rate";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "encodingMaxRate";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enforceAudioOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enforce-audio-track";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const folderExpiryOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-folder-expiry";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "enableFolderExpiry";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean | null;
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
3
2
|
export declare const glOption: {
|
|
4
3
|
cliFlag: "gl";
|
|
5
4
|
docLink: string;
|
|
6
5
|
name: string;
|
|
7
|
-
type: "
|
|
6
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
8
7
|
ssrName: string;
|
|
9
|
-
description: () => JSX.Element;
|
|
8
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
};
|
|
11
10
|
export type OpenGlRenderer = (typeof validOpenGlRenderers)[number];
|
|
12
11
|
export declare const DEFAULT_OPENGL_RENDERER: OpenGlRenderer | null;
|
package/dist/options/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const allOptions: {
|
|
3
2
|
scaleOption: {
|
|
4
3
|
name: string;
|
|
5
4
|
cliFlag: "scale";
|
|
6
|
-
description: () => JSX.Element;
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
ssrName: string;
|
|
8
7
|
docLink: string;
|
|
9
8
|
type: number;
|
|
@@ -11,7 +10,7 @@ export declare const allOptions: {
|
|
|
11
10
|
crfOption: {
|
|
12
11
|
name: string;
|
|
13
12
|
cliFlag: "crf";
|
|
14
|
-
description: () => JSX.Element;
|
|
13
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
ssrName: string;
|
|
16
15
|
docLink: string;
|
|
17
16
|
type: number;
|
|
@@ -19,7 +18,7 @@ export declare const allOptions: {
|
|
|
19
18
|
jpegQualityOption: {
|
|
20
19
|
name: string;
|
|
21
20
|
cliFlag: "jpeg-quality";
|
|
22
|
-
description: () => JSX.Element;
|
|
21
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
23
22
|
ssrName: string;
|
|
24
23
|
docLink: string;
|
|
25
24
|
type: number;
|
|
@@ -27,7 +26,7 @@ export declare const allOptions: {
|
|
|
27
26
|
videoBitrate: {
|
|
28
27
|
name: string;
|
|
29
28
|
cliFlag: string;
|
|
30
|
-
description: () => JSX.Element;
|
|
29
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
31
30
|
ssrName: string;
|
|
32
31
|
docLink: string;
|
|
33
32
|
type: string | null;
|
|
@@ -35,7 +34,7 @@ export declare const allOptions: {
|
|
|
35
34
|
audioBitrateOption: {
|
|
36
35
|
name: string;
|
|
37
36
|
cliFlag: "audio-bitrate";
|
|
38
|
-
description: () => JSX.Element;
|
|
37
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
39
38
|
ssrName: string;
|
|
40
39
|
docLink: string;
|
|
41
40
|
type: string;
|
|
@@ -43,7 +42,7 @@ export declare const allOptions: {
|
|
|
43
42
|
enforceAudioOption: {
|
|
44
43
|
name: string;
|
|
45
44
|
cliFlag: "enforce-audio-track";
|
|
46
|
-
description: () => JSX.Element;
|
|
45
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
47
46
|
ssrName: string;
|
|
48
47
|
docLink: string;
|
|
49
48
|
type: boolean;
|
|
@@ -51,7 +50,7 @@ export declare const allOptions: {
|
|
|
51
50
|
muteOption: {
|
|
52
51
|
name: string;
|
|
53
52
|
cliFlag: string;
|
|
54
|
-
description: () => JSX.Element;
|
|
53
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
55
54
|
ssrName: string;
|
|
56
55
|
docLink: string;
|
|
57
56
|
type: boolean;
|
|
@@ -59,7 +58,7 @@ export declare const allOptions: {
|
|
|
59
58
|
videoCodecOption: {
|
|
60
59
|
name: string;
|
|
61
60
|
cliFlag: "codec";
|
|
62
|
-
description: () => JSX.Element;
|
|
61
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
63
62
|
ssrName: string;
|
|
64
63
|
docLink: string;
|
|
65
64
|
type: string;
|
|
@@ -67,7 +66,7 @@ export declare const allOptions: {
|
|
|
67
66
|
offthreadVideoCacheSizeInBytes: {
|
|
68
67
|
name: string;
|
|
69
68
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
70
|
-
description: () => JSX.Element;
|
|
69
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
71
70
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
72
71
|
docLink: string;
|
|
73
72
|
type: number | null;
|
|
@@ -75,7 +74,7 @@ export declare const allOptions: {
|
|
|
75
74
|
webhookCustomDataOption: {
|
|
76
75
|
name: string;
|
|
77
76
|
cliFlag: "webhook-custom-data";
|
|
78
|
-
description: (type: "ssr" | "cli") => JSX.Element;
|
|
77
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
79
78
|
ssrName: "customData";
|
|
80
79
|
docLink: string;
|
|
81
80
|
type: Record<string, unknown> | null;
|
|
@@ -83,15 +82,15 @@ export declare const allOptions: {
|
|
|
83
82
|
colorSpaceOption: {
|
|
84
83
|
name: string;
|
|
85
84
|
cliFlag: "color-space";
|
|
86
|
-
description: () => JSX.Element;
|
|
85
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
87
86
|
docLink: string;
|
|
88
87
|
ssrName: string;
|
|
89
|
-
type: "
|
|
88
|
+
type: "default" | "bt709" | "bt2020-ncl";
|
|
90
89
|
};
|
|
91
90
|
deleteAfterOption: {
|
|
92
91
|
name: string;
|
|
93
92
|
cliFlag: "delete-after";
|
|
94
|
-
description: () => JSX.Element;
|
|
93
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
95
94
|
ssrName: "deleteAfter";
|
|
96
95
|
docLink: string;
|
|
97
96
|
type: string | null;
|
|
@@ -99,7 +98,7 @@ export declare const allOptions: {
|
|
|
99
98
|
folderExpiryOption: {
|
|
100
99
|
name: string;
|
|
101
100
|
cliFlag: "enable-folder-expiry";
|
|
102
|
-
description: () => JSX.Element;
|
|
101
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
103
102
|
ssrName: "enableFolderExpiry";
|
|
104
103
|
docLink: string;
|
|
105
104
|
type: boolean | null;
|
|
@@ -107,7 +106,7 @@ export declare const allOptions: {
|
|
|
107
106
|
enableMultiprocessOnLinuxOption: {
|
|
108
107
|
name: string;
|
|
109
108
|
cliFlag: "enable-multiprocess-on-linux";
|
|
110
|
-
description: () => JSX.Element;
|
|
109
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
111
110
|
ssrName: string;
|
|
112
111
|
docLink: string;
|
|
113
112
|
type: boolean;
|
|
@@ -116,14 +115,14 @@ export declare const allOptions: {
|
|
|
116
115
|
cliFlag: "gl";
|
|
117
116
|
docLink: string;
|
|
118
117
|
name: string;
|
|
119
|
-
type: "
|
|
118
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
120
119
|
ssrName: string;
|
|
121
|
-
description: () => JSX.Element;
|
|
120
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
122
121
|
};
|
|
123
122
|
enableLambdaInsights: {
|
|
124
123
|
name: string;
|
|
125
124
|
cliFlag: "enable-lambda-insights";
|
|
126
|
-
description: () => JSX.Element;
|
|
125
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
127
126
|
ssrName: string;
|
|
128
127
|
docLink: string;
|
|
129
128
|
type: boolean;
|
|
@@ -131,7 +130,7 @@ export declare const allOptions: {
|
|
|
131
130
|
encodingMaxRateOption: {
|
|
132
131
|
name: string;
|
|
133
132
|
cliFlag: "max-rate";
|
|
134
|
-
description: () => JSX.Element;
|
|
133
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
135
134
|
ssrName: "encodingMaxRate";
|
|
136
135
|
docLink: string;
|
|
137
136
|
type: string | null;
|
|
@@ -139,7 +138,7 @@ export declare const allOptions: {
|
|
|
139
138
|
encodingBufferSizeOption: {
|
|
140
139
|
name: string;
|
|
141
140
|
cliFlag: "buffer-size";
|
|
142
|
-
description: () => JSX.Element;
|
|
141
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
143
142
|
ssrName: "encodingBufferSize";
|
|
144
143
|
docLink: string;
|
|
145
144
|
type: string | null;
|
|
@@ -147,7 +146,7 @@ export declare const allOptions: {
|
|
|
147
146
|
beepOnFinishOption: {
|
|
148
147
|
name: string;
|
|
149
148
|
cliFlag: "beep-on-finish";
|
|
150
|
-
description: () => JSX.Element;
|
|
149
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
151
150
|
ssrName: null;
|
|
152
151
|
docLink: string;
|
|
153
152
|
type: boolean;
|
|
@@ -155,7 +154,7 @@ export declare const allOptions: {
|
|
|
155
154
|
numberOfGifLoopsOption: {
|
|
156
155
|
name: string;
|
|
157
156
|
cliFlag: "number-of-gif-loops";
|
|
158
|
-
description: () => JSX.Element;
|
|
157
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
159
158
|
ssrName: "numberOfGifLoops";
|
|
160
159
|
docLink: string;
|
|
161
160
|
type: number | null;
|
|
@@ -163,7 +162,7 @@ export declare const allOptions: {
|
|
|
163
162
|
reproOption: {
|
|
164
163
|
name: string;
|
|
165
164
|
cliFlag: string;
|
|
166
|
-
description: () => JSX.Element;
|
|
165
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
167
166
|
ssrName: string;
|
|
168
167
|
docLink: string;
|
|
169
168
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const jpegQualityOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "jpeg-quality";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number;
|
package/dist/options/mute.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const numberOfGifLoopsOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "number-of-gif-loops";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "numberOfGifLoops";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const offthreadVideoCacheSizeInBytes: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number | null;
|