@remotion/renderer 4.0.405 → 4.0.407
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/assets/apply-tone-frequency.d.ts +1 -2
- package/dist/assets/convert-assets-to-file-urls.d.ts +1 -2
- package/dist/assets/download-and-map-assets-to-file.d.ts +2 -3
- package/dist/assets/download-and-map-assets-to-file.js +1 -0
- package/dist/assets/download-file.d.ts +1 -0
- package/dist/assets/download-file.js +16 -1
- package/dist/assets/download-map.d.ts +1 -0
- package/dist/assets/download-map.js +2 -0
- package/dist/assets/get-audio-channels.d.ts +2 -3
- package/dist/assets/inline-audio-mixing.d.ts +1 -2
- package/dist/browser/Browser.d.ts +5 -5
- package/dist/browser/Browser.js +65 -74
- package/dist/browser/BrowserFetcher.d.ts +3 -5
- package/dist/browser/BrowserFetcher.js +1 -0
- package/dist/browser/BrowserPage.d.ts +4 -4
- package/dist/browser/BrowserPage.js +223 -218
- package/dist/browser/BrowserRunner.d.ts +1 -2
- package/dist/browser/Connection.js +99 -112
- package/dist/browser/ConsoleMessage.d.ts +1 -1
- package/dist/browser/ConsoleMessage.js +9 -16
- package/dist/browser/DOMWorld.d.ts +1 -1
- package/dist/browser/DOMWorld.js +75 -89
- package/dist/browser/Errors.js +2 -4
- package/dist/browser/EventEmitter.js +2 -1
- package/dist/browser/ExecutionContext.js +117 -120
- package/dist/browser/FrameManager.js +249 -244
- package/dist/browser/HTTPRequest.js +11 -22
- package/dist/browser/HTTPResponse.js +3 -16
- package/dist/browser/JSHandle.js +17 -30
- package/dist/browser/LifecycleWatcher.js +122 -128
- package/dist/browser/NetworkEventManager.js +31 -40
- package/dist/browser/NetworkManager.js +210 -203
- package/dist/browser/NodeWebSocketTransport.js +3 -0
- package/dist/browser/Target.d.ts +1 -1
- package/dist/browser/Target.js +32 -39
- package/dist/browser/TaskQueue.js +5 -18
- package/dist/browser/TimeoutSettings.js +12 -25
- package/dist/browser/browser-download-progress-bar.d.ts +1 -2
- package/dist/browser/handle-failed-resource.d.ts +1 -2
- package/dist/browser/handle-failed-resource.js +4 -3
- package/dist/call-ffmpeg.d.ts +4 -5
- package/dist/can-concat-seamlessly.d.ts +2 -4
- package/dist/can-use-parallel-encoding.d.ts +1 -2
- package/dist/check-version-requirements.d.ts +1 -2
- package/dist/client.d.ts +181 -181
- package/dist/codec-supports-media.d.ts +3 -4
- package/dist/collect-assets.d.ts +1 -1
- package/dist/combine-audio.d.ts +2 -4
- package/dist/combine-chunks.d.ts +1 -2
- package/dist/combine-video-streams.d.ts +2 -4
- package/dist/compositor/compositor.d.ts +2 -3
- package/dist/compositor/get-executable-path.d.ts +3 -3
- package/dist/compress-audio.d.ts +2 -4
- package/dist/create-audio.d.ts +2 -4
- package/dist/create-silent-audio.d.ts +1 -2
- package/dist/crf.d.ts +4 -6
- package/dist/cycle-browser-tabs.d.ts +1 -2
- package/dist/ensure-browser.d.ts +44 -1
- package/dist/error-handling/handle-javascript-exception.d.ts +1 -1
- package/dist/error-handling/handle-javascript-exception.js +7 -1
- package/dist/error-handling/symbolicateable-error.d.ts +1 -1
- package/dist/error-handling/symbolicateable-error.js +4 -0
- package/dist/error-handling.js +1 -1
- package/dist/esm/client.mjs +7 -2
- package/dist/esm/index.mjs +28 -4
- package/dist/extract-audio.d.ts +2 -3
- package/dist/ffmpeg-args.d.ts +6 -12
- package/dist/get-browser-instance.d.ts +4 -6
- package/dist/get-codec-name.d.ts +3 -6
- package/dist/get-compositions.d.ts +1 -1
- package/dist/get-concurrency.d.ts +1 -1
- package/dist/get-extension-from-codec.d.ts +2 -3
- package/dist/get-frame-padded-index.d.ts +1 -2
- package/dist/get-local-browser-executable.d.ts +2 -4
- package/dist/get-prores-profile-name.d.ts +1 -3
- package/dist/get-silent-parts.d.ts +4 -5
- package/dist/get-video-metadata.d.ts +3 -4
- package/dist/get-video-threads-flag.d.ts +1 -2
- package/dist/goto-page-or-throw.d.ts +1 -1
- package/dist/guess-extension-for-media.d.ts +2 -3
- package/dist/image-format.d.ts +2 -3
- package/dist/index.d.ts +173 -172
- package/dist/index.js +16 -16
- package/dist/is-audio-codec.d.ts +1 -2
- package/dist/log-level.d.ts +1 -1
- package/dist/logger.d.ts +6 -6
- package/dist/make-page.d.ts +2 -4
- package/dist/memory/from-proc-meminfo.d.ts +1 -2
- package/dist/memory/get-available-memory.d.ts +1 -2
- package/dist/mime-types.js +2 -1
- package/dist/mux-video-and-audio.d.ts +2 -3
- package/dist/offthread-video-server.d.ts +1 -2
- package/dist/offthread-video-server.js +4 -6
- package/dist/open-browser.d.ts +1 -1
- package/dist/open-browser.js +6 -5
- package/dist/options/api-key.js +3 -1
- package/dist/options/audio-bitrate.js +9 -1
- package/dist/options/audio-codec.d.ts +10 -13
- package/dist/options/beep-on-finish.js +1 -1
- package/dist/options/binaries-directory.js +9 -1
- package/dist/options/chrome-mode.d.ts +3 -3
- package/dist/options/chrome-mode.js +6 -1
- package/dist/options/color-space.d.ts +5 -9
- package/dist/options/color-space.js +7 -1
- package/dist/options/crf.js +1 -1
- package/dist/options/cross-site-isolation.js +2 -1
- package/dist/options/dark-mode.js +2 -1
- package/dist/options/delete-after.js +11 -1
- package/dist/options/disallow-parallel-encoding.js +1 -1
- package/dist/options/enable-lambda-insights.js +2 -1
- package/dist/options/enable-multiprocess-on-linux.js +13 -1
- package/dist/options/encoding-buffer-size.js +3 -1
- package/dist/options/encoding-max-rate.js +3 -1
- package/dist/options/enforce-audio.js +1 -1
- package/dist/options/folder-expiry.js +4 -1
- package/dist/options/for-seamless-aac-concatenation.js +3 -1
- package/dist/options/gl.d.ts +6 -6
- package/dist/options/gl.js +28 -2
- package/dist/options/hardware-acceleration.d.ts +2 -2
- package/dist/options/headless.js +4 -1
- package/dist/options/image-sequence-pattern.js +5 -1
- package/dist/options/index.d.ts +25 -25
- package/dist/options/jpeg-quality.js +1 -1
- package/dist/options/latency-hint.js +10 -1
- package/dist/options/license-key.js +2 -1
- package/dist/options/log-level.d.ts +3 -4
- package/dist/options/log-level.js +16 -1
- package/dist/options/metadata.js +7 -2
- package/dist/options/mute.js +1 -1
- package/dist/options/number-of-gif-loops.js +13 -1
- package/dist/options/offthreadvideo-cache-size.js +11 -1
- package/dist/options/offthreadvideo-threads.js +2 -1
- package/dist/options/on-browser-download.js +2 -1
- package/dist/options/options-map.d.ts +93 -93
- package/dist/options/overwrite.js +5 -1
- package/dist/options/prefer-lossless.js +4 -1
- package/dist/options/public-dir.js +2 -1
- package/dist/options/public-license-key.js +3 -1
- package/dist/options/public-path.js +7 -1
- package/dist/options/repro.js +1 -1
- package/dist/options/scale.js +5 -1
- package/dist/options/timeout.js +4 -1
- package/dist/options/video-bitrate.js +7 -1
- package/dist/options/video-cache-size.js +8 -1
- package/dist/options/video-codec.d.ts +6 -6
- package/dist/options/video-codec.js +1 -1
- package/dist/options/webhook-custom-data.js +1 -1
- package/dist/options/x264-preset.d.ts +5 -6
- package/dist/options/x264-preset.js +23 -1
- package/dist/p-limit.d.ts +1 -1
- package/dist/pixel-format.d.ts +2 -3
- package/dist/pool.js +2 -0
- package/dist/port-config.d.ts +5 -6
- package/dist/prespawn-ffmpeg.js +5 -4
- package/dist/prestitcher-memory-usage.d.ts +1 -2
- package/dist/print-useful-error-message.d.ts +1 -2
- package/dist/prores-profile.d.ts +2 -4
- package/dist/puppeteer-evaluate.d.ts +2 -2
- package/dist/puppeteer-screenshot.d.ts +3 -4
- package/dist/pure.d.ts +5 -5
- package/dist/render-frame-and-retry-target-close.d.ts +8 -8
- package/dist/render-frame-with-option-to-reject.d.ts +4 -6
- package/dist/render-frame.d.ts +8 -8
- package/dist/render-has-audio.d.ts +2 -3
- package/dist/render-media.js +2 -1
- package/dist/replace-browser.d.ts +1 -2
- package/dist/repro.d.ts +1 -1
- package/dist/screenshot-task.d.ts +3 -4
- package/dist/seek-to-frame.d.ts +2 -3
- package/dist/serve-handler/index.d.ts +1 -1
- package/dist/serve-handler/range-parser.d.ts +2 -2
- package/dist/serve-static.d.ts +1 -2
- package/dist/set-props-and-env.js +3 -1
- package/dist/stringify-ffmpeg-filter.d.ts +1 -2
- package/dist/take-frame.d.ts +1 -2
- package/dist/test-gpu.d.ts +2 -4
- package/dist/validate-even-dimensions-with-codec.d.ts +2 -4
- package/dist/validate-ffmpeg-override.d.ts +1 -1
- package/dist/validate-number-of-gif-loops.d.ts +1 -2
- package/dist/validate-output-filename.d.ts +2 -4
- package/package.json +16 -14
package/dist/client.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { AvailableOptions, TypeOfOption } from './options';
|
|
2
2
|
export { HardwareAccelerationOption } from './options/hardware-acceleration';
|
|
3
3
|
export declare const BrowserSafeApis: {
|
|
4
|
-
getFileExtensionFromCodec: <T extends
|
|
4
|
+
getFileExtensionFromCodec: <T extends "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">(codec: T, audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
5
5
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
6
6
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
7
|
-
getDefaultCrfForCodec: (codec:
|
|
8
|
-
getValidCrfRanges: (codec:
|
|
7
|
+
getDefaultCrfForCodec: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => number | null;
|
|
8
|
+
getValidCrfRanges: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => [number, number];
|
|
9
9
|
proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
|
|
10
10
|
x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
|
|
11
11
|
hardwareAccelerationOptions: readonly ["disable", "if-possible", "required"];
|
|
12
12
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
13
13
|
validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
14
|
-
validPixelFormatsForCodec: (codec:
|
|
14
|
+
validPixelFormatsForCodec: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => ("yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva444p10le")[] | readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
15
15
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
16
16
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
17
|
-
DEFAULT_PIXEL_FORMAT: "yuv420p" | "
|
|
17
|
+
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
18
18
|
DEFAULT_TIMEOUT: number;
|
|
19
19
|
DEFAULT_JPEG_QUALITY: number;
|
|
20
20
|
DEFAULT_COLOR_SPACE: "default";
|
|
@@ -33,13 +33,9 @@ export declare const BrowserSafeApis: {
|
|
|
33
33
|
readonly wav: readonly ["pcm-16"];
|
|
34
34
|
};
|
|
35
35
|
defaultFileExtensionMap: {
|
|
36
|
-
|
|
36
|
+
aac: {
|
|
37
37
|
default: import("./file-extensions").FileExtension;
|
|
38
38
|
forAudioCodec: {
|
|
39
|
-
mp3: {
|
|
40
|
-
possible: import("./file-extensions").FileExtension[];
|
|
41
|
-
default: import("./file-extensions").FileExtension;
|
|
42
|
-
};
|
|
43
39
|
aac: {
|
|
44
40
|
possible: import("./file-extensions").FileExtension[];
|
|
45
41
|
default: import("./file-extensions").FileExtension;
|
|
@@ -50,49 +46,44 @@ export declare const BrowserSafeApis: {
|
|
|
50
46
|
};
|
|
51
47
|
};
|
|
52
48
|
};
|
|
53
|
-
|
|
49
|
+
gif: {
|
|
50
|
+
default: import("./file-extensions").FileExtension;
|
|
51
|
+
forAudioCodec: {};
|
|
52
|
+
};
|
|
53
|
+
h264: {
|
|
54
54
|
default: import("./file-extensions").FileExtension;
|
|
55
55
|
forAudioCodec: {
|
|
56
56
|
aac: {
|
|
57
57
|
possible: import("./file-extensions").FileExtension[];
|
|
58
58
|
default: import("./file-extensions").FileExtension;
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
mp3: {
|
|
61
61
|
possible: import("./file-extensions").FileExtension[];
|
|
62
62
|
default: import("./file-extensions").FileExtension;
|
|
63
63
|
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
vp8: {
|
|
67
|
-
default: import("./file-extensions").FileExtension;
|
|
68
|
-
forAudioCodec: {
|
|
69
64
|
"pcm-16": {
|
|
70
65
|
possible: import("./file-extensions").FileExtension[];
|
|
71
66
|
default: import("./file-extensions").FileExtension;
|
|
72
67
|
};
|
|
73
|
-
opus: {
|
|
74
|
-
possible: import("./file-extensions").FileExtension[];
|
|
75
|
-
default: import("./file-extensions").FileExtension;
|
|
76
|
-
};
|
|
77
68
|
};
|
|
78
69
|
};
|
|
79
|
-
|
|
70
|
+
"h264-mkv": {
|
|
80
71
|
default: import("./file-extensions").FileExtension;
|
|
81
72
|
forAudioCodec: {
|
|
82
|
-
|
|
73
|
+
mp3: {
|
|
83
74
|
possible: import("./file-extensions").FileExtension[];
|
|
84
75
|
default: import("./file-extensions").FileExtension;
|
|
85
76
|
};
|
|
86
|
-
|
|
77
|
+
"pcm-16": {
|
|
87
78
|
possible: import("./file-extensions").FileExtension[];
|
|
88
79
|
default: import("./file-extensions").FileExtension;
|
|
89
80
|
};
|
|
90
81
|
};
|
|
91
82
|
};
|
|
92
|
-
|
|
83
|
+
"h264-ts": {
|
|
93
84
|
default: import("./file-extensions").FileExtension;
|
|
94
85
|
forAudioCodec: {
|
|
95
|
-
|
|
86
|
+
aac: {
|
|
96
87
|
possible: import("./file-extensions").FileExtension[];
|
|
97
88
|
default: import("./file-extensions").FileExtension;
|
|
98
89
|
};
|
|
@@ -102,7 +93,7 @@ export declare const BrowserSafeApis: {
|
|
|
102
93
|
};
|
|
103
94
|
};
|
|
104
95
|
};
|
|
105
|
-
|
|
96
|
+
h265: {
|
|
106
97
|
default: import("./file-extensions").FileExtension;
|
|
107
98
|
forAudioCodec: {
|
|
108
99
|
aac: {
|
|
@@ -115,9 +106,13 @@ export declare const BrowserSafeApis: {
|
|
|
115
106
|
};
|
|
116
107
|
};
|
|
117
108
|
};
|
|
118
|
-
|
|
109
|
+
mp3: {
|
|
119
110
|
default: import("./file-extensions").FileExtension;
|
|
120
111
|
forAudioCodec: {
|
|
112
|
+
mp3: {
|
|
113
|
+
possible: import("./file-extensions").FileExtension[];
|
|
114
|
+
default: import("./file-extensions").FileExtension;
|
|
115
|
+
};
|
|
121
116
|
"pcm-16": {
|
|
122
117
|
possible: import("./file-extensions").FileExtension[];
|
|
123
118
|
default: import("./file-extensions").FileExtension;
|
|
@@ -137,10 +132,10 @@ export declare const BrowserSafeApis: {
|
|
|
137
132
|
};
|
|
138
133
|
};
|
|
139
134
|
};
|
|
140
|
-
|
|
135
|
+
vp8: {
|
|
141
136
|
default: import("./file-extensions").FileExtension;
|
|
142
137
|
forAudioCodec: {
|
|
143
|
-
|
|
138
|
+
opus: {
|
|
144
139
|
possible: import("./file-extensions").FileExtension[];
|
|
145
140
|
default: import("./file-extensions").FileExtension;
|
|
146
141
|
};
|
|
@@ -150,10 +145,10 @@ export declare const BrowserSafeApis: {
|
|
|
150
145
|
};
|
|
151
146
|
};
|
|
152
147
|
};
|
|
153
|
-
|
|
148
|
+
vp9: {
|
|
154
149
|
default: import("./file-extensions").FileExtension;
|
|
155
150
|
forAudioCodec: {
|
|
156
|
-
|
|
151
|
+
opus: {
|
|
157
152
|
possible: import("./file-extensions").FileExtension[];
|
|
158
153
|
default: import("./file-extensions").FileExtension;
|
|
159
154
|
};
|
|
@@ -163,61 +158,66 @@ export declare const BrowserSafeApis: {
|
|
|
163
158
|
};
|
|
164
159
|
};
|
|
165
160
|
};
|
|
166
|
-
|
|
161
|
+
wav: {
|
|
167
162
|
default: import("./file-extensions").FileExtension;
|
|
168
|
-
forAudioCodec: {
|
|
163
|
+
forAudioCodec: {
|
|
164
|
+
"pcm-16": {
|
|
165
|
+
possible: import("./file-extensions").FileExtension[];
|
|
166
|
+
default: import("./file-extensions").FileExtension;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
171
|
defaultAudioCodecs: {
|
|
172
|
-
|
|
173
|
-
compressed: "mp3" | "aac" | "pcm-16" | null;
|
|
174
|
-
lossless: "mp3" | "aac" | "pcm-16" | null;
|
|
175
|
-
};
|
|
176
|
-
h265: {
|
|
172
|
+
aac: {
|
|
177
173
|
compressed: "aac" | "pcm-16" | null;
|
|
178
174
|
lossless: "aac" | "pcm-16" | null;
|
|
179
175
|
};
|
|
180
|
-
|
|
181
|
-
compressed:
|
|
182
|
-
lossless:
|
|
176
|
+
gif: {
|
|
177
|
+
compressed: null;
|
|
178
|
+
lossless: null;
|
|
183
179
|
};
|
|
184
|
-
|
|
185
|
-
compressed: "
|
|
186
|
-
lossless: "
|
|
180
|
+
h264: {
|
|
181
|
+
compressed: "aac" | "mp3" | "pcm-16" | null;
|
|
182
|
+
lossless: "aac" | "mp3" | "pcm-16" | null;
|
|
187
183
|
};
|
|
188
|
-
|
|
184
|
+
"h264-mkv": {
|
|
189
185
|
compressed: "mp3" | "pcm-16" | null;
|
|
190
186
|
lossless: "mp3" | "pcm-16" | null;
|
|
191
187
|
};
|
|
192
|
-
|
|
188
|
+
"h264-ts": {
|
|
193
189
|
compressed: "aac" | "pcm-16" | null;
|
|
194
190
|
lossless: "aac" | "pcm-16" | null;
|
|
195
191
|
};
|
|
196
|
-
|
|
197
|
-
compressed: "pcm-16" | null;
|
|
198
|
-
lossless: "pcm-16" | null;
|
|
199
|
-
};
|
|
200
|
-
prores: {
|
|
192
|
+
h265: {
|
|
201
193
|
compressed: "aac" | "pcm-16" | null;
|
|
202
194
|
lossless: "aac" | "pcm-16" | null;
|
|
203
195
|
};
|
|
204
|
-
|
|
196
|
+
mp3: {
|
|
205
197
|
compressed: "mp3" | "pcm-16" | null;
|
|
206
198
|
lossless: "mp3" | "pcm-16" | null;
|
|
207
199
|
};
|
|
208
|
-
|
|
200
|
+
prores: {
|
|
209
201
|
compressed: "aac" | "pcm-16" | null;
|
|
210
202
|
lossless: "aac" | "pcm-16" | null;
|
|
211
203
|
};
|
|
212
|
-
|
|
213
|
-
compressed: null;
|
|
214
|
-
lossless: null;
|
|
204
|
+
vp8: {
|
|
205
|
+
compressed: "opus" | "pcm-16" | null;
|
|
206
|
+
lossless: "opus" | "pcm-16" | null;
|
|
207
|
+
};
|
|
208
|
+
vp9: {
|
|
209
|
+
compressed: "opus" | "pcm-16" | null;
|
|
210
|
+
lossless: "opus" | "pcm-16" | null;
|
|
211
|
+
};
|
|
212
|
+
wav: {
|
|
213
|
+
compressed: "pcm-16" | null;
|
|
214
|
+
lossless: "pcm-16" | null;
|
|
215
215
|
};
|
|
216
216
|
};
|
|
217
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "
|
|
218
|
-
validateOutputFilename: <T extends
|
|
217
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">;
|
|
218
|
+
validateOutputFilename: <T extends "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: {
|
|
219
219
|
codec: T;
|
|
220
|
-
audioCodecSetting:
|
|
220
|
+
audioCodecSetting: "aac" | "mp3" | "opus" | "pcm-16" | null;
|
|
221
221
|
extension: string;
|
|
222
222
|
preferLossless: boolean;
|
|
223
223
|
separateAudioTo: string | null;
|
|
@@ -225,12 +225,12 @@ export declare const BrowserSafeApis: {
|
|
|
225
225
|
options: {
|
|
226
226
|
audioCodecOption: {
|
|
227
227
|
cliFlag: "audio-codec";
|
|
228
|
-
setConfig: (audioCodec: "
|
|
228
|
+
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
229
229
|
getValue: ({ commandLine }: {
|
|
230
230
|
commandLine: Record<string, unknown>;
|
|
231
231
|
}) => {
|
|
232
232
|
source: string;
|
|
233
|
-
value:
|
|
233
|
+
value: "aac" | "mp3" | "opus" | "pcm-16";
|
|
234
234
|
} | {
|
|
235
235
|
source: string;
|
|
236
236
|
value: null;
|
|
@@ -239,7 +239,7 @@ export declare const BrowserSafeApis: {
|
|
|
239
239
|
docLink: string;
|
|
240
240
|
name: string;
|
|
241
241
|
ssrName: "audioCodec";
|
|
242
|
-
type:
|
|
242
|
+
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
243
243
|
};
|
|
244
244
|
scaleOption: {
|
|
245
245
|
name: string;
|
|
@@ -358,17 +358,17 @@ export declare const BrowserSafeApis: {
|
|
|
358
358
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
359
359
|
ssrName: string;
|
|
360
360
|
docLink: string;
|
|
361
|
-
type:
|
|
361
|
+
type: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
362
362
|
getValue: ({ commandLine }: {
|
|
363
363
|
commandLine: Record<string, unknown>;
|
|
364
364
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
365
365
|
outName: string | null;
|
|
366
366
|
downloadName: string | null;
|
|
367
|
-
configFile:
|
|
368
|
-
uiCodec:
|
|
369
|
-
compositionCodec:
|
|
367
|
+
configFile: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
368
|
+
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
369
|
+
compositionCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
370
370
|
}) => {
|
|
371
|
-
value:
|
|
371
|
+
value: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
372
372
|
source: string;
|
|
373
373
|
};
|
|
374
374
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
@@ -425,14 +425,14 @@ export declare const BrowserSafeApis: {
|
|
|
425
425
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
426
426
|
docLink: string;
|
|
427
427
|
ssrName: string;
|
|
428
|
-
type:
|
|
428
|
+
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
429
429
|
getValue: ({ commandLine }: {
|
|
430
430
|
commandLine: Record<string, unknown>;
|
|
431
431
|
}) => {
|
|
432
432
|
source: string;
|
|
433
|
-
value:
|
|
433
|
+
value: "bt2020-ncl" | "bt709" | "default";
|
|
434
434
|
};
|
|
435
|
-
setConfig: (value: "
|
|
435
|
+
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
436
436
|
};
|
|
437
437
|
deleteAfterOption: {
|
|
438
438
|
name: string;
|
|
@@ -501,19 +501,19 @@ export declare const BrowserSafeApis: {
|
|
|
501
501
|
cliFlag: "gl";
|
|
502
502
|
docLink: string;
|
|
503
503
|
name: string;
|
|
504
|
-
type:
|
|
504
|
+
type: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
505
505
|
ssrName: string;
|
|
506
506
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
507
507
|
getValue: ({ commandLine }: {
|
|
508
508
|
commandLine: Record<string, unknown>;
|
|
509
509
|
}) => {
|
|
510
|
-
value:
|
|
510
|
+
value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan";
|
|
511
511
|
source: string;
|
|
512
512
|
} | {
|
|
513
513
|
value: null;
|
|
514
514
|
source: string;
|
|
515
515
|
};
|
|
516
|
-
setConfig: (value:
|
|
516
|
+
setConfig: (value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null) => void;
|
|
517
517
|
};
|
|
518
518
|
enableLambdaInsights: {
|
|
519
519
|
name: string;
|
|
@@ -638,17 +638,17 @@ export declare const BrowserSafeApis: {
|
|
|
638
638
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
639
639
|
ssrName: "x264Preset";
|
|
640
640
|
docLink: string;
|
|
641
|
-
type:
|
|
641
|
+
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
642
642
|
getValue: ({ commandLine }: {
|
|
643
643
|
commandLine: Record<string, unknown>;
|
|
644
644
|
}) => {
|
|
645
|
-
value:
|
|
645
|
+
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
646
646
|
source: string;
|
|
647
647
|
} | {
|
|
648
648
|
value: null;
|
|
649
649
|
source: string;
|
|
650
650
|
};
|
|
651
|
-
setConfig: (profile:
|
|
651
|
+
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
652
652
|
};
|
|
653
653
|
logLevelOption: {
|
|
654
654
|
cliFlag: "log";
|
|
@@ -659,11 +659,11 @@ export declare const BrowserSafeApis: {
|
|
|
659
659
|
getValue: ({ commandLine }: {
|
|
660
660
|
commandLine: Record<string, unknown>;
|
|
661
661
|
}) => {
|
|
662
|
-
value:
|
|
662
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
663
663
|
source: string;
|
|
664
664
|
};
|
|
665
|
-
setConfig: (newLogLevel:
|
|
666
|
-
type:
|
|
665
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
666
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
667
667
|
};
|
|
668
668
|
delayRenderTimeoutInMillisecondsOption: {
|
|
669
669
|
name: string;
|
|
@@ -860,14 +860,14 @@ export declare const BrowserSafeApis: {
|
|
|
860
860
|
description: () => string;
|
|
861
861
|
ssrName: string;
|
|
862
862
|
docLink: string;
|
|
863
|
-
type:
|
|
863
|
+
type: "disable" | "if-possible" | "required";
|
|
864
864
|
getValue: ({ commandLine }: {
|
|
865
865
|
commandLine: Record<string, unknown>;
|
|
866
866
|
}) => {
|
|
867
867
|
source: string;
|
|
868
868
|
value: "disable" | "if-possible" | "required";
|
|
869
869
|
};
|
|
870
|
-
setConfig: (value:
|
|
870
|
+
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
871
871
|
};
|
|
872
872
|
chromeModeOption: {
|
|
873
873
|
cliFlag: "chrome-mode";
|
|
@@ -878,11 +878,11 @@ export declare const BrowserSafeApis: {
|
|
|
878
878
|
getValue: ({ commandLine }: {
|
|
879
879
|
commandLine: Record<string, unknown>;
|
|
880
880
|
}) => {
|
|
881
|
-
value:
|
|
881
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
882
882
|
source: string;
|
|
883
883
|
};
|
|
884
|
-
setConfig: (newChromeMode:
|
|
885
|
-
type:
|
|
884
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
885
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
886
886
|
};
|
|
887
887
|
apiKeyOption: {
|
|
888
888
|
name: string;
|
|
@@ -1122,17 +1122,17 @@ export declare const BrowserSafeApis: {
|
|
|
1122
1122
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1123
1123
|
ssrName: "x264Preset";
|
|
1124
1124
|
docLink: string;
|
|
1125
|
-
type:
|
|
1125
|
+
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
1126
1126
|
getValue: ({ commandLine }: {
|
|
1127
1127
|
commandLine: Record<string, unknown>;
|
|
1128
1128
|
}) => {
|
|
1129
|
-
value:
|
|
1129
|
+
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
1130
1130
|
source: string;
|
|
1131
1131
|
} | {
|
|
1132
1132
|
value: null;
|
|
1133
1133
|
source: string;
|
|
1134
1134
|
};
|
|
1135
|
-
setConfig: (profile:
|
|
1135
|
+
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
1136
1136
|
};
|
|
1137
1137
|
readonly audioBitrate: {
|
|
1138
1138
|
name: string;
|
|
@@ -1158,14 +1158,14 @@ export declare const BrowserSafeApis: {
|
|
|
1158
1158
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1159
1159
|
docLink: string;
|
|
1160
1160
|
ssrName: string;
|
|
1161
|
-
type:
|
|
1161
|
+
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
1162
1162
|
getValue: ({ commandLine }: {
|
|
1163
1163
|
commandLine: Record<string, unknown>;
|
|
1164
1164
|
}) => {
|
|
1165
1165
|
source: string;
|
|
1166
|
-
value:
|
|
1166
|
+
value: "bt2020-ncl" | "bt709" | "default";
|
|
1167
1167
|
};
|
|
1168
|
-
setConfig: (value: "
|
|
1168
|
+
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
1169
1169
|
};
|
|
1170
1170
|
readonly codec: {
|
|
1171
1171
|
name: string;
|
|
@@ -1173,17 +1173,17 @@ export declare const BrowserSafeApis: {
|
|
|
1173
1173
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1174
1174
|
ssrName: string;
|
|
1175
1175
|
docLink: string;
|
|
1176
|
-
type:
|
|
1176
|
+
type: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
1177
1177
|
getValue: ({ commandLine }: {
|
|
1178
1178
|
commandLine: Record<string, unknown>;
|
|
1179
1179
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
1180
1180
|
outName: string | null;
|
|
1181
1181
|
downloadName: string | null;
|
|
1182
|
-
configFile:
|
|
1183
|
-
uiCodec:
|
|
1184
|
-
compositionCodec:
|
|
1182
|
+
configFile: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
1183
|
+
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
1184
|
+
compositionCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
1185
1185
|
}) => {
|
|
1186
|
-
value:
|
|
1186
|
+
value: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
1187
1187
|
source: string;
|
|
1188
1188
|
};
|
|
1189
1189
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
@@ -1278,11 +1278,11 @@ export declare const BrowserSafeApis: {
|
|
|
1278
1278
|
getValue: ({ commandLine }: {
|
|
1279
1279
|
commandLine: Record<string, unknown>;
|
|
1280
1280
|
}) => {
|
|
1281
|
-
value:
|
|
1281
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1282
1282
|
source: string;
|
|
1283
1283
|
};
|
|
1284
|
-
setConfig: (newLogLevel:
|
|
1285
|
-
type:
|
|
1284
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
1285
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1286
1286
|
};
|
|
1287
1287
|
readonly timeoutInMilliseconds: {
|
|
1288
1288
|
name: string;
|
|
@@ -1352,12 +1352,12 @@ export declare const BrowserSafeApis: {
|
|
|
1352
1352
|
};
|
|
1353
1353
|
readonly audioCodec: {
|
|
1354
1354
|
cliFlag: "audio-codec";
|
|
1355
|
-
setConfig: (audioCodec: "
|
|
1355
|
+
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
1356
1356
|
getValue: ({ commandLine }: {
|
|
1357
1357
|
commandLine: Record<string, unknown>;
|
|
1358
1358
|
}) => {
|
|
1359
1359
|
source: string;
|
|
1360
|
-
value:
|
|
1360
|
+
value: "aac" | "mp3" | "opus" | "pcm-16";
|
|
1361
1361
|
} | {
|
|
1362
1362
|
source: string;
|
|
1363
1363
|
value: null;
|
|
@@ -1366,7 +1366,7 @@ export declare const BrowserSafeApis: {
|
|
|
1366
1366
|
docLink: string;
|
|
1367
1367
|
name: string;
|
|
1368
1368
|
ssrName: "audioCodec";
|
|
1369
|
-
type:
|
|
1369
|
+
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
1370
1370
|
};
|
|
1371
1371
|
readonly onBrowserDownload: {
|
|
1372
1372
|
name: string;
|
|
@@ -1384,14 +1384,14 @@ export declare const BrowserSafeApis: {
|
|
|
1384
1384
|
description: () => string;
|
|
1385
1385
|
ssrName: string;
|
|
1386
1386
|
docLink: string;
|
|
1387
|
-
type:
|
|
1387
|
+
type: "disable" | "if-possible" | "required";
|
|
1388
1388
|
getValue: ({ commandLine }: {
|
|
1389
1389
|
commandLine: Record<string, unknown>;
|
|
1390
1390
|
}) => {
|
|
1391
1391
|
source: string;
|
|
1392
1392
|
value: "disable" | "if-possible" | "required";
|
|
1393
1393
|
};
|
|
1394
|
-
setConfig: (value:
|
|
1394
|
+
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
1395
1395
|
};
|
|
1396
1396
|
readonly chromeMode: {
|
|
1397
1397
|
cliFlag: "chrome-mode";
|
|
@@ -1402,11 +1402,11 @@ export declare const BrowserSafeApis: {
|
|
|
1402
1402
|
getValue: ({ commandLine }: {
|
|
1403
1403
|
commandLine: Record<string, unknown>;
|
|
1404
1404
|
}) => {
|
|
1405
|
-
value:
|
|
1405
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
1406
1406
|
source: string;
|
|
1407
1407
|
};
|
|
1408
|
-
setConfig: (newChromeMode:
|
|
1409
|
-
type:
|
|
1408
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
1409
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
1410
1410
|
};
|
|
1411
1411
|
readonly licenseKey: {
|
|
1412
1412
|
name: string;
|
|
@@ -1449,14 +1449,14 @@ export declare const BrowserSafeApis: {
|
|
|
1449
1449
|
description: () => string;
|
|
1450
1450
|
ssrName: string;
|
|
1451
1451
|
docLink: string;
|
|
1452
|
-
type:
|
|
1452
|
+
type: "disable" | "if-possible" | "required";
|
|
1453
1453
|
getValue: ({ commandLine }: {
|
|
1454
1454
|
commandLine: Record<string, unknown>;
|
|
1455
1455
|
}) => {
|
|
1456
1456
|
source: string;
|
|
1457
1457
|
value: "disable" | "if-possible" | "required";
|
|
1458
1458
|
};
|
|
1459
|
-
setConfig: (value:
|
|
1459
|
+
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
1460
1460
|
};
|
|
1461
1461
|
};
|
|
1462
1462
|
readonly renderStill: {
|
|
@@ -1538,11 +1538,11 @@ export declare const BrowserSafeApis: {
|
|
|
1538
1538
|
getValue: ({ commandLine }: {
|
|
1539
1539
|
commandLine: Record<string, unknown>;
|
|
1540
1540
|
}) => {
|
|
1541
|
-
value:
|
|
1541
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1542
1542
|
source: string;
|
|
1543
1543
|
};
|
|
1544
|
-
setConfig: (newLogLevel:
|
|
1545
|
-
type:
|
|
1544
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
1545
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1546
1546
|
};
|
|
1547
1547
|
readonly timeoutInMilliseconds: {
|
|
1548
1548
|
name: string;
|
|
@@ -1593,11 +1593,11 @@ export declare const BrowserSafeApis: {
|
|
|
1593
1593
|
getValue: ({ commandLine }: {
|
|
1594
1594
|
commandLine: Record<string, unknown>;
|
|
1595
1595
|
}) => {
|
|
1596
|
-
value:
|
|
1596
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
1597
1597
|
source: string;
|
|
1598
1598
|
};
|
|
1599
|
-
setConfig: (newChromeMode:
|
|
1600
|
-
type:
|
|
1599
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
1600
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
1601
1601
|
};
|
|
1602
1602
|
readonly apiKey: {
|
|
1603
1603
|
name: string;
|
|
@@ -1694,11 +1694,11 @@ export declare const BrowserSafeApis: {
|
|
|
1694
1694
|
getValue: ({ commandLine }: {
|
|
1695
1695
|
commandLine: Record<string, unknown>;
|
|
1696
1696
|
}) => {
|
|
1697
|
-
value:
|
|
1697
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1698
1698
|
source: string;
|
|
1699
1699
|
};
|
|
1700
|
-
setConfig: (newLogLevel:
|
|
1701
|
-
type:
|
|
1700
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
1701
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1702
1702
|
};
|
|
1703
1703
|
readonly timeoutInMilliseconds: {
|
|
1704
1704
|
name: string;
|
|
@@ -1749,11 +1749,11 @@ export declare const BrowserSafeApis: {
|
|
|
1749
1749
|
getValue: ({ commandLine }: {
|
|
1750
1750
|
commandLine: Record<string, unknown>;
|
|
1751
1751
|
}) => {
|
|
1752
|
-
value:
|
|
1752
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
1753
1753
|
source: string;
|
|
1754
1754
|
};
|
|
1755
|
-
setConfig: (newChromeMode:
|
|
1756
|
-
type:
|
|
1755
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
1756
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
1757
1757
|
};
|
|
1758
1758
|
};
|
|
1759
1759
|
readonly selectComposition: {
|
|
@@ -1820,11 +1820,11 @@ export declare const BrowserSafeApis: {
|
|
|
1820
1820
|
getValue: ({ commandLine }: {
|
|
1821
1821
|
commandLine: Record<string, unknown>;
|
|
1822
1822
|
}) => {
|
|
1823
|
-
value:
|
|
1823
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1824
1824
|
source: string;
|
|
1825
1825
|
};
|
|
1826
|
-
setConfig: (newLogLevel:
|
|
1827
|
-
type:
|
|
1826
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
1827
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1828
1828
|
};
|
|
1829
1829
|
readonly timeoutInMilliseconds: {
|
|
1830
1830
|
name: string;
|
|
@@ -1875,11 +1875,11 @@ export declare const BrowserSafeApis: {
|
|
|
1875
1875
|
getValue: ({ commandLine }: {
|
|
1876
1876
|
commandLine: Record<string, unknown>;
|
|
1877
1877
|
}) => {
|
|
1878
|
-
value:
|
|
1878
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
1879
1879
|
source: string;
|
|
1880
1880
|
};
|
|
1881
|
-
setConfig: (newChromeMode:
|
|
1882
|
-
type:
|
|
1881
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
1882
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
1883
1883
|
};
|
|
1884
1884
|
};
|
|
1885
1885
|
readonly renderFrames: {
|
|
@@ -1979,11 +1979,11 @@ export declare const BrowserSafeApis: {
|
|
|
1979
1979
|
getValue: ({ commandLine }: {
|
|
1980
1980
|
commandLine: Record<string, unknown>;
|
|
1981
1981
|
}) => {
|
|
1982
|
-
value:
|
|
1982
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1983
1983
|
source: string;
|
|
1984
1984
|
};
|
|
1985
|
-
setConfig: (newLogLevel:
|
|
1986
|
-
type:
|
|
1985
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
1986
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1987
1987
|
};
|
|
1988
1988
|
readonly timeoutInMilliseconds: {
|
|
1989
1989
|
name: string;
|
|
@@ -2034,11 +2034,11 @@ export declare const BrowserSafeApis: {
|
|
|
2034
2034
|
getValue: ({ commandLine }: {
|
|
2035
2035
|
commandLine: Record<string, unknown>;
|
|
2036
2036
|
}) => {
|
|
2037
|
-
value:
|
|
2037
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
2038
2038
|
source: string;
|
|
2039
2039
|
};
|
|
2040
|
-
setConfig: (newChromeMode:
|
|
2041
|
-
type:
|
|
2040
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
2041
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
2042
2042
|
};
|
|
2043
2043
|
readonly imageSequencePattern: {
|
|
2044
2044
|
name: string;
|
|
@@ -2204,17 +2204,17 @@ export declare const BrowserSafeApis: {
|
|
|
2204
2204
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
2205
2205
|
ssrName: "x264Preset";
|
|
2206
2206
|
docLink: string;
|
|
2207
|
-
type:
|
|
2207
|
+
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
2208
2208
|
getValue: ({ commandLine }: {
|
|
2209
2209
|
commandLine: Record<string, unknown>;
|
|
2210
2210
|
}) => {
|
|
2211
|
-
value:
|
|
2211
|
+
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
2212
2212
|
source: string;
|
|
2213
2213
|
} | {
|
|
2214
2214
|
value: null;
|
|
2215
2215
|
source: string;
|
|
2216
2216
|
};
|
|
2217
|
-
setConfig: (profile:
|
|
2217
|
+
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
2218
2218
|
};
|
|
2219
2219
|
readonly encodingMaxRate: {
|
|
2220
2220
|
name: string;
|
|
@@ -2258,14 +2258,14 @@ export declare const BrowserSafeApis: {
|
|
|
2258
2258
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
2259
2259
|
docLink: string;
|
|
2260
2260
|
ssrName: string;
|
|
2261
|
-
type:
|
|
2261
|
+
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
2262
2262
|
getValue: ({ commandLine }: {
|
|
2263
2263
|
commandLine: Record<string, unknown>;
|
|
2264
2264
|
}) => {
|
|
2265
2265
|
source: string;
|
|
2266
|
-
value:
|
|
2266
|
+
value: "bt2020-ncl" | "bt709" | "default";
|
|
2267
2267
|
};
|
|
2268
|
-
setConfig: (value: "
|
|
2268
|
+
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
2269
2269
|
};
|
|
2270
2270
|
readonly muted: {
|
|
2271
2271
|
name: string;
|
|
@@ -2291,11 +2291,11 @@ export declare const BrowserSafeApis: {
|
|
|
2291
2291
|
getValue: ({ commandLine }: {
|
|
2292
2292
|
commandLine: Record<string, unknown>;
|
|
2293
2293
|
}) => {
|
|
2294
|
-
value:
|
|
2294
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2295
2295
|
source: string;
|
|
2296
2296
|
};
|
|
2297
|
-
setConfig: (newLogLevel:
|
|
2298
|
-
type:
|
|
2297
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2298
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2299
2299
|
};
|
|
2300
2300
|
readonly timeoutInMilliseconds: {
|
|
2301
2301
|
name: string;
|
|
@@ -2422,11 +2422,11 @@ export declare const BrowserSafeApis: {
|
|
|
2422
2422
|
getValue: ({ commandLine }: {
|
|
2423
2423
|
commandLine: Record<string, unknown>;
|
|
2424
2424
|
}) => {
|
|
2425
|
-
value:
|
|
2425
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2426
2426
|
source: string;
|
|
2427
2427
|
};
|
|
2428
|
-
setConfig: (newLogLevel:
|
|
2429
|
-
type:
|
|
2428
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2429
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2430
2430
|
};
|
|
2431
2431
|
readonly deleteAfter: {
|
|
2432
2432
|
name: string;
|
|
@@ -2553,11 +2553,11 @@ export declare const BrowserSafeApis: {
|
|
|
2553
2553
|
getValue: ({ commandLine }: {
|
|
2554
2554
|
commandLine: Record<string, unknown>;
|
|
2555
2555
|
}) => {
|
|
2556
|
-
value:
|
|
2556
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2557
2557
|
source: string;
|
|
2558
2558
|
};
|
|
2559
|
-
setConfig: (newLogLevel:
|
|
2560
|
-
type:
|
|
2559
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2560
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2561
2561
|
};
|
|
2562
2562
|
readonly timeoutInMilliseconds: {
|
|
2563
2563
|
name: string;
|
|
@@ -2672,14 +2672,14 @@ export declare const BrowserSafeApis: {
|
|
|
2672
2672
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
2673
2673
|
docLink: string;
|
|
2674
2674
|
ssrName: string;
|
|
2675
|
-
type:
|
|
2675
|
+
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
2676
2676
|
getValue: ({ commandLine }: {
|
|
2677
2677
|
commandLine: Record<string, unknown>;
|
|
2678
2678
|
}) => {
|
|
2679
2679
|
source: string;
|
|
2680
|
-
value:
|
|
2680
|
+
value: "bt2020-ncl" | "bt709" | "default";
|
|
2681
2681
|
};
|
|
2682
|
-
setConfig: (value: "
|
|
2682
|
+
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
2683
2683
|
};
|
|
2684
2684
|
readonly audioBitrate: {
|
|
2685
2685
|
name: string;
|
|
@@ -2720,17 +2720,17 @@ export declare const BrowserSafeApis: {
|
|
|
2720
2720
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
2721
2721
|
ssrName: "x264Preset";
|
|
2722
2722
|
docLink: string;
|
|
2723
|
-
type:
|
|
2723
|
+
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
2724
2724
|
getValue: ({ commandLine }: {
|
|
2725
2725
|
commandLine: Record<string, unknown>;
|
|
2726
2726
|
}) => {
|
|
2727
|
-
value:
|
|
2727
|
+
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
2728
2728
|
source: string;
|
|
2729
2729
|
} | {
|
|
2730
2730
|
value: null;
|
|
2731
2731
|
source: string;
|
|
2732
2732
|
};
|
|
2733
|
-
setConfig: (profile:
|
|
2733
|
+
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
2734
2734
|
};
|
|
2735
2735
|
readonly encodingMaxRate: {
|
|
2736
2736
|
name: string;
|
|
@@ -2792,11 +2792,11 @@ export declare const BrowserSafeApis: {
|
|
|
2792
2792
|
getValue: ({ commandLine }: {
|
|
2793
2793
|
commandLine: Record<string, unknown>;
|
|
2794
2794
|
}) => {
|
|
2795
|
-
value:
|
|
2795
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2796
2796
|
source: string;
|
|
2797
2797
|
};
|
|
2798
|
-
setConfig: (newLogLevel:
|
|
2799
|
-
type:
|
|
2798
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2799
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2800
2800
|
};
|
|
2801
2801
|
readonly delayRenderTimeoutInMilliseconds: {
|
|
2802
2802
|
name: string;
|
|
@@ -2941,11 +2941,11 @@ export declare const BrowserSafeApis: {
|
|
|
2941
2941
|
getValue: ({ commandLine }: {
|
|
2942
2942
|
commandLine: Record<string, unknown>;
|
|
2943
2943
|
}) => {
|
|
2944
|
-
value:
|
|
2944
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2945
2945
|
source: string;
|
|
2946
2946
|
};
|
|
2947
|
-
setConfig: (newLogLevel:
|
|
2948
|
-
type:
|
|
2947
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
2948
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
2949
2949
|
};
|
|
2950
2950
|
readonly scale: {
|
|
2951
2951
|
name: string;
|
|
@@ -3003,11 +3003,11 @@ export declare const BrowserSafeApis: {
|
|
|
3003
3003
|
getValue: ({ commandLine }: {
|
|
3004
3004
|
commandLine: Record<string, unknown>;
|
|
3005
3005
|
}) => {
|
|
3006
|
-
value:
|
|
3006
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3007
3007
|
source: string;
|
|
3008
3008
|
};
|
|
3009
|
-
setConfig: (newLogLevel:
|
|
3010
|
-
type:
|
|
3009
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
3010
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3011
3011
|
};
|
|
3012
3012
|
readonly onBrowserDownload: {
|
|
3013
3013
|
name: string;
|
|
@@ -3028,11 +3028,11 @@ export declare const BrowserSafeApis: {
|
|
|
3028
3028
|
getValue: ({ commandLine }: {
|
|
3029
3029
|
commandLine: Record<string, unknown>;
|
|
3030
3030
|
}) => {
|
|
3031
|
-
value:
|
|
3031
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
3032
3032
|
source: string;
|
|
3033
3033
|
};
|
|
3034
|
-
setConfig: (newChromeMode:
|
|
3035
|
-
type:
|
|
3034
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
3035
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
3036
3036
|
};
|
|
3037
3037
|
};
|
|
3038
3038
|
readonly openBrowser: {
|
|
@@ -3045,11 +3045,11 @@ export declare const BrowserSafeApis: {
|
|
|
3045
3045
|
getValue: ({ commandLine }: {
|
|
3046
3046
|
commandLine: Record<string, unknown>;
|
|
3047
3047
|
}) => {
|
|
3048
|
-
value:
|
|
3048
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3049
3049
|
source: string;
|
|
3050
3050
|
};
|
|
3051
|
-
setConfig: (newLogLevel:
|
|
3052
|
-
type:
|
|
3051
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
3052
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3053
3053
|
};
|
|
3054
3054
|
readonly onBrowserDownload: {
|
|
3055
3055
|
name: string;
|
|
@@ -3070,11 +3070,11 @@ export declare const BrowserSafeApis: {
|
|
|
3070
3070
|
getValue: ({ commandLine }: {
|
|
3071
3071
|
commandLine: Record<string, unknown>;
|
|
3072
3072
|
}) => {
|
|
3073
|
-
value:
|
|
3073
|
+
value: "chrome-for-testing" | "headless-shell";
|
|
3074
3074
|
source: string;
|
|
3075
3075
|
};
|
|
3076
|
-
setConfig: (newChromeMode:
|
|
3077
|
-
type:
|
|
3076
|
+
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
3077
|
+
type: "chrome-for-testing" | "headless-shell";
|
|
3078
3078
|
};
|
|
3079
3079
|
};
|
|
3080
3080
|
readonly deploySiteLambda: {
|
|
@@ -3087,11 +3087,11 @@ export declare const BrowserSafeApis: {
|
|
|
3087
3087
|
getValue: ({ commandLine }: {
|
|
3088
3088
|
commandLine: Record<string, unknown>;
|
|
3089
3089
|
}) => {
|
|
3090
|
-
value:
|
|
3090
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3091
3091
|
source: string;
|
|
3092
3092
|
};
|
|
3093
|
-
setConfig: (newLogLevel:
|
|
3094
|
-
type:
|
|
3093
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
3094
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3095
3095
|
};
|
|
3096
3096
|
readonly throwIfSiteExists: {
|
|
3097
3097
|
cliFlag: string;
|
|
@@ -3119,18 +3119,18 @@ export declare const BrowserSafeApis: {
|
|
|
3119
3119
|
getValue: ({ commandLine }: {
|
|
3120
3120
|
commandLine: Record<string, unknown>;
|
|
3121
3121
|
}) => {
|
|
3122
|
-
value:
|
|
3122
|
+
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3123
3123
|
source: string;
|
|
3124
3124
|
};
|
|
3125
|
-
setConfig: (newLogLevel:
|
|
3126
|
-
type:
|
|
3125
|
+
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
3126
|
+
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
3127
3127
|
};
|
|
3128
3128
|
};
|
|
3129
3129
|
};
|
|
3130
|
-
codecSupportsCrf: (codec:
|
|
3131
|
-
codecSupportsVideoBitrate: (codec:
|
|
3130
|
+
codecSupportsCrf: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => boolean;
|
|
3131
|
+
codecSupportsVideoBitrate: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => boolean;
|
|
3132
3132
|
logLevels: readonly ["trace", "verbose", "info", "warn", "error"];
|
|
3133
3133
|
getOutputCodecOrUndefined: () => import("./codec").CodecOrUndefined;
|
|
3134
|
-
getExtensionFromAudioCodec: (audioCodec:
|
|
3134
|
+
getExtensionFromAudioCodec: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16") => "aac" | "mp3" | "opus" | "wav";
|
|
3135
3135
|
validChromeModeOptions: readonly ["headless-shell", "chrome-for-testing"];
|
|
3136
3136
|
};
|