typed-ffmpeg-compatible 2.2.0__py3-none-any.whl → 2.4.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- typed_ffmpeg/dag/global_runnable/global_args.py +0 -3
- typed_ffmpeg/dag/io/_input.py +1 -3
- typed_ffmpeg/dag/io/_output.py +1 -3
- typed_ffmpeg/dag/io/output_args.py +1 -3
- typed_ffmpeg/filters.py +75 -206
- typed_ffmpeg/streams/audio.py +228 -422
- typed_ffmpeg/streams/video.py +420 -829
- {typed_ffmpeg_compatible-2.2.0.dist-info → typed_ffmpeg_compatible-2.4.0.dist-info}/METADATA +1 -2
- {typed_ffmpeg_compatible-2.2.0.dist-info → typed_ffmpeg_compatible-2.4.0.dist-info}/RECORD +12 -12
- {typed_ffmpeg_compatible-2.2.0.dist-info → typed_ffmpeg_compatible-2.4.0.dist-info}/WHEEL +1 -1
- {typed_ffmpeg_compatible-2.2.0.dist-info → typed_ffmpeg_compatible-2.4.0.dist-info}/LICENSE +0 -0
- {typed_ffmpeg_compatible-2.2.0.dist-info → typed_ffmpeg_compatible-2.4.0.dist-info}/entry_points.txt +0 -0
typed_ffmpeg/filters.py
CHANGED
@@ -74,7 +74,6 @@ def acrossfade(
|
|
74
74
|
]
|
75
75
|
| Default = Default("tri"),
|
76
76
|
extra_options: dict[str, Any] = None,
|
77
|
-
**kwargs: Any
|
78
77
|
) -> AudioStream:
|
79
78
|
"""
|
80
79
|
|
@@ -105,8 +104,7 @@ def acrossfade(
|
|
105
104
|
"curve1": curve1,
|
106
105
|
"curve2": curve2,
|
107
106
|
}
|
108
|
-
| (extra_options or {})
|
109
|
-
| kwargs
|
107
|
+
| (extra_options or {}),
|
110
108
|
)
|
111
109
|
return filter_node.audio(0)
|
112
110
|
|
@@ -116,7 +114,6 @@ def ainterleave(
|
|
116
114
|
nb_inputs: Int = Auto("len(streams)"),
|
117
115
|
duration: Int | Literal["longest", "shortest", "first"] | Default = Default("longest"),
|
118
116
|
extra_options: dict[str, Any] = None,
|
119
|
-
**kwargs: Any
|
120
117
|
) -> AudioStream:
|
121
118
|
"""
|
122
119
|
|
@@ -142,8 +139,7 @@ def ainterleave(
|
|
142
139
|
"nb_inputs": nb_inputs,
|
143
140
|
"duration": duration,
|
144
141
|
}
|
145
|
-
| (extra_options or {})
|
146
|
-
| kwargs
|
142
|
+
| (extra_options or {}),
|
147
143
|
)
|
148
144
|
return filter_node.audio(0)
|
149
145
|
|
@@ -158,7 +154,6 @@ def alphamerge(
|
|
158
154
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
159
155
|
enable: String = Default(None),
|
160
156
|
extra_options: dict[str, Any] = None,
|
161
|
-
**kwargs: Any
|
162
157
|
) -> VideoStream:
|
163
158
|
"""
|
164
159
|
|
@@ -189,14 +184,15 @@ def alphamerge(
|
|
189
184
|
"ts_sync_mode": ts_sync_mode,
|
190
185
|
"enable": enable,
|
191
186
|
}
|
192
|
-
| (extra_options or {})
|
193
|
-
| kwargs
|
187
|
+
| (extra_options or {}),
|
194
188
|
)
|
195
189
|
return filter_node.video(0)
|
196
190
|
|
197
191
|
|
198
192
|
def amerge(
|
199
|
-
*streams: AudioStream,
|
193
|
+
*streams: AudioStream,
|
194
|
+
inputs: Int = Auto("len(streams)"),
|
195
|
+
extra_options: dict[str, Any] = None,
|
200
196
|
) -> AudioStream:
|
201
197
|
"""
|
202
198
|
|
@@ -218,8 +214,7 @@ def amerge(
|
|
218
214
|
**{
|
219
215
|
"inputs": inputs,
|
220
216
|
}
|
221
|
-
| (extra_options or {})
|
222
|
-
| kwargs
|
217
|
+
| (extra_options or {}),
|
223
218
|
)
|
224
219
|
return filter_node.audio(0)
|
225
220
|
|
@@ -232,7 +227,6 @@ def amix(
|
|
232
227
|
weights: String = Default("1 1"),
|
233
228
|
normalize: Boolean = Default(True),
|
234
229
|
extra_options: dict[str, Any] = None,
|
235
|
-
**kwargs: Any
|
236
230
|
) -> AudioStream:
|
237
231
|
"""
|
238
232
|
|
@@ -262,14 +256,15 @@ def amix(
|
|
262
256
|
"weights": weights,
|
263
257
|
"normalize": normalize,
|
264
258
|
}
|
265
|
-
| (extra_options or {})
|
266
|
-
| kwargs
|
259
|
+
| (extra_options or {}),
|
267
260
|
)
|
268
261
|
return filter_node.audio(0)
|
269
262
|
|
270
263
|
|
271
264
|
def amultiply(
|
272
|
-
_multiply0: AudioStream,
|
265
|
+
_multiply0: AudioStream,
|
266
|
+
_multiply1: AudioStream,
|
267
|
+
extra_options: dict[str, Any] = None,
|
273
268
|
) -> AudioStream:
|
274
269
|
"""
|
275
270
|
|
@@ -286,7 +281,7 @@ def amultiply(
|
|
286
281
|
FFMpegFilterDef(name="amultiply", typings_input=("audio", "audio"), typings_output=("audio",)),
|
287
282
|
_multiply0,
|
288
283
|
_multiply1,
|
289
|
-
**{} | (extra_options or {})
|
284
|
+
**{} | (extra_options or {}),
|
290
285
|
)
|
291
286
|
return filter_node.audio(0)
|
292
287
|
|
@@ -302,7 +297,6 @@ def anlmf(
|
|
302
297
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
303
298
|
enable: String = Default(None),
|
304
299
|
extra_options: dict[str, Any] = None,
|
305
|
-
**kwargs: Any
|
306
300
|
) -> AudioStream:
|
307
301
|
"""
|
308
302
|
|
@@ -335,8 +329,7 @@ def anlmf(
|
|
335
329
|
"out_mode": out_mode,
|
336
330
|
"enable": enable,
|
337
331
|
}
|
338
|
-
| (extra_options or {})
|
339
|
-
| kwargs
|
332
|
+
| (extra_options or {}),
|
340
333
|
)
|
341
334
|
return filter_node.audio(0)
|
342
335
|
|
@@ -352,7 +345,6 @@ def anlms(
|
|
352
345
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
353
346
|
enable: String = Default(None),
|
354
347
|
extra_options: dict[str, Any] = None,
|
355
|
-
**kwargs: Any
|
356
348
|
) -> AudioStream:
|
357
349
|
"""
|
358
350
|
|
@@ -385,8 +377,7 @@ def anlms(
|
|
385
377
|
"out_mode": out_mode,
|
386
378
|
"enable": enable,
|
387
379
|
}
|
388
|
-
| (extra_options or {})
|
389
|
-
| kwargs
|
380
|
+
| (extra_options or {}),
|
390
381
|
)
|
391
382
|
return filter_node.audio(0)
|
392
383
|
|
@@ -397,7 +388,6 @@ def apsnr(
|
|
397
388
|
*,
|
398
389
|
enable: String = Default(None),
|
399
390
|
extra_options: dict[str, Any] = None,
|
400
|
-
**kwargs: Any
|
401
391
|
) -> AudioStream:
|
402
392
|
"""
|
403
393
|
|
@@ -420,8 +410,7 @@ def apsnr(
|
|
420
410
|
**{
|
421
411
|
"enable": enable,
|
422
412
|
}
|
423
|
-
| (extra_options or {})
|
424
|
-
| kwargs
|
413
|
+
| (extra_options or {}),
|
425
414
|
)
|
426
415
|
return filter_node.audio(0)
|
427
416
|
|
@@ -436,7 +425,6 @@ def arls(
|
|
436
425
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
437
426
|
enable: String = Default(None),
|
438
427
|
extra_options: dict[str, Any] = None,
|
439
|
-
**kwargs: Any
|
440
428
|
) -> AudioStream:
|
441
429
|
"""
|
442
430
|
|
@@ -467,8 +455,7 @@ def arls(
|
|
467
455
|
"out_mode": out_mode,
|
468
456
|
"enable": enable,
|
469
457
|
}
|
470
|
-
| (extra_options or {})
|
471
|
-
| kwargs
|
458
|
+
| (extra_options or {}),
|
472
459
|
)
|
473
460
|
return filter_node.audio(0)
|
474
461
|
|
@@ -479,7 +466,6 @@ def asdr(
|
|
479
466
|
*,
|
480
467
|
enable: String = Default(None),
|
481
468
|
extra_options: dict[str, Any] = None,
|
482
|
-
**kwargs: Any
|
483
469
|
) -> AudioStream:
|
484
470
|
"""
|
485
471
|
|
@@ -502,8 +488,7 @@ def asdr(
|
|
502
488
|
**{
|
503
489
|
"enable": enable,
|
504
490
|
}
|
505
|
-
| (extra_options or {})
|
506
|
-
| kwargs
|
491
|
+
| (extra_options or {}),
|
507
492
|
)
|
508
493
|
return filter_node.audio(0)
|
509
494
|
|
@@ -514,7 +499,6 @@ def asisdr(
|
|
514
499
|
*,
|
515
500
|
enable: String = Default(None),
|
516
501
|
extra_options: dict[str, Any] = None,
|
517
|
-
**kwargs: Any
|
518
502
|
) -> AudioStream:
|
519
503
|
"""
|
520
504
|
|
@@ -537,8 +521,7 @@ def asisdr(
|
|
537
521
|
**{
|
538
522
|
"enable": enable,
|
539
523
|
}
|
540
|
-
| (extra_options or {})
|
541
|
-
| kwargs
|
524
|
+
| (extra_options or {}),
|
542
525
|
)
|
543
526
|
return filter_node.audio(0)
|
544
527
|
|
@@ -548,7 +531,6 @@ def astreamselect(
|
|
548
531
|
inputs: Int = Auto("len(streams)"),
|
549
532
|
map: String = Default(None),
|
550
533
|
extra_options: dict[str, Any] = None,
|
551
|
-
**kwargs: Any
|
552
534
|
) -> FilterNode:
|
553
535
|
"""
|
554
536
|
|
@@ -577,8 +559,7 @@ def astreamselect(
|
|
577
559
|
"inputs": inputs,
|
578
560
|
"map": map,
|
579
561
|
}
|
580
|
-
| (extra_options or {})
|
581
|
-
| kwargs
|
562
|
+
| (extra_options or {}),
|
582
563
|
)
|
583
564
|
|
584
565
|
return filter_node
|
@@ -591,7 +572,6 @@ def axcorrelate(
|
|
591
572
|
size: Int = Default(256),
|
592
573
|
algo: Int | Literal["slow", "fast", "best"] | Default = Default("best"),
|
593
574
|
extra_options: dict[str, Any] = None,
|
594
|
-
**kwargs: Any
|
595
575
|
) -> AudioStream:
|
596
576
|
"""
|
597
577
|
|
@@ -616,8 +596,7 @@ def axcorrelate(
|
|
616
596
|
"size": size,
|
617
597
|
"algo": algo,
|
618
598
|
}
|
619
|
-
| (extra_options or {})
|
620
|
-
| kwargs
|
599
|
+
| (extra_options or {}),
|
621
600
|
)
|
622
601
|
return filter_node.audio(0)
|
623
602
|
|
@@ -872,7 +851,6 @@ def blend(
|
|
872
851
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
873
852
|
enable: String = Default(None),
|
874
853
|
extra_options: dict[str, Any] = None,
|
875
|
-
**kwargs: Any
|
876
854
|
) -> VideoStream:
|
877
855
|
"""
|
878
856
|
|
@@ -933,8 +911,7 @@ def blend(
|
|
933
911
|
"ts_sync_mode": ts_sync_mode,
|
934
912
|
"enable": enable,
|
935
913
|
}
|
936
|
-
| (extra_options or {})
|
937
|
-
| kwargs
|
914
|
+
| (extra_options or {}),
|
938
915
|
)
|
939
916
|
return filter_node.video(0)
|
940
917
|
|
@@ -954,7 +931,6 @@ def bm3d(
|
|
954
931
|
planes: Int = Default(7),
|
955
932
|
enable: String = Default(None),
|
956
933
|
extra_options: dict[str, Any] = None,
|
957
|
-
**kwargs: Any
|
958
934
|
) -> VideoStream:
|
959
935
|
"""
|
960
936
|
|
@@ -1002,8 +978,7 @@ def bm3d(
|
|
1002
978
|
"planes": planes,
|
1003
979
|
"enable": enable,
|
1004
980
|
}
|
1005
|
-
| (extra_options or {})
|
1006
|
-
| kwargs
|
981
|
+
| (extra_options or {}),
|
1007
982
|
)
|
1008
983
|
return filter_node.video(0)
|
1009
984
|
|
@@ -1019,7 +994,6 @@ def colormap(
|
|
1019
994
|
kernel: Int | Literal["euclidean", "weuclidean"] | Default = Default("euclidean"),
|
1020
995
|
enable: String = Default(None),
|
1021
996
|
extra_options: dict[str, Any] = None,
|
1022
|
-
**kwargs: Any
|
1023
997
|
) -> VideoStream:
|
1024
998
|
"""
|
1025
999
|
|
@@ -1051,8 +1025,7 @@ def colormap(
|
|
1051
1025
|
"kernel": kernel,
|
1052
1026
|
"enable": enable,
|
1053
1027
|
}
|
1054
|
-
| (extra_options or {})
|
1055
|
-
| kwargs
|
1028
|
+
| (extra_options or {}),
|
1056
1029
|
)
|
1057
1030
|
return filter_node.video(0)
|
1058
1031
|
|
@@ -1064,7 +1037,6 @@ def concat(
|
|
1064
1037
|
a: Int = Default(0),
|
1065
1038
|
unsafe: Boolean = Default(False),
|
1066
1039
|
extra_options: dict[str, Any] = None,
|
1067
|
-
**kwargs: Any
|
1068
1040
|
) -> FilterNode:
|
1069
1041
|
"""
|
1070
1042
|
|
@@ -1097,8 +1069,7 @@ def concat(
|
|
1097
1069
|
"a": a,
|
1098
1070
|
"unsafe": unsafe,
|
1099
1071
|
}
|
1100
|
-
| (extra_options or {})
|
1101
|
-
| kwargs
|
1072
|
+
| (extra_options or {}),
|
1102
1073
|
)
|
1103
1074
|
|
1104
1075
|
return filter_node
|
@@ -1117,7 +1088,6 @@ def convolve(
|
|
1117
1088
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1118
1089
|
enable: String = Default(None),
|
1119
1090
|
extra_options: dict[str, Any] = None,
|
1120
|
-
**kwargs: Any
|
1121
1091
|
) -> VideoStream:
|
1122
1092
|
"""
|
1123
1093
|
|
@@ -1154,8 +1124,7 @@ def convolve(
|
|
1154
1124
|
"ts_sync_mode": ts_sync_mode,
|
1155
1125
|
"enable": enable,
|
1156
1126
|
}
|
1157
|
-
| (extra_options or {})
|
1158
|
-
| kwargs
|
1127
|
+
| (extra_options or {}),
|
1159
1128
|
)
|
1160
1129
|
return filter_node.video(0)
|
1161
1130
|
|
@@ -1170,7 +1139,6 @@ def corr(
|
|
1170
1139
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1171
1140
|
enable: String = Default(None),
|
1172
1141
|
extra_options: dict[str, Any] = None,
|
1173
|
-
**kwargs: Any
|
1174
1142
|
) -> VideoStream:
|
1175
1143
|
"""
|
1176
1144
|
|
@@ -1201,8 +1169,7 @@ def corr(
|
|
1201
1169
|
"ts_sync_mode": ts_sync_mode,
|
1202
1170
|
"enable": enable,
|
1203
1171
|
}
|
1204
|
-
| (extra_options or {})
|
1205
|
-
| kwargs
|
1172
|
+
| (extra_options or {}),
|
1206
1173
|
)
|
1207
1174
|
return filter_node.video(0)
|
1208
1175
|
|
@@ -1218,7 +1185,6 @@ def decimate(
|
|
1218
1185
|
chroma: Boolean = Default(True),
|
1219
1186
|
mixed: Boolean = Default(False),
|
1220
1187
|
extra_options: dict[str, Any] = None,
|
1221
|
-
**kwargs: Any
|
1222
1188
|
) -> VideoStream:
|
1223
1189
|
"""
|
1224
1190
|
|
@@ -1258,8 +1224,7 @@ def decimate(
|
|
1258
1224
|
"chroma": chroma,
|
1259
1225
|
"mixed": mixed,
|
1260
1226
|
}
|
1261
|
-
| (extra_options or {})
|
1262
|
-
| kwargs
|
1227
|
+
| (extra_options or {}),
|
1263
1228
|
)
|
1264
1229
|
return filter_node.video(0)
|
1265
1230
|
|
@@ -1277,7 +1242,6 @@ def deconvolve(
|
|
1277
1242
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1278
1243
|
enable: String = Default(None),
|
1279
1244
|
extra_options: dict[str, Any] = None,
|
1280
|
-
**kwargs: Any
|
1281
1245
|
) -> VideoStream:
|
1282
1246
|
"""
|
1283
1247
|
|
@@ -1314,8 +1278,7 @@ def deconvolve(
|
|
1314
1278
|
"ts_sync_mode": ts_sync_mode,
|
1315
1279
|
"enable": enable,
|
1316
1280
|
}
|
1317
|
-
| (extra_options or {})
|
1318
|
-
| kwargs
|
1281
|
+
| (extra_options or {}),
|
1319
1282
|
)
|
1320
1283
|
return filter_node.video(0)
|
1321
1284
|
|
@@ -1328,7 +1291,6 @@ def displace(
|
|
1328
1291
|
edge: Int | Literal["blank", "smear", "wrap", "mirror"] | Default = Default("smear"),
|
1329
1292
|
enable: String = Default(None),
|
1330
1293
|
extra_options: dict[str, Any] = None,
|
1331
|
-
**kwargs: Any
|
1332
1294
|
) -> VideoStream:
|
1333
1295
|
"""
|
1334
1296
|
|
@@ -1354,8 +1316,7 @@ def displace(
|
|
1354
1316
|
"edge": edge,
|
1355
1317
|
"enable": enable,
|
1356
1318
|
}
|
1357
|
-
| (extra_options or {})
|
1358
|
-
| kwargs
|
1319
|
+
| (extra_options or {}),
|
1359
1320
|
)
|
1360
1321
|
return filter_node.video(0)
|
1361
1322
|
|
@@ -1367,7 +1328,6 @@ def feedback(
|
|
1367
1328
|
x: Int = Default(0),
|
1368
1329
|
w: Int = Default(0),
|
1369
1330
|
extra_options: dict[str, Any] = None,
|
1370
|
-
**kwargs: Any
|
1371
1331
|
) -> tuple[VideoStream, VideoStream,]:
|
1372
1332
|
"""
|
1373
1333
|
|
@@ -1393,8 +1353,7 @@ def feedback(
|
|
1393
1353
|
"x": x,
|
1394
1354
|
"w": w,
|
1395
1355
|
}
|
1396
|
-
| (extra_options or {})
|
1397
|
-
| kwargs
|
1356
|
+
| (extra_options or {}),
|
1398
1357
|
)
|
1399
1358
|
return (
|
1400
1359
|
filter_node.video(0),
|
@@ -1419,7 +1378,6 @@ def fieldmatch(
|
|
1419
1378
|
blocky: Int = Default(16),
|
1420
1379
|
combpel: Int = Default(80),
|
1421
1380
|
extra_options: dict[str, Any] = None,
|
1422
|
-
**kwargs: Any
|
1423
1381
|
) -> VideoStream:
|
1424
1382
|
"""
|
1425
1383
|
|
@@ -1471,8 +1429,7 @@ def fieldmatch(
|
|
1471
1429
|
"blocky": blocky,
|
1472
1430
|
"combpel": combpel,
|
1473
1431
|
}
|
1474
|
-
| (extra_options or {})
|
1475
|
-
| kwargs
|
1432
|
+
| (extra_options or {}),
|
1476
1433
|
)
|
1477
1434
|
return filter_node.video(0)
|
1478
1435
|
|
@@ -1483,7 +1440,6 @@ def framepack(
|
|
1483
1440
|
*,
|
1484
1441
|
format: Int | Literal["sbs", "tab", "frameseq", "lines", "columns"] | Default = Default("sbs"),
|
1485
1442
|
extra_options: dict[str, Any] = None,
|
1486
|
-
**kwargs: Any
|
1487
1443
|
) -> VideoStream:
|
1488
1444
|
"""
|
1489
1445
|
|
@@ -1506,8 +1462,7 @@ def framepack(
|
|
1506
1462
|
**{
|
1507
1463
|
"format": format,
|
1508
1464
|
}
|
1509
|
-
| (extra_options or {})
|
1510
|
-
| kwargs
|
1465
|
+
| (extra_options or {}),
|
1511
1466
|
)
|
1512
1467
|
return filter_node.video(0)
|
1513
1468
|
|
@@ -1520,7 +1475,6 @@ def freezeframes(
|
|
1520
1475
|
last: Int64 = Default(0),
|
1521
1476
|
replace: Int64 = Default(0),
|
1522
1477
|
extra_options: dict[str, Any] = None,
|
1523
|
-
**kwargs: Any
|
1524
1478
|
) -> VideoStream:
|
1525
1479
|
"""
|
1526
1480
|
|
@@ -1547,8 +1501,7 @@ def freezeframes(
|
|
1547
1501
|
"last": last,
|
1548
1502
|
"replace": replace,
|
1549
1503
|
}
|
1550
|
-
| (extra_options or {})
|
1551
|
-
| kwargs
|
1504
|
+
| (extra_options or {}),
|
1552
1505
|
)
|
1553
1506
|
return filter_node.video(0)
|
1554
1507
|
|
@@ -1563,7 +1516,6 @@ def guided(
|
|
1563
1516
|
planes: Int = Default(1),
|
1564
1517
|
enable: String = Default(None),
|
1565
1518
|
extra_options: dict[str, Any] = None,
|
1566
|
-
**kwargs: Any
|
1567
1519
|
) -> VideoStream:
|
1568
1520
|
"""
|
1569
1521
|
|
@@ -1601,8 +1553,7 @@ def guided(
|
|
1601
1553
|
"planes": planes,
|
1602
1554
|
"enable": enable,
|
1603
1555
|
}
|
1604
|
-
| (extra_options or {})
|
1605
|
-
| kwargs
|
1556
|
+
| (extra_options or {}),
|
1606
1557
|
)
|
1607
1558
|
return filter_node.video(0)
|
1608
1559
|
|
@@ -1619,7 +1570,6 @@ def haldclut(
|
|
1619
1570
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1620
1571
|
enable: String = Default(None),
|
1621
1572
|
extra_options: dict[str, Any] = None,
|
1622
|
-
**kwargs: Any
|
1623
1573
|
) -> VideoStream:
|
1624
1574
|
"""
|
1625
1575
|
|
@@ -1654,8 +1604,7 @@ def haldclut(
|
|
1654
1604
|
"ts_sync_mode": ts_sync_mode,
|
1655
1605
|
"enable": enable,
|
1656
1606
|
}
|
1657
|
-
| (extra_options or {})
|
1658
|
-
| kwargs
|
1607
|
+
| (extra_options or {}),
|
1659
1608
|
)
|
1660
1609
|
return filter_node.video(0)
|
1661
1610
|
|
@@ -1669,7 +1618,6 @@ def headphone(
|
|
1669
1618
|
size: Int = Default(1024),
|
1670
1619
|
hrir: Int | Literal["stereo", "multich"] | Default = Default("stereo"),
|
1671
1620
|
extra_options: dict[str, Any] = None,
|
1672
|
-
**kwargs: Any
|
1673
1621
|
) -> AudioStream:
|
1674
1622
|
"""
|
1675
1623
|
|
@@ -1705,8 +1653,7 @@ def headphone(
|
|
1705
1653
|
"size": size,
|
1706
1654
|
"hrir": hrir,
|
1707
1655
|
}
|
1708
|
-
| (extra_options or {})
|
1709
|
-
| kwargs
|
1656
|
+
| (extra_options or {}),
|
1710
1657
|
)
|
1711
1658
|
return filter_node.audio(0)
|
1712
1659
|
|
@@ -1716,7 +1663,6 @@ def hstack(
|
|
1716
1663
|
inputs: Int = Auto("len(streams)"),
|
1717
1664
|
shortest: Boolean = Default(False),
|
1718
1665
|
extra_options: dict[str, Any] = None,
|
1719
|
-
**kwargs: Any
|
1720
1666
|
) -> VideoStream:
|
1721
1667
|
"""
|
1722
1668
|
|
@@ -1740,8 +1686,7 @@ def hstack(
|
|
1740
1686
|
"inputs": inputs,
|
1741
1687
|
"shortest": shortest,
|
1742
1688
|
}
|
1743
|
-
| (extra_options or {})
|
1744
|
-
| kwargs
|
1689
|
+
| (extra_options or {}),
|
1745
1690
|
)
|
1746
1691
|
return filter_node.video(0)
|
1747
1692
|
|
@@ -1758,7 +1703,6 @@ def hysteresis(
|
|
1758
1703
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1759
1704
|
enable: String = Default(None),
|
1760
1705
|
extra_options: dict[str, Any] = None,
|
1761
|
-
**kwargs: Any
|
1762
1706
|
) -> VideoStream:
|
1763
1707
|
"""
|
1764
1708
|
|
@@ -1793,8 +1737,7 @@ def hysteresis(
|
|
1793
1737
|
"ts_sync_mode": ts_sync_mode,
|
1794
1738
|
"enable": enable,
|
1795
1739
|
}
|
1796
|
-
| (extra_options or {})
|
1797
|
-
| kwargs
|
1740
|
+
| (extra_options or {}),
|
1798
1741
|
)
|
1799
1742
|
return filter_node.video(0)
|
1800
1743
|
|
@@ -1809,7 +1752,6 @@ def identity(
|
|
1809
1752
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1810
1753
|
enable: String = Default(None),
|
1811
1754
|
extra_options: dict[str, Any] = None,
|
1812
|
-
**kwargs: Any
|
1813
1755
|
) -> VideoStream:
|
1814
1756
|
"""
|
1815
1757
|
|
@@ -1840,8 +1782,7 @@ def identity(
|
|
1840
1782
|
"ts_sync_mode": ts_sync_mode,
|
1841
1783
|
"enable": enable,
|
1842
1784
|
}
|
1843
|
-
| (extra_options or {})
|
1844
|
-
| kwargs
|
1785
|
+
| (extra_options or {}),
|
1845
1786
|
)
|
1846
1787
|
return filter_node.video(0)
|
1847
1788
|
|
@@ -1851,7 +1792,6 @@ def interleave(
|
|
1851
1792
|
nb_inputs: Int = Auto("len(streams)"),
|
1852
1793
|
duration: Int | Literal["longest", "shortest", "first"] | Default = Default("longest"),
|
1853
1794
|
extra_options: dict[str, Any] = None,
|
1854
|
-
**kwargs: Any
|
1855
1795
|
) -> VideoStream:
|
1856
1796
|
"""
|
1857
1797
|
|
@@ -1877,8 +1817,7 @@ def interleave(
|
|
1877
1817
|
"nb_inputs": nb_inputs,
|
1878
1818
|
"duration": duration,
|
1879
1819
|
}
|
1880
|
-
| (extra_options or {})
|
1881
|
-
| kwargs
|
1820
|
+
| (extra_options or {}),
|
1882
1821
|
)
|
1883
1822
|
return filter_node.video(0)
|
1884
1823
|
|
@@ -1889,7 +1828,6 @@ def join(
|
|
1889
1828
|
channel_layout: String = Default("stereo"),
|
1890
1829
|
map: String = Default(None),
|
1891
1830
|
extra_options: dict[str, Any] = None,
|
1892
|
-
**kwargs: Any
|
1893
1831
|
) -> AudioStream:
|
1894
1832
|
"""
|
1895
1833
|
|
@@ -1915,8 +1853,7 @@ def join(
|
|
1915
1853
|
"channel_layout": channel_layout,
|
1916
1854
|
"map": map,
|
1917
1855
|
}
|
1918
|
-
| (extra_options or {})
|
1919
|
-
| kwargs
|
1856
|
+
| (extra_options or {}),
|
1920
1857
|
)
|
1921
1858
|
return filter_node.audio(0)
|
1922
1859
|
|
@@ -1937,7 +1874,6 @@ def libvmaf(
|
|
1937
1874
|
repeatlast: Boolean = Default(True),
|
1938
1875
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
1939
1876
|
extra_options: dict[str, Any] = None,
|
1940
|
-
**kwargs: Any
|
1941
1877
|
) -> VideoStream:
|
1942
1878
|
"""
|
1943
1879
|
|
@@ -1980,8 +1916,7 @@ def libvmaf(
|
|
1980
1916
|
"repeatlast": repeatlast,
|
1981
1917
|
"ts_sync_mode": ts_sync_mode,
|
1982
1918
|
}
|
1983
|
-
| (extra_options or {})
|
1984
|
-
| kwargs
|
1919
|
+
| (extra_options or {}),
|
1985
1920
|
)
|
1986
1921
|
return filter_node.video(0)
|
1987
1922
|
|
@@ -1994,7 +1929,6 @@ def limitdiff(
|
|
1994
1929
|
planes: Int = Default(15),
|
1995
1930
|
enable: String = Default(None),
|
1996
1931
|
extra_options: dict[str, Any] = None,
|
1997
|
-
**kwargs: Any
|
1998
1932
|
) -> VideoStream:
|
1999
1933
|
"""
|
2000
1934
|
|
@@ -2028,8 +1962,7 @@ def limitdiff(
|
|
2028
1962
|
"planes": planes,
|
2029
1963
|
"enable": enable,
|
2030
1964
|
}
|
2031
|
-
| (extra_options or {})
|
2032
|
-
| kwargs
|
1965
|
+
| (extra_options or {}),
|
2033
1966
|
)
|
2034
1967
|
return filter_node.video(0)
|
2035
1968
|
|
@@ -2049,7 +1982,6 @@ def lut2(
|
|
2049
1982
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
2050
1983
|
enable: String = Default(None),
|
2051
1984
|
extra_options: dict[str, Any] = None,
|
2052
|
-
**kwargs: Any
|
2053
1985
|
) -> VideoStream:
|
2054
1986
|
"""
|
2055
1987
|
|
@@ -2090,8 +2022,7 @@ def lut2(
|
|
2090
2022
|
"ts_sync_mode": ts_sync_mode,
|
2091
2023
|
"enable": enable,
|
2092
2024
|
}
|
2093
|
-
| (extra_options or {})
|
2094
|
-
| kwargs
|
2025
|
+
| (extra_options or {}),
|
2095
2026
|
)
|
2096
2027
|
return filter_node.video(0)
|
2097
2028
|
|
@@ -2106,7 +2037,6 @@ def maskedclamp(
|
|
2106
2037
|
planes: Int = Default(15),
|
2107
2038
|
enable: String = Default(None),
|
2108
2039
|
extra_options: dict[str, Any] = None,
|
2109
|
-
**kwargs: Any
|
2110
2040
|
) -> VideoStream:
|
2111
2041
|
"""
|
2112
2042
|
|
@@ -2136,8 +2066,7 @@ def maskedclamp(
|
|
2136
2066
|
"planes": planes,
|
2137
2067
|
"enable": enable,
|
2138
2068
|
}
|
2139
|
-
| (extra_options or {})
|
2140
|
-
| kwargs
|
2069
|
+
| (extra_options or {}),
|
2141
2070
|
)
|
2142
2071
|
return filter_node.video(0)
|
2143
2072
|
|
@@ -2150,7 +2079,6 @@ def maskedmax(
|
|
2150
2079
|
planes: Int = Default(15),
|
2151
2080
|
enable: String = Default(None),
|
2152
2081
|
extra_options: dict[str, Any] = None,
|
2153
|
-
**kwargs: Any
|
2154
2082
|
) -> VideoStream:
|
2155
2083
|
"""
|
2156
2084
|
|
@@ -2176,8 +2104,7 @@ def maskedmax(
|
|
2176
2104
|
"planes": planes,
|
2177
2105
|
"enable": enable,
|
2178
2106
|
}
|
2179
|
-
| (extra_options or {})
|
2180
|
-
| kwargs
|
2107
|
+
| (extra_options or {}),
|
2181
2108
|
)
|
2182
2109
|
return filter_node.video(0)
|
2183
2110
|
|
@@ -2190,7 +2117,6 @@ def maskedmerge(
|
|
2190
2117
|
planes: Int = Default(15),
|
2191
2118
|
enable: String = Default(None),
|
2192
2119
|
extra_options: dict[str, Any] = None,
|
2193
|
-
**kwargs: Any
|
2194
2120
|
) -> VideoStream:
|
2195
2121
|
"""
|
2196
2122
|
|
@@ -2216,8 +2142,7 @@ def maskedmerge(
|
|
2216
2142
|
"planes": planes,
|
2217
2143
|
"enable": enable,
|
2218
2144
|
}
|
2219
|
-
| (extra_options or {})
|
2220
|
-
| kwargs
|
2145
|
+
| (extra_options or {}),
|
2221
2146
|
)
|
2222
2147
|
return filter_node.video(0)
|
2223
2148
|
|
@@ -2230,7 +2155,6 @@ def maskedmin(
|
|
2230
2155
|
planes: Int = Default(15),
|
2231
2156
|
enable: String = Default(None),
|
2232
2157
|
extra_options: dict[str, Any] = None,
|
2233
|
-
**kwargs: Any
|
2234
2158
|
) -> VideoStream:
|
2235
2159
|
"""
|
2236
2160
|
|
@@ -2256,8 +2180,7 @@ def maskedmin(
|
|
2256
2180
|
"planes": planes,
|
2257
2181
|
"enable": enable,
|
2258
2182
|
}
|
2259
|
-
| (extra_options or {})
|
2260
|
-
| kwargs
|
2183
|
+
| (extra_options or {}),
|
2261
2184
|
)
|
2262
2185
|
return filter_node.video(0)
|
2263
2186
|
|
@@ -2271,7 +2194,6 @@ def maskedthreshold(
|
|
2271
2194
|
mode: Int | Literal["abs", "diff"] | Default = Default("abs"),
|
2272
2195
|
enable: String = Default(None),
|
2273
2196
|
extra_options: dict[str, Any] = None,
|
2274
|
-
**kwargs: Any
|
2275
2197
|
) -> VideoStream:
|
2276
2198
|
"""
|
2277
2199
|
|
@@ -2300,8 +2222,7 @@ def maskedthreshold(
|
|
2300
2222
|
"mode": mode,
|
2301
2223
|
"enable": enable,
|
2302
2224
|
}
|
2303
|
-
| (extra_options or {})
|
2304
|
-
| kwargs
|
2225
|
+
| (extra_options or {}),
|
2305
2226
|
)
|
2306
2227
|
return filter_node.video(0)
|
2307
2228
|
|
@@ -2319,7 +2240,6 @@ def mergeplanes(
|
|
2319
2240
|
map3s: Int = Default(0),
|
2320
2241
|
map3p: Int = Default(0),
|
2321
2242
|
extra_options: dict[str, Any] = None,
|
2322
|
-
**kwargs: Any
|
2323
2243
|
) -> VideoStream:
|
2324
2244
|
"""
|
2325
2245
|
|
@@ -2363,8 +2283,7 @@ def mergeplanes(
|
|
2363
2283
|
"map3s": map3s,
|
2364
2284
|
"map3p": map3p,
|
2365
2285
|
}
|
2366
|
-
| (extra_options or {})
|
2367
|
-
| kwargs
|
2286
|
+
| (extra_options or {}),
|
2368
2287
|
)
|
2369
2288
|
return filter_node.video(0)
|
2370
2289
|
|
@@ -2376,7 +2295,6 @@ def midequalizer(
|
|
2376
2295
|
planes: Int = Default(15),
|
2377
2296
|
enable: String = Default(None),
|
2378
2297
|
extra_options: dict[str, Any] = None,
|
2379
|
-
**kwargs: Any
|
2380
2298
|
) -> VideoStream:
|
2381
2299
|
"""
|
2382
2300
|
|
@@ -2401,8 +2319,7 @@ def midequalizer(
|
|
2401
2319
|
"planes": planes,
|
2402
2320
|
"enable": enable,
|
2403
2321
|
}
|
2404
|
-
| (extra_options or {})
|
2405
|
-
| kwargs
|
2322
|
+
| (extra_options or {}),
|
2406
2323
|
)
|
2407
2324
|
return filter_node.video(0)
|
2408
2325
|
|
@@ -2416,7 +2333,6 @@ def mix(
|
|
2416
2333
|
duration: Int | Literal["longest", "shortest", "first"] | Default = Default("longest"),
|
2417
2334
|
enable: String = Default(None),
|
2418
2335
|
extra_options: dict[str, Any] = None,
|
2419
|
-
**kwargs: Any
|
2420
2336
|
) -> VideoStream:
|
2421
2337
|
"""
|
2422
2338
|
|
@@ -2448,8 +2364,7 @@ def mix(
|
|
2448
2364
|
"duration": duration,
|
2449
2365
|
"enable": enable,
|
2450
2366
|
}
|
2451
|
-
| (extra_options or {})
|
2452
|
-
| kwargs
|
2367
|
+
| (extra_options or {}),
|
2453
2368
|
)
|
2454
2369
|
return filter_node.video(0)
|
2455
2370
|
|
@@ -2469,7 +2384,6 @@ def morpho(
|
|
2469
2384
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
2470
2385
|
enable: String = Default(None),
|
2471
2386
|
extra_options: dict[str, Any] = None,
|
2472
|
-
**kwargs: Any
|
2473
2387
|
) -> VideoStream:
|
2474
2388
|
"""
|
2475
2389
|
|
@@ -2506,8 +2420,7 @@ def morpho(
|
|
2506
2420
|
"ts_sync_mode": ts_sync_mode,
|
2507
2421
|
"enable": enable,
|
2508
2422
|
}
|
2509
|
-
| (extra_options or {})
|
2510
|
-
| kwargs
|
2423
|
+
| (extra_options or {}),
|
2511
2424
|
)
|
2512
2425
|
return filter_node.video(0)
|
2513
2426
|
|
@@ -2522,7 +2435,6 @@ def msad(
|
|
2522
2435
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
2523
2436
|
enable: String = Default(None),
|
2524
2437
|
extra_options: dict[str, Any] = None,
|
2525
|
-
**kwargs: Any
|
2526
2438
|
) -> VideoStream:
|
2527
2439
|
"""
|
2528
2440
|
|
@@ -2553,8 +2465,7 @@ def msad(
|
|
2553
2465
|
"ts_sync_mode": ts_sync_mode,
|
2554
2466
|
"enable": enable,
|
2555
2467
|
}
|
2556
|
-
| (extra_options or {})
|
2557
|
-
| kwargs
|
2468
|
+
| (extra_options or {}),
|
2558
2469
|
)
|
2559
2470
|
return filter_node.video(0)
|
2560
2471
|
|
@@ -2568,7 +2479,6 @@ def multiply(
|
|
2568
2479
|
planes: Flags = Default("F"),
|
2569
2480
|
enable: String = Default(None),
|
2570
2481
|
extra_options: dict[str, Any] = None,
|
2571
|
-
**kwargs: Any
|
2572
2482
|
) -> VideoStream:
|
2573
2483
|
"""
|
2574
2484
|
|
@@ -2597,8 +2507,7 @@ def multiply(
|
|
2597
2507
|
"planes": planes,
|
2598
2508
|
"enable": enable,
|
2599
2509
|
}
|
2600
|
-
| (extra_options or {})
|
2601
|
-
| kwargs
|
2510
|
+
| (extra_options or {}),
|
2602
2511
|
)
|
2603
2512
|
return filter_node.video(0)
|
2604
2513
|
|
@@ -2620,7 +2529,6 @@ def overlay(
|
|
2620
2529
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
2621
2530
|
enable: String = Default(None),
|
2622
2531
|
extra_options: dict[str, Any] = None,
|
2623
|
-
**kwargs: Any
|
2624
2532
|
) -> VideoStream:
|
2625
2533
|
"""
|
2626
2534
|
|
@@ -2661,8 +2569,7 @@ def overlay(
|
|
2661
2569
|
"ts_sync_mode": ts_sync_mode,
|
2662
2570
|
"enable": enable,
|
2663
2571
|
}
|
2664
|
-
| (extra_options or {})
|
2665
|
-
| kwargs
|
2572
|
+
| (extra_options or {}),
|
2666
2573
|
)
|
2667
2574
|
return filter_node.video(0)
|
2668
2575
|
|
@@ -2680,7 +2587,6 @@ def paletteuse(
|
|
2680
2587
|
alpha_threshold: Int = Default(128),
|
2681
2588
|
debug_kdtree: String = Default(None),
|
2682
2589
|
extra_options: dict[str, Any] = None,
|
2683
|
-
**kwargs: Any
|
2684
2590
|
) -> VideoStream:
|
2685
2591
|
"""
|
2686
2592
|
|
@@ -2713,8 +2619,7 @@ def paletteuse(
|
|
2713
2619
|
"alpha_threshold": alpha_threshold,
|
2714
2620
|
"debug_kdtree": debug_kdtree,
|
2715
2621
|
}
|
2716
|
-
| (extra_options or {})
|
2717
|
-
| kwargs
|
2622
|
+
| (extra_options or {}),
|
2718
2623
|
)
|
2719
2624
|
return filter_node.video(0)
|
2720
2625
|
|
@@ -2725,7 +2630,6 @@ def premultiply(
|
|
2725
2630
|
inplace: Boolean = Default(False),
|
2726
2631
|
enable: String = Default(None),
|
2727
2632
|
extra_options: dict[str, Any] = None,
|
2728
|
-
**kwargs: Any
|
2729
2633
|
) -> VideoStream:
|
2730
2634
|
"""
|
2731
2635
|
|
@@ -2755,8 +2659,7 @@ def premultiply(
|
|
2755
2659
|
"inplace": inplace,
|
2756
2660
|
"enable": enable,
|
2757
2661
|
}
|
2758
|
-
| (extra_options or {})
|
2759
|
-
| kwargs
|
2662
|
+
| (extra_options or {}),
|
2760
2663
|
)
|
2761
2664
|
return filter_node.video(0)
|
2762
2665
|
|
@@ -2774,7 +2677,6 @@ def psnr(
|
|
2774
2677
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
2775
2678
|
enable: String = Default(None),
|
2776
2679
|
extra_options: dict[str, Any] = None,
|
2777
|
-
**kwargs: Any
|
2778
2680
|
) -> VideoStream:
|
2779
2681
|
"""
|
2780
2682
|
|
@@ -2811,8 +2713,7 @@ def psnr(
|
|
2811
2713
|
"ts_sync_mode": ts_sync_mode,
|
2812
2714
|
"enable": enable,
|
2813
2715
|
}
|
2814
|
-
| (extra_options or {})
|
2815
|
-
| kwargs
|
2716
|
+
| (extra_options or {}),
|
2816
2717
|
)
|
2817
2718
|
return filter_node.video(0)
|
2818
2719
|
|
@@ -2825,7 +2726,6 @@ def remap(
|
|
2825
2726
|
format: Int | Literal["color", "gray"] | Default = Default("color"),
|
2826
2727
|
fill: Color = Default("black"),
|
2827
2728
|
extra_options: dict[str, Any] = None,
|
2828
|
-
**kwargs: Any
|
2829
2729
|
) -> VideoStream:
|
2830
2730
|
"""
|
2831
2731
|
|
@@ -2851,8 +2751,7 @@ def remap(
|
|
2851
2751
|
"format": format,
|
2852
2752
|
"fill": fill,
|
2853
2753
|
}
|
2854
|
-
| (extra_options or {})
|
2855
|
-
| kwargs
|
2754
|
+
| (extra_options or {}),
|
2856
2755
|
)
|
2857
2756
|
return filter_node.video(0)
|
2858
2757
|
|
@@ -2874,7 +2773,6 @@ def sidechaincompress(
|
|
2874
2773
|
level_sc: Double = Default(1.0),
|
2875
2774
|
mix: Double = Default(1.0),
|
2876
2775
|
extra_options: dict[str, Any] = None,
|
2877
|
-
**kwargs: Any
|
2878
2776
|
) -> AudioStream:
|
2879
2777
|
"""
|
2880
2778
|
|
@@ -2919,8 +2817,7 @@ def sidechaincompress(
|
|
2919
2817
|
"level_sc": level_sc,
|
2920
2818
|
"mix": mix,
|
2921
2819
|
}
|
2922
|
-
| (extra_options or {})
|
2923
|
-
| kwargs
|
2820
|
+
| (extra_options or {}),
|
2924
2821
|
)
|
2925
2822
|
return filter_node.audio(0)
|
2926
2823
|
|
@@ -2943,7 +2840,6 @@ def sidechaingate(
|
|
2943
2840
|
level_sc: Double = Default(1.0),
|
2944
2841
|
enable: String = Default(None),
|
2945
2842
|
extra_options: dict[str, Any] = None,
|
2946
|
-
**kwargs: Any
|
2947
2843
|
) -> AudioStream:
|
2948
2844
|
"""
|
2949
2845
|
|
@@ -2990,8 +2886,7 @@ def sidechaingate(
|
|
2990
2886
|
"level_sc": level_sc,
|
2991
2887
|
"enable": enable,
|
2992
2888
|
}
|
2993
|
-
| (extra_options or {})
|
2994
|
-
| kwargs
|
2889
|
+
| (extra_options or {}),
|
2995
2890
|
)
|
2996
2891
|
return filter_node.audio(0)
|
2997
2892
|
|
@@ -3008,7 +2903,6 @@ def signature(
|
|
3008
2903
|
th_di: Int = Default(0),
|
3009
2904
|
th_it: Double = Default(0.5),
|
3010
2905
|
extra_options: dict[str, Any] = None,
|
3011
|
-
**kwargs: Any
|
3012
2906
|
) -> VideoStream:
|
3013
2907
|
"""
|
3014
2908
|
|
@@ -3048,8 +2942,7 @@ def signature(
|
|
3048
2942
|
"th_di": th_di,
|
3049
2943
|
"th_it": th_it,
|
3050
2944
|
}
|
3051
|
-
| (extra_options or {})
|
3052
|
-
| kwargs
|
2945
|
+
| (extra_options or {}),
|
3053
2946
|
)
|
3054
2947
|
return filter_node.video(0)
|
3055
2948
|
|
@@ -3091,7 +2984,6 @@ def spectrumsynth(
|
|
3091
2984
|
overlap: Float = Default(1.0),
|
3092
2985
|
orientation: Int | Literal["vertical", "horizontal"] | Default = Default("vertical"),
|
3093
2986
|
extra_options: dict[str, Any] = None,
|
3094
|
-
**kwargs: Any
|
3095
2987
|
) -> AudioStream:
|
3096
2988
|
"""
|
3097
2989
|
|
@@ -3126,8 +3018,7 @@ def spectrumsynth(
|
|
3126
3018
|
"overlap": overlap,
|
3127
3019
|
"orientation": orientation,
|
3128
3020
|
}
|
3129
|
-
| (extra_options or {})
|
3130
|
-
| kwargs
|
3021
|
+
| (extra_options or {}),
|
3131
3022
|
)
|
3132
3023
|
return filter_node.audio(0)
|
3133
3024
|
|
@@ -3143,7 +3034,6 @@ def ssim(
|
|
3143
3034
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
3144
3035
|
enable: String = Default(None),
|
3145
3036
|
extra_options: dict[str, Any] = None,
|
3146
|
-
**kwargs: Any
|
3147
3037
|
) -> VideoStream:
|
3148
3038
|
"""
|
3149
3039
|
|
@@ -3176,8 +3066,7 @@ def ssim(
|
|
3176
3066
|
"ts_sync_mode": ts_sync_mode,
|
3177
3067
|
"enable": enable,
|
3178
3068
|
}
|
3179
|
-
| (extra_options or {})
|
3180
|
-
| kwargs
|
3069
|
+
| (extra_options or {}),
|
3181
3070
|
)
|
3182
3071
|
return filter_node.video(0)
|
3183
3072
|
|
@@ -3187,7 +3076,6 @@ def streamselect(
|
|
3187
3076
|
inputs: Int = Auto("len(streams)"),
|
3188
3077
|
map: String = Default(None),
|
3189
3078
|
extra_options: dict[str, Any] = None,
|
3190
|
-
**kwargs: Any
|
3191
3079
|
) -> FilterNode:
|
3192
3080
|
"""
|
3193
3081
|
|
@@ -3216,8 +3104,7 @@ def streamselect(
|
|
3216
3104
|
"inputs": inputs,
|
3217
3105
|
"map": map,
|
3218
3106
|
}
|
3219
|
-
| (extra_options or {})
|
3220
|
-
| kwargs
|
3107
|
+
| (extra_options or {}),
|
3221
3108
|
)
|
3222
3109
|
|
3223
3110
|
return filter_node
|
@@ -3232,7 +3119,6 @@ def threshold(
|
|
3232
3119
|
planes: Int = Default(15),
|
3233
3120
|
enable: String = Default(None),
|
3234
3121
|
extra_options: dict[str, Any] = None,
|
3235
|
-
**kwargs: Any
|
3236
3122
|
) -> VideoStream:
|
3237
3123
|
"""
|
3238
3124
|
|
@@ -3261,8 +3147,7 @@ def threshold(
|
|
3261
3147
|
"planes": planes,
|
3262
3148
|
"enable": enable,
|
3263
3149
|
}
|
3264
|
-
| (extra_options or {})
|
3265
|
-
| kwargs
|
3150
|
+
| (extra_options or {}),
|
3266
3151
|
)
|
3267
3152
|
return filter_node.video(0)
|
3268
3153
|
|
@@ -3273,7 +3158,6 @@ def unpremultiply(
|
|
3273
3158
|
inplace: Boolean = Default(False),
|
3274
3159
|
enable: String = Default(None),
|
3275
3160
|
extra_options: dict[str, Any] = None,
|
3276
|
-
**kwargs: Any
|
3277
3161
|
) -> VideoStream:
|
3278
3162
|
"""
|
3279
3163
|
|
@@ -3303,8 +3187,7 @@ def unpremultiply(
|
|
3303
3187
|
"inplace": inplace,
|
3304
3188
|
"enable": enable,
|
3305
3189
|
}
|
3306
|
-
| (extra_options or {})
|
3307
|
-
| kwargs
|
3190
|
+
| (extra_options or {}),
|
3308
3191
|
)
|
3309
3192
|
return filter_node.video(0)
|
3310
3193
|
|
@@ -3322,7 +3205,6 @@ def varblur(
|
|
3322
3205
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
3323
3206
|
enable: String = Default(None),
|
3324
3207
|
extra_options: dict[str, Any] = None,
|
3325
|
-
**kwargs: Any
|
3326
3208
|
) -> VideoStream:
|
3327
3209
|
"""
|
3328
3210
|
|
@@ -3359,8 +3241,7 @@ def varblur(
|
|
3359
3241
|
"ts_sync_mode": ts_sync_mode,
|
3360
3242
|
"enable": enable,
|
3361
3243
|
}
|
3362
|
-
| (extra_options or {})
|
3363
|
-
| kwargs
|
3244
|
+
| (extra_options or {}),
|
3364
3245
|
)
|
3365
3246
|
return filter_node.video(0)
|
3366
3247
|
|
@@ -3375,7 +3256,6 @@ def vif(
|
|
3375
3256
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
3376
3257
|
enable: String = Default(None),
|
3377
3258
|
extra_options: dict[str, Any] = None,
|
3378
|
-
**kwargs: Any
|
3379
3259
|
) -> VideoStream:
|
3380
3260
|
"""
|
3381
3261
|
|
@@ -3406,8 +3286,7 @@ def vif(
|
|
3406
3286
|
"ts_sync_mode": ts_sync_mode,
|
3407
3287
|
"enable": enable,
|
3408
3288
|
}
|
3409
|
-
| (extra_options or {})
|
3410
|
-
| kwargs
|
3289
|
+
| (extra_options or {}),
|
3411
3290
|
)
|
3412
3291
|
return filter_node.video(0)
|
3413
3292
|
|
@@ -3417,7 +3296,6 @@ def vstack(
|
|
3417
3296
|
inputs: Int = Auto("len(streams)"),
|
3418
3297
|
shortest: Boolean = Default(False),
|
3419
3298
|
extra_options: dict[str, Any] = None,
|
3420
|
-
**kwargs: Any
|
3421
3299
|
) -> VideoStream:
|
3422
3300
|
"""
|
3423
3301
|
|
@@ -3441,8 +3319,7 @@ def vstack(
|
|
3441
3319
|
"inputs": inputs,
|
3442
3320
|
"shortest": shortest,
|
3443
3321
|
}
|
3444
|
-
| (extra_options or {})
|
3445
|
-
| kwargs
|
3322
|
+
| (extra_options or {}),
|
3446
3323
|
)
|
3447
3324
|
return filter_node.video(0)
|
3448
3325
|
|
@@ -3459,7 +3336,6 @@ def xcorrelate(
|
|
3459
3336
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
3460
3337
|
enable: String = Default(None),
|
3461
3338
|
extra_options: dict[str, Any] = None,
|
3462
|
-
**kwargs: Any
|
3463
3339
|
) -> VideoStream:
|
3464
3340
|
"""
|
3465
3341
|
|
@@ -3494,8 +3370,7 @@ def xcorrelate(
|
|
3494
3370
|
"ts_sync_mode": ts_sync_mode,
|
3495
3371
|
"enable": enable,
|
3496
3372
|
}
|
3497
|
-
| (extra_options or {})
|
3498
|
-
| kwargs
|
3373
|
+
| (extra_options or {}),
|
3499
3374
|
)
|
3500
3375
|
return filter_node.video(0)
|
3501
3376
|
|
@@ -3571,7 +3446,6 @@ def xfade(
|
|
3571
3446
|
offset: Duration = Default(0.0),
|
3572
3447
|
expr: String = Default(None),
|
3573
3448
|
extra_options: dict[str, Any] = None,
|
3574
|
-
**kwargs: Any
|
3575
3449
|
) -> VideoStream:
|
3576
3450
|
"""
|
3577
3451
|
|
@@ -3600,8 +3474,7 @@ def xfade(
|
|
3600
3474
|
"offset": offset,
|
3601
3475
|
"expr": expr,
|
3602
3476
|
}
|
3603
|
-
| (extra_options or {})
|
3604
|
-
| kwargs
|
3477
|
+
| (extra_options or {}),
|
3605
3478
|
)
|
3606
3479
|
return filter_node.video(0)
|
3607
3480
|
|
@@ -3617,7 +3490,6 @@ def xmedian(
|
|
3617
3490
|
ts_sync_mode: Int | Literal["default", "nearest"] | Default = Default("default"),
|
3618
3491
|
enable: String = Default(None),
|
3619
3492
|
extra_options: dict[str, Any] = None,
|
3620
|
-
**kwargs: Any
|
3621
3493
|
) -> VideoStream:
|
3622
3494
|
"""
|
3623
3495
|
|
@@ -3653,8 +3525,7 @@ def xmedian(
|
|
3653
3525
|
"ts_sync_mode": ts_sync_mode,
|
3654
3526
|
"enable": enable,
|
3655
3527
|
}
|
3656
|
-
| (extra_options or {})
|
3657
|
-
| kwargs
|
3528
|
+
| (extra_options or {}),
|
3658
3529
|
)
|
3659
3530
|
return filter_node.video(0)
|
3660
3531
|
|
@@ -3667,7 +3538,6 @@ def xstack(
|
|
3667
3538
|
shortest: Boolean = Default(False),
|
3668
3539
|
fill: String = Default("none"),
|
3669
3540
|
extra_options: dict[str, Any] = None,
|
3670
|
-
**kwargs: Any
|
3671
3541
|
) -> VideoStream:
|
3672
3542
|
"""
|
3673
3543
|
|
@@ -3697,7 +3567,6 @@ def xstack(
|
|
3697
3567
|
"shortest": shortest,
|
3698
3568
|
"fill": fill,
|
3699
3569
|
}
|
3700
|
-
| (extra_options or {})
|
3701
|
-
| kwargs
|
3570
|
+
| (extra_options or {}),
|
3702
3571
|
)
|
3703
3572
|
return filter_node.video(0)
|