@jtdigital/renderbox-sdk 0.2.0
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/LICENSE +201 -0
- package/README.md +82 -0
- package/dist/graph.d.ts +194 -0
- package/dist/graph.d.ts.map +1 -0
- package/dist/graph.js +62 -0
- package/dist/graph.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/input.d.ts +30 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +167 -0
- package/dist/input.js.map +1 -0
- package/dist/job.d.ts +18 -0
- package/dist/job.d.ts.map +1 -0
- package/dist/job.js +15 -0
- package/dist/job.js.map +1 -0
- package/dist/ops/ai.d.ts +156 -0
- package/dist/ops/ai.d.ts.map +1 -0
- package/dist/ops/ai.js +134 -0
- package/dist/ops/ai.js.map +1 -0
- package/dist/ops/audio.d.ts +359 -0
- package/dist/ops/audio.d.ts.map +1 -0
- package/dist/ops/audio.js +296 -0
- package/dist/ops/audio.js.map +1 -0
- package/dist/ops/combine.d.ts +246 -0
- package/dist/ops/combine.d.ts.map +1 -0
- package/dist/ops/combine.js +230 -0
- package/dist/ops/combine.js.map +1 -0
- package/dist/ops/source.d.ts +41 -0
- package/dist/ops/source.d.ts.map +1 -0
- package/dist/ops/source.js +34 -0
- package/dist/ops/source.js.map +1 -0
- package/dist/ops/video.d.ts +695 -0
- package/dist/ops/video.d.ts.map +1 -0
- package/dist/ops/video.js +620 -0
- package/dist/ops/video.js.map +1 -0
- package/dist/output.d.ts +26 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +144 -0
- package/dist/output.js.map +1 -0
- package/dist/protocol.d.ts +96 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +2 -0
- package/dist/protocol.js.map +1 -0
- package/dist/recipes/depthBlurPipeline.d.ts +11 -0
- package/dist/recipes/depthBlurPipeline.d.ts.map +1 -0
- package/dist/recipes/depthBlurPipeline.js +17 -0
- package/dist/recipes/depthBlurPipeline.js.map +1 -0
- package/dist/recipes/faceRedact.d.ts +15 -0
- package/dist/recipes/faceRedact.d.ts.map +1 -0
- package/dist/recipes/faceRedact.js +25 -0
- package/dist/recipes/faceRedact.js.map +1 -0
- package/dist/recipes/index.d.ts +6 -0
- package/dist/recipes/index.d.ts.map +1 -0
- package/dist/recipes/index.js +6 -0
- package/dist/recipes/index.js.map +1 -0
- package/dist/recipes/letterbox.d.ts +6 -0
- package/dist/recipes/letterbox.d.ts.map +1 -0
- package/dist/recipes/letterbox.js +7 -0
- package/dist/recipes/letterbox.js.map +1 -0
- package/dist/recipes/makeSlideshow.d.ts +28 -0
- package/dist/recipes/makeSlideshow.d.ts.map +1 -0
- package/dist/recipes/makeSlideshow.js +127 -0
- package/dist/recipes/makeSlideshow.js.map +1 -0
- package/dist/recipes/snip.d.ts +3 -0
- package/dist/recipes/snip.d.ts.map +1 -0
- package/dist/recipes/snip.js +6 -0
- package/dist/recipes/snip.js.map +1 -0
- package/dist/recipes/subtitleBurn.d.ts +11 -0
- package/dist/recipes/subtitleBurn.d.ts.map +1 -0
- package/dist/recipes/subtitleBurn.js +16 -0
- package/dist/recipes/subtitleBurn.js.map +1 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
import type { Stream } from '../types.js';
|
|
2
|
+
export declare function alphaextract(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
3
|
+
export interface AutoEnhanceOpts {
|
|
4
|
+
model: string;
|
|
5
|
+
/** @range [0, 1] */
|
|
6
|
+
strength?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function autoEnhance(opts: AutoEnhanceOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
9
|
+
export interface BackgroundkeyOpts {
|
|
10
|
+
threshold?: number;
|
|
11
|
+
similarity?: number;
|
|
12
|
+
blend?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function backgroundkey(opts?: BackgroundkeyOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
15
|
+
export interface BilateralOpts {
|
|
16
|
+
sigmaS?: number;
|
|
17
|
+
sigmaR?: number;
|
|
18
|
+
planes?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare function bilateral(opts?: BilateralOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
21
|
+
export interface BlackdetectOpts {
|
|
22
|
+
d?: number;
|
|
23
|
+
pix_th?: number;
|
|
24
|
+
pic_th?: number;
|
|
25
|
+
}
|
|
26
|
+
export declare function blackdetect(opts?: BlackdetectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
27
|
+
export interface Bm3dOpts {
|
|
28
|
+
sigma?: number;
|
|
29
|
+
block?: number;
|
|
30
|
+
bstep?: number;
|
|
31
|
+
group?: number;
|
|
32
|
+
range?: number;
|
|
33
|
+
mstep?: number;
|
|
34
|
+
thmse?: number;
|
|
35
|
+
hdthr?: number;
|
|
36
|
+
estim?: 'basic' | 'final';
|
|
37
|
+
}
|
|
38
|
+
export declare function bm3d(opts?: Bm3dOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
39
|
+
export interface BoxblurOpts {
|
|
40
|
+
luma_radius?: string;
|
|
41
|
+
chroma_radius?: string;
|
|
42
|
+
luma_power?: number;
|
|
43
|
+
chroma_power?: number;
|
|
44
|
+
}
|
|
45
|
+
export declare function boxblur(opts?: BoxblurOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
46
|
+
export interface CasOpts {
|
|
47
|
+
/** @range [0, 1] */
|
|
48
|
+
strength?: number;
|
|
49
|
+
planes?: number;
|
|
50
|
+
}
|
|
51
|
+
export declare function cas(opts?: CasOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
52
|
+
export interface ChromakeyOpts {
|
|
53
|
+
color: string;
|
|
54
|
+
/** @range [0, 1] */
|
|
55
|
+
similarity?: number;
|
|
56
|
+
/** @range [0, 1] */
|
|
57
|
+
blend?: number;
|
|
58
|
+
}
|
|
59
|
+
export declare function chromakey(opts: ChromakeyOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
60
|
+
export interface ColorCorrectOpts {
|
|
61
|
+
model: string;
|
|
62
|
+
/** @range [0, 1] */
|
|
63
|
+
strength?: number;
|
|
64
|
+
}
|
|
65
|
+
export declare function colorCorrect(opts: ColorCorrectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
66
|
+
export interface ColorbalanceOpts {
|
|
67
|
+
rs?: number;
|
|
68
|
+
gs?: number;
|
|
69
|
+
bs?: number;
|
|
70
|
+
rm?: number;
|
|
71
|
+
gm?: number;
|
|
72
|
+
bm?: number;
|
|
73
|
+
rh?: number;
|
|
74
|
+
gh?: number;
|
|
75
|
+
bh?: number;
|
|
76
|
+
}
|
|
77
|
+
export declare function colorbalance(opts?: ColorbalanceOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
78
|
+
export interface ColorchannelmixerOpts {
|
|
79
|
+
rr?: number;
|
|
80
|
+
rg?: number;
|
|
81
|
+
rb?: number;
|
|
82
|
+
ra?: number;
|
|
83
|
+
gr?: number;
|
|
84
|
+
gg?: number;
|
|
85
|
+
gb?: number;
|
|
86
|
+
ga?: number;
|
|
87
|
+
br?: number;
|
|
88
|
+
bg?: number;
|
|
89
|
+
bb?: number;
|
|
90
|
+
ba?: number;
|
|
91
|
+
ar?: number;
|
|
92
|
+
ag?: number;
|
|
93
|
+
ab?: number;
|
|
94
|
+
aa?: number;
|
|
95
|
+
}
|
|
96
|
+
export declare function colorchannelmixer(opts?: ColorchannelmixerOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
97
|
+
export interface ColorgradeOpts {
|
|
98
|
+
lut?: string;
|
|
99
|
+
}
|
|
100
|
+
export declare function colorgrade(opts?: ColorgradeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
101
|
+
export interface ColorholdOpts {
|
|
102
|
+
color: string;
|
|
103
|
+
similarity?: number;
|
|
104
|
+
blend?: number;
|
|
105
|
+
}
|
|
106
|
+
export declare function colorhold(opts: ColorholdOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
107
|
+
export interface ColorizeOpts {
|
|
108
|
+
model: string;
|
|
109
|
+
/** @range greater than 0 */
|
|
110
|
+
saturation?: number;
|
|
111
|
+
/** @range [0, 1] */
|
|
112
|
+
temporal_stability?: number;
|
|
113
|
+
}
|
|
114
|
+
export declare function colorize(opts: ColorizeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
115
|
+
export interface ColorkeyOpts {
|
|
116
|
+
color: string;
|
|
117
|
+
/** @range [0, 1] */
|
|
118
|
+
similarity?: number;
|
|
119
|
+
/** @range [0, 1] */
|
|
120
|
+
blend?: number;
|
|
121
|
+
}
|
|
122
|
+
export declare function colorkey(opts: ColorkeyOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
123
|
+
export interface ColorspaceOpts {
|
|
124
|
+
all?: 'bt470m' | 'bt470bg' | 'bt601-6-525' | 'bt601-6-625' | 'bt709' | 'smpte170m' | 'smpte240m' | 'bt2020';
|
|
125
|
+
space?: string;
|
|
126
|
+
trc?: string;
|
|
127
|
+
primaries?: string;
|
|
128
|
+
range?: 'tv' | 'mpeg' | 'pc' | 'jpeg';
|
|
129
|
+
format?: string;
|
|
130
|
+
fast?: number;
|
|
131
|
+
iall?: string;
|
|
132
|
+
ispace?: string;
|
|
133
|
+
itrc?: string;
|
|
134
|
+
iprimaries?: string;
|
|
135
|
+
irange?: 'tv' | 'mpeg' | 'pc' | 'jpeg';
|
|
136
|
+
}
|
|
137
|
+
export declare function colorspace(opts?: ColorspaceOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
138
|
+
export interface ColortemperatureOpts {
|
|
139
|
+
temperature: number;
|
|
140
|
+
}
|
|
141
|
+
export declare function colortemperature(opts: ColortemperatureOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
142
|
+
export interface CropOpts {
|
|
143
|
+
/** @range greater than 0 */
|
|
144
|
+
w?: number | string;
|
|
145
|
+
/** @range greater than 0 */
|
|
146
|
+
h?: number | string;
|
|
147
|
+
x?: number | string;
|
|
148
|
+
y?: number | string;
|
|
149
|
+
}
|
|
150
|
+
export declare function crop(opts?: CropOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
151
|
+
export interface CurvesOpts {
|
|
152
|
+
preset: 'none' | 'color_negative' | 'cross_process' | 'darker' | 'increase_contrast' | 'lighter' | 'linear_contrast' | 'medium_contrast' | 'negative' | 'strong_contrast' | 'vintage';
|
|
153
|
+
}
|
|
154
|
+
export declare function curves(opts: CurvesOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
155
|
+
export interface DebandOpts {
|
|
156
|
+
'1thr'?: number;
|
|
157
|
+
range?: number;
|
|
158
|
+
blur?: boolean;
|
|
159
|
+
}
|
|
160
|
+
export declare function deband(opts?: DebandOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
161
|
+
export interface DeblockOpts {
|
|
162
|
+
strong?: boolean;
|
|
163
|
+
}
|
|
164
|
+
export declare function deblock(opts?: DeblockOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
165
|
+
export interface DeblurOpts {
|
|
166
|
+
model: string;
|
|
167
|
+
/** @range [0, 1] */
|
|
168
|
+
strength?: number;
|
|
169
|
+
}
|
|
170
|
+
export declare function deblur(opts: DeblurOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
171
|
+
export interface DeflickerOpts {
|
|
172
|
+
size?: number;
|
|
173
|
+
mode?: string;
|
|
174
|
+
}
|
|
175
|
+
export declare function deflicker(opts?: DeflickerOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
176
|
+
export interface DeinterlaceOpts {
|
|
177
|
+
model: string;
|
|
178
|
+
}
|
|
179
|
+
export declare function deinterlace(opts: DeinterlaceOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
180
|
+
export interface DelogoOpts {
|
|
181
|
+
x: number;
|
|
182
|
+
y: number;
|
|
183
|
+
w: number;
|
|
184
|
+
h: number;
|
|
185
|
+
}
|
|
186
|
+
export declare function delogo(opts: DelogoOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
187
|
+
export interface DenoiseOpts {
|
|
188
|
+
model: string;
|
|
189
|
+
/** @range [0, 1] */
|
|
190
|
+
strength?: number;
|
|
191
|
+
}
|
|
192
|
+
export declare function denoise(opts: DenoiseOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
193
|
+
export interface DenoiseHqdn3dOpts {
|
|
194
|
+
strength?: number;
|
|
195
|
+
}
|
|
196
|
+
export declare function denoiseHqdn3d(opts?: DenoiseHqdn3dOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
197
|
+
export interface DeshakeOpts {
|
|
198
|
+
rx?: number;
|
|
199
|
+
ry?: number;
|
|
200
|
+
}
|
|
201
|
+
export declare function deshake(opts?: DeshakeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
202
|
+
export interface DilationOpts {
|
|
203
|
+
threshold0?: number;
|
|
204
|
+
threshold1?: number;
|
|
205
|
+
threshold2?: number;
|
|
206
|
+
threshold3?: number;
|
|
207
|
+
coordinates?: number;
|
|
208
|
+
}
|
|
209
|
+
export declare function dilation(opts?: DilationOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
210
|
+
export interface DrawboxOpts {
|
|
211
|
+
x?: number | string;
|
|
212
|
+
y?: number | string;
|
|
213
|
+
w?: number | string;
|
|
214
|
+
h?: number | string;
|
|
215
|
+
color?: string;
|
|
216
|
+
t?: string;
|
|
217
|
+
enable?: string;
|
|
218
|
+
}
|
|
219
|
+
export declare function drawbox(opts?: DrawboxOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
220
|
+
export interface DrawgridOpts {
|
|
221
|
+
x?: string;
|
|
222
|
+
y?: string;
|
|
223
|
+
w?: string;
|
|
224
|
+
h?: string;
|
|
225
|
+
color?: string;
|
|
226
|
+
t?: string;
|
|
227
|
+
replace?: number;
|
|
228
|
+
}
|
|
229
|
+
export declare function drawgrid(opts?: DrawgridOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
230
|
+
export interface DrawtextOpts {
|
|
231
|
+
text?: string;
|
|
232
|
+
textfile?: string;
|
|
233
|
+
fontfile?: string;
|
|
234
|
+
fontsize?: number | string;
|
|
235
|
+
fontcolor?: string;
|
|
236
|
+
x?: number | string;
|
|
237
|
+
y?: number | string;
|
|
238
|
+
boxcolor?: string;
|
|
239
|
+
borderw?: number;
|
|
240
|
+
shadowcolor?: string;
|
|
241
|
+
shadowx?: number;
|
|
242
|
+
shadowy?: number;
|
|
243
|
+
alpha?: number | string;
|
|
244
|
+
font?: string;
|
|
245
|
+
line_spacing?: number;
|
|
246
|
+
enable?: string;
|
|
247
|
+
expansion?: 'none' | 'normal' | 'strftime';
|
|
248
|
+
}
|
|
249
|
+
export declare function drawtext(opts?: DrawtextOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
250
|
+
export interface EdgedetectOpts {
|
|
251
|
+
low?: number;
|
|
252
|
+
high?: number;
|
|
253
|
+
mode?: 'wires' | 'colormix' | 'canny';
|
|
254
|
+
}
|
|
255
|
+
export declare function edgedetect(opts?: EdgedetectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
256
|
+
export interface EqOpts {
|
|
257
|
+
/** @range [-1, 1] */
|
|
258
|
+
brightness?: number;
|
|
259
|
+
/** @range [-1000, 1000] */
|
|
260
|
+
contrast?: number;
|
|
261
|
+
/** @range [0, 3] */
|
|
262
|
+
saturation?: number;
|
|
263
|
+
/** @range [0.1, 10] */
|
|
264
|
+
gamma?: number;
|
|
265
|
+
}
|
|
266
|
+
export declare function eq(opts?: EqOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
267
|
+
export interface ErosionOpts {
|
|
268
|
+
threshold0?: number;
|
|
269
|
+
threshold1?: number;
|
|
270
|
+
threshold2?: number;
|
|
271
|
+
threshold3?: number;
|
|
272
|
+
coordinates?: number;
|
|
273
|
+
}
|
|
274
|
+
export declare function erosion(opts?: ErosionOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
275
|
+
export interface FadeOpts {
|
|
276
|
+
type: 'in' | 'out';
|
|
277
|
+
/** @range at least 0 */
|
|
278
|
+
st?: number;
|
|
279
|
+
/** @range greater than 0 */
|
|
280
|
+
d?: number;
|
|
281
|
+
color?: string;
|
|
282
|
+
alpha?: number;
|
|
283
|
+
}
|
|
284
|
+
export declare function fade(opts: FadeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
285
|
+
export interface FillbordersOpts {
|
|
286
|
+
left?: number;
|
|
287
|
+
right?: number;
|
|
288
|
+
top?: number;
|
|
289
|
+
bottom?: number;
|
|
290
|
+
mode?: 'smear' | 'mirror' | 'fixed' | 'reflect' | 'wrap' | 'fade' | 'margins';
|
|
291
|
+
color?: string;
|
|
292
|
+
}
|
|
293
|
+
export declare function fillborders(opts?: FillbordersOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
294
|
+
export interface FormatOpts {
|
|
295
|
+
pix_fmts: string;
|
|
296
|
+
}
|
|
297
|
+
export declare function format(opts: FormatOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
298
|
+
export interface FpsOpts {
|
|
299
|
+
/** @range greater than 0 */
|
|
300
|
+
fps: number;
|
|
301
|
+
}
|
|
302
|
+
export declare function fps(opts: FpsOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
303
|
+
export interface FrameInterpolateOpts {
|
|
304
|
+
model: string;
|
|
305
|
+
/** @range greater than 0 */
|
|
306
|
+
factor?: number;
|
|
307
|
+
}
|
|
308
|
+
export declare function frameInterpolate(opts: FrameInterpolateOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
309
|
+
export interface FramestepOpts {
|
|
310
|
+
/** @range at least 1 */
|
|
311
|
+
step: number;
|
|
312
|
+
}
|
|
313
|
+
export declare function framestep(opts: FramestepOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
314
|
+
export interface FreezedetectOpts {
|
|
315
|
+
noise?: number;
|
|
316
|
+
duration?: number;
|
|
317
|
+
}
|
|
318
|
+
export declare function freezedetect(opts?: FreezedetectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
319
|
+
export interface GblurOpts {
|
|
320
|
+
/** @range greater than 0 */
|
|
321
|
+
sigma: number;
|
|
322
|
+
}
|
|
323
|
+
export declare function gblur(opts: GblurOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
324
|
+
export interface GeqOpts {
|
|
325
|
+
r?: string;
|
|
326
|
+
g?: string;
|
|
327
|
+
b?: string;
|
|
328
|
+
a?: string;
|
|
329
|
+
lum_expr?: string;
|
|
330
|
+
}
|
|
331
|
+
export declare function geq(opts?: GeqOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
332
|
+
export declare function hflip(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
333
|
+
export interface HistogramOpts {
|
|
334
|
+
level_height?: number;
|
|
335
|
+
display_mode?: 'stack' | 'parade' | 'overlay';
|
|
336
|
+
levels_mode?: 'logarithmic' | 'linear';
|
|
337
|
+
}
|
|
338
|
+
export declare function histogram(opts?: HistogramOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
339
|
+
export interface Hqdn3dOpts {
|
|
340
|
+
luma_spatial?: number;
|
|
341
|
+
chroma_spatial?: number;
|
|
342
|
+
luma_tmp?: number;
|
|
343
|
+
chroma_tmp?: number;
|
|
344
|
+
}
|
|
345
|
+
export declare function hqdn3d(opts?: Hqdn3dOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
346
|
+
export interface HueOpts {
|
|
347
|
+
h?: number | string;
|
|
348
|
+
s?: number | string;
|
|
349
|
+
b?: number | string;
|
|
350
|
+
}
|
|
351
|
+
export declare function hue(opts?: HueOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
352
|
+
export declare function hwdownload(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
353
|
+
export declare function hwupload(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
354
|
+
export declare function hwuploadCuda(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
355
|
+
export interface LagfunOpts {
|
|
356
|
+
decay?: number;
|
|
357
|
+
planes?: number;
|
|
358
|
+
}
|
|
359
|
+
export declare function lagfun(opts?: LagfunOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
360
|
+
export interface LenscorrectionOpts {
|
|
361
|
+
cx?: number;
|
|
362
|
+
cy?: number;
|
|
363
|
+
k1?: number;
|
|
364
|
+
k2?: number;
|
|
365
|
+
i?: 'nearest' | 'bilinear';
|
|
366
|
+
}
|
|
367
|
+
export declare function lenscorrection(opts?: LenscorrectionOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
368
|
+
export interface LoopOpts {
|
|
369
|
+
loop: number;
|
|
370
|
+
size?: number;
|
|
371
|
+
start?: number;
|
|
372
|
+
}
|
|
373
|
+
export declare function loop(opts: LoopOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
374
|
+
export interface Lut1dOpts {
|
|
375
|
+
file: string;
|
|
376
|
+
}
|
|
377
|
+
export declare function lut1d(opts: Lut1dOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
378
|
+
export interface Lut3dOpts {
|
|
379
|
+
file: string;
|
|
380
|
+
}
|
|
381
|
+
export declare function lut3d(opts: Lut3dOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
382
|
+
export interface MinterpolateOpts {
|
|
383
|
+
fps?: number;
|
|
384
|
+
mi_mode?: 'dup' | 'blend' | 'mci';
|
|
385
|
+
mc_mode?: 'obmc' | 'aobmc';
|
|
386
|
+
me_mode?: 'bidir' | 'bilat';
|
|
387
|
+
me?: 'esa' | 'tss' | 'tdls' | 'ntss' | 'fss' | 'ds' | 'hexbs' | 'epzs' | 'umh';
|
|
388
|
+
mb_size?: number;
|
|
389
|
+
search_param?: number;
|
|
390
|
+
scd?: 'none' | 'fdiff';
|
|
391
|
+
scd_threshold?: number;
|
|
392
|
+
}
|
|
393
|
+
export declare function minterpolate(opts?: MinterpolateOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
394
|
+
export interface MpdecimateOpts {
|
|
395
|
+
max?: number;
|
|
396
|
+
lo?: number;
|
|
397
|
+
hi?: number;
|
|
398
|
+
frac?: number;
|
|
399
|
+
}
|
|
400
|
+
export declare function mpdecimate(opts?: MpdecimateOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
401
|
+
export interface NegateOpts {
|
|
402
|
+
negate?: number;
|
|
403
|
+
alpha?: number;
|
|
404
|
+
}
|
|
405
|
+
export declare function negate(opts?: NegateOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
406
|
+
export interface NlmeansOpts {
|
|
407
|
+
s?: number;
|
|
408
|
+
}
|
|
409
|
+
export declare function nlmeans(opts?: NlmeansOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
410
|
+
export interface NoiseOpts {
|
|
411
|
+
/** @range [0, 100] */
|
|
412
|
+
alls?: number;
|
|
413
|
+
allf?: string;
|
|
414
|
+
seed?: number;
|
|
415
|
+
}
|
|
416
|
+
export declare function noise(opts?: NoiseOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
417
|
+
export interface PadOpts {
|
|
418
|
+
/** @range greater than 0 */
|
|
419
|
+
w?: number | string;
|
|
420
|
+
/** @range greater than 0 */
|
|
421
|
+
h?: number | string;
|
|
422
|
+
x?: number | string;
|
|
423
|
+
y?: number | string;
|
|
424
|
+
color?: string;
|
|
425
|
+
}
|
|
426
|
+
export declare function pad(opts?: PadOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
427
|
+
export interface PalettegenOpts {
|
|
428
|
+
max_colors?: number;
|
|
429
|
+
reserve_transparent?: number;
|
|
430
|
+
stats_mode?: 'full' | 'diff' | 'single';
|
|
431
|
+
}
|
|
432
|
+
export declare function palettegen(opts?: PalettegenOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
433
|
+
export interface PaletteuseOpts {
|
|
434
|
+
dither?: 'bayer' | 'heckbert' | 'floyd_steinberg' | 'sierra2' | 'sierra2_4a' | 'sierra3' | 'burkes' | 'atkinson' | 'none';
|
|
435
|
+
bayer_scale?: number;
|
|
436
|
+
diff_mode?: 'rectangle' | 'none';
|
|
437
|
+
new?: number;
|
|
438
|
+
}
|
|
439
|
+
export declare function paletteuse(opts?: PaletteuseOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
440
|
+
export interface PerspectiveOpts {
|
|
441
|
+
x0?: string;
|
|
442
|
+
y0?: string;
|
|
443
|
+
x1?: string;
|
|
444
|
+
y1?: string;
|
|
445
|
+
x2?: string;
|
|
446
|
+
y2?: string;
|
|
447
|
+
x3?: string;
|
|
448
|
+
y3?: string;
|
|
449
|
+
interpolation?: 'linear' | 'cubic';
|
|
450
|
+
sense?: 'source' | 'destination';
|
|
451
|
+
}
|
|
452
|
+
export declare function perspective(opts?: PerspectiveOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
453
|
+
export interface PhotosensitivityOpts {
|
|
454
|
+
threshold?: number;
|
|
455
|
+
frames?: number;
|
|
456
|
+
skip?: number;
|
|
457
|
+
}
|
|
458
|
+
export declare function photosensitivity(opts?: PhotosensitivityOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
459
|
+
export interface PseudocolorOpts {
|
|
460
|
+
preset?: string;
|
|
461
|
+
c0?: string;
|
|
462
|
+
c1?: string;
|
|
463
|
+
c2?: string;
|
|
464
|
+
c3?: string;
|
|
465
|
+
index?: number;
|
|
466
|
+
opacity?: number;
|
|
467
|
+
}
|
|
468
|
+
export declare function pseudocolor(opts?: PseudocolorOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
469
|
+
export interface PsnrOpts {
|
|
470
|
+
stats_file?: string;
|
|
471
|
+
}
|
|
472
|
+
export declare function psnr(opts?: PsnrOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
473
|
+
export interface RedactTracksOpts {
|
|
474
|
+
tracks: string;
|
|
475
|
+
}
|
|
476
|
+
export declare function redactTracks(opts: RedactTracksOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
477
|
+
export interface ResizeOpts {
|
|
478
|
+
w: number;
|
|
479
|
+
h: number;
|
|
480
|
+
}
|
|
481
|
+
export declare function resize(opts: ResizeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
482
|
+
export declare function reverse(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
483
|
+
export interface RgbashiftOpts {
|
|
484
|
+
rh?: number;
|
|
485
|
+
rv?: number;
|
|
486
|
+
gh?: number;
|
|
487
|
+
gv?: number;
|
|
488
|
+
bh?: number;
|
|
489
|
+
bv?: number;
|
|
490
|
+
ah?: number;
|
|
491
|
+
av?: number;
|
|
492
|
+
edge?: 'smear' | 'wrap';
|
|
493
|
+
enable?: string;
|
|
494
|
+
}
|
|
495
|
+
export declare function rgbashift(opts?: RgbashiftOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
496
|
+
export interface RotateOpts {
|
|
497
|
+
angle?: number | string;
|
|
498
|
+
a?: number | string;
|
|
499
|
+
fillcolor?: string;
|
|
500
|
+
bilinear?: number;
|
|
501
|
+
}
|
|
502
|
+
export declare function rotate(opts?: RotateOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
503
|
+
export interface ScaleOpts {
|
|
504
|
+
/** @range greater than 0 */
|
|
505
|
+
w: number;
|
|
506
|
+
/** @range greater than 0 */
|
|
507
|
+
h: number;
|
|
508
|
+
force_original_aspect_ratio?: string;
|
|
509
|
+
flags?: string;
|
|
510
|
+
}
|
|
511
|
+
export declare function scale(opts: ScaleOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
512
|
+
export interface ScaleCudaOpts {
|
|
513
|
+
w?: string;
|
|
514
|
+
h?: string;
|
|
515
|
+
interp_algo?: 'nearest' | 'bilinear' | 'bicubic' | 'lanczos';
|
|
516
|
+
}
|
|
517
|
+
export declare function scaleCuda(opts?: ScaleCudaOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
518
|
+
export interface SelectOpts {
|
|
519
|
+
expr: string;
|
|
520
|
+
}
|
|
521
|
+
export declare function select(opts: SelectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
522
|
+
export interface SelectivecolorOpts {
|
|
523
|
+
correction_method?: 'absolute' | 'relative';
|
|
524
|
+
reds?: string;
|
|
525
|
+
yellows?: string;
|
|
526
|
+
greens?: string;
|
|
527
|
+
cyans?: string;
|
|
528
|
+
blues?: string;
|
|
529
|
+
magentas?: string;
|
|
530
|
+
whites?: string;
|
|
531
|
+
neutrals?: string;
|
|
532
|
+
blacks?: string;
|
|
533
|
+
}
|
|
534
|
+
export declare function selectivecolor(opts?: SelectivecolorOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
535
|
+
export interface SendcmdOpts {
|
|
536
|
+
filename?: string;
|
|
537
|
+
commands?: string;
|
|
538
|
+
}
|
|
539
|
+
export declare function sendcmd(opts?: SendcmdOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
540
|
+
export interface SetdarOpts {
|
|
541
|
+
dar: string;
|
|
542
|
+
}
|
|
543
|
+
export declare function setdar(opts: SetdarOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
544
|
+
export interface SetptsOpts {
|
|
545
|
+
expr: string;
|
|
546
|
+
}
|
|
547
|
+
export declare function setpts(opts: SetptsOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
548
|
+
export interface SetsarOpts {
|
|
549
|
+
sar: string;
|
|
550
|
+
}
|
|
551
|
+
export declare function setsar(opts: SetsarOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
552
|
+
export interface SsimOpts {
|
|
553
|
+
stats_file?: string;
|
|
554
|
+
}
|
|
555
|
+
export declare function ssim(opts?: SsimOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
556
|
+
export interface SubtitlesOpts {
|
|
557
|
+
filename: string;
|
|
558
|
+
fontsdir?: string;
|
|
559
|
+
force_style?: string;
|
|
560
|
+
charenc?: string;
|
|
561
|
+
stream_index?: number;
|
|
562
|
+
}
|
|
563
|
+
export declare function subtitles(opts: SubtitlesOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
564
|
+
export interface TblendOpts {
|
|
565
|
+
all_mode?: string;
|
|
566
|
+
all_opacity?: number;
|
|
567
|
+
all_expr?: string;
|
|
568
|
+
}
|
|
569
|
+
export declare function tblend(opts?: TblendOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
570
|
+
export interface ThumbnailOpts {
|
|
571
|
+
n?: number;
|
|
572
|
+
}
|
|
573
|
+
export declare function thumbnail(opts?: ThumbnailOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
574
|
+
export interface TileOpts {
|
|
575
|
+
layout?: string;
|
|
576
|
+
nb_frames?: number;
|
|
577
|
+
padding?: number;
|
|
578
|
+
margin?: number;
|
|
579
|
+
color?: string;
|
|
580
|
+
}
|
|
581
|
+
export declare function tile(opts?: TileOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
582
|
+
export interface TmixOpts {
|
|
583
|
+
frames?: number;
|
|
584
|
+
weights?: string;
|
|
585
|
+
scale?: number;
|
|
586
|
+
planes?: number;
|
|
587
|
+
}
|
|
588
|
+
export declare function tmix(opts?: TmixOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
589
|
+
export interface TpadOpts {
|
|
590
|
+
start?: number;
|
|
591
|
+
stop?: number;
|
|
592
|
+
start_mode?: 'add' | 'clone';
|
|
593
|
+
stop_mode?: 'add' | 'clone';
|
|
594
|
+
start_duration?: number;
|
|
595
|
+
stop_duration?: number;
|
|
596
|
+
color?: string;
|
|
597
|
+
}
|
|
598
|
+
export declare function tpad(opts?: TpadOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
599
|
+
export interface TransposeOpts {
|
|
600
|
+
/** @range [0, 3] */
|
|
601
|
+
dir: number;
|
|
602
|
+
}
|
|
603
|
+
export declare function transpose(opts: TransposeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
604
|
+
export interface TrimOpts {
|
|
605
|
+
/** @range at least 0 */
|
|
606
|
+
start?: number;
|
|
607
|
+
/** @range greater than 0 */
|
|
608
|
+
end?: number;
|
|
609
|
+
}
|
|
610
|
+
export declare function trim(opts?: TrimOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
611
|
+
export interface UnsharpOpts {
|
|
612
|
+
luma_msize_x?: number;
|
|
613
|
+
luma_msize_y?: number;
|
|
614
|
+
luma_amount?: number;
|
|
615
|
+
}
|
|
616
|
+
export declare function unsharp(opts?: UnsharpOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
617
|
+
export interface UpscaleOpts {
|
|
618
|
+
model: string;
|
|
619
|
+
/** @range greater than 0 */
|
|
620
|
+
scale?: number;
|
|
621
|
+
/** @range greater than 0 */
|
|
622
|
+
tileSize?: number;
|
|
623
|
+
}
|
|
624
|
+
export declare function upscale(opts: UpscaleOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
625
|
+
export interface V360Opts {
|
|
626
|
+
input?: string;
|
|
627
|
+
output?: string;
|
|
628
|
+
interp?: string;
|
|
629
|
+
w?: number;
|
|
630
|
+
h?: number;
|
|
631
|
+
yaw?: number;
|
|
632
|
+
pitch?: number;
|
|
633
|
+
roll?: number;
|
|
634
|
+
d_fov?: number;
|
|
635
|
+
id_fov?: number;
|
|
636
|
+
h_flip?: boolean;
|
|
637
|
+
v_flip?: boolean;
|
|
638
|
+
in_stereo?: string;
|
|
639
|
+
out_stereo?: string;
|
|
640
|
+
}
|
|
641
|
+
export declare function v360(opts?: V360Opts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
642
|
+
export interface VectorscopeOpts {
|
|
643
|
+
mode?: 'gray' | 'tint' | 'color' | 'color2' | 'color3' | 'color4' | 'color5';
|
|
644
|
+
intensity?: number;
|
|
645
|
+
envelope?: number;
|
|
646
|
+
}
|
|
647
|
+
export declare function vectorscope(opts?: VectorscopeOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
648
|
+
export declare function vflip(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
649
|
+
export interface VidstabOpts {
|
|
650
|
+
shakiness?: number;
|
|
651
|
+
smoothing?: number;
|
|
652
|
+
}
|
|
653
|
+
export declare function vidstab(opts?: VidstabOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
654
|
+
export interface VidstabdetectOpts {
|
|
655
|
+
shakiness?: number;
|
|
656
|
+
accuracy?: number;
|
|
657
|
+
stepsize?: number;
|
|
658
|
+
mincontrast?: number;
|
|
659
|
+
result?: string;
|
|
660
|
+
}
|
|
661
|
+
export declare function vidstabdetect(opts?: VidstabdetectOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
662
|
+
export interface VidstabtransformOpts {
|
|
663
|
+
input?: string;
|
|
664
|
+
smoothing?: number;
|
|
665
|
+
optalgo?: 'opt' | 'gauss' | 'avg';
|
|
666
|
+
maxshift?: number;
|
|
667
|
+
maxangle?: number;
|
|
668
|
+
crop?: 'keep' | 'black';
|
|
669
|
+
zoom?: number;
|
|
670
|
+
optzoom?: number;
|
|
671
|
+
interpol?: 'no' | 'linear' | 'bilinear' | 'bicubic';
|
|
672
|
+
}
|
|
673
|
+
export declare function vidstabtransform(opts?: VidstabtransformOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
674
|
+
export interface VignetteOpts {
|
|
675
|
+
/** @range [0, 1.5707963267948966] */
|
|
676
|
+
angle?: number;
|
|
677
|
+
}
|
|
678
|
+
export declare function vignette(opts?: VignetteOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
679
|
+
export interface WaveformOpts {
|
|
680
|
+
mode?: 'row' | 'column' | 'color' | 'color2' | 'acolor';
|
|
681
|
+
intensity?: number;
|
|
682
|
+
mirror?: number;
|
|
683
|
+
}
|
|
684
|
+
export declare function waveform(opts?: WaveformOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
685
|
+
export declare function yadif(): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
686
|
+
export interface ZoompanOpts {
|
|
687
|
+
z?: string;
|
|
688
|
+
x?: string;
|
|
689
|
+
y?: string;
|
|
690
|
+
d: number;
|
|
691
|
+
fps?: number;
|
|
692
|
+
s?: string;
|
|
693
|
+
}
|
|
694
|
+
export declare function zoompan(opts: ZoompanOpts): (input: Stream<'Video'>) => Stream<'Video'>;
|
|
695
|
+
//# sourceMappingURL=video.d.ts.map
|