@remotion/renderer 4.0.213 → 4.0.215
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/read-file.d.ts +0 -1
- package/dist/assets/truncate-utf8-bytes.js +1 -2
- package/dist/browser/BrowserRunner.d.ts +0 -1
- package/dist/browser/ExecutionContext.js +1 -1
- package/dist/browser/JSHandle.js +2 -2
- package/dist/browser/mitt/index.js +1 -1
- package/dist/browser/util.d.ts +0 -1
- package/dist/browser/util.js +13 -13
- package/dist/call-ffmpeg.d.ts +4 -5
- package/dist/client.d.ts +90 -90
- package/dist/compositor/compose.d.ts +1 -4
- package/dist/compositor/get-executable-path.d.ts +1 -1
- package/dist/compositor/get-executable-path.js +2 -2
- package/dist/get-extension-from-codec.d.ts +1 -1
- package/dist/get-silent-parts.d.ts +4 -4
- package/dist/image-format.d.ts +1 -1
- package/dist/index.d.ts +83 -85
- package/dist/mime-types.js +3 -3
- package/dist/offthread-video-server.d.ts +0 -1
- package/dist/options/audio-codec.d.ts +3 -3
- package/dist/options/color-space.d.ts +8 -4
- package/dist/options/gl.d.ts +2 -2
- package/dist/options/index.d.ts +18 -18
- package/dist/options/log-level.d.ts +2 -2
- package/dist/options/option.d.ts +0 -1
- package/dist/options/options-map.d.ts +61 -61
- package/dist/options/video-codec.d.ts +1 -1
- package/dist/options/x264-preset.d.ts +2 -2
- package/dist/p-limit.d.ts +1 -1
- package/dist/pixel-format.d.ts +1 -1
- package/dist/port-config.d.ts +0 -9
- package/dist/provide-screenshot.d.ts +0 -1
- package/dist/puppeteer-evaluate.js +2 -3
- package/dist/puppeteer-screenshot.d.ts +0 -1
- package/dist/pure.d.ts +4 -4
- package/dist/render-frames.d.ts +0 -1
- package/dist/render-frames.js +1 -1
- package/dist/render-has-audio.d.ts +1 -1
- package/dist/render-media.d.ts +0 -1
- package/dist/render-media.js +1 -1
- package/dist/render-still.d.ts +0 -1
- package/dist/screenshot-dom-element.d.ts +0 -1
- package/dist/screenshot-task.d.ts +2 -3
- package/dist/serve-handler/index.d.ts +0 -1
- package/dist/serve-handler/range-parser.d.ts +2 -2
- package/dist/stitch-frames-to-video.d.ts +0 -1
- package/dist/take-frame-and-compose.d.ts +0 -1
- package/dist/take-frame-and-compose.js +1 -1
- package/dist/to-megabytes.js +1 -2
- package/dist/truthy.js +1 -2
- package/dist/validate-output-filename.d.ts +2 -1
- package/dist/ws/ws-types.d.ts +0 -1
- package/package.json +11 -11
- package/dist/browser/is-target-closed-err.d.ts +0 -1
- package/dist/browser/is-target-closed-err.js +0 -9
- package/dist/is-delay-render-error-with.retry.d.ts +0 -2
- package/dist/is-delay-render-error-with.retry.js +0 -37
- package/dist/streaming.d.ts +0 -11
- package/dist/streaming.js +0 -140
package/dist/options/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const allOptions: {
|
|
|
7
7
|
commandLine: Record<string, unknown>;
|
|
8
8
|
}) => {
|
|
9
9
|
source: string;
|
|
10
|
-
value: "
|
|
10
|
+
value: import("./audio-codec").AudioCodec;
|
|
11
11
|
} | {
|
|
12
12
|
source: string;
|
|
13
13
|
value: null;
|
|
@@ -16,7 +16,7 @@ export declare const allOptions: {
|
|
|
16
16
|
docLink: string;
|
|
17
17
|
name: string;
|
|
18
18
|
ssrName: "audioCodec";
|
|
19
|
-
type: "
|
|
19
|
+
type: import("./audio-codec").AudioCodec;
|
|
20
20
|
};
|
|
21
21
|
scaleOption: {
|
|
22
22
|
name: string;
|
|
@@ -135,17 +135,17 @@ export declare const allOptions: {
|
|
|
135
135
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
136
136
|
ssrName: string;
|
|
137
137
|
docLink: string;
|
|
138
|
-
type: "
|
|
138
|
+
type: import("..").Codec;
|
|
139
139
|
getValue: ({ commandLine }: {
|
|
140
140
|
commandLine: Record<string, unknown>;
|
|
141
141
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
142
142
|
outName: string | null;
|
|
143
143
|
downloadName: string | null;
|
|
144
|
-
configFile: "
|
|
145
|
-
uiCodec: "
|
|
146
|
-
compositionCodec: "
|
|
144
|
+
configFile: import("..").Codec | null;
|
|
145
|
+
uiCodec: import("..").Codec | null;
|
|
146
|
+
compositionCodec: import("..").Codec | null;
|
|
147
147
|
}) => {
|
|
148
|
-
value: "
|
|
148
|
+
value: import("..").Codec;
|
|
149
149
|
source: string;
|
|
150
150
|
};
|
|
151
151
|
setConfig: (newCodec: import("..").CodecOrUndefined) => void;
|
|
@@ -184,12 +184,12 @@ export declare const allOptions: {
|
|
|
184
184
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
185
185
|
docLink: string;
|
|
186
186
|
ssrName: string;
|
|
187
|
-
type: "
|
|
187
|
+
type: import("./color-space").ColorSpace | null;
|
|
188
188
|
getValue: ({ commandLine }: {
|
|
189
189
|
commandLine: Record<string, unknown>;
|
|
190
190
|
}) => {
|
|
191
191
|
source: string;
|
|
192
|
-
value: "
|
|
192
|
+
value: import("./color-space").ColorSpace;
|
|
193
193
|
};
|
|
194
194
|
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
|
|
195
195
|
};
|
|
@@ -245,19 +245,19 @@ export declare const allOptions: {
|
|
|
245
245
|
cliFlag: "gl";
|
|
246
246
|
docLink: string;
|
|
247
247
|
name: string;
|
|
248
|
-
type: "
|
|
248
|
+
type: import("./gl").OpenGlRenderer | null;
|
|
249
249
|
ssrName: string;
|
|
250
250
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
251
251
|
getValue: ({ commandLine }: {
|
|
252
252
|
commandLine: Record<string, unknown>;
|
|
253
253
|
}) => {
|
|
254
|
-
value: "
|
|
254
|
+
value: import("./gl").OpenGlRenderer;
|
|
255
255
|
source: string;
|
|
256
256
|
} | {
|
|
257
257
|
value: null;
|
|
258
258
|
source: string;
|
|
259
259
|
};
|
|
260
|
-
setConfig: (value: "
|
|
260
|
+
setConfig: (value: import("./gl").OpenGlRenderer | null) => void;
|
|
261
261
|
};
|
|
262
262
|
enableLambdaInsights: {
|
|
263
263
|
name: string;
|
|
@@ -382,17 +382,17 @@ export declare const allOptions: {
|
|
|
382
382
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
383
383
|
ssrName: "x264Preset";
|
|
384
384
|
docLink: string;
|
|
385
|
-
type: "
|
|
385
|
+
type: import("./x264-preset").X264Preset | null;
|
|
386
386
|
getValue: ({ commandLine }: {
|
|
387
387
|
commandLine: Record<string, unknown>;
|
|
388
388
|
}) => {
|
|
389
|
-
value: "
|
|
389
|
+
value: import("./x264-preset").X264Preset;
|
|
390
390
|
source: string;
|
|
391
391
|
} | {
|
|
392
392
|
value: null;
|
|
393
393
|
source: string;
|
|
394
394
|
};
|
|
395
|
-
setConfig: (profile: "
|
|
395
|
+
setConfig: (profile: import("./x264-preset").X264Preset | null) => void;
|
|
396
396
|
};
|
|
397
397
|
logLevelOption: {
|
|
398
398
|
cliFlag: "log";
|
|
@@ -403,11 +403,11 @@ export declare const allOptions: {
|
|
|
403
403
|
getValue: ({ commandLine }: {
|
|
404
404
|
commandLine: Record<string, unknown>;
|
|
405
405
|
}) => {
|
|
406
|
-
value: "
|
|
406
|
+
value: import("..").LogLevel;
|
|
407
407
|
source: string;
|
|
408
408
|
};
|
|
409
|
-
setConfig: (newLogLevel: "
|
|
410
|
-
type: "
|
|
409
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
410
|
+
type: import("..").LogLevel;
|
|
411
411
|
};
|
|
412
412
|
delayRenderTimeoutInMillisecondsOption: {
|
|
413
413
|
name: string;
|
|
@@ -8,9 +8,9 @@ export declare const logLevelOption: {
|
|
|
8
8
|
getValue: ({ commandLine }: {
|
|
9
9
|
commandLine: Record<string, unknown>;
|
|
10
10
|
}) => {
|
|
11
|
-
value:
|
|
11
|
+
value: LogLevel;
|
|
12
12
|
source: string;
|
|
13
13
|
};
|
|
14
14
|
setConfig: (newLogLevel: LogLevel) => void;
|
|
15
|
-
type:
|
|
15
|
+
type: LogLevel;
|
|
16
16
|
};
|
package/dist/options/option.d.ts
CHANGED
|
@@ -72,17 +72,17 @@ export declare const optionsMap: {
|
|
|
72
72
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
73
73
|
ssrName: "x264Preset";
|
|
74
74
|
docLink: string;
|
|
75
|
-
type: "
|
|
75
|
+
type: import("./x264-preset").X264Preset | null;
|
|
76
76
|
getValue: ({ commandLine }: {
|
|
77
77
|
commandLine: Record<string, unknown>;
|
|
78
78
|
}) => {
|
|
79
|
-
value: "
|
|
79
|
+
value: import("./x264-preset").X264Preset;
|
|
80
80
|
source: string;
|
|
81
81
|
} | {
|
|
82
82
|
value: null;
|
|
83
83
|
source: string;
|
|
84
84
|
};
|
|
85
|
-
setConfig: (profile: "
|
|
85
|
+
setConfig: (profile: import("./x264-preset").X264Preset | null) => void;
|
|
86
86
|
};
|
|
87
87
|
readonly audioBitrate: {
|
|
88
88
|
name: string;
|
|
@@ -108,12 +108,12 @@ export declare const optionsMap: {
|
|
|
108
108
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
109
109
|
docLink: string;
|
|
110
110
|
ssrName: string;
|
|
111
|
-
type: "
|
|
111
|
+
type: import("./color-space").ColorSpace | null;
|
|
112
112
|
getValue: ({ commandLine }: {
|
|
113
113
|
commandLine: Record<string, unknown>;
|
|
114
114
|
}) => {
|
|
115
115
|
source: string;
|
|
116
|
-
value: "
|
|
116
|
+
value: import("./color-space").ColorSpace;
|
|
117
117
|
};
|
|
118
118
|
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
|
|
119
119
|
};
|
|
@@ -123,17 +123,17 @@ export declare const optionsMap: {
|
|
|
123
123
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
124
124
|
ssrName: string;
|
|
125
125
|
docLink: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: import("..").Codec;
|
|
127
127
|
getValue: ({ commandLine }: {
|
|
128
128
|
commandLine: Record<string, unknown>;
|
|
129
129
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
130
130
|
outName: string | null;
|
|
131
131
|
downloadName: string | null;
|
|
132
|
-
configFile: "
|
|
133
|
-
uiCodec: "
|
|
134
|
-
compositionCodec: "
|
|
132
|
+
configFile: import("..").Codec | null;
|
|
133
|
+
uiCodec: import("..").Codec | null;
|
|
134
|
+
compositionCodec: import("..").Codec | null;
|
|
135
135
|
}) => {
|
|
136
|
-
value: "
|
|
136
|
+
value: import("..").Codec;
|
|
137
137
|
source: string;
|
|
138
138
|
};
|
|
139
139
|
setConfig: (newCodec: import("..").CodecOrUndefined) => void;
|
|
@@ -213,11 +213,11 @@ export declare const optionsMap: {
|
|
|
213
213
|
getValue: ({ commandLine }: {
|
|
214
214
|
commandLine: Record<string, unknown>;
|
|
215
215
|
}) => {
|
|
216
|
-
value: "
|
|
216
|
+
value: import("..").LogLevel;
|
|
217
217
|
source: string;
|
|
218
218
|
};
|
|
219
|
-
setConfig: (newLogLevel: "
|
|
220
|
-
type: "
|
|
219
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
220
|
+
type: import("..").LogLevel;
|
|
221
221
|
};
|
|
222
222
|
readonly timeoutInMilliseconds: {
|
|
223
223
|
name: string;
|
|
@@ -292,7 +292,7 @@ export declare const optionsMap: {
|
|
|
292
292
|
commandLine: Record<string, unknown>;
|
|
293
293
|
}) => {
|
|
294
294
|
source: string;
|
|
295
|
-
value: "
|
|
295
|
+
value: import("./audio-codec").AudioCodec;
|
|
296
296
|
} | {
|
|
297
297
|
source: string;
|
|
298
298
|
value: null;
|
|
@@ -301,7 +301,7 @@ export declare const optionsMap: {
|
|
|
301
301
|
docLink: string;
|
|
302
302
|
name: string;
|
|
303
303
|
ssrName: "audioCodec";
|
|
304
|
-
type: "
|
|
304
|
+
type: import("./audio-codec").AudioCodec;
|
|
305
305
|
};
|
|
306
306
|
readonly onBrowserDownload: {
|
|
307
307
|
name: string;
|
|
@@ -377,11 +377,11 @@ export declare const optionsMap: {
|
|
|
377
377
|
getValue: ({ commandLine }: {
|
|
378
378
|
commandLine: Record<string, unknown>;
|
|
379
379
|
}) => {
|
|
380
|
-
value: "
|
|
380
|
+
value: import("..").LogLevel;
|
|
381
381
|
source: string;
|
|
382
382
|
};
|
|
383
|
-
setConfig: (newLogLevel: "
|
|
384
|
-
type: "
|
|
383
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
384
|
+
type: import("..").LogLevel;
|
|
385
385
|
};
|
|
386
386
|
readonly timeoutInMilliseconds: {
|
|
387
387
|
name: string;
|
|
@@ -452,11 +452,11 @@ export declare const optionsMap: {
|
|
|
452
452
|
getValue: ({ commandLine }: {
|
|
453
453
|
commandLine: Record<string, unknown>;
|
|
454
454
|
}) => {
|
|
455
|
-
value: "
|
|
455
|
+
value: import("..").LogLevel;
|
|
456
456
|
source: string;
|
|
457
457
|
};
|
|
458
|
-
setConfig: (newLogLevel: "
|
|
459
|
-
type: "
|
|
458
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
459
|
+
type: import("..").LogLevel;
|
|
460
460
|
};
|
|
461
461
|
readonly timeoutInMilliseconds: {
|
|
462
462
|
name: string;
|
|
@@ -527,11 +527,11 @@ export declare const optionsMap: {
|
|
|
527
527
|
getValue: ({ commandLine }: {
|
|
528
528
|
commandLine: Record<string, unknown>;
|
|
529
529
|
}) => {
|
|
530
|
-
value: "
|
|
530
|
+
value: import("..").LogLevel;
|
|
531
531
|
source: string;
|
|
532
532
|
};
|
|
533
|
-
setConfig: (newLogLevel: "
|
|
534
|
-
type: "
|
|
533
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
534
|
+
type: import("..").LogLevel;
|
|
535
535
|
};
|
|
536
536
|
readonly timeoutInMilliseconds: {
|
|
537
537
|
name: string;
|
|
@@ -635,11 +635,11 @@ export declare const optionsMap: {
|
|
|
635
635
|
getValue: ({ commandLine }: {
|
|
636
636
|
commandLine: Record<string, unknown>;
|
|
637
637
|
}) => {
|
|
638
|
-
value: "
|
|
638
|
+
value: import("..").LogLevel;
|
|
639
639
|
source: string;
|
|
640
640
|
};
|
|
641
|
-
setConfig: (newLogLevel: "
|
|
642
|
-
type: "
|
|
641
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
642
|
+
type: import("..").LogLevel;
|
|
643
643
|
};
|
|
644
644
|
readonly timeoutInMilliseconds: {
|
|
645
645
|
name: string;
|
|
@@ -794,17 +794,17 @@ export declare const optionsMap: {
|
|
|
794
794
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
795
795
|
ssrName: "x264Preset";
|
|
796
796
|
docLink: string;
|
|
797
|
-
type: "
|
|
797
|
+
type: import("./x264-preset").X264Preset | null;
|
|
798
798
|
getValue: ({ commandLine }: {
|
|
799
799
|
commandLine: Record<string, unknown>;
|
|
800
800
|
}) => {
|
|
801
|
-
value: "
|
|
801
|
+
value: import("./x264-preset").X264Preset;
|
|
802
802
|
source: string;
|
|
803
803
|
} | {
|
|
804
804
|
value: null;
|
|
805
805
|
source: string;
|
|
806
806
|
};
|
|
807
|
-
setConfig: (profile: "
|
|
807
|
+
setConfig: (profile: import("./x264-preset").X264Preset | null) => void;
|
|
808
808
|
};
|
|
809
809
|
readonly encodingMaxRate: {
|
|
810
810
|
name: string;
|
|
@@ -848,12 +848,12 @@ export declare const optionsMap: {
|
|
|
848
848
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
849
849
|
docLink: string;
|
|
850
850
|
ssrName: string;
|
|
851
|
-
type: "
|
|
851
|
+
type: import("./color-space").ColorSpace | null;
|
|
852
852
|
getValue: ({ commandLine }: {
|
|
853
853
|
commandLine: Record<string, unknown>;
|
|
854
854
|
}) => {
|
|
855
855
|
source: string;
|
|
856
|
-
value: "
|
|
856
|
+
value: import("./color-space").ColorSpace;
|
|
857
857
|
};
|
|
858
858
|
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
|
|
859
859
|
};
|
|
@@ -881,11 +881,11 @@ export declare const optionsMap: {
|
|
|
881
881
|
getValue: ({ commandLine }: {
|
|
882
882
|
commandLine: Record<string, unknown>;
|
|
883
883
|
}) => {
|
|
884
|
-
value: "
|
|
884
|
+
value: import("..").LogLevel;
|
|
885
885
|
source: string;
|
|
886
886
|
};
|
|
887
|
-
setConfig: (newLogLevel: "
|
|
888
|
-
type: "
|
|
887
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
888
|
+
type: import("..").LogLevel;
|
|
889
889
|
};
|
|
890
890
|
readonly timeoutInMilliseconds: {
|
|
891
891
|
name: string;
|
|
@@ -946,11 +946,11 @@ export declare const optionsMap: {
|
|
|
946
946
|
getValue: ({ commandLine }: {
|
|
947
947
|
commandLine: Record<string, unknown>;
|
|
948
948
|
}) => {
|
|
949
|
-
value: "
|
|
949
|
+
value: import("..").LogLevel;
|
|
950
950
|
source: string;
|
|
951
951
|
};
|
|
952
|
-
setConfig: (newLogLevel: "
|
|
953
|
-
type: "
|
|
952
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
953
|
+
type: import("..").LogLevel;
|
|
954
954
|
};
|
|
955
955
|
readonly deleteAfter: {
|
|
956
956
|
name: string;
|
|
@@ -1029,11 +1029,11 @@ export declare const optionsMap: {
|
|
|
1029
1029
|
getValue: ({ commandLine }: {
|
|
1030
1030
|
commandLine: Record<string, unknown>;
|
|
1031
1031
|
}) => {
|
|
1032
|
-
value: "
|
|
1032
|
+
value: import("..").LogLevel;
|
|
1033
1033
|
source: string;
|
|
1034
1034
|
};
|
|
1035
|
-
setConfig: (newLogLevel: "
|
|
1036
|
-
type: "
|
|
1035
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1036
|
+
type: import("..").LogLevel;
|
|
1037
1037
|
};
|
|
1038
1038
|
readonly timeoutInMilliseconds: {
|
|
1039
1039
|
name: string;
|
|
@@ -1112,12 +1112,12 @@ export declare const optionsMap: {
|
|
|
1112
1112
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1113
1113
|
docLink: string;
|
|
1114
1114
|
ssrName: string;
|
|
1115
|
-
type: "
|
|
1115
|
+
type: import("./color-space").ColorSpace | null;
|
|
1116
1116
|
getValue: ({ commandLine }: {
|
|
1117
1117
|
commandLine: Record<string, unknown>;
|
|
1118
1118
|
}) => {
|
|
1119
1119
|
source: string;
|
|
1120
|
-
value: "
|
|
1120
|
+
value: import("./color-space").ColorSpace;
|
|
1121
1121
|
};
|
|
1122
1122
|
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
|
|
1123
1123
|
};
|
|
@@ -1160,17 +1160,17 @@ export declare const optionsMap: {
|
|
|
1160
1160
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1161
1161
|
ssrName: "x264Preset";
|
|
1162
1162
|
docLink: string;
|
|
1163
|
-
type: "
|
|
1163
|
+
type: import("./x264-preset").X264Preset | null;
|
|
1164
1164
|
getValue: ({ commandLine }: {
|
|
1165
1165
|
commandLine: Record<string, unknown>;
|
|
1166
1166
|
}) => {
|
|
1167
|
-
value: "
|
|
1167
|
+
value: import("./x264-preset").X264Preset;
|
|
1168
1168
|
source: string;
|
|
1169
1169
|
} | {
|
|
1170
1170
|
value: null;
|
|
1171
1171
|
source: string;
|
|
1172
1172
|
};
|
|
1173
|
-
setConfig: (profile: "
|
|
1173
|
+
setConfig: (profile: import("./x264-preset").X264Preset | null) => void;
|
|
1174
1174
|
};
|
|
1175
1175
|
readonly encodingMaxRate: {
|
|
1176
1176
|
name: string;
|
|
@@ -1232,11 +1232,11 @@ export declare const optionsMap: {
|
|
|
1232
1232
|
getValue: ({ commandLine }: {
|
|
1233
1233
|
commandLine: Record<string, unknown>;
|
|
1234
1234
|
}) => {
|
|
1235
|
-
value: "
|
|
1235
|
+
value: import("..").LogLevel;
|
|
1236
1236
|
source: string;
|
|
1237
1237
|
};
|
|
1238
|
-
setConfig: (newLogLevel: "
|
|
1239
|
-
type: "
|
|
1238
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1239
|
+
type: import("..").LogLevel;
|
|
1240
1240
|
};
|
|
1241
1241
|
readonly delayRenderTimeoutInMilliseconds: {
|
|
1242
1242
|
name: string;
|
|
@@ -1345,11 +1345,11 @@ export declare const optionsMap: {
|
|
|
1345
1345
|
getValue: ({ commandLine }: {
|
|
1346
1346
|
commandLine: Record<string, unknown>;
|
|
1347
1347
|
}) => {
|
|
1348
|
-
value: "
|
|
1348
|
+
value: import("..").LogLevel;
|
|
1349
1349
|
source: string;
|
|
1350
1350
|
};
|
|
1351
|
-
setConfig: (newLogLevel: "
|
|
1352
|
-
type: "
|
|
1351
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1352
|
+
type: import("..").LogLevel;
|
|
1353
1353
|
};
|
|
1354
1354
|
readonly scale: {
|
|
1355
1355
|
name: string;
|
|
@@ -1407,11 +1407,11 @@ export declare const optionsMap: {
|
|
|
1407
1407
|
getValue: ({ commandLine }: {
|
|
1408
1408
|
commandLine: Record<string, unknown>;
|
|
1409
1409
|
}) => {
|
|
1410
|
-
value: "
|
|
1410
|
+
value: import("..").LogLevel;
|
|
1411
1411
|
source: string;
|
|
1412
1412
|
};
|
|
1413
|
-
setConfig: (newLogLevel: "
|
|
1414
|
-
type: "
|
|
1413
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1414
|
+
type: import("..").LogLevel;
|
|
1415
1415
|
};
|
|
1416
1416
|
readonly onBrowserDownload: {
|
|
1417
1417
|
name: string;
|
|
@@ -1434,11 +1434,11 @@ export declare const optionsMap: {
|
|
|
1434
1434
|
getValue: ({ commandLine }: {
|
|
1435
1435
|
commandLine: Record<string, unknown>;
|
|
1436
1436
|
}) => {
|
|
1437
|
-
value: "
|
|
1437
|
+
value: import("..").LogLevel;
|
|
1438
1438
|
source: string;
|
|
1439
1439
|
};
|
|
1440
|
-
setConfig: (newLogLevel: "
|
|
1441
|
-
type: "
|
|
1440
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1441
|
+
type: import("..").LogLevel;
|
|
1442
1442
|
};
|
|
1443
1443
|
readonly throwIfSiteExists: {
|
|
1444
1444
|
cliFlag: string;
|
|
@@ -1466,11 +1466,11 @@ export declare const optionsMap: {
|
|
|
1466
1466
|
getValue: ({ commandLine }: {
|
|
1467
1467
|
commandLine: Record<string, unknown>;
|
|
1468
1468
|
}) => {
|
|
1469
|
-
value: "
|
|
1469
|
+
value: import("..").LogLevel;
|
|
1470
1470
|
source: string;
|
|
1471
1471
|
};
|
|
1472
|
-
setConfig: (newLogLevel: "
|
|
1473
|
-
type: "
|
|
1472
|
+
setConfig: (newLogLevel: import("..").LogLevel) => void;
|
|
1473
|
+
type: import("..").LogLevel;
|
|
1474
1474
|
};
|
|
1475
1475
|
};
|
|
1476
1476
|
};
|
|
@@ -6,7 +6,7 @@ export declare const videoCodecOption: {
|
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
ssrName: string;
|
|
8
8
|
docLink: string;
|
|
9
|
-
type:
|
|
9
|
+
type: Codec;
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
11
11
|
commandLine: Record<string, unknown>;
|
|
12
12
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
@@ -11,11 +11,11 @@ export declare const x264Option: {
|
|
|
11
11
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
ssrName: "x264Preset";
|
|
13
13
|
docLink: string;
|
|
14
|
-
type:
|
|
14
|
+
type: X264Preset | null;
|
|
15
15
|
getValue: ({ commandLine }: {
|
|
16
16
|
commandLine: Record<string, unknown>;
|
|
17
17
|
}) => {
|
|
18
|
-
value:
|
|
18
|
+
value: X264Preset;
|
|
19
19
|
source: string;
|
|
20
20
|
} | {
|
|
21
21
|
value: null;
|
package/dist/p-limit.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const pLimit: (concurrency: number) => <Arguments extends unknown[],
|
|
1
|
+
export declare const pLimit: (concurrency: number) => <Arguments extends unknown[], ReturnType>(fn: (..._arguments: Arguments) => PromiseLike<ReturnType> | ReturnType, ...args: Arguments) => Promise<ReturnType>;
|
package/dist/pixel-format.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import type { Codec } from './codec';
|
|
|
2
2
|
export declare const validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
3
3
|
export type PixelFormat = (typeof validPixelFormats)[number];
|
|
4
4
|
export declare const DEFAULT_PIXEL_FORMAT: PixelFormat;
|
|
5
|
-
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "
|
|
5
|
+
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
|
|
6
6
|
export declare const validateSelectedPixelFormatAndCodecCombination: (pixelFormat: PixelFormat | undefined, codec: Codec) => undefined;
|
package/dist/port-config.d.ts
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/// <reference types="bun-types" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
4
|
-
/// <reference types="node" />
|
|
5
|
-
/// <reference types="node" />
|
|
6
|
-
/// <reference types="node" />
|
|
7
|
-
/// <reference types="bun-types" />
|
|
8
|
-
/// <reference types="bun-types" />
|
|
9
|
-
/// <reference types="node" />
|
|
10
1
|
import type { NetworkInterfaceInfo } from 'os';
|
|
11
2
|
import os from 'os';
|
|
12
3
|
type PortConfig = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.puppeteerEvaluateWithCatchAndTimeout = puppeteerEvaluateWithCatchAndTimeout;
|
|
4
|
+
exports.puppeteerEvaluateWithCatch = puppeteerEvaluateWithCatch;
|
|
4
5
|
const JSHandle_1 = require("./browser/JSHandle");
|
|
5
6
|
const symbolicateable_error_1 = require("./error-handling/symbolicateable-error");
|
|
6
7
|
const parse_browser_error_stack_1 = require("./parse-browser-error-stack");
|
|
@@ -50,7 +51,6 @@ function puppeteerEvaluateWithCatchAndTimeout({ args, frame, page, pageFunction,
|
|
|
50
51
|
return data;
|
|
51
52
|
});
|
|
52
53
|
}
|
|
53
|
-
exports.puppeteerEvaluateWithCatchAndTimeout = puppeteerEvaluateWithCatchAndTimeout;
|
|
54
54
|
async function puppeteerEvaluateWithCatch({ page, pageFunction, frame, args, }) {
|
|
55
55
|
var _a, _b, _c, _d, _e, _f;
|
|
56
56
|
const contextId = (await page.mainFrame().executionContext())._contextId;
|
|
@@ -121,7 +121,6 @@ async function puppeteerEvaluateWithCatch({ page, pageFunction, frame, args, })
|
|
|
121
121
|
throw error;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
exports.puppeteerEvaluateWithCatch = puppeteerEvaluateWithCatch;
|
|
125
124
|
/**
|
|
126
125
|
* @param {*} arg
|
|
127
126
|
* @returns {*}
|
package/dist/pure.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const NoReactAPIs: {
|
|
2
2
|
getExtensionOfFilename: (filename: string | null) => string | null;
|
|
3
|
-
getFileExtensionFromCodec: <T extends "
|
|
4
|
-
validateOutputFilename: <
|
|
5
|
-
codec:
|
|
6
|
-
audioCodecSetting: "
|
|
3
|
+
getFileExtensionFromCodec: <T extends import("./codec").Codec>(codec: T, audioCodec: import(".").AudioCodec | null) => import("./file-extensions").FileExtension;
|
|
4
|
+
validateOutputFilename: <T extends import("./codec").Codec>({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: {
|
|
5
|
+
codec: T;
|
|
6
|
+
audioCodecSetting: import(".").AudioCodec | null;
|
|
7
7
|
extension: string;
|
|
8
8
|
preferLossless: boolean;
|
|
9
9
|
separateAudioTo: string | null;
|
package/dist/render-frames.d.ts
CHANGED
package/dist/render-frames.js
CHANGED
|
@@ -567,7 +567,7 @@ const renderFrames = (options) => {
|
|
|
567
567
|
if (typeof jpegQuality !== 'undefined' && imageFormat !== 'jpeg') {
|
|
568
568
|
throw new Error("You can only pass the `quality` option if `imageFormat` is 'jpeg'.");
|
|
569
569
|
}
|
|
570
|
-
const logLevel = verbose || dumpBrowserLogs ? 'verbose' : passedLogLevel !== null && passedLogLevel !== void 0 ? passedLogLevel : 'info';
|
|
570
|
+
const logLevel = verbose || dumpBrowserLogs ? 'verbose' : (passedLogLevel !== null && passedLogLevel !== void 0 ? passedLogLevel : 'info');
|
|
571
571
|
const indent = false;
|
|
572
572
|
if (quality) {
|
|
573
573
|
logger_1.Log.warn({ indent, logLevel }, 'Passing `quality()` to `renderStill` is deprecated. Use `jpegQuality` instead.');
|
package/dist/render-media.d.ts
CHANGED
package/dist/render-media.js
CHANGED
|
@@ -510,7 +510,7 @@ const renderMedia = ({ proResProfile, x264Preset, crf, composition, inputProps,
|
|
|
510
510
|
console.warn(`The "quality" option has been renamed. Please use "jpegQuality" instead.`);
|
|
511
511
|
}
|
|
512
512
|
const indent = false;
|
|
513
|
-
const logLevel = verbose || dumpBrowserLogs ? 'verbose' : passedLogLevel !== null && passedLogLevel !== void 0 ? passedLogLevel : 'info';
|
|
513
|
+
const logLevel = verbose || dumpBrowserLogs ? 'verbose' : (passedLogLevel !== null && passedLogLevel !== void 0 ? passedLogLevel : 'info');
|
|
514
514
|
return (0, exports.internalRenderMedia)({
|
|
515
515
|
proResProfile: proResProfile !== null && proResProfile !== void 0 ? proResProfile : undefined,
|
|
516
516
|
x264Preset: x264Preset !== null && x264Preset !== void 0 ? x264Preset : null,
|
package/dist/render-still.d.ts
CHANGED