typed-ffmpeg-compatible 3.5.2__py3-none-any.whl → 3.6__py3-none-any.whl
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.
- typed_ffmpeg/__init__.py +4 -1
- typed_ffmpeg/_version.py +2 -2
- typed_ffmpeg/base.py +4 -1
- typed_ffmpeg/codecs/__init__.py +2 -0
- typed_ffmpeg/codecs/decoders.py +1852 -1853
- typed_ffmpeg/codecs/encoders.py +2001 -1782
- typed_ffmpeg/codecs/schema.py +6 -12
- typed_ffmpeg/common/__init__.py +1 -0
- typed_ffmpeg/common/cache.py +9 -6
- typed_ffmpeg/common/schema.py +11 -0
- typed_ffmpeg/common/serialize.py +13 -7
- typed_ffmpeg/compile/__init__.py +1 -0
- typed_ffmpeg/compile/compile_cli.py +23 -4
- typed_ffmpeg/compile/compile_json.py +4 -0
- typed_ffmpeg/compile/compile_python.py +15 -0
- typed_ffmpeg/compile/context.py +15 -4
- typed_ffmpeg/compile/validate.py +4 -3
- typed_ffmpeg/dag/factory.py +2 -0
- typed_ffmpeg/dag/global_runnable/__init__.py +1 -0
- typed_ffmpeg/dag/global_runnable/global_args.py +2 -2
- typed_ffmpeg/dag/global_runnable/runnable.py +6 -2
- typed_ffmpeg/dag/io/__init__.py +1 -0
- typed_ffmpeg/dag/io/_input.py +20 -5
- typed_ffmpeg/dag/io/_output.py +24 -9
- typed_ffmpeg/dag/io/output_args.py +21 -7
- typed_ffmpeg/dag/nodes.py +20 -0
- typed_ffmpeg/dag/schema.py +19 -6
- typed_ffmpeg/dag/utils.py +2 -2
- typed_ffmpeg/exceptions.py +2 -1
- typed_ffmpeg/expressions.py +884 -0
- typed_ffmpeg/ffprobe/__init__.py +1 -0
- typed_ffmpeg/ffprobe/parse.py +7 -1
- typed_ffmpeg/ffprobe/probe.py +3 -1
- typed_ffmpeg/ffprobe/schema.py +83 -1
- typed_ffmpeg/ffprobe/xml2json.py +8 -2
- typed_ffmpeg/filters.py +540 -631
- typed_ffmpeg/formats/__init__.py +2 -0
- typed_ffmpeg/formats/demuxers.py +1869 -1921
- typed_ffmpeg/formats/muxers.py +1382 -1107
- typed_ffmpeg/formats/schema.py +6 -12
- typed_ffmpeg/info.py +8 -0
- typed_ffmpeg/options/__init__.py +15 -0
- typed_ffmpeg/options/codec.py +711 -0
- typed_ffmpeg/options/format.py +196 -0
- typed_ffmpeg/options/framesync.py +43 -0
- typed_ffmpeg/options/timeline.py +22 -0
- typed_ffmpeg/schema.py +15 -0
- typed_ffmpeg/sources.py +392 -381
- typed_ffmpeg/streams/__init__.py +2 -0
- typed_ffmpeg/streams/audio.py +1071 -882
- typed_ffmpeg/streams/av.py +9 -3
- typed_ffmpeg/streams/subtitle.py +3 -3
- typed_ffmpeg/streams/video.py +1873 -1725
- typed_ffmpeg/types.py +3 -2
- typed_ffmpeg/utils/__init__.py +1 -0
- typed_ffmpeg/utils/escaping.py +8 -4
- typed_ffmpeg/utils/frozendict.py +31 -1
- typed_ffmpeg/utils/lazy_eval/__init__.py +1 -0
- typed_ffmpeg/utils/lazy_eval/operator.py +75 -27
- typed_ffmpeg/utils/lazy_eval/schema.py +176 -4
- typed_ffmpeg/utils/run.py +2 -0
- typed_ffmpeg/utils/snapshot.py +1 -0
- typed_ffmpeg/utils/typing.py +2 -1
- typed_ffmpeg/utils/view.py +2 -1
- {typed_ffmpeg_compatible-3.5.2.dist-info → typed_ffmpeg_compatible-3.6.dist-info}/METADATA +1 -1
- typed_ffmpeg_compatible-3.6.dist-info/RECORD +73 -0
- typed_ffmpeg_compatible-3.5.2.dist-info/RECORD +0 -67
- {typed_ffmpeg_compatible-3.5.2.dist-info → typed_ffmpeg_compatible-3.6.dist-info}/WHEEL +0 -0
- {typed_ffmpeg_compatible-3.5.2.dist-info → typed_ffmpeg_compatible-3.6.dist-info}/entry_points.txt +0 -0
- {typed_ffmpeg_compatible-3.5.2.dist-info → typed_ffmpeg_compatible-3.6.dist-info}/licenses/LICENSE +0 -0
- {typed_ffmpeg_compatible-3.5.2.dist-info → typed_ffmpeg_compatible-3.6.dist-info}/top_level.txt +0 -0
typed_ffmpeg/streams/audio.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# NOTE: this file is auto-generated, do not modify
|
2
|
-
|
2
|
+
"""Audio stream."""
|
3
3
|
|
4
4
|
from __future__ import annotations
|
5
5
|
|
@@ -7,7 +7,11 @@ from typing import TYPE_CHECKING, Any, Literal
|
|
7
7
|
|
8
8
|
from ..common.schema import FFMpegFilterDef
|
9
9
|
from ..dag.factory import filter_node_factory
|
10
|
-
from ..dag.nodes import
|
10
|
+
from ..dag.nodes import (
|
11
|
+
FilterableStream,
|
12
|
+
FilterNode,
|
13
|
+
)
|
14
|
+
from ..options.timeline import FFMpegTimelineOption
|
11
15
|
from ..schema import Default
|
12
16
|
from ..types import (
|
13
17
|
Boolean,
|
@@ -30,18 +34,20 @@ if TYPE_CHECKING:
|
|
30
34
|
|
31
35
|
|
32
36
|
class AudioStream(FilterableStream):
|
37
|
+
"""Audio stream."""
|
38
|
+
|
33
39
|
def a3dscope(
|
34
40
|
self,
|
35
41
|
*,
|
36
42
|
rate: Video_rate = Default("25"),
|
37
43
|
size: Image_size = Default("hd720"),
|
38
|
-
fov: Float = Default(90
|
39
|
-
roll: Float = Default(0
|
40
|
-
pitch: Float = Default(0
|
41
|
-
yaw: Float = Default(0
|
42
|
-
xzoom: Float = Default(1
|
43
|
-
xpos: Float = Default(0
|
44
|
-
length: Int = Default(15),
|
44
|
+
fov: Float = Default("90"),
|
45
|
+
roll: Float = Default("0"),
|
46
|
+
pitch: Float = Default("0"),
|
47
|
+
yaw: Float = Default("0"),
|
48
|
+
xzoom: Float = Default("1"),
|
49
|
+
xpos: Float = Default("0"),
|
50
|
+
length: Int = Default("15"),
|
45
51
|
extra_options: dict[str, Any] | None = None,
|
46
52
|
) -> VideoStream:
|
47
53
|
"""
|
@@ -58,6 +64,7 @@ class AudioStream(FilterableStream):
|
|
58
64
|
xzoom: set camera zoom (from 0.01 to 10) (default 1)
|
59
65
|
xpos: set camera position (from -60 to 60) (default 0)
|
60
66
|
length: set length (from 1 to 60) (default 15)
|
67
|
+
extra_options: Extra options for the filter
|
61
68
|
|
62
69
|
Returns:
|
63
70
|
default: the video stream
|
@@ -100,6 +107,7 @@ class AudioStream(FilterableStream):
|
|
100
107
|
|
101
108
|
Args:
|
102
109
|
action: set action (from 0 to 1) (default start)
|
110
|
+
extra_options: Extra options for the filter
|
103
111
|
|
104
112
|
Returns:
|
105
113
|
default: the audio stream
|
@@ -142,6 +150,7 @@ class AudioStream(FilterableStream):
|
|
142
150
|
size: set video size (default "1024x256")
|
143
151
|
colors: set channels colors (default "red|green|blue|yellow|orange|lime|pink|magenta|brown")
|
144
152
|
mode: set output mode (from 0 to 1) (default bars)
|
153
|
+
extra_options: Extra options for the filter
|
145
154
|
|
146
155
|
Returns:
|
147
156
|
default: the video stream
|
@@ -170,18 +179,18 @@ class AudioStream(FilterableStream):
|
|
170
179
|
def acompressor(
|
171
180
|
self,
|
172
181
|
*,
|
173
|
-
level_in: Double = Default(1
|
182
|
+
level_in: Double = Default("1"),
|
174
183
|
mode: Int | Literal["downward", "upward"] | Default = Default("downward"),
|
175
|
-
threshold: Double = Default(0.125),
|
176
|
-
ratio: Double = Default(2
|
177
|
-
attack: Double = Default(20
|
178
|
-
release: Double = Default(250
|
179
|
-
makeup: Double = Default(1
|
180
|
-
knee: Double = Default(2.82843),
|
184
|
+
threshold: Double = Default("0.125"),
|
185
|
+
ratio: Double = Default("2"),
|
186
|
+
attack: Double = Default("20"),
|
187
|
+
release: Double = Default("250"),
|
188
|
+
makeup: Double = Default("1"),
|
189
|
+
knee: Double = Default("2.82843"),
|
181
190
|
link: Int | Literal["average", "maximum"] | Default = Default("average"),
|
182
191
|
detection: Int | Literal["peak", "rms"] | Default = Default("rms"),
|
183
|
-
level_sc: Double = Default(1
|
184
|
-
mix: Double = Default(1
|
192
|
+
level_sc: Double = Default("1"),
|
193
|
+
mix: Double = Default("1"),
|
185
194
|
extra_options: dict[str, Any] | None = None,
|
186
195
|
) -> AudioStream:
|
187
196
|
"""
|
@@ -201,6 +210,7 @@ class AudioStream(FilterableStream):
|
|
201
210
|
detection: set detection (from 0 to 1) (default rms)
|
202
211
|
level_sc: set sidechain gain (from 0.015625 to 64) (default 1)
|
203
212
|
mix: set mix (from 0 to 1) (default 1)
|
213
|
+
extra_options: Extra options for the filter
|
204
214
|
|
205
215
|
Returns:
|
206
216
|
default: the audio stream
|
@@ -237,7 +247,7 @@ class AudioStream(FilterableStream):
|
|
237
247
|
def acontrast(
|
238
248
|
self,
|
239
249
|
*,
|
240
|
-
contrast: Float = Default(33
|
250
|
+
contrast: Float = Default("33"),
|
241
251
|
extra_options: dict[str, Any] | None = None,
|
242
252
|
) -> AudioStream:
|
243
253
|
"""
|
@@ -246,6 +256,7 @@ class AudioStream(FilterableStream):
|
|
246
256
|
|
247
257
|
Args:
|
248
258
|
contrast: set contrast (from 0 to 100) (default 33)
|
259
|
+
extra_options: Extra options for the filter
|
249
260
|
|
250
261
|
Returns:
|
251
262
|
default: the audio stream
|
@@ -276,6 +287,9 @@ class AudioStream(FilterableStream):
|
|
276
287
|
|
277
288
|
Copy the input audio unchanged to the output.
|
278
289
|
|
290
|
+
Args:
|
291
|
+
extra_options: Extra options for the filter
|
292
|
+
|
279
293
|
Returns:
|
280
294
|
default: the audio stream
|
281
295
|
|
@@ -288,7 +302,10 @@ class AudioStream(FilterableStream):
|
|
288
302
|
name="acopy", typings_input=("audio",), typings_output=("audio",)
|
289
303
|
),
|
290
304
|
self,
|
291
|
-
**merge(
|
305
|
+
**merge(
|
306
|
+
{},
|
307
|
+
extra_options,
|
308
|
+
),
|
292
309
|
)
|
293
310
|
return filter_node.audio(0)
|
294
311
|
|
@@ -296,9 +313,9 @@ class AudioStream(FilterableStream):
|
|
296
313
|
self,
|
297
314
|
_crossfade1: AudioStream,
|
298
315
|
*,
|
299
|
-
nb_samples: Int = Default(44100),
|
300
|
-
duration: Duration = Default(0
|
301
|
-
overlap: Boolean = Default(
|
316
|
+
nb_samples: Int = Default("44100"),
|
317
|
+
duration: Duration = Default("0"),
|
318
|
+
overlap: Boolean = Default("true"),
|
302
319
|
curve1: Int
|
303
320
|
| Literal[
|
304
321
|
"nofade",
|
@@ -367,6 +384,7 @@ class AudioStream(FilterableStream):
|
|
367
384
|
overlap: overlap 1st stream end with 2nd stream start (default true)
|
368
385
|
curve1: set fade curve type for 1st stream (from -1 to 22) (default tri)
|
369
386
|
curve2: set fade curve type for 2nd stream (from -1 to 22) (default tri)
|
387
|
+
extra_options: Extra options for the filter
|
370
388
|
|
371
389
|
Returns:
|
372
390
|
default: the audio stream
|
@@ -405,7 +423,7 @@ class AudioStream(FilterableStream):
|
|
405
423
|
"2nd", "4th", "6th", "8th", "10th", "12th", "14th", "16th", "18th", "20th"
|
406
424
|
]
|
407
425
|
| Default = Default("4th"),
|
408
|
-
level: Float = Default(1
|
426
|
+
level: Float = Default("1"),
|
409
427
|
gain: String = Default("1.f"),
|
410
428
|
precision: Int | Literal["auto", "float", "double"] | Default = Default("auto"),
|
411
429
|
extra_options: dict[str, Any] | None = None,
|
@@ -420,6 +438,7 @@ class AudioStream(FilterableStream):
|
|
420
438
|
level: set input gain (from 0 to 1) (default 1)
|
421
439
|
gain: set output bands gain (default "1.f")
|
422
440
|
precision: set processing precision (from 0 to 2) (default auto)
|
441
|
+
extra_options: Extra options for the filter
|
423
442
|
|
424
443
|
Returns:
|
425
444
|
filter_node: the filter node
|
@@ -453,18 +472,18 @@ class AudioStream(FilterableStream):
|
|
453
472
|
def acrusher(
|
454
473
|
self,
|
455
474
|
*,
|
456
|
-
level_in: Double = Default(1
|
457
|
-
level_out: Double = Default(1
|
458
|
-
bits: Double = Default(8
|
459
|
-
mix: Double = Default(0.5),
|
475
|
+
level_in: Double = Default("1"),
|
476
|
+
level_out: Double = Default("1"),
|
477
|
+
bits: Double = Default("8"),
|
478
|
+
mix: Double = Default("0.5"),
|
460
479
|
mode: Int | Literal["lin", "log"] | Default = Default("lin"),
|
461
|
-
dc: Double = Default(1
|
462
|
-
aa: Double = Default(0.5),
|
463
|
-
samples: Double = Default(1
|
464
|
-
lfo: Boolean = Default(
|
465
|
-
lforange: Double = Default(20
|
466
|
-
lforate: Double = Default(0.3),
|
467
|
-
|
480
|
+
dc: Double = Default("1"),
|
481
|
+
aa: Double = Default("0.5"),
|
482
|
+
samples: Double = Default("1"),
|
483
|
+
lfo: Boolean = Default("false"),
|
484
|
+
lforange: Double = Default("20"),
|
485
|
+
lforate: Double = Default("0.3"),
|
486
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
468
487
|
extra_options: dict[str, Any] | None = None,
|
469
488
|
) -> AudioStream:
|
470
489
|
"""
|
@@ -483,7 +502,8 @@ class AudioStream(FilterableStream):
|
|
483
502
|
lfo: enable LFO (default false)
|
484
503
|
lforange: set LFO depth (from 1 to 250) (default 20)
|
485
504
|
lforate: set LFO rate (from 0.01 to 200) (default 0.3)
|
486
|
-
|
505
|
+
timeline_options: Timeline options
|
506
|
+
extra_options: Extra options for the filter
|
487
507
|
|
488
508
|
Returns:
|
489
509
|
default: the audio stream
|
@@ -510,9 +530,9 @@ class AudioStream(FilterableStream):
|
|
510
530
|
"lfo": lfo,
|
511
531
|
"lforange": lforange,
|
512
532
|
"lforate": lforate,
|
513
|
-
"enable": enable,
|
514
533
|
},
|
515
534
|
extra_options,
|
535
|
+
timeline_options,
|
516
536
|
),
|
517
537
|
)
|
518
538
|
return filter_node.audio(0)
|
@@ -520,9 +540,9 @@ class AudioStream(FilterableStream):
|
|
520
540
|
def acue(
|
521
541
|
self,
|
522
542
|
*,
|
523
|
-
cue: Int64 = Default(0),
|
524
|
-
preroll: Duration = Default(0
|
525
|
-
buffer: Duration = Default(0
|
543
|
+
cue: Int64 = Default("0"),
|
544
|
+
preroll: Duration = Default("0"),
|
545
|
+
buffer: Duration = Default("0"),
|
526
546
|
extra_options: dict[str, Any] | None = None,
|
527
547
|
) -> AudioStream:
|
528
548
|
"""
|
@@ -533,6 +553,7 @@ class AudioStream(FilterableStream):
|
|
533
553
|
cue: cue unix timestamp in microseconds (from 0 to I64_MAX) (default 0)
|
534
554
|
preroll: preroll duration in seconds (default 0)
|
535
555
|
buffer: buffer duration in seconds (default 0)
|
556
|
+
extra_options: Extra options for the filter
|
536
557
|
|
537
558
|
Returns:
|
538
559
|
default: the audio stream
|
@@ -560,13 +581,13 @@ class AudioStream(FilterableStream):
|
|
560
581
|
def adeclick(
|
561
582
|
self,
|
562
583
|
*,
|
563
|
-
window: Double = Default(55
|
564
|
-
overlap: Double = Default(75
|
565
|
-
arorder: Double = Default(2
|
566
|
-
threshold: Double = Default(2
|
567
|
-
burst: Double = Default(2
|
584
|
+
window: Double = Default("55"),
|
585
|
+
overlap: Double = Default("75"),
|
586
|
+
arorder: Double = Default("2"),
|
587
|
+
threshold: Double = Default("2"),
|
588
|
+
burst: Double = Default("2"),
|
568
589
|
method: Int | Literal["add", "a", "save", "s"] | Default = Default("add"),
|
569
|
-
|
590
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
570
591
|
extra_options: dict[str, Any] | None = None,
|
571
592
|
) -> AudioStream:
|
572
593
|
"""
|
@@ -580,7 +601,8 @@ class AudioStream(FilterableStream):
|
|
580
601
|
threshold: set threshold (from 1 to 100) (default 2)
|
581
602
|
burst: set burst fusion (from 0 to 10) (default 2)
|
582
603
|
method: set overlap method (from 0 to 1) (default add)
|
583
|
-
|
604
|
+
timeline_options: Timeline options
|
605
|
+
extra_options: Extra options for the filter
|
584
606
|
|
585
607
|
Returns:
|
586
608
|
default: the audio stream
|
@@ -602,9 +624,9 @@ class AudioStream(FilterableStream):
|
|
602
624
|
"threshold": threshold,
|
603
625
|
"burst": burst,
|
604
626
|
"method": method,
|
605
|
-
"enable": enable,
|
606
627
|
},
|
607
628
|
extra_options,
|
629
|
+
timeline_options,
|
608
630
|
),
|
609
631
|
)
|
610
632
|
return filter_node.audio(0)
|
@@ -612,13 +634,13 @@ class AudioStream(FilterableStream):
|
|
612
634
|
def adeclip(
|
613
635
|
self,
|
614
636
|
*,
|
615
|
-
window: Double = Default(55
|
616
|
-
overlap: Double = Default(75
|
617
|
-
arorder: Double = Default(8
|
618
|
-
threshold: Double = Default(10
|
619
|
-
hsize: Int = Default(1000),
|
637
|
+
window: Double = Default("55"),
|
638
|
+
overlap: Double = Default("75"),
|
639
|
+
arorder: Double = Default("8"),
|
640
|
+
threshold: Double = Default("10"),
|
641
|
+
hsize: Int = Default("1000"),
|
620
642
|
method: Int | Literal["add", "a", "save", "s"] | Default = Default("add"),
|
621
|
-
|
643
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
622
644
|
extra_options: dict[str, Any] | None = None,
|
623
645
|
) -> AudioStream:
|
624
646
|
"""
|
@@ -632,7 +654,8 @@ class AudioStream(FilterableStream):
|
|
632
654
|
threshold: set threshold (from 1 to 100) (default 10)
|
633
655
|
hsize: set histogram size (from 100 to 9999) (default 1000)
|
634
656
|
method: set overlap method (from 0 to 1) (default add)
|
635
|
-
|
657
|
+
timeline_options: Timeline options
|
658
|
+
extra_options: Extra options for the filter
|
636
659
|
|
637
660
|
Returns:
|
638
661
|
default: the audio stream
|
@@ -654,9 +677,9 @@ class AudioStream(FilterableStream):
|
|
654
677
|
"threshold": threshold,
|
655
678
|
"hsize": hsize,
|
656
679
|
"method": method,
|
657
|
-
"enable": enable,
|
658
680
|
},
|
659
681
|
extra_options,
|
682
|
+
timeline_options,
|
660
683
|
),
|
661
684
|
)
|
662
685
|
return filter_node.audio(0)
|
@@ -664,9 +687,9 @@ class AudioStream(FilterableStream):
|
|
664
687
|
def adecorrelate(
|
665
688
|
self,
|
666
689
|
*,
|
667
|
-
stages: Int = Default(6),
|
668
|
-
seed: Int64 = Default(-1),
|
669
|
-
|
690
|
+
stages: Int = Default("6"),
|
691
|
+
seed: Int64 = Default("-1"),
|
692
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
670
693
|
extra_options: dict[str, Any] | None = None,
|
671
694
|
) -> AudioStream:
|
672
695
|
"""
|
@@ -676,7 +699,8 @@ class AudioStream(FilterableStream):
|
|
676
699
|
Args:
|
677
700
|
stages: set filtering stages (from 1 to 16) (default 6)
|
678
701
|
seed: set random seed (from -1 to UINT32_MAX) (default -1)
|
679
|
-
|
702
|
+
timeline_options: Timeline options
|
703
|
+
extra_options: Extra options for the filter
|
680
704
|
|
681
705
|
Returns:
|
682
706
|
default: the audio stream
|
@@ -694,9 +718,9 @@ class AudioStream(FilterableStream):
|
|
694
718
|
{
|
695
719
|
"stages": stages,
|
696
720
|
"seed": seed,
|
697
|
-
"enable": enable,
|
698
721
|
},
|
699
722
|
extra_options,
|
723
|
+
timeline_options,
|
700
724
|
),
|
701
725
|
)
|
702
726
|
return filter_node.audio(0)
|
@@ -705,8 +729,8 @@ class AudioStream(FilterableStream):
|
|
705
729
|
self,
|
706
730
|
*,
|
707
731
|
delays: String = Default(None),
|
708
|
-
all: Boolean = Default(
|
709
|
-
|
732
|
+
all: Boolean = Default("false"),
|
733
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
710
734
|
extra_options: dict[str, Any] | None = None,
|
711
735
|
) -> AudioStream:
|
712
736
|
"""
|
@@ -716,7 +740,8 @@ class AudioStream(FilterableStream):
|
|
716
740
|
Args:
|
717
741
|
delays: set list of delays for each channel
|
718
742
|
all: use last available delay for remained channels (default false)
|
719
|
-
|
743
|
+
timeline_options: Timeline options
|
744
|
+
extra_options: Extra options for the filter
|
720
745
|
|
721
746
|
Returns:
|
722
747
|
default: the audio stream
|
@@ -734,9 +759,9 @@ class AudioStream(FilterableStream):
|
|
734
759
|
{
|
735
760
|
"delays": delays,
|
736
761
|
"all": all,
|
737
|
-
"enable": enable,
|
738
762
|
},
|
739
763
|
extra_options,
|
764
|
+
timeline_options,
|
740
765
|
),
|
741
766
|
)
|
742
767
|
return filter_node.audio(0)
|
@@ -744,9 +769,9 @@ class AudioStream(FilterableStream):
|
|
744
769
|
def adenorm(
|
745
770
|
self,
|
746
771
|
*,
|
747
|
-
level: Double = Default(-351
|
772
|
+
level: Double = Default("-351"),
|
748
773
|
type: Int | Literal["dc", "ac", "square", "pulse"] | Default = Default("dc"),
|
749
|
-
|
774
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
750
775
|
extra_options: dict[str, Any] | None = None,
|
751
776
|
) -> AudioStream:
|
752
777
|
"""
|
@@ -756,7 +781,8 @@ class AudioStream(FilterableStream):
|
|
756
781
|
Args:
|
757
782
|
level: set level (from -451 to -90) (default -351)
|
758
783
|
type: set type (from 0 to 3) (default dc)
|
759
|
-
|
784
|
+
timeline_options: Timeline options
|
785
|
+
extra_options: Extra options for the filter
|
760
786
|
|
761
787
|
Returns:
|
762
788
|
default: the audio stream
|
@@ -774,17 +800,16 @@ class AudioStream(FilterableStream):
|
|
774
800
|
{
|
775
801
|
"level": level,
|
776
802
|
"type": type,
|
777
|
-
"enable": enable,
|
778
803
|
},
|
779
804
|
extra_options,
|
805
|
+
timeline_options,
|
780
806
|
),
|
781
807
|
)
|
782
808
|
return filter_node.audio(0)
|
783
809
|
|
784
810
|
def aderivative(
|
785
811
|
self,
|
786
|
-
|
787
|
-
enable: String = Default(None),
|
812
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
788
813
|
extra_options: dict[str, Any] | None = None,
|
789
814
|
) -> AudioStream:
|
790
815
|
"""
|
@@ -792,7 +817,8 @@ class AudioStream(FilterableStream):
|
|
792
817
|
Compute derivative of input audio.
|
793
818
|
|
794
819
|
Args:
|
795
|
-
|
820
|
+
timeline_options: Timeline options
|
821
|
+
extra_options: Extra options for the filter
|
796
822
|
|
797
823
|
Returns:
|
798
824
|
default: the audio stream
|
@@ -807,10 +833,9 @@ class AudioStream(FilterableStream):
|
|
807
833
|
),
|
808
834
|
self,
|
809
835
|
**merge(
|
810
|
-
{
|
811
|
-
"enable": enable,
|
812
|
-
},
|
836
|
+
{},
|
813
837
|
extra_options,
|
838
|
+
timeline_options,
|
814
839
|
),
|
815
840
|
)
|
816
841
|
return filter_node.audio(0)
|
@@ -827,8 +852,8 @@ class AudioStream(FilterableStream):
|
|
827
852
|
m4: String = Default(""),
|
828
853
|
fg4: String = Default("0xffffff00"),
|
829
854
|
bg: Color = Default("white"),
|
830
|
-
min: Float = Default(-1
|
831
|
-
max: Float = Default(1
|
855
|
+
min: Float = Default("-1"),
|
856
|
+
max: Float = Default("1"),
|
832
857
|
mode: Int | Literal["bar", "dot", "line"] | Default = Default("line"),
|
833
858
|
slide: Int
|
834
859
|
| Literal["frame", "replace", "scroll", "rscroll", "picture"]
|
@@ -857,6 +882,7 @@ class AudioStream(FilterableStream):
|
|
857
882
|
slide: set slide mode (from 0 to 4) (default frame)
|
858
883
|
size: set graph size (default "900x256")
|
859
884
|
rate: set video rate (default "25")
|
885
|
+
extra_options: Extra options for the filter
|
860
886
|
|
861
887
|
Returns:
|
862
888
|
default: the video stream
|
@@ -897,10 +923,10 @@ class AudioStream(FilterableStream):
|
|
897
923
|
self,
|
898
924
|
*,
|
899
925
|
transfer: String = Default("p"),
|
900
|
-
attack: Double = Default(50
|
901
|
-
release: Double = Default(100
|
926
|
+
attack: Double = Default("50"),
|
927
|
+
release: Double = Default("100"),
|
902
928
|
channels: String = Default("all"),
|
903
|
-
|
929
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
904
930
|
extra_options: dict[str, Any] | None = None,
|
905
931
|
) -> AudioStream:
|
906
932
|
"""
|
@@ -912,7 +938,8 @@ class AudioStream(FilterableStream):
|
|
912
938
|
attack: set the attack (from 1 to 1000) (default 50)
|
913
939
|
release: set the release (from 5 to 2000) (default 100)
|
914
940
|
channels: set channels to filter (default "all")
|
915
|
-
|
941
|
+
timeline_options: Timeline options
|
942
|
+
extra_options: Extra options for the filter
|
916
943
|
|
917
944
|
Returns:
|
918
945
|
default: the audio stream
|
@@ -932,9 +959,9 @@ class AudioStream(FilterableStream):
|
|
932
959
|
"attack": attack,
|
933
960
|
"release": release,
|
934
961
|
"channels": channels,
|
935
|
-
"enable": enable,
|
936
962
|
},
|
937
963
|
extra_options,
|
964
|
+
timeline_options,
|
938
965
|
),
|
939
966
|
)
|
940
967
|
return filter_node.audio(0)
|
@@ -942,16 +969,16 @@ class AudioStream(FilterableStream):
|
|
942
969
|
def adynamicequalizer(
|
943
970
|
self,
|
944
971
|
*,
|
945
|
-
threshold: Double = Default(0
|
946
|
-
dfrequency: Double = Default(1000
|
947
|
-
dqfactor: Double = Default(1
|
948
|
-
tfrequency: Double = Default(1000
|
949
|
-
tqfactor: Double = Default(1
|
950
|
-
attack: Double = Default(20
|
951
|
-
release: Double = Default(200
|
952
|
-
ratio: Double = Default(1
|
953
|
-
makeup: Double = Default(0
|
954
|
-
range: Double = Default(50
|
972
|
+
threshold: Double = Default("0"),
|
973
|
+
dfrequency: Double = Default("1000"),
|
974
|
+
dqfactor: Double = Default("1"),
|
975
|
+
tfrequency: Double = Default("1000"),
|
976
|
+
tqfactor: Double = Default("1"),
|
977
|
+
attack: Double = Default("20"),
|
978
|
+
release: Double = Default("200"),
|
979
|
+
ratio: Double = Default("1"),
|
980
|
+
makeup: Double = Default("0"),
|
981
|
+
range: Double = Default("50"),
|
955
982
|
mode: Int | Literal["listen", "cut", "boost"] | Default = Default("cut"),
|
956
983
|
dftype: Int
|
957
984
|
| Literal["bandpass", "lowpass", "highpass", "peak"]
|
@@ -962,7 +989,7 @@ class AudioStream(FilterableStream):
|
|
962
989
|
direction: Int | Literal["downward", "upward"] | Default = Default("downward"),
|
963
990
|
auto: Int | Literal["disabled", "off", "on"] | Default = Default("disabled"),
|
964
991
|
precision: Int | Literal["auto", "float", "double"] | Default = Default("auto"),
|
965
|
-
|
992
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
966
993
|
extra_options: dict[str, Any] | None = None,
|
967
994
|
) -> AudioStream:
|
968
995
|
"""
|
@@ -986,7 +1013,8 @@ class AudioStream(FilterableStream):
|
|
986
1013
|
direction: set direction (from 0 to 1) (default downward)
|
987
1014
|
auto: set auto threshold (from -1 to 1) (default disabled)
|
988
1015
|
precision: set processing precision (from 0 to 2) (default auto)
|
989
|
-
|
1016
|
+
timeline_options: Timeline options
|
1017
|
+
extra_options: Extra options for the filter
|
990
1018
|
|
991
1019
|
Returns:
|
992
1020
|
default: the audio stream
|
@@ -1020,9 +1048,9 @@ class AudioStream(FilterableStream):
|
|
1020
1048
|
"direction": direction,
|
1021
1049
|
"auto": auto,
|
1022
1050
|
"precision": precision,
|
1023
|
-
"enable": enable,
|
1024
1051
|
},
|
1025
1052
|
extra_options,
|
1053
|
+
timeline_options,
|
1026
1054
|
),
|
1027
1055
|
)
|
1028
1056
|
return filter_node.audio(0)
|
@@ -1030,9 +1058,9 @@ class AudioStream(FilterableStream):
|
|
1030
1058
|
def adynamicsmooth(
|
1031
1059
|
self,
|
1032
1060
|
*,
|
1033
|
-
sensitivity: Double = Default(2
|
1034
|
-
basefreq: Double = Default(22050
|
1035
|
-
|
1061
|
+
sensitivity: Double = Default("2"),
|
1062
|
+
basefreq: Double = Default("22050"),
|
1063
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1036
1064
|
extra_options: dict[str, Any] | None = None,
|
1037
1065
|
) -> AudioStream:
|
1038
1066
|
"""
|
@@ -1042,7 +1070,8 @@ class AudioStream(FilterableStream):
|
|
1042
1070
|
Args:
|
1043
1071
|
sensitivity: set smooth sensitivity (from 0 to 1e+06) (default 2)
|
1044
1072
|
basefreq: set base frequency (from 2 to 1e+06) (default 22050)
|
1045
|
-
|
1073
|
+
timeline_options: Timeline options
|
1074
|
+
extra_options: Extra options for the filter
|
1046
1075
|
|
1047
1076
|
Returns:
|
1048
1077
|
default: the audio stream
|
@@ -1062,9 +1091,9 @@ class AudioStream(FilterableStream):
|
|
1062
1091
|
{
|
1063
1092
|
"sensitivity": sensitivity,
|
1064
1093
|
"basefreq": basefreq,
|
1065
|
-
"enable": enable,
|
1066
1094
|
},
|
1067
1095
|
extra_options,
|
1096
|
+
timeline_options,
|
1068
1097
|
),
|
1069
1098
|
)
|
1070
1099
|
return filter_node.audio(0)
|
@@ -1072,8 +1101,8 @@ class AudioStream(FilterableStream):
|
|
1072
1101
|
def aecho(
|
1073
1102
|
self,
|
1074
1103
|
*,
|
1075
|
-
in_gain: Float = Default(0.6),
|
1076
|
-
out_gain: Float = Default(0.3),
|
1104
|
+
in_gain: Float = Default("0.6"),
|
1105
|
+
out_gain: Float = Default("0.3"),
|
1077
1106
|
delays: String = Default("1000"),
|
1078
1107
|
decays: String = Default("0.5"),
|
1079
1108
|
extra_options: dict[str, Any] | None = None,
|
@@ -1087,6 +1116,7 @@ class AudioStream(FilterableStream):
|
|
1087
1116
|
out_gain: set signal output gain (from 0 to 1) (default 0.3)
|
1088
1117
|
delays: set list of signal delays (default "1000")
|
1089
1118
|
decays: set list of signal decays (default "0.5")
|
1119
|
+
extra_options: Extra options for the filter
|
1090
1120
|
|
1091
1121
|
Returns:
|
1092
1122
|
default: the audio stream
|
@@ -1115,15 +1145,15 @@ class AudioStream(FilterableStream):
|
|
1115
1145
|
def aemphasis(
|
1116
1146
|
self,
|
1117
1147
|
*,
|
1118
|
-
level_in: Double = Default(1
|
1119
|
-
level_out: Double = Default(1
|
1148
|
+
level_in: Double = Default("1"),
|
1149
|
+
level_out: Double = Default("1"),
|
1120
1150
|
mode: Int | Literal["reproduction", "production"] | Default = Default(
|
1121
1151
|
"reproduction"
|
1122
1152
|
),
|
1123
1153
|
type: Int
|
1124
1154
|
| Literal["col", "emi", "bsi", "riaa", "cd", "50fm", "75fm", "50kf", "75kf"]
|
1125
1155
|
| Default = Default("cd"),
|
1126
|
-
|
1156
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1127
1157
|
extra_options: dict[str, Any] | None = None,
|
1128
1158
|
) -> AudioStream:
|
1129
1159
|
"""
|
@@ -1135,7 +1165,8 @@ class AudioStream(FilterableStream):
|
|
1135
1165
|
level_out: set output gain (from 0 to 64) (default 1)
|
1136
1166
|
mode: set filter mode (from 0 to 1) (default reproduction)
|
1137
1167
|
type: set filter type (from 0 to 8) (default cd)
|
1138
|
-
|
1168
|
+
timeline_options: Timeline options
|
1169
|
+
extra_options: Extra options for the filter
|
1139
1170
|
|
1140
1171
|
Returns:
|
1141
1172
|
default: the audio stream
|
@@ -1155,9 +1186,9 @@ class AudioStream(FilterableStream):
|
|
1155
1186
|
"level_out": level_out,
|
1156
1187
|
"mode": mode,
|
1157
1188
|
"type": type,
|
1158
|
-
"enable": enable,
|
1159
1189
|
},
|
1160
1190
|
extra_options,
|
1191
|
+
timeline_options,
|
1161
1192
|
),
|
1162
1193
|
)
|
1163
1194
|
return filter_node.audio(0)
|
@@ -1167,7 +1198,7 @@ class AudioStream(FilterableStream):
|
|
1167
1198
|
*,
|
1168
1199
|
exprs: String = Default(None),
|
1169
1200
|
channel_layout: String = Default(None),
|
1170
|
-
|
1201
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1171
1202
|
extra_options: dict[str, Any] | None = None,
|
1172
1203
|
) -> AudioStream:
|
1173
1204
|
"""
|
@@ -1177,7 +1208,8 @@ class AudioStream(FilterableStream):
|
|
1177
1208
|
Args:
|
1178
1209
|
exprs: set the '|'-separated list of channels expressions
|
1179
1210
|
channel_layout: set channel layout
|
1180
|
-
|
1211
|
+
timeline_options: Timeline options
|
1212
|
+
extra_options: Extra options for the filter
|
1181
1213
|
|
1182
1214
|
Returns:
|
1183
1215
|
default: the audio stream
|
@@ -1195,9 +1227,9 @@ class AudioStream(FilterableStream):
|
|
1195
1227
|
{
|
1196
1228
|
"exprs": exprs,
|
1197
1229
|
"channel_layout": channel_layout,
|
1198
|
-
"enable": enable,
|
1199
1230
|
},
|
1200
1231
|
extra_options,
|
1232
|
+
timeline_options,
|
1201
1233
|
),
|
1202
1234
|
)
|
1203
1235
|
return filter_node.audio(0)
|
@@ -1205,15 +1237,15 @@ class AudioStream(FilterableStream):
|
|
1205
1237
|
def aexciter(
|
1206
1238
|
self,
|
1207
1239
|
*,
|
1208
|
-
level_in: Double = Default(1
|
1209
|
-
level_out: Double = Default(1
|
1210
|
-
amount: Double = Default(1
|
1211
|
-
drive: Double = Default(8.5),
|
1212
|
-
blend: Double = Default(0
|
1213
|
-
freq: Double = Default(7500
|
1214
|
-
ceil: Double = Default(9999
|
1215
|
-
listen: Boolean = Default(
|
1216
|
-
|
1240
|
+
level_in: Double = Default("1"),
|
1241
|
+
level_out: Double = Default("1"),
|
1242
|
+
amount: Double = Default("1"),
|
1243
|
+
drive: Double = Default("8.5"),
|
1244
|
+
blend: Double = Default("0"),
|
1245
|
+
freq: Double = Default("7500"),
|
1246
|
+
ceil: Double = Default("9999"),
|
1247
|
+
listen: Boolean = Default("false"),
|
1248
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1217
1249
|
extra_options: dict[str, Any] | None = None,
|
1218
1250
|
) -> AudioStream:
|
1219
1251
|
"""
|
@@ -1229,7 +1261,8 @@ class AudioStream(FilterableStream):
|
|
1229
1261
|
freq: set scope (from 2000 to 12000) (default 7500)
|
1230
1262
|
ceil: set ceiling (from 9999 to 20000) (default 9999)
|
1231
1263
|
listen: enable listen mode (default false)
|
1232
|
-
|
1264
|
+
timeline_options: Timeline options
|
1265
|
+
extra_options: Extra options for the filter
|
1233
1266
|
|
1234
1267
|
Returns:
|
1235
1268
|
default: the audio stream
|
@@ -1253,9 +1286,9 @@ class AudioStream(FilterableStream):
|
|
1253
1286
|
"freq": freq,
|
1254
1287
|
"ceil": ceil,
|
1255
1288
|
"listen": listen,
|
1256
|
-
"enable": enable,
|
1257
1289
|
},
|
1258
1290
|
extra_options,
|
1291
|
+
timeline_options,
|
1259
1292
|
),
|
1260
1293
|
)
|
1261
1294
|
return filter_node.audio(0)
|
@@ -1264,10 +1297,10 @@ class AudioStream(FilterableStream):
|
|
1264
1297
|
self,
|
1265
1298
|
*,
|
1266
1299
|
type: Int | Literal["in", "out"] | Default = Default("in"),
|
1267
|
-
start_sample: Int64 = Default(0),
|
1268
|
-
nb_samples: Int64 = Default(44100),
|
1269
|
-
start_time: Duration = Default(0
|
1270
|
-
duration: Duration = Default(0
|
1300
|
+
start_sample: Int64 = Default("0"),
|
1301
|
+
nb_samples: Int64 = Default("44100"),
|
1302
|
+
start_time: Duration = Default("0"),
|
1303
|
+
duration: Duration = Default("0"),
|
1271
1304
|
curve: Int
|
1272
1305
|
| Literal[
|
1273
1306
|
"nofade",
|
@@ -1296,9 +1329,9 @@ class AudioStream(FilterableStream):
|
|
1296
1329
|
"hsin2",
|
1297
1330
|
]
|
1298
1331
|
| Default = Default("tri"),
|
1299
|
-
silence: Double = Default(0
|
1300
|
-
unity: Double = Default(1
|
1301
|
-
|
1332
|
+
silence: Double = Default("0"),
|
1333
|
+
unity: Double = Default("1"),
|
1334
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1302
1335
|
extra_options: dict[str, Any] | None = None,
|
1303
1336
|
) -> AudioStream:
|
1304
1337
|
"""
|
@@ -1314,7 +1347,8 @@ class AudioStream(FilterableStream):
|
|
1314
1347
|
curve: set fade curve type (from -1 to 22) (default tri)
|
1315
1348
|
silence: set the silence gain (from 0 to 1) (default 0)
|
1316
1349
|
unity: set the unity gain (from 0 to 1) (default 1)
|
1317
|
-
|
1350
|
+
timeline_options: Timeline options
|
1351
|
+
extra_options: Extra options for the filter
|
1318
1352
|
|
1319
1353
|
Returns:
|
1320
1354
|
default: the audio stream
|
@@ -1338,9 +1372,9 @@ class AudioStream(FilterableStream):
|
|
1338
1372
|
"curve": curve,
|
1339
1373
|
"silence": silence,
|
1340
1374
|
"unity": unity,
|
1341
|
-
"enable": enable,
|
1342
1375
|
},
|
1343
1376
|
extra_options,
|
1377
|
+
timeline_options,
|
1344
1378
|
),
|
1345
1379
|
)
|
1346
1380
|
return filter_node.audio(0)
|
@@ -1348,29 +1382,29 @@ class AudioStream(FilterableStream):
|
|
1348
1382
|
def afftdn(
|
1349
1383
|
self,
|
1350
1384
|
*,
|
1351
|
-
noise_reduction: Float = Default(12
|
1352
|
-
noise_floor: Float = Default(-50
|
1385
|
+
noise_reduction: Float = Default("12"),
|
1386
|
+
noise_floor: Float = Default("-50"),
|
1353
1387
|
noise_type: Int
|
1354
1388
|
| Literal["white", "w", "vinyl", "v", "shellac", "s", "custom", "c"]
|
1355
1389
|
| Default = Default("white"),
|
1356
1390
|
band_noise: String = Default(None),
|
1357
|
-
residual_floor: Float = Default(-38
|
1358
|
-
track_noise: Boolean = Default(
|
1359
|
-
track_residual: Boolean = Default(
|
1391
|
+
residual_floor: Float = Default("-38"),
|
1392
|
+
track_noise: Boolean = Default("false"),
|
1393
|
+
track_residual: Boolean = Default("false"),
|
1360
1394
|
output_mode: Int
|
1361
1395
|
| Literal["input", "i", "output", "o", "noise", "n"]
|
1362
1396
|
| Default = Default("output"),
|
1363
|
-
adaptivity: Float = Default(0.5),
|
1364
|
-
floor_offset: Float = Default(1
|
1397
|
+
adaptivity: Float = Default("0.5"),
|
1398
|
+
floor_offset: Float = Default("1"),
|
1365
1399
|
noise_link: Int | Literal["none", "min", "max", "average"] | Default = Default(
|
1366
1400
|
"min"
|
1367
1401
|
),
|
1368
|
-
band_multiplier: Float = Default(1.25),
|
1402
|
+
band_multiplier: Float = Default("1.25"),
|
1369
1403
|
sample_noise: Int
|
1370
1404
|
| Literal["none", "start", "begin", "stop", "end"]
|
1371
1405
|
| Default = Default("none"),
|
1372
|
-
gain_smooth: Int = Default(0),
|
1373
|
-
|
1406
|
+
gain_smooth: Int = Default("0"),
|
1407
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1374
1408
|
extra_options: dict[str, Any] | None = None,
|
1375
1409
|
) -> AudioStream:
|
1376
1410
|
"""
|
@@ -1392,7 +1426,8 @@ class AudioStream(FilterableStream):
|
|
1392
1426
|
band_multiplier: set band multiplier (from 0.2 to 5) (default 1.25)
|
1393
1427
|
sample_noise: set sample noise mode (from 0 to 2) (default none)
|
1394
1428
|
gain_smooth: set gain smooth radius (from 0 to 50) (default 0)
|
1395
|
-
|
1429
|
+
timeline_options: Timeline options
|
1430
|
+
extra_options: Extra options for the filter
|
1396
1431
|
|
1397
1432
|
Returns:
|
1398
1433
|
default: the audio stream
|
@@ -1422,9 +1457,9 @@ class AudioStream(FilterableStream):
|
|
1422
1457
|
"band_multiplier": band_multiplier,
|
1423
1458
|
"sample_noise": sample_noise,
|
1424
1459
|
"gain_smooth": gain_smooth,
|
1425
|
-
"enable": enable,
|
1426
1460
|
},
|
1427
1461
|
extra_options,
|
1462
|
+
timeline_options,
|
1428
1463
|
),
|
1429
1464
|
)
|
1430
1465
|
return filter_node.audio(0)
|
@@ -1434,7 +1469,7 @@ class AudioStream(FilterableStream):
|
|
1434
1469
|
*,
|
1435
1470
|
real: String = Default("re"),
|
1436
1471
|
imag: String = Default("im"),
|
1437
|
-
win_size: Int = Default(4096),
|
1472
|
+
win_size: Int = Default("4096"),
|
1438
1473
|
win_func: Int
|
1439
1474
|
| Literal[
|
1440
1475
|
"rect",
|
@@ -1461,8 +1496,8 @@ class AudioStream(FilterableStream):
|
|
1461
1496
|
"kaiser",
|
1462
1497
|
]
|
1463
1498
|
| Default = Default("hann"),
|
1464
|
-
overlap: Float = Default(0.75),
|
1465
|
-
|
1499
|
+
overlap: Float = Default("0.75"),
|
1500
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1466
1501
|
extra_options: dict[str, Any] | None = None,
|
1467
1502
|
) -> AudioStream:
|
1468
1503
|
"""
|
@@ -1475,7 +1510,8 @@ class AudioStream(FilterableStream):
|
|
1475
1510
|
win_size: set window size (from 16 to 131072) (default 4096)
|
1476
1511
|
win_func: set window function (from 0 to 20) (default hann)
|
1477
1512
|
overlap: set window overlap (from 0 to 1) (default 0.75)
|
1478
|
-
|
1513
|
+
timeline_options: Timeline options
|
1514
|
+
extra_options: Extra options for the filter
|
1479
1515
|
|
1480
1516
|
Returns:
|
1481
1517
|
default: the audio stream
|
@@ -1496,9 +1532,9 @@ class AudioStream(FilterableStream):
|
|
1496
1532
|
"win_size": win_size,
|
1497
1533
|
"win_func": win_func,
|
1498
1534
|
"overlap": overlap,
|
1499
|
-
"enable": enable,
|
1500
1535
|
},
|
1501
1536
|
extra_options,
|
1537
|
+
timeline_options,
|
1502
1538
|
),
|
1503
1539
|
)
|
1504
1540
|
return filter_node.audio(0)
|
@@ -1519,6 +1555,7 @@ class AudioStream(FilterableStream):
|
|
1519
1555
|
sample_fmts: A '|'-separated list of sample formats.
|
1520
1556
|
sample_rates: A '|'-separated list of sample rates.
|
1521
1557
|
channel_layouts: A '|'-separated list of channel layouts.
|
1558
|
+
extra_options: Extra options for the filter
|
1522
1559
|
|
1523
1560
|
Returns:
|
1524
1561
|
default: the audio stream
|
@@ -1546,10 +1583,10 @@ class AudioStream(FilterableStream):
|
|
1546
1583
|
def afreqshift(
|
1547
1584
|
self,
|
1548
1585
|
*,
|
1549
|
-
shift: Double = Default(0
|
1550
|
-
level: Double = Default(1
|
1551
|
-
order: Int = Default(8),
|
1552
|
-
|
1586
|
+
shift: Double = Default("0"),
|
1587
|
+
level: Double = Default("1"),
|
1588
|
+
order: Int = Default("8"),
|
1589
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1553
1590
|
extra_options: dict[str, Any] | None = None,
|
1554
1591
|
) -> AudioStream:
|
1555
1592
|
"""
|
@@ -1560,7 +1597,8 @@ class AudioStream(FilterableStream):
|
|
1560
1597
|
shift: set frequency shift (from -2.14748e+09 to INT_MAX) (default 0)
|
1561
1598
|
level: set output level (from 0 to 1) (default 1)
|
1562
1599
|
order: set filter order (from 1 to 16) (default 8)
|
1563
|
-
|
1600
|
+
timeline_options: Timeline options
|
1601
|
+
extra_options: Extra options for the filter
|
1564
1602
|
|
1565
1603
|
Returns:
|
1566
1604
|
default: the audio stream
|
@@ -1579,9 +1617,9 @@ class AudioStream(FilterableStream):
|
|
1579
1617
|
"shift": shift,
|
1580
1618
|
"level": level,
|
1581
1619
|
"order": order,
|
1582
|
-
"enable": enable,
|
1583
1620
|
},
|
1584
1621
|
extra_options,
|
1622
|
+
timeline_options,
|
1585
1623
|
),
|
1586
1624
|
)
|
1587
1625
|
return filter_node.audio(0)
|
@@ -1589,17 +1627,17 @@ class AudioStream(FilterableStream):
|
|
1589
1627
|
def afwtdn(
|
1590
1628
|
self,
|
1591
1629
|
*,
|
1592
|
-
sigma: Double = Default(0
|
1593
|
-
levels: Int = Default(10),
|
1630
|
+
sigma: Double = Default("0"),
|
1631
|
+
levels: Int = Default("10"),
|
1594
1632
|
wavet: Int
|
1595
1633
|
| Literal["sym2", "sym4", "rbior68", "deb10", "sym10", "coif5", "bl3"]
|
1596
1634
|
| Default = Default("sym10"),
|
1597
|
-
percent: Double = Default(85
|
1598
|
-
profile: Boolean = Default(
|
1599
|
-
adaptive: Boolean = Default(
|
1600
|
-
samples: Int = Default(8192),
|
1601
|
-
softness: Double = Default(1
|
1602
|
-
|
1635
|
+
percent: Double = Default("85"),
|
1636
|
+
profile: Boolean = Default("false"),
|
1637
|
+
adaptive: Boolean = Default("false"),
|
1638
|
+
samples: Int = Default("8192"),
|
1639
|
+
softness: Double = Default("1"),
|
1640
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1603
1641
|
extra_options: dict[str, Any] | None = None,
|
1604
1642
|
) -> AudioStream:
|
1605
1643
|
"""
|
@@ -1615,7 +1653,8 @@ class AudioStream(FilterableStream):
|
|
1615
1653
|
adaptive: adaptive profiling of noise (default false)
|
1616
1654
|
samples: set frame size in number of samples (from 512 to 65536) (default 8192)
|
1617
1655
|
softness: set thresholding softness (from 0 to 10) (default 1)
|
1618
|
-
|
1656
|
+
timeline_options: Timeline options
|
1657
|
+
extra_options: Extra options for the filter
|
1619
1658
|
|
1620
1659
|
Returns:
|
1621
1660
|
default: the audio stream
|
@@ -1639,9 +1678,9 @@ class AudioStream(FilterableStream):
|
|
1639
1678
|
"adaptive": adaptive,
|
1640
1679
|
"samples": samples,
|
1641
1680
|
"softness": softness,
|
1642
|
-
"enable": enable,
|
1643
1681
|
},
|
1644
1682
|
extra_options,
|
1683
|
+
timeline_options,
|
1645
1684
|
),
|
1646
1685
|
)
|
1647
1686
|
return filter_node.audio(0)
|
@@ -1649,19 +1688,19 @@ class AudioStream(FilterableStream):
|
|
1649
1688
|
def agate(
|
1650
1689
|
self,
|
1651
1690
|
*,
|
1652
|
-
level_in: Double = Default(1
|
1691
|
+
level_in: Double = Default("1"),
|
1653
1692
|
mode: Int | Literal["downward", "upward"] | Default = Default("downward"),
|
1654
|
-
range: Double = Default(0.06125),
|
1655
|
-
threshold: Double = Default(0.125),
|
1656
|
-
ratio: Double = Default(2
|
1657
|
-
attack: Double = Default(20
|
1658
|
-
release: Double = Default(250
|
1659
|
-
makeup: Double = Default(1
|
1660
|
-
knee: Double = Default(2.82843),
|
1693
|
+
range: Double = Default("0.06125"),
|
1694
|
+
threshold: Double = Default("0.125"),
|
1695
|
+
ratio: Double = Default("2"),
|
1696
|
+
attack: Double = Default("20"),
|
1697
|
+
release: Double = Default("250"),
|
1698
|
+
makeup: Double = Default("1"),
|
1699
|
+
knee: Double = Default("2.82843"),
|
1661
1700
|
detection: Int | Literal["peak", "rms"] | Default = Default("rms"),
|
1662
1701
|
link: Int | Literal["average", "maximum"] | Default = Default("average"),
|
1663
|
-
level_sc: Double = Default(1
|
1664
|
-
|
1702
|
+
level_sc: Double = Default("1"),
|
1703
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1665
1704
|
extra_options: dict[str, Any] | None = None,
|
1666
1705
|
) -> AudioStream:
|
1667
1706
|
"""
|
@@ -1681,7 +1720,8 @@ class AudioStream(FilterableStream):
|
|
1681
1720
|
detection: set detection (from 0 to 1) (default rms)
|
1682
1721
|
link: set link (from 0 to 1) (default average)
|
1683
1722
|
level_sc: set sidechain gain (from 0.015625 to 64) (default 1)
|
1684
|
-
|
1723
|
+
timeline_options: Timeline options
|
1724
|
+
extra_options: Extra options for the filter
|
1685
1725
|
|
1686
1726
|
Returns:
|
1687
1727
|
default: the audio stream
|
@@ -1709,9 +1749,9 @@ class AudioStream(FilterableStream):
|
|
1709
1749
|
"detection": detection,
|
1710
1750
|
"link": link,
|
1711
1751
|
"level_sc": level_sc,
|
1712
|
-
"enable": enable,
|
1713
1752
|
},
|
1714
1753
|
extra_options,
|
1754
|
+
timeline_options,
|
1715
1755
|
),
|
1716
1756
|
)
|
1717
1757
|
return filter_node.audio(0)
|
@@ -1720,7 +1760,7 @@ class AudioStream(FilterableStream):
|
|
1720
1760
|
self,
|
1721
1761
|
*,
|
1722
1762
|
size: Image_size = Default("hd720"),
|
1723
|
-
opacity: Float = Default(0.9),
|
1763
|
+
opacity: Float = Default("0.9"),
|
1724
1764
|
mode: Flags
|
1725
1765
|
| Literal["full", "compact", "nozero", "noeof", "nodisabled"]
|
1726
1766
|
| Default = Default("0"),
|
@@ -1760,6 +1800,7 @@ class AudioStream(FilterableStream):
|
|
1760
1800
|
mode: set mode (default 0)
|
1761
1801
|
flags: set flags (default all+queue)
|
1762
1802
|
rate: set video rate (default "25")
|
1803
|
+
extra_options: Extra options for the filter
|
1763
1804
|
|
1764
1805
|
Returns:
|
1765
1806
|
default: the video stream
|
@@ -1798,8 +1839,8 @@ class AudioStream(FilterableStream):
|
|
1798
1839
|
"log"
|
1799
1840
|
),
|
1800
1841
|
ascale: Int | Literal["log", "lin"] | Default = Default("log"),
|
1801
|
-
acount: Int = Default(1),
|
1802
|
-
rheight: Float = Default(0.1),
|
1842
|
+
acount: Int = Default("1"),
|
1843
|
+
rheight: Float = Default("0.1"),
|
1803
1844
|
slide: Int | Literal["replace", "scroll"] | Default = Default("replace"),
|
1804
1845
|
hmode: Int | Literal["abs", "sign"] | Default = Default("abs"),
|
1805
1846
|
extra_options: dict[str, Any] | None = None,
|
@@ -1818,6 +1859,7 @@ class AudioStream(FilterableStream):
|
|
1818
1859
|
rheight: set histogram ratio of window height (from 0 to 1) (default 0.1)
|
1819
1860
|
slide: set sonogram sliding (from 0 to 1) (default replace)
|
1820
1861
|
hmode: set histograms mode (from 0 to 1) (default abs)
|
1862
|
+
extra_options: Extra options for the filter
|
1821
1863
|
|
1822
1864
|
Returns:
|
1823
1865
|
default: the video stream
|
@@ -1854,18 +1896,18 @@ class AudioStream(FilterableStream):
|
|
1854
1896
|
zeros: String = Default("1+0i 1-0i"),
|
1855
1897
|
poles: String = Default("1+0i 1-0i"),
|
1856
1898
|
gains: String = Default("1|1"),
|
1857
|
-
dry: Double = Default(1
|
1858
|
-
wet: Double = Default(1
|
1899
|
+
dry: Double = Default("1"),
|
1900
|
+
wet: Double = Default("1"),
|
1859
1901
|
format: Int
|
1860
1902
|
| Literal["ll", "sf", "tf", "zp", "pr", "pd", "sp"]
|
1861
1903
|
| Default = Default("zp"),
|
1862
1904
|
process: Int | Literal["d", "s", "p"] | Default = Default("s"),
|
1863
1905
|
precision: Int | Literal["dbl", "flt", "i32", "i16"] | Default = Default("dbl"),
|
1864
1906
|
e: Int | Literal["dbl", "flt", "i32", "i16"] | Default = Default("dbl"),
|
1865
|
-
normalize: Boolean = Default(
|
1866
|
-
mix: Double = Default(1
|
1867
|
-
response: Boolean = Default(
|
1868
|
-
channel: Int = Default(0),
|
1907
|
+
normalize: Boolean = Default("true"),
|
1908
|
+
mix: Double = Default("1"),
|
1909
|
+
response: Boolean = Default("false"),
|
1910
|
+
channel: Int = Default("0"),
|
1869
1911
|
size: Image_size = Default("hd720"),
|
1870
1912
|
rate: Video_rate = Default("25"),
|
1871
1913
|
extra_options: dict[str, Any] | None = None,
|
@@ -1890,6 +1932,7 @@ class AudioStream(FilterableStream):
|
|
1890
1932
|
channel: set IR channel to display frequency response (from 0 to 1024) (default 0)
|
1891
1933
|
size: set video size (default "hd720")
|
1892
1934
|
rate: set video rate (default "25")
|
1935
|
+
extra_options: Extra options for the filter
|
1893
1936
|
|
1894
1937
|
Returns:
|
1895
1938
|
filter_node: the filter node
|
@@ -1932,8 +1975,7 @@ class AudioStream(FilterableStream):
|
|
1932
1975
|
|
1933
1976
|
def aintegral(
|
1934
1977
|
self,
|
1935
|
-
|
1936
|
-
enable: String = Default(None),
|
1978
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1937
1979
|
extra_options: dict[str, Any] | None = None,
|
1938
1980
|
) -> AudioStream:
|
1939
1981
|
"""
|
@@ -1941,7 +1983,8 @@ class AudioStream(FilterableStream):
|
|
1941
1983
|
Compute integral of input audio.
|
1942
1984
|
|
1943
1985
|
Args:
|
1944
|
-
|
1986
|
+
timeline_options: Timeline options
|
1987
|
+
extra_options: Extra options for the filter
|
1945
1988
|
|
1946
1989
|
Returns:
|
1947
1990
|
default: the audio stream
|
@@ -1956,18 +1999,16 @@ class AudioStream(FilterableStream):
|
|
1956
1999
|
),
|
1957
2000
|
self,
|
1958
2001
|
**merge(
|
1959
|
-
{
|
1960
|
-
"enable": enable,
|
1961
|
-
},
|
2002
|
+
{},
|
1962
2003
|
extra_options,
|
2004
|
+
timeline_options,
|
1963
2005
|
),
|
1964
2006
|
)
|
1965
2007
|
return filter_node.audio(0)
|
1966
2008
|
|
1967
2009
|
def alatency(
|
1968
2010
|
self,
|
1969
|
-
|
1970
|
-
enable: String = Default(None),
|
2011
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
1971
2012
|
extra_options: dict[str, Any] | None = None,
|
1972
2013
|
) -> AudioStream:
|
1973
2014
|
"""
|
@@ -1975,7 +2016,8 @@ class AudioStream(FilterableStream):
|
|
1975
2016
|
Report audio filtering latency.
|
1976
2017
|
|
1977
2018
|
Args:
|
1978
|
-
|
2019
|
+
timeline_options: Timeline options
|
2020
|
+
extra_options: Extra options for the filter
|
1979
2021
|
|
1980
2022
|
Returns:
|
1981
2023
|
default: the audio stream
|
@@ -1990,10 +2032,9 @@ class AudioStream(FilterableStream):
|
|
1990
2032
|
),
|
1991
2033
|
self,
|
1992
2034
|
**merge(
|
1993
|
-
{
|
1994
|
-
"enable": enable,
|
1995
|
-
},
|
2035
|
+
{},
|
1996
2036
|
extra_options,
|
2037
|
+
timeline_options,
|
1997
2038
|
),
|
1998
2039
|
)
|
1999
2040
|
return filter_node.audio(0)
|
@@ -2001,16 +2042,16 @@ class AudioStream(FilterableStream):
|
|
2001
2042
|
def alimiter(
|
2002
2043
|
self,
|
2003
2044
|
*,
|
2004
|
-
level_in: Double = Default(1
|
2005
|
-
level_out: Double = Default(1
|
2006
|
-
limit: Double = Default(1
|
2007
|
-
attack: Double = Default(5
|
2008
|
-
release: Double = Default(50
|
2009
|
-
asc: Boolean = Default(
|
2010
|
-
asc_level: Double = Default(0.5),
|
2011
|
-
level: Boolean = Default(
|
2012
|
-
latency: Boolean = Default(
|
2013
|
-
|
2045
|
+
level_in: Double = Default("1"),
|
2046
|
+
level_out: Double = Default("1"),
|
2047
|
+
limit: Double = Default("1"),
|
2048
|
+
attack: Double = Default("5"),
|
2049
|
+
release: Double = Default("50"),
|
2050
|
+
asc: Boolean = Default("false"),
|
2051
|
+
asc_level: Double = Default("0.5"),
|
2052
|
+
level: Boolean = Default("true"),
|
2053
|
+
latency: Boolean = Default("false"),
|
2054
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2014
2055
|
extra_options: dict[str, Any] | None = None,
|
2015
2056
|
) -> AudioStream:
|
2016
2057
|
"""
|
@@ -2027,7 +2068,8 @@ class AudioStream(FilterableStream):
|
|
2027
2068
|
asc_level: set asc level (from 0 to 1) (default 0.5)
|
2028
2069
|
level: auto level (default true)
|
2029
2070
|
latency: compensate delay (default false)
|
2030
|
-
|
2071
|
+
timeline_options: Timeline options
|
2072
|
+
extra_options: Extra options for the filter
|
2031
2073
|
|
2032
2074
|
Returns:
|
2033
2075
|
default: the audio stream
|
@@ -2052,9 +2094,9 @@ class AudioStream(FilterableStream):
|
|
2052
2094
|
"asc_level": asc_level,
|
2053
2095
|
"level": level,
|
2054
2096
|
"latency": latency,
|
2055
|
-
"enable": enable,
|
2056
2097
|
},
|
2057
2098
|
extra_options,
|
2099
|
+
timeline_options,
|
2058
2100
|
),
|
2059
2101
|
)
|
2060
2102
|
return filter_node.audio(0)
|
@@ -2062,20 +2104,20 @@ class AudioStream(FilterableStream):
|
|
2062
2104
|
def allpass(
|
2063
2105
|
self,
|
2064
2106
|
*,
|
2065
|
-
frequency: Double = Default(3000
|
2107
|
+
frequency: Double = Default("3000"),
|
2066
2108
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
2067
|
-
width: Double = Default(0.707),
|
2068
|
-
mix: Double = Default(1
|
2109
|
+
width: Double = Default("0.707"),
|
2110
|
+
mix: Double = Default("1"),
|
2069
2111
|
channels: String = Default("all"),
|
2070
|
-
normalize: Boolean = Default(
|
2071
|
-
order: Int = Default(2),
|
2112
|
+
normalize: Boolean = Default("false"),
|
2113
|
+
order: Int = Default("2"),
|
2072
2114
|
transform: Int
|
2073
2115
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
2074
2116
|
| Default = Default("di"),
|
2075
2117
|
precision: Int
|
2076
2118
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
2077
2119
|
| Default = Default("auto"),
|
2078
|
-
|
2120
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2079
2121
|
extra_options: dict[str, Any] | None = None,
|
2080
2122
|
) -> AudioStream:
|
2081
2123
|
"""
|
@@ -2092,7 +2134,8 @@ class AudioStream(FilterableStream):
|
|
2092
2134
|
order: set filter order (from 1 to 2) (default 2)
|
2093
2135
|
transform: set transform type (from 0 to 6) (default di)
|
2094
2136
|
precision: set filtering precision (from -1 to 3) (default auto)
|
2095
|
-
|
2137
|
+
timeline_options: Timeline options
|
2138
|
+
extra_options: Extra options for the filter
|
2096
2139
|
|
2097
2140
|
Returns:
|
2098
2141
|
default: the audio stream
|
@@ -2117,9 +2160,9 @@ class AudioStream(FilterableStream):
|
|
2117
2160
|
"order": order,
|
2118
2161
|
"transform": transform,
|
2119
2162
|
"precision": precision,
|
2120
|
-
"enable": enable,
|
2121
2163
|
},
|
2122
2164
|
extra_options,
|
2165
|
+
timeline_options,
|
2123
2166
|
),
|
2124
2167
|
)
|
2125
2168
|
return filter_node.audio(0)
|
@@ -2127,9 +2170,9 @@ class AudioStream(FilterableStream):
|
|
2127
2170
|
def aloop(
|
2128
2171
|
self,
|
2129
2172
|
*,
|
2130
|
-
loop: Int = Default(0),
|
2131
|
-
size: Int64 = Default(0),
|
2132
|
-
start: Int64 = Default(0),
|
2173
|
+
loop: Int = Default("0"),
|
2174
|
+
size: Int64 = Default("0"),
|
2175
|
+
start: Int64 = Default("0"),
|
2133
2176
|
time: Duration = Default("INT64_MAX"),
|
2134
2177
|
extra_options: dict[str, Any] | None = None,
|
2135
2178
|
) -> AudioStream:
|
@@ -2142,6 +2185,7 @@ class AudioStream(FilterableStream):
|
|
2142
2185
|
size: max number of samples to loop (from 0 to INT_MAX) (default 0)
|
2143
2186
|
start: set the loop start sample (from -1 to I64_MAX) (default 0)
|
2144
2187
|
time: set the loop start time (default INT64_MAX)
|
2188
|
+
extra_options: Extra options for the filter
|
2145
2189
|
|
2146
2190
|
Returns:
|
2147
2191
|
default: the audio stream
|
@@ -2182,8 +2226,8 @@ class AudioStream(FilterableStream):
|
|
2182
2226
|
| Default = Default("same_str"),
|
2183
2227
|
expr: String = Default(None),
|
2184
2228
|
file: String = Default(None),
|
2185
|
-
direct: Boolean = Default(
|
2186
|
-
|
2229
|
+
direct: Boolean = Default("false"),
|
2230
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2187
2231
|
extra_options: dict[str, Any] | None = None,
|
2188
2232
|
) -> AudioStream:
|
2189
2233
|
"""
|
@@ -2198,7 +2242,8 @@ class AudioStream(FilterableStream):
|
|
2198
2242
|
expr: set expression for expr function
|
2199
2243
|
file: set file where to print metadata information
|
2200
2244
|
direct: reduce buffering when printing to user-set file or pipe (default false)
|
2201
|
-
|
2245
|
+
timeline_options: Timeline options
|
2246
|
+
extra_options: Extra options for the filter
|
2202
2247
|
|
2203
2248
|
Returns:
|
2204
2249
|
default: the audio stream
|
@@ -2221,9 +2266,9 @@ class AudioStream(FilterableStream):
|
|
2221
2266
|
"expr": expr,
|
2222
2267
|
"file": file,
|
2223
2268
|
"direct": direct,
|
2224
|
-
"enable": enable,
|
2225
2269
|
},
|
2226
2270
|
extra_options,
|
2271
|
+
timeline_options,
|
2227
2272
|
),
|
2228
2273
|
)
|
2229
2274
|
return filter_node.audio(0)
|
@@ -2237,6 +2282,9 @@ class AudioStream(FilterableStream):
|
|
2237
2282
|
|
2238
2283
|
Multiply two audio streams.
|
2239
2284
|
|
2285
|
+
Args:
|
2286
|
+
extra_options: Extra options for the filter
|
2287
|
+
|
2240
2288
|
Returns:
|
2241
2289
|
default: the audio stream
|
2242
2290
|
|
@@ -2252,7 +2300,10 @@ class AudioStream(FilterableStream):
|
|
2252
2300
|
),
|
2253
2301
|
self,
|
2254
2302
|
_multiply1,
|
2255
|
-
**merge(
|
2303
|
+
**merge(
|
2304
|
+
{},
|
2305
|
+
extra_options,
|
2306
|
+
),
|
2256
2307
|
)
|
2257
2308
|
return filter_node.audio(0)
|
2258
2309
|
|
@@ -2260,14 +2311,14 @@ class AudioStream(FilterableStream):
|
|
2260
2311
|
self,
|
2261
2312
|
*,
|
2262
2313
|
params: String = Default(""),
|
2263
|
-
curves: Boolean = Default(
|
2314
|
+
curves: Boolean = Default("false"),
|
2264
2315
|
size: Image_size = Default("hd720"),
|
2265
|
-
mgain: Double = Default(60
|
2316
|
+
mgain: Double = Default("60"),
|
2266
2317
|
fscale: Int | Literal["lin", "log"] | Default = Default("log"),
|
2267
2318
|
colors: String = Default(
|
2268
2319
|
"red|green|blue|yellow|orange|lime|pink|magenta|brown"
|
2269
2320
|
),
|
2270
|
-
|
2321
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2271
2322
|
extra_options: dict[str, Any] | None = None,
|
2272
2323
|
) -> FilterNode:
|
2273
2324
|
"""
|
@@ -2281,7 +2332,8 @@ class AudioStream(FilterableStream):
|
|
2281
2332
|
mgain: set max gain (from -900 to 900) (default 60)
|
2282
2333
|
fscale: set frequency scale (from 0 to 1) (default log)
|
2283
2334
|
colors: set channels curves colors (default "red|green|blue|yellow|orange|lime|pink|magenta|brown")
|
2284
|
-
|
2335
|
+
timeline_options: Timeline options
|
2336
|
+
extra_options: Extra options for the filter
|
2285
2337
|
|
2286
2338
|
Returns:
|
2287
2339
|
filter_node: the filter node
|
@@ -2306,9 +2358,9 @@ class AudioStream(FilterableStream):
|
|
2306
2358
|
"mgain": mgain,
|
2307
2359
|
"fscale": fscale,
|
2308
2360
|
"colors": colors,
|
2309
|
-
"enable": enable,
|
2310
2361
|
},
|
2311
2362
|
extra_options,
|
2363
|
+
timeline_options,
|
2312
2364
|
),
|
2313
2365
|
)
|
2314
2366
|
|
@@ -2317,12 +2369,12 @@ class AudioStream(FilterableStream):
|
|
2317
2369
|
def anlmdn(
|
2318
2370
|
self,
|
2319
2371
|
*,
|
2320
|
-
strength: Float = Default(1e-05),
|
2321
|
-
patch: Duration = Default(0.002),
|
2322
|
-
research: Duration = Default(0.006),
|
2372
|
+
strength: Float = Default("1e-05"),
|
2373
|
+
patch: Duration = Default("0.002"),
|
2374
|
+
research: Duration = Default("0.006"),
|
2323
2375
|
output: Int | Literal["i", "o", "n"] | Default = Default("o"),
|
2324
|
-
smooth: Float = Default(11
|
2325
|
-
|
2376
|
+
smooth: Float = Default("11"),
|
2377
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2326
2378
|
extra_options: dict[str, Any] | None = None,
|
2327
2379
|
) -> AudioStream:
|
2328
2380
|
"""
|
@@ -2335,7 +2387,8 @@ class AudioStream(FilterableStream):
|
|
2335
2387
|
research: set research duration (default 0.006)
|
2336
2388
|
output: set output mode (from 0 to 2) (default o)
|
2337
2389
|
smooth: set smooth factor (from 1 to 1000) (default 11)
|
2338
|
-
|
2390
|
+
timeline_options: Timeline options
|
2391
|
+
extra_options: Extra options for the filter
|
2339
2392
|
|
2340
2393
|
Returns:
|
2341
2394
|
default: the audio stream
|
@@ -2356,9 +2409,9 @@ class AudioStream(FilterableStream):
|
|
2356
2409
|
"research": research,
|
2357
2410
|
"output": output,
|
2358
2411
|
"smooth": smooth,
|
2359
|
-
"enable": enable,
|
2360
2412
|
},
|
2361
2413
|
extra_options,
|
2414
|
+
timeline_options,
|
2362
2415
|
),
|
2363
2416
|
)
|
2364
2417
|
return filter_node.audio(0)
|
@@ -2367,12 +2420,12 @@ class AudioStream(FilterableStream):
|
|
2367
2420
|
self,
|
2368
2421
|
_desired: AudioStream,
|
2369
2422
|
*,
|
2370
|
-
order: Int = Default(256),
|
2371
|
-
mu: Float = Default(0.75),
|
2372
|
-
eps: Float = Default(1
|
2373
|
-
leakage: Float = Default(0
|
2423
|
+
order: Int = Default("256"),
|
2424
|
+
mu: Float = Default("0.75"),
|
2425
|
+
eps: Float = Default("1"),
|
2426
|
+
leakage: Float = Default("0"),
|
2374
2427
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
2375
|
-
|
2428
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2376
2429
|
extra_options: dict[str, Any] | None = None,
|
2377
2430
|
) -> AudioStream:
|
2378
2431
|
"""
|
@@ -2385,7 +2438,8 @@ class AudioStream(FilterableStream):
|
|
2385
2438
|
eps: set the filter eps (from 0 to 1) (default 1)
|
2386
2439
|
leakage: set the filter leakage (from 0 to 1) (default 0)
|
2387
2440
|
out_mode: set output mode (from 0 to 4) (default o)
|
2388
|
-
|
2441
|
+
timeline_options: Timeline options
|
2442
|
+
extra_options: Extra options for the filter
|
2389
2443
|
|
2390
2444
|
Returns:
|
2391
2445
|
default: the audio stream
|
@@ -2409,9 +2463,9 @@ class AudioStream(FilterableStream):
|
|
2409
2463
|
"eps": eps,
|
2410
2464
|
"leakage": leakage,
|
2411
2465
|
"out_mode": out_mode,
|
2412
|
-
"enable": enable,
|
2413
2466
|
},
|
2414
2467
|
extra_options,
|
2468
|
+
timeline_options,
|
2415
2469
|
),
|
2416
2470
|
)
|
2417
2471
|
return filter_node.audio(0)
|
@@ -2420,12 +2474,12 @@ class AudioStream(FilterableStream):
|
|
2420
2474
|
self,
|
2421
2475
|
_desired: AudioStream,
|
2422
2476
|
*,
|
2423
|
-
order: Int = Default(256),
|
2424
|
-
mu: Float = Default(0.75),
|
2425
|
-
eps: Float = Default(1
|
2426
|
-
leakage: Float = Default(0
|
2477
|
+
order: Int = Default("256"),
|
2478
|
+
mu: Float = Default("0.75"),
|
2479
|
+
eps: Float = Default("1"),
|
2480
|
+
leakage: Float = Default("0"),
|
2427
2481
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
2428
|
-
|
2482
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2429
2483
|
extra_options: dict[str, Any] | None = None,
|
2430
2484
|
) -> AudioStream:
|
2431
2485
|
"""
|
@@ -2438,7 +2492,8 @@ class AudioStream(FilterableStream):
|
|
2438
2492
|
eps: set the filter eps (from 0 to 1) (default 1)
|
2439
2493
|
leakage: set the filter leakage (from 0 to 1) (default 0)
|
2440
2494
|
out_mode: set output mode (from 0 to 4) (default o)
|
2441
|
-
|
2495
|
+
timeline_options: Timeline options
|
2496
|
+
extra_options: Extra options for the filter
|
2442
2497
|
|
2443
2498
|
Returns:
|
2444
2499
|
default: the audio stream
|
@@ -2462,9 +2517,9 @@ class AudioStream(FilterableStream):
|
|
2462
2517
|
"eps": eps,
|
2463
2518
|
"leakage": leakage,
|
2464
2519
|
"out_mode": out_mode,
|
2465
|
-
"enable": enable,
|
2466
2520
|
},
|
2467
2521
|
extra_options,
|
2522
|
+
timeline_options,
|
2468
2523
|
),
|
2469
2524
|
)
|
2470
2525
|
return filter_node.audio(0)
|
@@ -2477,6 +2532,9 @@ class AudioStream(FilterableStream):
|
|
2477
2532
|
|
2478
2533
|
Pass the source unchanged to the output.
|
2479
2534
|
|
2535
|
+
Args:
|
2536
|
+
extra_options: Extra options for the filter
|
2537
|
+
|
2480
2538
|
Returns:
|
2481
2539
|
default: the audio stream
|
2482
2540
|
|
@@ -2489,19 +2547,22 @@ class AudioStream(FilterableStream):
|
|
2489
2547
|
name="anull", typings_input=("audio",), typings_output=("audio",)
|
2490
2548
|
),
|
2491
2549
|
self,
|
2492
|
-
**merge(
|
2550
|
+
**merge(
|
2551
|
+
{},
|
2552
|
+
extra_options,
|
2553
|
+
),
|
2493
2554
|
)
|
2494
2555
|
return filter_node.audio(0)
|
2495
2556
|
|
2496
2557
|
def apad(
|
2497
2558
|
self,
|
2498
2559
|
*,
|
2499
|
-
packet_size: Int = Default(4096),
|
2500
|
-
pad_len: Int64 = Default(-1),
|
2501
|
-
whole_len: Int64 = Default(-1),
|
2502
|
-
pad_dur: Duration = Default(-
|
2503
|
-
whole_dur: Duration = Default(-
|
2504
|
-
|
2560
|
+
packet_size: Int = Default("4096"),
|
2561
|
+
pad_len: Int64 = Default("-1"),
|
2562
|
+
whole_len: Int64 = Default("-1"),
|
2563
|
+
pad_dur: Duration = Default("-0.000001"),
|
2564
|
+
whole_dur: Duration = Default("-0.000001"),
|
2565
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2505
2566
|
extra_options: dict[str, Any] | None = None,
|
2506
2567
|
) -> AudioStream:
|
2507
2568
|
"""
|
@@ -2514,7 +2575,8 @@ class AudioStream(FilterableStream):
|
|
2514
2575
|
whole_len: set minimum target number of samples in the audio stream (from -1 to I64_MAX) (default -1)
|
2515
2576
|
pad_dur: set duration of silence to add (default -0.000001)
|
2516
2577
|
whole_dur: set minimum target duration in the audio stream (default -0.000001)
|
2517
|
-
|
2578
|
+
timeline_options: Timeline options
|
2579
|
+
extra_options: Extra options for the filter
|
2518
2580
|
|
2519
2581
|
Returns:
|
2520
2582
|
default: the audio stream
|
@@ -2535,9 +2597,9 @@ class AudioStream(FilterableStream):
|
|
2535
2597
|
"whole_len": whole_len,
|
2536
2598
|
"pad_dur": pad_dur,
|
2537
2599
|
"whole_dur": whole_dur,
|
2538
|
-
"enable": enable,
|
2539
2600
|
},
|
2540
2601
|
extra_options,
|
2602
|
+
timeline_options,
|
2541
2603
|
),
|
2542
2604
|
)
|
2543
2605
|
return filter_node.audio(0)
|
@@ -2548,8 +2610,8 @@ class AudioStream(FilterableStream):
|
|
2548
2610
|
mode: Int | Literal["none", "ro", "rw", "toggle", "random"] | Default = Default(
|
2549
2611
|
"none"
|
2550
2612
|
),
|
2551
|
-
seed: Int64 = Default(-1),
|
2552
|
-
|
2613
|
+
seed: Int64 = Default("-1"),
|
2614
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2553
2615
|
extra_options: dict[str, Any] | None = None,
|
2554
2616
|
) -> AudioStream:
|
2555
2617
|
"""
|
@@ -2559,7 +2621,8 @@ class AudioStream(FilterableStream):
|
|
2559
2621
|
Args:
|
2560
2622
|
mode: select permissions mode (from 0 to 4) (default none)
|
2561
2623
|
seed: set the seed for the random mode (from -1 to UINT32_MAX) (default -1)
|
2562
|
-
|
2624
|
+
timeline_options: Timeline options
|
2625
|
+
extra_options: Extra options for the filter
|
2563
2626
|
|
2564
2627
|
Returns:
|
2565
2628
|
default: the audio stream
|
@@ -2577,9 +2640,9 @@ class AudioStream(FilterableStream):
|
|
2577
2640
|
{
|
2578
2641
|
"mode": mode,
|
2579
2642
|
"seed": seed,
|
2580
|
-
"enable": enable,
|
2581
2643
|
},
|
2582
2644
|
extra_options,
|
2645
|
+
timeline_options,
|
2583
2646
|
),
|
2584
2647
|
)
|
2585
2648
|
return filter_node.audio(0)
|
@@ -2589,15 +2652,15 @@ class AudioStream(FilterableStream):
|
|
2589
2652
|
*,
|
2590
2653
|
rate: Video_rate = Default("25"),
|
2591
2654
|
size: Image_size = Default("800x400"),
|
2592
|
-
rc: Int = Default(2),
|
2593
|
-
gc: Int = Default(7),
|
2594
|
-
bc: Int = Default(1),
|
2655
|
+
rc: Int = Default("2"),
|
2656
|
+
gc: Int = Default("7"),
|
2657
|
+
bc: Int = Default("1"),
|
2595
2658
|
mpc: String = Default("none"),
|
2596
|
-
video: Boolean = Default(
|
2597
|
-
phasing: Boolean = Default(
|
2598
|
-
tolerance: Float = Default(0
|
2599
|
-
angle: Float = Default(170
|
2600
|
-
duration: Duration = Default(2
|
2659
|
+
video: Boolean = Default("true"),
|
2660
|
+
phasing: Boolean = Default("false"),
|
2661
|
+
tolerance: Float = Default("0"),
|
2662
|
+
angle: Float = Default("170"),
|
2663
|
+
duration: Duration = Default("2"),
|
2601
2664
|
extra_options: dict[str, Any] | None = None,
|
2602
2665
|
) -> FilterNode:
|
2603
2666
|
"""
|
@@ -2616,6 +2679,7 @@ class AudioStream(FilterableStream):
|
|
2616
2679
|
tolerance: set phase tolerance for mono detection (from 0 to 1) (default 0)
|
2617
2680
|
angle: set angle threshold for out-of-phase detection (from 90 to 180) (default 170)
|
2618
2681
|
duration: set minimum mono or out-of-phase duration in seconds (default 2)
|
2682
|
+
extra_options: Extra options for the filter
|
2619
2683
|
|
2620
2684
|
Returns:
|
2621
2685
|
filter_node: the filter node
|
@@ -2655,11 +2719,11 @@ class AudioStream(FilterableStream):
|
|
2655
2719
|
def aphaser(
|
2656
2720
|
self,
|
2657
2721
|
*,
|
2658
|
-
in_gain: Double = Default(0.4),
|
2659
|
-
out_gain: Double = Default(0.74),
|
2660
|
-
delay: Double = Default(3
|
2661
|
-
decay: Double = Default(0.4),
|
2662
|
-
speed: Double = Default(0.5),
|
2722
|
+
in_gain: Double = Default("0.4"),
|
2723
|
+
out_gain: Double = Default("0.74"),
|
2724
|
+
delay: Double = Default("3"),
|
2725
|
+
decay: Double = Default("0.4"),
|
2726
|
+
speed: Double = Default("0.5"),
|
2663
2727
|
type: Int | Literal["triangular", "t", "sinusoidal", "s"] | Default = Default(
|
2664
2728
|
"triangular"
|
2665
2729
|
),
|
@@ -2676,6 +2740,7 @@ class AudioStream(FilterableStream):
|
|
2676
2740
|
decay: set decay (from 0 to 0.99) (default 0.4)
|
2677
2741
|
speed: set modulation speed (from 0.1 to 2) (default 0.5)
|
2678
2742
|
type: set modulation type (from 0 to 1) (default triangular)
|
2743
|
+
extra_options: Extra options for the filter
|
2679
2744
|
|
2680
2745
|
Returns:
|
2681
2746
|
default: the audio stream
|
@@ -2706,10 +2771,10 @@ class AudioStream(FilterableStream):
|
|
2706
2771
|
def aphaseshift(
|
2707
2772
|
self,
|
2708
2773
|
*,
|
2709
|
-
shift: Double = Default(0
|
2710
|
-
level: Double = Default(1
|
2711
|
-
order: Int = Default(8),
|
2712
|
-
|
2774
|
+
shift: Double = Default("0"),
|
2775
|
+
level: Double = Default("1"),
|
2776
|
+
order: Int = Default("8"),
|
2777
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2713
2778
|
extra_options: dict[str, Any] | None = None,
|
2714
2779
|
) -> AudioStream:
|
2715
2780
|
"""
|
@@ -2720,7 +2785,8 @@ class AudioStream(FilterableStream):
|
|
2720
2785
|
shift: set phase shift (from -1 to 1) (default 0)
|
2721
2786
|
level: set output level (from 0 to 1) (default 1)
|
2722
2787
|
order: set filter order (from 1 to 16) (default 8)
|
2723
|
-
|
2788
|
+
timeline_options: Timeline options
|
2789
|
+
extra_options: Extra options for the filter
|
2724
2790
|
|
2725
2791
|
Returns:
|
2726
2792
|
default: the audio stream
|
@@ -2739,9 +2805,9 @@ class AudioStream(FilterableStream):
|
|
2739
2805
|
"shift": shift,
|
2740
2806
|
"level": level,
|
2741
2807
|
"order": order,
|
2742
|
-
"enable": enable,
|
2743
2808
|
},
|
2744
2809
|
extra_options,
|
2810
|
+
timeline_options,
|
2745
2811
|
),
|
2746
2812
|
)
|
2747
2813
|
return filter_node.audio(0)
|
@@ -2749,8 +2815,7 @@ class AudioStream(FilterableStream):
|
|
2749
2815
|
def apsnr(
|
2750
2816
|
self,
|
2751
2817
|
_input1: AudioStream,
|
2752
|
-
|
2753
|
-
enable: String = Default(None),
|
2818
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2754
2819
|
extra_options: dict[str, Any] | None = None,
|
2755
2820
|
) -> AudioStream:
|
2756
2821
|
"""
|
@@ -2758,7 +2823,8 @@ class AudioStream(FilterableStream):
|
|
2758
2823
|
Measure Audio Peak Signal-to-Noise Ratio.
|
2759
2824
|
|
2760
2825
|
Args:
|
2761
|
-
|
2826
|
+
timeline_options: Timeline options
|
2827
|
+
extra_options: Extra options for the filter
|
2762
2828
|
|
2763
2829
|
Returns:
|
2764
2830
|
default: the audio stream
|
@@ -2776,10 +2842,9 @@ class AudioStream(FilterableStream):
|
|
2776
2842
|
self,
|
2777
2843
|
_input1,
|
2778
2844
|
**merge(
|
2779
|
-
{
|
2780
|
-
"enable": enable,
|
2781
|
-
},
|
2845
|
+
{},
|
2782
2846
|
extra_options,
|
2847
|
+
timeline_options,
|
2783
2848
|
),
|
2784
2849
|
)
|
2785
2850
|
return filter_node.audio(0)
|
@@ -2787,14 +2852,14 @@ class AudioStream(FilterableStream):
|
|
2787
2852
|
def apsyclip(
|
2788
2853
|
self,
|
2789
2854
|
*,
|
2790
|
-
level_in: Double = Default(1
|
2791
|
-
level_out: Double = Default(1
|
2792
|
-
clip: Double = Default(1
|
2793
|
-
diff: Boolean = Default(
|
2794
|
-
adaptive: Double = Default(0.5),
|
2795
|
-
iterations: Int = Default(10),
|
2796
|
-
level: Boolean = Default(
|
2797
|
-
|
2855
|
+
level_in: Double = Default("1"),
|
2856
|
+
level_out: Double = Default("1"),
|
2857
|
+
clip: Double = Default("1"),
|
2858
|
+
diff: Boolean = Default("false"),
|
2859
|
+
adaptive: Double = Default("0.5"),
|
2860
|
+
iterations: Int = Default("10"),
|
2861
|
+
level: Boolean = Default("false"),
|
2862
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
2798
2863
|
extra_options: dict[str, Any] | None = None,
|
2799
2864
|
) -> AudioStream:
|
2800
2865
|
"""
|
@@ -2809,7 +2874,8 @@ class AudioStream(FilterableStream):
|
|
2809
2874
|
adaptive: set adaptive distortion (from 0 to 1) (default 0.5)
|
2810
2875
|
iterations: set iterations (from 1 to 20) (default 10)
|
2811
2876
|
level: set auto level (default false)
|
2812
|
-
|
2877
|
+
timeline_options: Timeline options
|
2878
|
+
extra_options: Extra options for the filter
|
2813
2879
|
|
2814
2880
|
Returns:
|
2815
2881
|
default: the audio stream
|
@@ -2832,9 +2898,9 @@ class AudioStream(FilterableStream):
|
|
2832
2898
|
"adaptive": adaptive,
|
2833
2899
|
"iterations": iterations,
|
2834
2900
|
"level": level,
|
2835
|
-
"enable": enable,
|
2836
2901
|
},
|
2837
2902
|
extra_options,
|
2903
|
+
timeline_options,
|
2838
2904
|
),
|
2839
2905
|
)
|
2840
2906
|
return filter_node.audio(0)
|
@@ -2842,19 +2908,19 @@ class AudioStream(FilterableStream):
|
|
2842
2908
|
def apulsator(
|
2843
2909
|
self,
|
2844
2910
|
*,
|
2845
|
-
level_in: Double = Default(1
|
2846
|
-
level_out: Double = Default(1
|
2911
|
+
level_in: Double = Default("1"),
|
2912
|
+
level_out: Double = Default("1"),
|
2847
2913
|
mode: Int
|
2848
2914
|
| Literal["sine", "triangle", "square", "sawup", "sawdown"]
|
2849
2915
|
| Default = Default("sine"),
|
2850
|
-
amount: Double = Default(1
|
2851
|
-
offset_l: Double = Default(0
|
2852
|
-
offset_r: Double = Default(0.5),
|
2853
|
-
width: Double = Default(1
|
2916
|
+
amount: Double = Default("1"),
|
2917
|
+
offset_l: Double = Default("0"),
|
2918
|
+
offset_r: Double = Default("0.5"),
|
2919
|
+
width: Double = Default("1"),
|
2854
2920
|
timing: Int | Literal["bpm", "ms", "hz"] | Default = Default("hz"),
|
2855
|
-
bpm: Double = Default(120
|
2856
|
-
ms: Int = Default(500),
|
2857
|
-
hz: Double = Default(2
|
2921
|
+
bpm: Double = Default("120"),
|
2922
|
+
ms: Int = Default("500"),
|
2923
|
+
hz: Double = Default("2"),
|
2858
2924
|
extra_options: dict[str, Any] | None = None,
|
2859
2925
|
) -> AudioStream:
|
2860
2926
|
"""
|
@@ -2873,6 +2939,7 @@ class AudioStream(FilterableStream):
|
|
2873
2939
|
bpm: set BPM (from 30 to 300) (default 120)
|
2874
2940
|
ms: set ms (from 10 to 2000) (default 500)
|
2875
2941
|
hz: set frequency (from 0.01 to 100) (default 2)
|
2942
|
+
extra_options: Extra options for the filter
|
2876
2943
|
|
2877
2944
|
Returns:
|
2878
2945
|
default: the audio stream
|
@@ -2908,8 +2975,8 @@ class AudioStream(FilterableStream):
|
|
2908
2975
|
def arealtime(
|
2909
2976
|
self,
|
2910
2977
|
*,
|
2911
|
-
limit: Duration = Default(2
|
2912
|
-
speed: Double = Default(1
|
2978
|
+
limit: Duration = Default("2"),
|
2979
|
+
speed: Double = Default("1"),
|
2913
2980
|
extra_options: dict[str, Any] | None = None,
|
2914
2981
|
) -> AudioStream:
|
2915
2982
|
"""
|
@@ -2919,6 +2986,7 @@ class AudioStream(FilterableStream):
|
|
2919
2986
|
Args:
|
2920
2987
|
limit: sleep time limit (default 2)
|
2921
2988
|
speed: speed factor (from DBL_MIN to DBL_MAX) (default 1)
|
2989
|
+
extra_options: Extra options for the filter
|
2922
2990
|
|
2923
2991
|
Returns:
|
2924
2992
|
default: the audio stream
|
@@ -2945,7 +3013,7 @@ class AudioStream(FilterableStream):
|
|
2945
3013
|
def aresample(
|
2946
3014
|
self,
|
2947
3015
|
*,
|
2948
|
-
sample_rate: Int = Default(0),
|
3016
|
+
sample_rate: Int = Default("0"),
|
2949
3017
|
extra_options: dict[str, Any] | None = None,
|
2950
3018
|
) -> AudioStream:
|
2951
3019
|
"""
|
@@ -2954,6 +3022,7 @@ class AudioStream(FilterableStream):
|
|
2954
3022
|
|
2955
3023
|
Args:
|
2956
3024
|
sample_rate: (from 0 to INT_MAX) (default 0)
|
3025
|
+
extra_options: Extra options for the filter
|
2957
3026
|
|
2958
3027
|
Returns:
|
2959
3028
|
default: the audio stream
|
@@ -2984,6 +3053,9 @@ class AudioStream(FilterableStream):
|
|
2984
3053
|
|
2985
3054
|
Reverse an audio clip.
|
2986
3055
|
|
3056
|
+
Args:
|
3057
|
+
extra_options: Extra options for the filter
|
3058
|
+
|
2987
3059
|
Returns:
|
2988
3060
|
default: the audio stream
|
2989
3061
|
|
@@ -2996,7 +3068,10 @@ class AudioStream(FilterableStream):
|
|
2996
3068
|
name="areverse", typings_input=("audio",), typings_output=("audio",)
|
2997
3069
|
),
|
2998
3070
|
self,
|
2999
|
-
**merge(
|
3071
|
+
**merge(
|
3072
|
+
{},
|
3073
|
+
extra_options,
|
3074
|
+
),
|
3000
3075
|
)
|
3001
3076
|
return filter_node.audio(0)
|
3002
3077
|
|
@@ -3004,11 +3079,11 @@ class AudioStream(FilterableStream):
|
|
3004
3079
|
self,
|
3005
3080
|
_desired: AudioStream,
|
3006
3081
|
*,
|
3007
|
-
order: Int = Default(16),
|
3008
|
-
_lambda: Float = Default(1
|
3009
|
-
delta: Float = Default(2
|
3082
|
+
order: Int = Default("16"),
|
3083
|
+
_lambda: Float = Default("1"),
|
3084
|
+
delta: Float = Default("2"),
|
3010
3085
|
out_mode: Int | Literal["i", "d", "o", "n", "e"] | Default = Default("o"),
|
3011
|
-
|
3086
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3012
3087
|
extra_options: dict[str, Any] | None = None,
|
3013
3088
|
) -> AudioStream:
|
3014
3089
|
"""
|
@@ -3020,7 +3095,8 @@ class AudioStream(FilterableStream):
|
|
3020
3095
|
_lambda: set the filter lambda (from 0 to 1) (default 1)
|
3021
3096
|
delta: set the filter delta (from 0 to 32767) (default 2)
|
3022
3097
|
out_mode: set output mode (from 0 to 4) (default o)
|
3023
|
-
|
3098
|
+
timeline_options: Timeline options
|
3099
|
+
extra_options: Extra options for the filter
|
3024
3100
|
|
3025
3101
|
Returns:
|
3026
3102
|
default: the audio stream
|
@@ -3041,9 +3117,9 @@ class AudioStream(FilterableStream):
|
|
3041
3117
|
"lambda": _lambda,
|
3042
3118
|
"delta": delta,
|
3043
3119
|
"out_mode": out_mode,
|
3044
|
-
"enable": enable,
|
3045
3120
|
},
|
3046
3121
|
extra_options,
|
3122
|
+
timeline_options,
|
3047
3123
|
),
|
3048
3124
|
)
|
3049
3125
|
return filter_node.audio(0)
|
@@ -3052,8 +3128,8 @@ class AudioStream(FilterableStream):
|
|
3052
3128
|
self,
|
3053
3129
|
*,
|
3054
3130
|
model: String = Default(None),
|
3055
|
-
mix: Float = Default(1
|
3056
|
-
|
3131
|
+
mix: Float = Default("1"),
|
3132
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3057
3133
|
extra_options: dict[str, Any] | None = None,
|
3058
3134
|
) -> AudioStream:
|
3059
3135
|
"""
|
@@ -3063,7 +3139,8 @@ class AudioStream(FilterableStream):
|
|
3063
3139
|
Args:
|
3064
3140
|
model: set model name
|
3065
3141
|
mix: set output vs input mix (from -1 to 1) (default 1)
|
3066
|
-
|
3142
|
+
timeline_options: Timeline options
|
3143
|
+
extra_options: Extra options for the filter
|
3067
3144
|
|
3068
3145
|
Returns:
|
3069
3146
|
default: the audio stream
|
@@ -3081,9 +3158,9 @@ class AudioStream(FilterableStream):
|
|
3081
3158
|
{
|
3082
3159
|
"model": model,
|
3083
3160
|
"mix": mix,
|
3084
|
-
"enable": enable,
|
3085
3161
|
},
|
3086
3162
|
extra_options,
|
3163
|
+
timeline_options,
|
3087
3164
|
),
|
3088
3165
|
)
|
3089
3166
|
return filter_node.audio(0)
|
@@ -3091,8 +3168,7 @@ class AudioStream(FilterableStream):
|
|
3091
3168
|
def asdr(
|
3092
3169
|
self,
|
3093
3170
|
_input1: AudioStream,
|
3094
|
-
|
3095
|
-
enable: String = Default(None),
|
3171
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3096
3172
|
extra_options: dict[str, Any] | None = None,
|
3097
3173
|
) -> AudioStream:
|
3098
3174
|
"""
|
@@ -3100,7 +3176,8 @@ class AudioStream(FilterableStream):
|
|
3100
3176
|
Measure Audio Signal-to-Distortion Ratio.
|
3101
3177
|
|
3102
3178
|
Args:
|
3103
|
-
|
3179
|
+
timeline_options: Timeline options
|
3180
|
+
extra_options: Extra options for the filter
|
3104
3181
|
|
3105
3182
|
Returns:
|
3106
3183
|
default: the audio stream
|
@@ -3116,10 +3193,9 @@ class AudioStream(FilterableStream):
|
|
3116
3193
|
self,
|
3117
3194
|
_input1,
|
3118
3195
|
**merge(
|
3119
|
-
{
|
3120
|
-
"enable": enable,
|
3121
|
-
},
|
3196
|
+
{},
|
3122
3197
|
extra_options,
|
3198
|
+
timeline_options,
|
3123
3199
|
),
|
3124
3200
|
)
|
3125
3201
|
return filter_node.audio(0)
|
@@ -3138,6 +3214,7 @@ class AudioStream(FilterableStream):
|
|
3138
3214
|
Args:
|
3139
3215
|
timestamps: timestamps of input at which to split input
|
3140
3216
|
samples: samples at which to split input
|
3217
|
+
extra_options: Extra options for the filter
|
3141
3218
|
|
3142
3219
|
Returns:
|
3143
3220
|
filter_node: the filter node
|
@@ -3169,7 +3246,7 @@ class AudioStream(FilterableStream):
|
|
3169
3246
|
self,
|
3170
3247
|
*,
|
3171
3248
|
expr: String = Default("1"),
|
3172
|
-
outputs: Int = Default(1),
|
3249
|
+
outputs: Int = Default("1"),
|
3173
3250
|
extra_options: dict[str, Any] | None = None,
|
3174
3251
|
) -> FilterNode:
|
3175
3252
|
"""
|
@@ -3179,6 +3256,7 @@ class AudioStream(FilterableStream):
|
|
3179
3256
|
Args:
|
3180
3257
|
expr: set an expression to use for selecting frames (default "1")
|
3181
3258
|
outputs: set the number of outputs (from 1 to INT_MAX) (default 1)
|
3259
|
+
extra_options: Extra options for the filter
|
3182
3260
|
|
3183
3261
|
Returns:
|
3184
3262
|
filter_node: the filter node
|
@@ -3220,6 +3298,7 @@ class AudioStream(FilterableStream):
|
|
3220
3298
|
Args:
|
3221
3299
|
commands: set commands
|
3222
3300
|
filename: set commands file
|
3301
|
+
extra_options: Extra options for the filter
|
3223
3302
|
|
3224
3303
|
Returns:
|
3225
3304
|
default: the audio stream
|
@@ -3246,9 +3325,9 @@ class AudioStream(FilterableStream):
|
|
3246
3325
|
def asetnsamples(
|
3247
3326
|
self,
|
3248
3327
|
*,
|
3249
|
-
nb_out_samples: Int = Default(1024),
|
3250
|
-
pad: Boolean = Default(
|
3251
|
-
|
3328
|
+
nb_out_samples: Int = Default("1024"),
|
3329
|
+
pad: Boolean = Default("true"),
|
3330
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3252
3331
|
extra_options: dict[str, Any] | None = None,
|
3253
3332
|
) -> AudioStream:
|
3254
3333
|
"""
|
@@ -3258,7 +3337,8 @@ class AudioStream(FilterableStream):
|
|
3258
3337
|
Args:
|
3259
3338
|
nb_out_samples: set the number of per-frame output samples (from 1 to INT_MAX) (default 1024)
|
3260
3339
|
pad: pad last frame with zeros (default true)
|
3261
|
-
|
3340
|
+
timeline_options: Timeline options
|
3341
|
+
extra_options: Extra options for the filter
|
3262
3342
|
|
3263
3343
|
Returns:
|
3264
3344
|
default: the audio stream
|
@@ -3276,9 +3356,9 @@ class AudioStream(FilterableStream):
|
|
3276
3356
|
{
|
3277
3357
|
"nb_out_samples": nb_out_samples,
|
3278
3358
|
"pad": pad,
|
3279
|
-
"enable": enable,
|
3280
3359
|
},
|
3281
3360
|
extra_options,
|
3361
|
+
timeline_options,
|
3282
3362
|
),
|
3283
3363
|
)
|
3284
3364
|
return filter_node.audio(0)
|
@@ -3295,6 +3375,7 @@ class AudioStream(FilterableStream):
|
|
3295
3375
|
|
3296
3376
|
Args:
|
3297
3377
|
expr: Expression determining the frame timestamp (default "PTS")
|
3378
|
+
extra_options: Extra options for the filter
|
3298
3379
|
|
3299
3380
|
Returns:
|
3300
3381
|
default: the audio stream
|
@@ -3320,7 +3401,7 @@ class AudioStream(FilterableStream):
|
|
3320
3401
|
def asetrate(
|
3321
3402
|
self,
|
3322
3403
|
*,
|
3323
|
-
sample_rate: Int = Default(44100),
|
3404
|
+
sample_rate: Int = Default("44100"),
|
3324
3405
|
extra_options: dict[str, Any] | None = None,
|
3325
3406
|
) -> AudioStream:
|
3326
3407
|
"""
|
@@ -3329,6 +3410,7 @@ class AudioStream(FilterableStream):
|
|
3329
3410
|
|
3330
3411
|
Args:
|
3331
3412
|
sample_rate: set the sample rate (from 1 to INT_MAX) (default 44100)
|
3413
|
+
extra_options: Extra options for the filter
|
3332
3414
|
|
3333
3415
|
Returns:
|
3334
3416
|
default: the audio stream
|
@@ -3363,6 +3445,7 @@ class AudioStream(FilterableStream):
|
|
3363
3445
|
|
3364
3446
|
Args:
|
3365
3447
|
expr: set expression determining the output timebase (default "intb")
|
3448
|
+
extra_options: Extra options for the filter
|
3366
3449
|
|
3367
3450
|
Returns:
|
3368
3451
|
default: the audio stream
|
@@ -3393,6 +3476,9 @@ class AudioStream(FilterableStream):
|
|
3393
3476
|
|
3394
3477
|
Show textual information for each audio frame.
|
3395
3478
|
|
3479
|
+
Args:
|
3480
|
+
extra_options: Extra options for the filter
|
3481
|
+
|
3396
3482
|
Returns:
|
3397
3483
|
default: the audio stream
|
3398
3484
|
|
@@ -3405,7 +3491,10 @@ class AudioStream(FilterableStream):
|
|
3405
3491
|
name="ashowinfo", typings_input=("audio",), typings_output=("audio",)
|
3406
3492
|
),
|
3407
3493
|
self,
|
3408
|
-
**merge(
|
3494
|
+
**merge(
|
3495
|
+
{},
|
3496
|
+
extra_options,
|
3497
|
+
),
|
3409
3498
|
)
|
3410
3499
|
return filter_node.audio(0)
|
3411
3500
|
|
@@ -3437,8 +3526,8 @@ class AudioStream(FilterableStream):
|
|
3437
3526
|
"DETECTION_BOUNDING_BOXES",
|
3438
3527
|
"SEI_UNREGISTERED",
|
3439
3528
|
]
|
3440
|
-
| Default = Default(-1),
|
3441
|
-
|
3529
|
+
| Default = Default("-1"),
|
3530
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3442
3531
|
extra_options: dict[str, Any] | None = None,
|
3443
3532
|
) -> AudioStream:
|
3444
3533
|
"""
|
@@ -3448,7 +3537,8 @@ class AudioStream(FilterableStream):
|
|
3448
3537
|
Args:
|
3449
3538
|
mode: set a mode of operation (from 0 to 1) (default select)
|
3450
3539
|
type: set side data type (from -1 to INT_MAX) (default -1)
|
3451
|
-
|
3540
|
+
timeline_options: Timeline options
|
3541
|
+
extra_options: Extra options for the filter
|
3452
3542
|
|
3453
3543
|
Returns:
|
3454
3544
|
default: the audio stream
|
@@ -3466,9 +3556,9 @@ class AudioStream(FilterableStream):
|
|
3466
3556
|
{
|
3467
3557
|
"mode": mode,
|
3468
3558
|
"type": type,
|
3469
|
-
"enable": enable,
|
3470
3559
|
},
|
3471
3560
|
extra_options,
|
3561
|
+
timeline_options,
|
3472
3562
|
),
|
3473
3563
|
)
|
3474
3564
|
return filter_node.audio(0)
|
@@ -3476,8 +3566,7 @@ class AudioStream(FilterableStream):
|
|
3476
3566
|
def asisdr(
|
3477
3567
|
self,
|
3478
3568
|
_input1: AudioStream,
|
3479
|
-
|
3480
|
-
enable: String = Default(None),
|
3569
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3481
3570
|
extra_options: dict[str, Any] | None = None,
|
3482
3571
|
) -> AudioStream:
|
3483
3572
|
"""
|
@@ -3485,7 +3574,8 @@ class AudioStream(FilterableStream):
|
|
3485
3574
|
Measure Audio Scale-Invariant Signal-to-Distortion Ratio.
|
3486
3575
|
|
3487
3576
|
Args:
|
3488
|
-
|
3577
|
+
timeline_options: Timeline options
|
3578
|
+
extra_options: Extra options for the filter
|
3489
3579
|
|
3490
3580
|
Returns:
|
3491
3581
|
default: the audio stream
|
@@ -3503,10 +3593,9 @@ class AudioStream(FilterableStream):
|
|
3503
3593
|
self,
|
3504
3594
|
_input1,
|
3505
3595
|
**merge(
|
3506
|
-
{
|
3507
|
-
"enable": enable,
|
3508
|
-
},
|
3596
|
+
{},
|
3509
3597
|
extra_options,
|
3598
|
+
timeline_options,
|
3510
3599
|
),
|
3511
3600
|
)
|
3512
3601
|
return filter_node.audio(0)
|
@@ -3519,11 +3608,11 @@ class AudioStream(FilterableStream):
|
|
3519
3608
|
"hard", "tanh", "atan", "cubic", "exp", "alg", "quintic", "sin", "erf"
|
3520
3609
|
]
|
3521
3610
|
| Default = Default("tanh"),
|
3522
|
-
threshold: Double = Default(1
|
3523
|
-
output: Double = Default(1
|
3524
|
-
param: Double = Default(1
|
3525
|
-
oversample: Int = Default(1),
|
3526
|
-
|
3611
|
+
threshold: Double = Default("1"),
|
3612
|
+
output: Double = Default("1"),
|
3613
|
+
param: Double = Default("1"),
|
3614
|
+
oversample: Int = Default("1"),
|
3615
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3527
3616
|
extra_options: dict[str, Any] | None = None,
|
3528
3617
|
) -> AudioStream:
|
3529
3618
|
"""
|
@@ -3536,7 +3625,8 @@ class AudioStream(FilterableStream):
|
|
3536
3625
|
output: set softclip output gain (from 1e-06 to 16) (default 1)
|
3537
3626
|
param: set softclip parameter (from 0.01 to 3) (default 1)
|
3538
3627
|
oversample: set oversample factor (from 1 to 64) (default 1)
|
3539
|
-
|
3628
|
+
timeline_options: Timeline options
|
3629
|
+
extra_options: Extra options for the filter
|
3540
3630
|
|
3541
3631
|
Returns:
|
3542
3632
|
default: the audio stream
|
@@ -3557,9 +3647,9 @@ class AudioStream(FilterableStream):
|
|
3557
3647
|
"output": output,
|
3558
3648
|
"param": param,
|
3559
3649
|
"oversample": oversample,
|
3560
|
-
"enable": enable,
|
3561
3650
|
},
|
3562
3651
|
extra_options,
|
3652
|
+
timeline_options,
|
3563
3653
|
),
|
3564
3654
|
)
|
3565
3655
|
return filter_node.audio(0)
|
@@ -3567,7 +3657,7 @@ class AudioStream(FilterableStream):
|
|
3567
3657
|
def aspectralstats(
|
3568
3658
|
self,
|
3569
3659
|
*,
|
3570
|
-
win_size: Int = Default(2048),
|
3660
|
+
win_size: Int = Default("2048"),
|
3571
3661
|
win_func: Int
|
3572
3662
|
| Literal[
|
3573
3663
|
"rect",
|
@@ -3594,7 +3684,7 @@ class AudioStream(FilterableStream):
|
|
3594
3684
|
"kaiser",
|
3595
3685
|
]
|
3596
3686
|
| Default = Default("hann"),
|
3597
|
-
overlap: Float = Default(0.5),
|
3687
|
+
overlap: Float = Default("0.5"),
|
3598
3688
|
measure: Flags
|
3599
3689
|
| Literal[
|
3600
3690
|
"none",
|
@@ -3627,6 +3717,7 @@ class AudioStream(FilterableStream):
|
|
3627
3717
|
win_func: set window function (from 0 to 20) (default hann)
|
3628
3718
|
overlap: set window overlap (from 0 to 1) (default 0.5)
|
3629
3719
|
measure: select the parameters which are measured (default all+mean+variance+centroid+spread+skewness+kurtosis+entropy+flatness+crest+flux+slope+decrease+rolloff)
|
3720
|
+
extra_options: Extra options for the filter
|
3630
3721
|
|
3631
3722
|
Returns:
|
3632
3723
|
default: the audio stream
|
@@ -3657,7 +3748,7 @@ class AudioStream(FilterableStream):
|
|
3657
3748
|
def asplit(
|
3658
3749
|
self,
|
3659
3750
|
*,
|
3660
|
-
outputs: Int = Default(2),
|
3751
|
+
outputs: Int = Default("2"),
|
3661
3752
|
extra_options: dict[str, Any] | None = None,
|
3662
3753
|
) -> FilterNode:
|
3663
3754
|
"""
|
@@ -3666,6 +3757,7 @@ class AudioStream(FilterableStream):
|
|
3666
3757
|
|
3667
3758
|
Args:
|
3668
3759
|
outputs: set number of outputs (from 1 to INT_MAX) (default 2)
|
3760
|
+
extra_options: Extra options for the filter
|
3669
3761
|
|
3670
3762
|
Returns:
|
3671
3763
|
filter_node: the filter node
|
@@ -3695,7 +3787,7 @@ class AudioStream(FilterableStream):
|
|
3695
3787
|
def asr(
|
3696
3788
|
self,
|
3697
3789
|
*,
|
3698
|
-
rate: Int = Default(16000),
|
3790
|
+
rate: Int = Default("16000"),
|
3699
3791
|
hmm: String = Default(None),
|
3700
3792
|
dict: String = Default(None),
|
3701
3793
|
lm: String = Default(None),
|
@@ -3716,6 +3808,7 @@ class AudioStream(FilterableStream):
|
|
3716
3808
|
lmctl: set language model set
|
3717
3809
|
lmname: set which language model to use
|
3718
3810
|
logfn: set output for log messages (default "/dev/null")
|
3811
|
+
extra_options: Extra options for the filter
|
3719
3812
|
|
3720
3813
|
Returns:
|
3721
3814
|
default: the audio stream
|
@@ -3747,9 +3840,9 @@ class AudioStream(FilterableStream):
|
|
3747
3840
|
def astats(
|
3748
3841
|
self,
|
3749
3842
|
*,
|
3750
|
-
length: Double = Default(0.05),
|
3751
|
-
metadata: Boolean = Default(
|
3752
|
-
reset: Int = Default(0),
|
3843
|
+
length: Double = Default("0.05"),
|
3844
|
+
metadata: Boolean = Default("false"),
|
3845
|
+
reset: Int = Default("0"),
|
3753
3846
|
measure_perchannel: Flags
|
3754
3847
|
| Literal[
|
3755
3848
|
"none",
|
@@ -3830,6 +3923,7 @@ class AudioStream(FilterableStream):
|
|
3830
3923
|
reset: Set the number of frames over which cumulative stats are calculated before being reset (from 0 to INT_MAX) (default 0)
|
3831
3924
|
measure_perchannel: Select the parameters which are measured per channel (default all+Bit_depth+Crest_factor+DC_offset+Dynamic_range+Entropy+Flat_factor+Max_difference+Max_level+Mean_difference+Min_difference+Min_level+Noise_floor+Noise_floor_count+Number_of_Infs+Number_of_NaNs+Number_of_denormals+Number_of_samples+Peak_count+Peak_level+RMS_difference+RMS_level+RMS_peak+RMS_trough+Zero_crossings+Zero_crossings_rate+Abs_Peak_count)
|
3832
3925
|
measure_overall: Select the parameters which are measured overall (default all+Bit_depth+Crest_factor+DC_offset+Dynamic_range+Entropy+Flat_factor+Max_difference+Max_level+Mean_difference+Min_difference+Min_level+Noise_floor+Noise_floor_count+Number_of_Infs+Number_of_NaNs+Number_of_denormals+Number_of_samples+Peak_count+Peak_level+RMS_difference+RMS_level+RMS_peak+RMS_trough+Zero_crossings+Zero_crossings_rate+Abs_Peak_count)
|
3926
|
+
extra_options: Extra options for the filter
|
3833
3927
|
|
3834
3928
|
Returns:
|
3835
3929
|
default: the audio stream
|
@@ -3859,16 +3953,16 @@ class AudioStream(FilterableStream):
|
|
3859
3953
|
def asubboost(
|
3860
3954
|
self,
|
3861
3955
|
*,
|
3862
|
-
dry: Double = Default(1
|
3863
|
-
wet: Double = Default(1
|
3864
|
-
boost: Double = Default(2
|
3865
|
-
decay: Double = Default(0
|
3866
|
-
feedback: Double = Default(0.9),
|
3867
|
-
cutoff: Double = Default(100
|
3868
|
-
slope: Double = Default(0.5),
|
3869
|
-
delay: Double = Default(20
|
3956
|
+
dry: Double = Default("1"),
|
3957
|
+
wet: Double = Default("1"),
|
3958
|
+
boost: Double = Default("2"),
|
3959
|
+
decay: Double = Default("0"),
|
3960
|
+
feedback: Double = Default("0.9"),
|
3961
|
+
cutoff: Double = Default("100"),
|
3962
|
+
slope: Double = Default("0.5"),
|
3963
|
+
delay: Double = Default("20"),
|
3870
3964
|
channels: String = Default("all"),
|
3871
|
-
|
3965
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3872
3966
|
extra_options: dict[str, Any] | None = None,
|
3873
3967
|
) -> AudioStream:
|
3874
3968
|
"""
|
@@ -3885,7 +3979,8 @@ class AudioStream(FilterableStream):
|
|
3885
3979
|
slope: set slope (from 0.0001 to 1) (default 0.5)
|
3886
3980
|
delay: set delay (from 1 to 100) (default 20)
|
3887
3981
|
channels: set channels to filter (default "all")
|
3888
|
-
|
3982
|
+
timeline_options: Timeline options
|
3983
|
+
extra_options: Extra options for the filter
|
3889
3984
|
|
3890
3985
|
Returns:
|
3891
3986
|
default: the audio stream
|
@@ -3910,9 +4005,9 @@ class AudioStream(FilterableStream):
|
|
3910
4005
|
"slope": slope,
|
3911
4006
|
"delay": delay,
|
3912
4007
|
"channels": channels,
|
3913
|
-
"enable": enable,
|
3914
4008
|
},
|
3915
4009
|
extra_options,
|
4010
|
+
timeline_options,
|
3916
4011
|
),
|
3917
4012
|
)
|
3918
4013
|
return filter_node.audio(0)
|
@@ -3920,10 +4015,10 @@ class AudioStream(FilterableStream):
|
|
3920
4015
|
def asubcut(
|
3921
4016
|
self,
|
3922
4017
|
*,
|
3923
|
-
cutoff: Double = Default(20
|
3924
|
-
order: Int = Default(10),
|
3925
|
-
level: Double = Default(1
|
3926
|
-
|
4018
|
+
cutoff: Double = Default("20"),
|
4019
|
+
order: Int = Default("10"),
|
4020
|
+
level: Double = Default("1"),
|
4021
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3927
4022
|
extra_options: dict[str, Any] | None = None,
|
3928
4023
|
) -> AudioStream:
|
3929
4024
|
"""
|
@@ -3934,7 +4029,8 @@ class AudioStream(FilterableStream):
|
|
3934
4029
|
cutoff: set cutoff frequency (from 2 to 200) (default 20)
|
3935
4030
|
order: set filter order (from 3 to 20) (default 10)
|
3936
4031
|
level: set input level (from 0 to 1) (default 1)
|
3937
|
-
|
4032
|
+
timeline_options: Timeline options
|
4033
|
+
extra_options: Extra options for the filter
|
3938
4034
|
|
3939
4035
|
Returns:
|
3940
4036
|
default: the audio stream
|
@@ -3953,9 +4049,9 @@ class AudioStream(FilterableStream):
|
|
3953
4049
|
"cutoff": cutoff,
|
3954
4050
|
"order": order,
|
3955
4051
|
"level": level,
|
3956
|
-
"enable": enable,
|
3957
4052
|
},
|
3958
4053
|
extra_options,
|
4054
|
+
timeline_options,
|
3959
4055
|
),
|
3960
4056
|
)
|
3961
4057
|
return filter_node.audio(0)
|
@@ -3963,10 +4059,10 @@ class AudioStream(FilterableStream):
|
|
3963
4059
|
def asupercut(
|
3964
4060
|
self,
|
3965
4061
|
*,
|
3966
|
-
cutoff: Double = Default(20000
|
3967
|
-
order: Int = Default(10),
|
3968
|
-
level: Double = Default(1
|
3969
|
-
|
4062
|
+
cutoff: Double = Default("20000"),
|
4063
|
+
order: Int = Default("10"),
|
4064
|
+
level: Double = Default("1"),
|
4065
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
3970
4066
|
extra_options: dict[str, Any] | None = None,
|
3971
4067
|
) -> AudioStream:
|
3972
4068
|
"""
|
@@ -3977,7 +4073,8 @@ class AudioStream(FilterableStream):
|
|
3977
4073
|
cutoff: set cutoff frequency (from 20000 to 192000) (default 20000)
|
3978
4074
|
order: set filter order (from 3 to 20) (default 10)
|
3979
4075
|
level: set input level (from 0 to 1) (default 1)
|
3980
|
-
|
4076
|
+
timeline_options: Timeline options
|
4077
|
+
extra_options: Extra options for the filter
|
3981
4078
|
|
3982
4079
|
Returns:
|
3983
4080
|
default: the audio stream
|
@@ -3996,9 +4093,9 @@ class AudioStream(FilterableStream):
|
|
3996
4093
|
"cutoff": cutoff,
|
3997
4094
|
"order": order,
|
3998
4095
|
"level": level,
|
3999
|
-
"enable": enable,
|
4000
4096
|
},
|
4001
4097
|
extra_options,
|
4098
|
+
timeline_options,
|
4002
4099
|
),
|
4003
4100
|
)
|
4004
4101
|
return filter_node.audio(0)
|
@@ -4006,11 +4103,11 @@ class AudioStream(FilterableStream):
|
|
4006
4103
|
def asuperpass(
|
4007
4104
|
self,
|
4008
4105
|
*,
|
4009
|
-
centerf: Double = Default(1000
|
4010
|
-
order: Int = Default(4),
|
4011
|
-
qfactor: Double = Default(1
|
4012
|
-
level: Double = Default(1
|
4013
|
-
|
4106
|
+
centerf: Double = Default("1000"),
|
4107
|
+
order: Int = Default("4"),
|
4108
|
+
qfactor: Double = Default("1"),
|
4109
|
+
level: Double = Default("1"),
|
4110
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4014
4111
|
extra_options: dict[str, Any] | None = None,
|
4015
4112
|
) -> AudioStream:
|
4016
4113
|
"""
|
@@ -4022,7 +4119,8 @@ class AudioStream(FilterableStream):
|
|
4022
4119
|
order: set filter order (from 4 to 20) (default 4)
|
4023
4120
|
qfactor: set Q-factor (from 0.01 to 100) (default 1)
|
4024
4121
|
level: set input level (from 0 to 2) (default 1)
|
4025
|
-
|
4122
|
+
timeline_options: Timeline options
|
4123
|
+
extra_options: Extra options for the filter
|
4026
4124
|
|
4027
4125
|
Returns:
|
4028
4126
|
default: the audio stream
|
@@ -4042,9 +4140,9 @@ class AudioStream(FilterableStream):
|
|
4042
4140
|
"order": order,
|
4043
4141
|
"qfactor": qfactor,
|
4044
4142
|
"level": level,
|
4045
|
-
"enable": enable,
|
4046
4143
|
},
|
4047
4144
|
extra_options,
|
4145
|
+
timeline_options,
|
4048
4146
|
),
|
4049
4147
|
)
|
4050
4148
|
return filter_node.audio(0)
|
@@ -4052,11 +4150,11 @@ class AudioStream(FilterableStream):
|
|
4052
4150
|
def asuperstop(
|
4053
4151
|
self,
|
4054
4152
|
*,
|
4055
|
-
centerf: Double = Default(1000
|
4056
|
-
order: Int = Default(4),
|
4057
|
-
qfactor: Double = Default(1
|
4058
|
-
level: Double = Default(1
|
4059
|
-
|
4153
|
+
centerf: Double = Default("1000"),
|
4154
|
+
order: Int = Default("4"),
|
4155
|
+
qfactor: Double = Default("1"),
|
4156
|
+
level: Double = Default("1"),
|
4157
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4060
4158
|
extra_options: dict[str, Any] | None = None,
|
4061
4159
|
) -> AudioStream:
|
4062
4160
|
"""
|
@@ -4068,7 +4166,8 @@ class AudioStream(FilterableStream):
|
|
4068
4166
|
order: set filter order (from 4 to 20) (default 4)
|
4069
4167
|
qfactor: set Q-factor (from 0.01 to 100) (default 1)
|
4070
4168
|
level: set input level (from 0 to 2) (default 1)
|
4071
|
-
|
4169
|
+
timeline_options: Timeline options
|
4170
|
+
extra_options: Extra options for the filter
|
4072
4171
|
|
4073
4172
|
Returns:
|
4074
4173
|
default: the audio stream
|
@@ -4088,9 +4187,9 @@ class AudioStream(FilterableStream):
|
|
4088
4187
|
"order": order,
|
4089
4188
|
"qfactor": qfactor,
|
4090
4189
|
"level": level,
|
4091
|
-
"enable": enable,
|
4092
4190
|
},
|
4093
4191
|
extra_options,
|
4192
|
+
timeline_options,
|
4094
4193
|
),
|
4095
4194
|
)
|
4096
4195
|
return filter_node.audio(0)
|
@@ -4098,7 +4197,7 @@ class AudioStream(FilterableStream):
|
|
4098
4197
|
def atempo(
|
4099
4198
|
self,
|
4100
4199
|
*,
|
4101
|
-
tempo: Double = Default(1
|
4200
|
+
tempo: Double = Default("1"),
|
4102
4201
|
extra_options: dict[str, Any] | None = None,
|
4103
4202
|
) -> AudioStream:
|
4104
4203
|
"""
|
@@ -4107,6 +4206,7 @@ class AudioStream(FilterableStream):
|
|
4107
4206
|
|
4108
4207
|
Args:
|
4109
4208
|
tempo: set tempo scale factor (from 0.5 to 100) (default 1)
|
4209
|
+
extra_options: Extra options for the filter
|
4110
4210
|
|
4111
4211
|
Returns:
|
4112
4212
|
default: the audio stream
|
@@ -4132,12 +4232,12 @@ class AudioStream(FilterableStream):
|
|
4132
4232
|
def atilt(
|
4133
4233
|
self,
|
4134
4234
|
*,
|
4135
|
-
freq: Double = Default(10000
|
4136
|
-
slope: Double = Default(0
|
4137
|
-
width: Double = Default(1000
|
4138
|
-
order: Int = Default(5),
|
4139
|
-
level: Double = Default(1
|
4140
|
-
|
4235
|
+
freq: Double = Default("10000"),
|
4236
|
+
slope: Double = Default("0"),
|
4237
|
+
width: Double = Default("1000"),
|
4238
|
+
order: Int = Default("5"),
|
4239
|
+
level: Double = Default("1"),
|
4240
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4141
4241
|
extra_options: dict[str, Any] | None = None,
|
4142
4242
|
) -> AudioStream:
|
4143
4243
|
"""
|
@@ -4150,7 +4250,8 @@ class AudioStream(FilterableStream):
|
|
4150
4250
|
width: set filter width (from 100 to 10000) (default 1000)
|
4151
4251
|
order: set filter order (from 2 to 30) (default 5)
|
4152
4252
|
level: set input level (from 0 to 4) (default 1)
|
4153
|
-
|
4253
|
+
timeline_options: Timeline options
|
4254
|
+
extra_options: Extra options for the filter
|
4154
4255
|
|
4155
4256
|
Returns:
|
4156
4257
|
default: the audio stream
|
@@ -4171,9 +4272,9 @@ class AudioStream(FilterableStream):
|
|
4171
4272
|
"width": width,
|
4172
4273
|
"order": order,
|
4173
4274
|
"level": level,
|
4174
|
-
"enable": enable,
|
4175
4275
|
},
|
4176
4276
|
extra_options,
|
4277
|
+
timeline_options,
|
4177
4278
|
),
|
4178
4279
|
)
|
4179
4280
|
return filter_node.audio(0)
|
@@ -4185,8 +4286,8 @@ class AudioStream(FilterableStream):
|
|
4185
4286
|
end: Duration = Default("INT64_MAX"),
|
4186
4287
|
start_pts: Int64 = Default("I64_MIN"),
|
4187
4288
|
end_pts: Int64 = Default("I64_MIN"),
|
4188
|
-
duration: Duration = Default(0
|
4189
|
-
start_sample: Int64 = Default(-1),
|
4289
|
+
duration: Duration = Default("0"),
|
4290
|
+
start_sample: Int64 = Default("-1"),
|
4190
4291
|
end_sample: Int64 = Default("I64_MAX"),
|
4191
4292
|
extra_options: dict[str, Any] | None = None,
|
4192
4293
|
) -> AudioStream:
|
@@ -4202,6 +4303,7 @@ class AudioStream(FilterableStream):
|
|
4202
4303
|
duration: Maximum duration of the output (default 0)
|
4203
4304
|
start_sample: Number of the first audio sample that should be passed to the output (from -1 to I64_MAX) (default -1)
|
4204
4305
|
end_sample: Number of the first audio sample that should be dropped again (from 0 to I64_MAX) (default I64_MAX)
|
4306
|
+
extra_options: Extra options for the filter
|
4205
4307
|
|
4206
4308
|
Returns:
|
4207
4309
|
default: the audio stream
|
@@ -4238,18 +4340,18 @@ class AudioStream(FilterableStream):
|
|
4238
4340
|
),
|
4239
4341
|
rate: Video_rate = Default("25"),
|
4240
4342
|
size: Image_size = Default("400x400"),
|
4241
|
-
rc: Int = Default(40),
|
4242
|
-
gc: Int = Default(160),
|
4243
|
-
bc: Int = Default(80),
|
4244
|
-
ac: Int = Default(255),
|
4245
|
-
rf: Int = Default(15),
|
4246
|
-
gf: Int = Default(10),
|
4247
|
-
bf: Int = Default(5),
|
4248
|
-
af: Int = Default(5),
|
4249
|
-
zoom: Double = Default(1
|
4343
|
+
rc: Int = Default("40"),
|
4344
|
+
gc: Int = Default("160"),
|
4345
|
+
bc: Int = Default("80"),
|
4346
|
+
ac: Int = Default("255"),
|
4347
|
+
rf: Int = Default("15"),
|
4348
|
+
gf: Int = Default("10"),
|
4349
|
+
bf: Int = Default("5"),
|
4350
|
+
af: Int = Default("5"),
|
4351
|
+
zoom: Double = Default("1"),
|
4250
4352
|
draw: Int | Literal["dot", "line", "aaline"] | Default = Default("dot"),
|
4251
4353
|
scale: Int | Literal["lin", "sqrt", "cbrt", "log"] | Default = Default("lin"),
|
4252
|
-
swap: Boolean = Default(
|
4354
|
+
swap: Boolean = Default("true"),
|
4253
4355
|
mirror: Int | Literal["none", "x", "y", "xy"] | Default = Default("none"),
|
4254
4356
|
extra_options: dict[str, Any] | None = None,
|
4255
4357
|
) -> VideoStream:
|
@@ -4274,6 +4376,7 @@ class AudioStream(FilterableStream):
|
|
4274
4376
|
scale: set amplitude scale mode (from 0 to 3) (default lin)
|
4275
4377
|
swap: swap x axis with y axis (default true)
|
4276
4378
|
mirror: mirror axis (from 0 to 3) (default none)
|
4379
|
+
extra_options: Extra options for the filter
|
4277
4380
|
|
4278
4381
|
Returns:
|
4279
4382
|
default: the video stream
|
@@ -4315,7 +4418,7 @@ class AudioStream(FilterableStream):
|
|
4315
4418
|
self,
|
4316
4419
|
_axcorrelate1: AudioStream,
|
4317
4420
|
*,
|
4318
|
-
size: Int = Default(256),
|
4421
|
+
size: Int = Default("256"),
|
4319
4422
|
algo: Int | Literal["slow", "fast", "best"] | Default = Default("best"),
|
4320
4423
|
extra_options: dict[str, Any] | None = None,
|
4321
4424
|
) -> AudioStream:
|
@@ -4326,6 +4429,7 @@ class AudioStream(FilterableStream):
|
|
4326
4429
|
Args:
|
4327
4430
|
size: set the segment size (from 2 to 131072) (default 256)
|
4328
4431
|
algo: set the algorithm (from 0 to 2) (default best)
|
4432
|
+
extra_options: Extra options for the filter
|
4329
4433
|
|
4330
4434
|
Returns:
|
4331
4435
|
default: the audio stream
|
@@ -4364,6 +4468,7 @@ class AudioStream(FilterableStream):
|
|
4364
4468
|
|
4365
4469
|
Args:
|
4366
4470
|
bind_address: set bind address (default "tcp://*:5555")
|
4471
|
+
extra_options: Extra options for the filter
|
4367
4472
|
|
4368
4473
|
Returns:
|
4369
4474
|
default: the audio stream
|
@@ -4389,21 +4494,21 @@ class AudioStream(FilterableStream):
|
|
4389
4494
|
def bandpass(
|
4390
4495
|
self,
|
4391
4496
|
*,
|
4392
|
-
frequency: Double = Default(3000
|
4497
|
+
frequency: Double = Default("3000"),
|
4393
4498
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
4394
|
-
width: Double = Default(0.5),
|
4395
|
-
csg: Boolean = Default(
|
4396
|
-
mix: Double = Default(1
|
4499
|
+
width: Double = Default("0.5"),
|
4500
|
+
csg: Boolean = Default("false"),
|
4501
|
+
mix: Double = Default("1"),
|
4397
4502
|
channels: String = Default("all"),
|
4398
|
-
normalize: Boolean = Default(
|
4503
|
+
normalize: Boolean = Default("false"),
|
4399
4504
|
transform: Int
|
4400
4505
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
4401
4506
|
| Default = Default("di"),
|
4402
4507
|
precision: Int
|
4403
4508
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
4404
4509
|
| Default = Default("auto"),
|
4405
|
-
blocksize: Int = Default(0),
|
4406
|
-
|
4510
|
+
blocksize: Int = Default("0"),
|
4511
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4407
4512
|
extra_options: dict[str, Any] | None = None,
|
4408
4513
|
) -> AudioStream:
|
4409
4514
|
"""
|
@@ -4421,7 +4526,8 @@ class AudioStream(FilterableStream):
|
|
4421
4526
|
transform: set transform type (from 0 to 6) (default di)
|
4422
4527
|
precision: set filtering precision (from -1 to 3) (default auto)
|
4423
4528
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
4424
|
-
|
4529
|
+
timeline_options: Timeline options
|
4530
|
+
extra_options: Extra options for the filter
|
4425
4531
|
|
4426
4532
|
Returns:
|
4427
4533
|
default: the audio stream
|
@@ -4447,9 +4553,9 @@ class AudioStream(FilterableStream):
|
|
4447
4553
|
"transform": transform,
|
4448
4554
|
"precision": precision,
|
4449
4555
|
"blocksize": blocksize,
|
4450
|
-
"enable": enable,
|
4451
4556
|
},
|
4452
4557
|
extra_options,
|
4558
|
+
timeline_options,
|
4453
4559
|
),
|
4454
4560
|
)
|
4455
4561
|
return filter_node.audio(0)
|
@@ -4457,20 +4563,20 @@ class AudioStream(FilterableStream):
|
|
4457
4563
|
def bandreject(
|
4458
4564
|
self,
|
4459
4565
|
*,
|
4460
|
-
frequency: Double = Default(3000
|
4566
|
+
frequency: Double = Default("3000"),
|
4461
4567
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
4462
|
-
width: Double = Default(0.5),
|
4463
|
-
mix: Double = Default(1
|
4568
|
+
width: Double = Default("0.5"),
|
4569
|
+
mix: Double = Default("1"),
|
4464
4570
|
channels: String = Default("all"),
|
4465
|
-
normalize: Boolean = Default(
|
4571
|
+
normalize: Boolean = Default("false"),
|
4466
4572
|
transform: Int
|
4467
4573
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
4468
4574
|
| Default = Default("di"),
|
4469
4575
|
precision: Int
|
4470
4576
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
4471
4577
|
| Default = Default("auto"),
|
4472
|
-
blocksize: Int = Default(0),
|
4473
|
-
|
4578
|
+
blocksize: Int = Default("0"),
|
4579
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4474
4580
|
extra_options: dict[str, Any] | None = None,
|
4475
4581
|
) -> AudioStream:
|
4476
4582
|
"""
|
@@ -4487,7 +4593,8 @@ class AudioStream(FilterableStream):
|
|
4487
4593
|
transform: set transform type (from 0 to 6) (default di)
|
4488
4594
|
precision: set filtering precision (from -1 to 3) (default auto)
|
4489
4595
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
4490
|
-
|
4596
|
+
timeline_options: Timeline options
|
4597
|
+
extra_options: Extra options for the filter
|
4491
4598
|
|
4492
4599
|
Returns:
|
4493
4600
|
default: the audio stream
|
@@ -4512,9 +4619,9 @@ class AudioStream(FilterableStream):
|
|
4512
4619
|
"transform": transform,
|
4513
4620
|
"precision": precision,
|
4514
4621
|
"blocksize": blocksize,
|
4515
|
-
"enable": enable,
|
4516
4622
|
},
|
4517
4623
|
extra_options,
|
4624
|
+
timeline_options,
|
4518
4625
|
),
|
4519
4626
|
)
|
4520
4627
|
return filter_node.audio(0)
|
@@ -4522,22 +4629,22 @@ class AudioStream(FilterableStream):
|
|
4522
4629
|
def bass(
|
4523
4630
|
self,
|
4524
4631
|
*,
|
4525
|
-
frequency: Double = Default(100
|
4632
|
+
frequency: Double = Default("100"),
|
4526
4633
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
4527
|
-
width: Double = Default(0.5),
|
4528
|
-
gain: Double = Default(0
|
4529
|
-
poles: Int = Default(2),
|
4530
|
-
mix: Double = Default(1
|
4634
|
+
width: Double = Default("0.5"),
|
4635
|
+
gain: Double = Default("0"),
|
4636
|
+
poles: Int = Default("2"),
|
4637
|
+
mix: Double = Default("1"),
|
4531
4638
|
channels: String = Default("all"),
|
4532
|
-
normalize: Boolean = Default(
|
4639
|
+
normalize: Boolean = Default("false"),
|
4533
4640
|
transform: Int
|
4534
4641
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
4535
4642
|
| Default = Default("di"),
|
4536
4643
|
precision: Int
|
4537
4644
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
4538
4645
|
| Default = Default("auto"),
|
4539
|
-
blocksize: Int = Default(0),
|
4540
|
-
|
4646
|
+
blocksize: Int = Default("0"),
|
4647
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4541
4648
|
extra_options: dict[str, Any] | None = None,
|
4542
4649
|
) -> AudioStream:
|
4543
4650
|
"""
|
@@ -4556,7 +4663,8 @@ class AudioStream(FilterableStream):
|
|
4556
4663
|
transform: set transform type (from 0 to 6) (default di)
|
4557
4664
|
precision: set filtering precision (from -1 to 3) (default auto)
|
4558
4665
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
4559
|
-
|
4666
|
+
timeline_options: Timeline options
|
4667
|
+
extra_options: Extra options for the filter
|
4560
4668
|
|
4561
4669
|
Returns:
|
4562
4670
|
default: the audio stream
|
@@ -4583,9 +4691,9 @@ class AudioStream(FilterableStream):
|
|
4583
4691
|
"transform": transform,
|
4584
4692
|
"precision": precision,
|
4585
4693
|
"blocksize": blocksize,
|
4586
|
-
"enable": enable,
|
4587
4694
|
},
|
4588
4695
|
extra_options,
|
4696
|
+
timeline_options,
|
4589
4697
|
),
|
4590
4698
|
)
|
4591
4699
|
return filter_node.audio(0)
|
@@ -4593,19 +4701,19 @@ class AudioStream(FilterableStream):
|
|
4593
4701
|
def biquad(
|
4594
4702
|
self,
|
4595
4703
|
*,
|
4596
|
-
a0: Double = Default(1
|
4597
|
-
a1: Double = Default(0
|
4598
|
-
mix: Double = Default(1
|
4704
|
+
a0: Double = Default("1"),
|
4705
|
+
a1: Double = Default("0"),
|
4706
|
+
mix: Double = Default("1"),
|
4599
4707
|
channels: String = Default("all"),
|
4600
|
-
normalize: Boolean = Default(
|
4708
|
+
normalize: Boolean = Default("false"),
|
4601
4709
|
transform: Int
|
4602
4710
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
4603
4711
|
| Default = Default("di"),
|
4604
4712
|
precision: Int
|
4605
4713
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
4606
4714
|
| Default = Default("auto"),
|
4607
|
-
blocksize: Int = Default(0),
|
4608
|
-
|
4715
|
+
blocksize: Int = Default("0"),
|
4716
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4609
4717
|
extra_options: dict[str, Any] | None = None,
|
4610
4718
|
) -> AudioStream:
|
4611
4719
|
"""
|
@@ -4621,7 +4729,8 @@ class AudioStream(FilterableStream):
|
|
4621
4729
|
transform: set transform type (from 0 to 6) (default di)
|
4622
4730
|
precision: set filtering precision (from -1 to 3) (default auto)
|
4623
4731
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
4624
|
-
|
4732
|
+
timeline_options: Timeline options
|
4733
|
+
extra_options: Extra options for the filter
|
4625
4734
|
|
4626
4735
|
Returns:
|
4627
4736
|
default: the audio stream
|
@@ -4645,9 +4754,9 @@ class AudioStream(FilterableStream):
|
|
4645
4754
|
"transform": transform,
|
4646
4755
|
"precision": precision,
|
4647
4756
|
"blocksize": blocksize,
|
4648
|
-
"enable": enable,
|
4649
4757
|
},
|
4650
4758
|
extra_options,
|
4759
|
+
timeline_options,
|
4651
4760
|
),
|
4652
4761
|
)
|
4653
4762
|
return filter_node.audio(0)
|
@@ -4658,8 +4767,8 @@ class AudioStream(FilterableStream):
|
|
4658
4767
|
profile: Int | Literal["default", "cmoy", "jmeier"] | Default = Default(
|
4659
4768
|
"default"
|
4660
4769
|
),
|
4661
|
-
fcut: Int = Default(0),
|
4662
|
-
feed: Int = Default(0),
|
4770
|
+
fcut: Int = Default("0"),
|
4771
|
+
feed: Int = Default("0"),
|
4663
4772
|
extra_options: dict[str, Any] | None = None,
|
4664
4773
|
) -> AudioStream:
|
4665
4774
|
"""
|
@@ -4670,6 +4779,7 @@ class AudioStream(FilterableStream):
|
|
4670
4779
|
profile: Apply a pre-defined crossfeed level (from 0 to INT_MAX) (default default)
|
4671
4780
|
fcut: Set cut frequency (in Hz) (from 0 to 2000) (default 0)
|
4672
4781
|
feed: Set feed level (in Hz) (from 0 to 150) (default 0)
|
4782
|
+
extra_options: Extra options for the filter
|
4673
4783
|
|
4674
4784
|
Returns:
|
4675
4785
|
default: the audio stream
|
@@ -4708,6 +4818,7 @@ class AudioStream(FilterableStream):
|
|
4708
4818
|
Args:
|
4709
4819
|
map: A comma-separated list of input channel numbers in output order.
|
4710
4820
|
channel_layout: Output channel layout.
|
4821
|
+
extra_options: Extra options for the filter
|
4711
4822
|
|
4712
4823
|
Returns:
|
4713
4824
|
default: the audio stream
|
@@ -4745,6 +4856,7 @@ class AudioStream(FilterableStream):
|
|
4745
4856
|
Args:
|
4746
4857
|
channel_layout: Input channel layout. (default "stereo")
|
4747
4858
|
channels: Channels to extract. (default "all")
|
4859
|
+
extra_options: Extra options for the filter
|
4748
4860
|
|
4749
4861
|
Returns:
|
4750
4862
|
filter_node: the filter node
|
@@ -4775,8 +4887,8 @@ class AudioStream(FilterableStream):
|
|
4775
4887
|
def chorus(
|
4776
4888
|
self,
|
4777
4889
|
*,
|
4778
|
-
in_gain: Float = Default(0.4),
|
4779
|
-
out_gain: Float = Default(0.4),
|
4890
|
+
in_gain: Float = Default("0.4"),
|
4891
|
+
out_gain: Float = Default("0.4"),
|
4780
4892
|
delays: String = Default(None),
|
4781
4893
|
decays: String = Default(None),
|
4782
4894
|
speeds: String = Default(None),
|
@@ -4794,6 +4906,7 @@ class AudioStream(FilterableStream):
|
|
4794
4906
|
decays: set decays
|
4795
4907
|
speeds: set speeds
|
4796
4908
|
depths: set depths
|
4909
|
+
extra_options: Extra options for the filter
|
4797
4910
|
|
4798
4911
|
Returns:
|
4799
4912
|
default: the audio stream
|
@@ -4827,10 +4940,10 @@ class AudioStream(FilterableStream):
|
|
4827
4940
|
attacks: String = Default("0"),
|
4828
4941
|
decays: String = Default("0.8"),
|
4829
4942
|
points: String = Default("-70/-70|-60/-20|1/0"),
|
4830
|
-
soft_knee: Double = Default(0.01),
|
4831
|
-
gain: Double = Default(0
|
4832
|
-
volume: Double = Default(0
|
4833
|
-
delay: Double = Default(0
|
4943
|
+
soft_knee: Double = Default("0.01"),
|
4944
|
+
gain: Double = Default("0"),
|
4945
|
+
volume: Double = Default("0"),
|
4946
|
+
delay: Double = Default("0"),
|
4834
4947
|
extra_options: dict[str, Any] | None = None,
|
4835
4948
|
) -> AudioStream:
|
4836
4949
|
"""
|
@@ -4845,6 +4958,7 @@ class AudioStream(FilterableStream):
|
|
4845
4958
|
gain: set output gain (from -900 to 900) (default 0)
|
4846
4959
|
volume: set initial volume (from -900 to 0) (default 0)
|
4847
4960
|
delay: set delay for samples before sending them to volume adjuster (from 0 to 20) (default 0)
|
4961
|
+
extra_options: Extra options for the filter
|
4848
4962
|
|
4849
4963
|
Returns:
|
4850
4964
|
default: the audio stream
|
@@ -4876,13 +4990,13 @@ class AudioStream(FilterableStream):
|
|
4876
4990
|
def compensationdelay(
|
4877
4991
|
self,
|
4878
4992
|
*,
|
4879
|
-
mm: Int = Default(0),
|
4880
|
-
cm: Int = Default(0),
|
4881
|
-
m: Int = Default(0),
|
4882
|
-
dry: Double = Default(0
|
4883
|
-
wet: Double = Default(1
|
4884
|
-
temp: Int = Default(20),
|
4885
|
-
|
4993
|
+
mm: Int = Default("0"),
|
4994
|
+
cm: Int = Default("0"),
|
4995
|
+
m: Int = Default("0"),
|
4996
|
+
dry: Double = Default("0"),
|
4997
|
+
wet: Double = Default("1"),
|
4998
|
+
temp: Int = Default("20"),
|
4999
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4886
5000
|
extra_options: dict[str, Any] | None = None,
|
4887
5001
|
) -> AudioStream:
|
4888
5002
|
"""
|
@@ -4896,7 +5010,8 @@ class AudioStream(FilterableStream):
|
|
4896
5010
|
dry: set dry amount (from 0 to 1) (default 0)
|
4897
5011
|
wet: set wet amount (from 0 to 1) (default 1)
|
4898
5012
|
temp: set temperature °C (from -50 to 50) (default 20)
|
4899
|
-
|
5013
|
+
timeline_options: Timeline options
|
5014
|
+
extra_options: Extra options for the filter
|
4900
5015
|
|
4901
5016
|
Returns:
|
4902
5017
|
default: the audio stream
|
@@ -4920,9 +5035,9 @@ class AudioStream(FilterableStream):
|
|
4920
5035
|
"dry": dry,
|
4921
5036
|
"wet": wet,
|
4922
5037
|
"temp": temp,
|
4923
|
-
"enable": enable,
|
4924
5038
|
},
|
4925
5039
|
extra_options,
|
5040
|
+
timeline_options,
|
4926
5041
|
),
|
4927
5042
|
)
|
4928
5043
|
return filter_node.audio(0)
|
@@ -4930,13 +5045,13 @@ class AudioStream(FilterableStream):
|
|
4930
5045
|
def crossfeed(
|
4931
5046
|
self,
|
4932
5047
|
*,
|
4933
|
-
strength: Double = Default(0.2),
|
4934
|
-
range: Double = Default(0.5),
|
4935
|
-
slope: Double = Default(0.5),
|
4936
|
-
level_in: Double = Default(0.9),
|
4937
|
-
level_out: Double = Default(1
|
4938
|
-
block_size: Int = Default(0),
|
4939
|
-
|
5048
|
+
strength: Double = Default("0.2"),
|
5049
|
+
range: Double = Default("0.5"),
|
5050
|
+
slope: Double = Default("0.5"),
|
5051
|
+
level_in: Double = Default("0.9"),
|
5052
|
+
level_out: Double = Default("1"),
|
5053
|
+
block_size: Int = Default("0"),
|
5054
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4940
5055
|
extra_options: dict[str, Any] | None = None,
|
4941
5056
|
) -> AudioStream:
|
4942
5057
|
"""
|
@@ -4950,7 +5065,8 @@ class AudioStream(FilterableStream):
|
|
4950
5065
|
level_in: set level in (from 0 to 1) (default 0.9)
|
4951
5066
|
level_out: set level out (from 0 to 1) (default 1)
|
4952
5067
|
block_size: set the block size (from 0 to 32768) (default 0)
|
4953
|
-
|
5068
|
+
timeline_options: Timeline options
|
5069
|
+
extra_options: Extra options for the filter
|
4954
5070
|
|
4955
5071
|
Returns:
|
4956
5072
|
default: the audio stream
|
@@ -4972,9 +5088,9 @@ class AudioStream(FilterableStream):
|
|
4972
5088
|
"level_in": level_in,
|
4973
5089
|
"level_out": level_out,
|
4974
5090
|
"block_size": block_size,
|
4975
|
-
"enable": enable,
|
4976
5091
|
},
|
4977
5092
|
extra_options,
|
5093
|
+
timeline_options,
|
4978
5094
|
),
|
4979
5095
|
)
|
4980
5096
|
return filter_node.audio(0)
|
@@ -4982,9 +5098,9 @@ class AudioStream(FilterableStream):
|
|
4982
5098
|
def crystalizer(
|
4983
5099
|
self,
|
4984
5100
|
*,
|
4985
|
-
i: Float = Default(2
|
4986
|
-
c: Boolean = Default(
|
4987
|
-
|
5101
|
+
i: Float = Default("2"),
|
5102
|
+
c: Boolean = Default("true"),
|
5103
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
4988
5104
|
extra_options: dict[str, Any] | None = None,
|
4989
5105
|
) -> AudioStream:
|
4990
5106
|
"""
|
@@ -4994,7 +5110,8 @@ class AudioStream(FilterableStream):
|
|
4994
5110
|
Args:
|
4995
5111
|
i: set intensity (from -10 to 10) (default 2)
|
4996
5112
|
c: enable clipping (default true)
|
4997
|
-
|
5113
|
+
timeline_options: Timeline options
|
5114
|
+
extra_options: Extra options for the filter
|
4998
5115
|
|
4999
5116
|
Returns:
|
5000
5117
|
default: the audio stream
|
@@ -5012,9 +5129,9 @@ class AudioStream(FilterableStream):
|
|
5012
5129
|
{
|
5013
5130
|
"i": i,
|
5014
5131
|
"c": c,
|
5015
|
-
"enable": enable,
|
5016
5132
|
},
|
5017
5133
|
extra_options,
|
5134
|
+
timeline_options,
|
5018
5135
|
),
|
5019
5136
|
)
|
5020
5137
|
return filter_node.audio(0)
|
@@ -5022,9 +5139,9 @@ class AudioStream(FilterableStream):
|
|
5022
5139
|
def dcshift(
|
5023
5140
|
self,
|
5024
5141
|
*,
|
5025
|
-
shift: Double = Default(0
|
5026
|
-
limitergain: Double = Default(0
|
5027
|
-
|
5142
|
+
shift: Double = Default("0"),
|
5143
|
+
limitergain: Double = Default("0"),
|
5144
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5028
5145
|
extra_options: dict[str, Any] | None = None,
|
5029
5146
|
) -> AudioStream:
|
5030
5147
|
"""
|
@@ -5034,7 +5151,8 @@ class AudioStream(FilterableStream):
|
|
5034
5151
|
Args:
|
5035
5152
|
shift: set DC shift (from -1 to 1) (default 0)
|
5036
5153
|
limitergain: set limiter gain (from 0 to 1) (default 0)
|
5037
|
-
|
5154
|
+
timeline_options: Timeline options
|
5155
|
+
extra_options: Extra options for the filter
|
5038
5156
|
|
5039
5157
|
Returns:
|
5040
5158
|
default: the audio stream
|
@@ -5052,9 +5170,9 @@ class AudioStream(FilterableStream):
|
|
5052
5170
|
{
|
5053
5171
|
"shift": shift,
|
5054
5172
|
"limitergain": limitergain,
|
5055
|
-
"enable": enable,
|
5056
5173
|
},
|
5057
5174
|
extra_options,
|
5175
|
+
timeline_options,
|
5058
5176
|
),
|
5059
5177
|
)
|
5060
5178
|
return filter_node.audio(0)
|
@@ -5062,11 +5180,11 @@ class AudioStream(FilterableStream):
|
|
5062
5180
|
def deesser(
|
5063
5181
|
self,
|
5064
5182
|
*,
|
5065
|
-
i: Double = Default(0
|
5066
|
-
m: Double = Default(0.5),
|
5067
|
-
f: Double = Default(0.5),
|
5183
|
+
i: Double = Default("0"),
|
5184
|
+
m: Double = Default("0.5"),
|
5185
|
+
f: Double = Default("0.5"),
|
5068
5186
|
s: Int | Literal["i", "o", "e"] | Default = Default("o"),
|
5069
|
-
|
5187
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5070
5188
|
extra_options: dict[str, Any] | None = None,
|
5071
5189
|
) -> AudioStream:
|
5072
5190
|
"""
|
@@ -5078,7 +5196,8 @@ class AudioStream(FilterableStream):
|
|
5078
5196
|
m: set max deessing (from 0 to 1) (default 0.5)
|
5079
5197
|
f: set frequency (from 0 to 1) (default 0.5)
|
5080
5198
|
s: set output mode (from 0 to 2) (default o)
|
5081
|
-
|
5199
|
+
timeline_options: Timeline options
|
5200
|
+
extra_options: Extra options for the filter
|
5082
5201
|
|
5083
5202
|
Returns:
|
5084
5203
|
default: the audio stream
|
@@ -5098,9 +5217,9 @@ class AudioStream(FilterableStream):
|
|
5098
5217
|
"m": m,
|
5099
5218
|
"f": f,
|
5100
5219
|
"s": s,
|
5101
|
-
"enable": enable,
|
5102
5220
|
},
|
5103
5221
|
extra_options,
|
5222
|
+
timeline_options,
|
5104
5223
|
),
|
5105
5224
|
)
|
5106
5225
|
return filter_node.audio(0)
|
@@ -5108,10 +5227,10 @@ class AudioStream(FilterableStream):
|
|
5108
5227
|
def dialoguenhance(
|
5109
5228
|
self,
|
5110
5229
|
*,
|
5111
|
-
original: Double = Default(1
|
5112
|
-
enhance: Double = Default(1
|
5113
|
-
voice: Double = Default(2
|
5114
|
-
|
5230
|
+
original: Double = Default("1"),
|
5231
|
+
enhance: Double = Default("1"),
|
5232
|
+
voice: Double = Default("2"),
|
5233
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5115
5234
|
extra_options: dict[str, Any] | None = None,
|
5116
5235
|
) -> AudioStream:
|
5117
5236
|
"""
|
@@ -5122,7 +5241,8 @@ class AudioStream(FilterableStream):
|
|
5122
5241
|
original: set original center factor (from 0 to 1) (default 1)
|
5123
5242
|
enhance: set dialogue enhance factor (from 0 to 3) (default 1)
|
5124
5243
|
voice: set voice detection factor (from 2 to 32) (default 2)
|
5125
|
-
|
5244
|
+
timeline_options: Timeline options
|
5245
|
+
extra_options: Extra options for the filter
|
5126
5246
|
|
5127
5247
|
Returns:
|
5128
5248
|
default: the audio stream
|
@@ -5143,9 +5263,9 @@ class AudioStream(FilterableStream):
|
|
5143
5263
|
"original": original,
|
5144
5264
|
"enhance": enhance,
|
5145
5265
|
"voice": voice,
|
5146
|
-
"enable": enable,
|
5147
5266
|
},
|
5148
5267
|
extra_options,
|
5268
|
+
timeline_options,
|
5149
5269
|
),
|
5150
5270
|
)
|
5151
5271
|
return filter_node.audio(0)
|
@@ -5153,7 +5273,7 @@ class AudioStream(FilterableStream):
|
|
5153
5273
|
def drmeter(
|
5154
5274
|
self,
|
5155
5275
|
*,
|
5156
|
-
length: Double = Default(3
|
5276
|
+
length: Double = Default("3"),
|
5157
5277
|
extra_options: dict[str, Any] | None = None,
|
5158
5278
|
) -> AudioStream:
|
5159
5279
|
"""
|
@@ -5162,6 +5282,7 @@ class AudioStream(FilterableStream):
|
|
5162
5282
|
|
5163
5283
|
Args:
|
5164
5284
|
length: set the window length (from 0.01 to 10) (default 3)
|
5285
|
+
extra_options: Extra options for the filter
|
5165
5286
|
|
5166
5287
|
Returns:
|
5167
5288
|
default: the audio stream
|
@@ -5187,20 +5308,20 @@ class AudioStream(FilterableStream):
|
|
5187
5308
|
def dynaudnorm(
|
5188
5309
|
self,
|
5189
5310
|
*,
|
5190
|
-
framelen: Int = Default(500),
|
5191
|
-
gausssize: Int = Default(31),
|
5192
|
-
peak: Double = Default(0.95),
|
5193
|
-
maxgain: Double = Default(10
|
5194
|
-
targetrms: Double = Default(0
|
5195
|
-
coupling: Boolean = Default(
|
5196
|
-
correctdc: Boolean = Default(
|
5197
|
-
altboundary: Boolean = Default(
|
5198
|
-
compress: Double = Default(0
|
5199
|
-
threshold: Double = Default(0
|
5311
|
+
framelen: Int = Default("500"),
|
5312
|
+
gausssize: Int = Default("31"),
|
5313
|
+
peak: Double = Default("0.95"),
|
5314
|
+
maxgain: Double = Default("10"),
|
5315
|
+
targetrms: Double = Default("0"),
|
5316
|
+
coupling: Boolean = Default("true"),
|
5317
|
+
correctdc: Boolean = Default("false"),
|
5318
|
+
altboundary: Boolean = Default("false"),
|
5319
|
+
compress: Double = Default("0"),
|
5320
|
+
threshold: Double = Default("0"),
|
5200
5321
|
channels: String = Default("all"),
|
5201
|
-
overlap: Double = Default(0
|
5322
|
+
overlap: Double = Default("0"),
|
5202
5323
|
curve: String = Default(None),
|
5203
|
-
|
5324
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5204
5325
|
extra_options: dict[str, Any] | None = None,
|
5205
5326
|
) -> AudioStream:
|
5206
5327
|
"""
|
@@ -5221,7 +5342,8 @@ class AudioStream(FilterableStream):
|
|
5221
5342
|
channels: set channels to filter (default "all")
|
5222
5343
|
overlap: set the frame overlap (from 0 to 1) (default 0)
|
5223
5344
|
curve: set the custom peak mapping curve
|
5224
|
-
|
5345
|
+
timeline_options: Timeline options
|
5346
|
+
extra_options: Extra options for the filter
|
5225
5347
|
|
5226
5348
|
Returns:
|
5227
5349
|
default: the audio stream
|
@@ -5250,9 +5372,9 @@ class AudioStream(FilterableStream):
|
|
5250
5372
|
"channels": channels,
|
5251
5373
|
"overlap": overlap,
|
5252
5374
|
"curve": curve,
|
5253
|
-
"enable": enable,
|
5254
5375
|
},
|
5255
5376
|
extra_options,
|
5377
|
+
timeline_options,
|
5256
5378
|
),
|
5257
5379
|
)
|
5258
5380
|
return filter_node.audio(0)
|
@@ -5265,6 +5387,9 @@ class AudioStream(FilterableStream):
|
|
5265
5387
|
|
5266
5388
|
Widen the stereo image.
|
5267
5389
|
|
5390
|
+
Args:
|
5391
|
+
extra_options: Extra options for the filter
|
5392
|
+
|
5268
5393
|
Returns:
|
5269
5394
|
default: the audio stream
|
5270
5395
|
|
@@ -5277,34 +5402,37 @@ class AudioStream(FilterableStream):
|
|
5277
5402
|
name="earwax", typings_input=("audio",), typings_output=("audio",)
|
5278
5403
|
),
|
5279
5404
|
self,
|
5280
|
-
**merge(
|
5405
|
+
**merge(
|
5406
|
+
{},
|
5407
|
+
extra_options,
|
5408
|
+
),
|
5281
5409
|
)
|
5282
5410
|
return filter_node.audio(0)
|
5283
5411
|
|
5284
5412
|
def ebur128(
|
5285
5413
|
self,
|
5286
5414
|
*,
|
5287
|
-
video: Boolean = Default(
|
5415
|
+
video: Boolean = Default("false"),
|
5288
5416
|
size: Image_size = Default("640x480"),
|
5289
|
-
meter: Int = Default(9),
|
5290
|
-
framelog: Int | Literal["quiet", "info", "verbose"] | Default = Default(-1),
|
5291
|
-
metadata: Boolean = Default(
|
5417
|
+
meter: Int = Default("9"),
|
5418
|
+
framelog: Int | Literal["quiet", "info", "verbose"] | Default = Default("-1"),
|
5419
|
+
metadata: Boolean = Default("false"),
|
5292
5420
|
peak: Flags | Literal["none", "sample", "true"] | Default = Default("0"),
|
5293
|
-
dualmono: Boolean = Default(
|
5294
|
-
panlaw: Double = Default(-3.0103),
|
5295
|
-
target: Int = Default(-23),
|
5421
|
+
dualmono: Boolean = Default("false"),
|
5422
|
+
panlaw: Double = Default("-3.0103"),
|
5423
|
+
target: Int = Default("-23"),
|
5296
5424
|
gauge: Int | Literal["momentary", "m", "shortterm", "s"] | Default = Default(
|
5297
5425
|
"momentary"
|
5298
5426
|
),
|
5299
5427
|
scale: Int | Literal["absolute", "LUFS", "relative", "LU"] | Default = Default(
|
5300
5428
|
"absolute"
|
5301
5429
|
),
|
5302
|
-
integrated: Double = Default(0
|
5303
|
-
range: Double = Default(0
|
5304
|
-
lra_low: Double = Default(0
|
5305
|
-
lra_high: Double = Default(0
|
5306
|
-
sample_peak: Double = Default(0
|
5307
|
-
true_peak: Double = Default(0
|
5430
|
+
integrated: Double = Default("0"),
|
5431
|
+
range: Double = Default("0"),
|
5432
|
+
lra_low: Double = Default("0"),
|
5433
|
+
lra_high: Double = Default("0"),
|
5434
|
+
sample_peak: Double = Default("0"),
|
5435
|
+
true_peak: Double = Default("0"),
|
5308
5436
|
extra_options: dict[str, Any] | None = None,
|
5309
5437
|
) -> FilterNode:
|
5310
5438
|
"""
|
@@ -5329,6 +5457,7 @@ class AudioStream(FilterableStream):
|
|
5329
5457
|
lra_high: LRA high (LUFS) (from -DBL_MAX to DBL_MAX) (default 0)
|
5330
5458
|
sample_peak: sample peak (dBFS) (from -DBL_MAX to DBL_MAX) (default 0)
|
5331
5459
|
true_peak: true peak (dBFS) (from -DBL_MAX to DBL_MAX) (default 0)
|
5460
|
+
extra_options: Extra options for the filter
|
5332
5461
|
|
5333
5462
|
Returns:
|
5334
5463
|
filter_node: the filter node
|
@@ -5374,21 +5503,21 @@ class AudioStream(FilterableStream):
|
|
5374
5503
|
def equalizer(
|
5375
5504
|
self,
|
5376
5505
|
*,
|
5377
|
-
frequency: Double = Default(0
|
5506
|
+
frequency: Double = Default("0"),
|
5378
5507
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
5379
|
-
width: Double = Default(1
|
5380
|
-
gain: Double = Default(0
|
5381
|
-
mix: Double = Default(1
|
5508
|
+
width: Double = Default("1"),
|
5509
|
+
gain: Double = Default("0"),
|
5510
|
+
mix: Double = Default("1"),
|
5382
5511
|
channels: String = Default("all"),
|
5383
|
-
normalize: Boolean = Default(
|
5512
|
+
normalize: Boolean = Default("false"),
|
5384
5513
|
transform: Int
|
5385
5514
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
5386
5515
|
| Default = Default("di"),
|
5387
5516
|
precision: Int
|
5388
5517
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
5389
5518
|
| Default = Default("auto"),
|
5390
|
-
blocksize: Int = Default(0),
|
5391
|
-
|
5519
|
+
blocksize: Int = Default("0"),
|
5520
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5392
5521
|
extra_options: dict[str, Any] | None = None,
|
5393
5522
|
) -> AudioStream:
|
5394
5523
|
"""
|
@@ -5406,7 +5535,8 @@ class AudioStream(FilterableStream):
|
|
5406
5535
|
transform: set transform type (from 0 to 6) (default di)
|
5407
5536
|
precision: set filtering precision (from -1 to 3) (default auto)
|
5408
5537
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
5409
|
-
|
5538
|
+
timeline_options: Timeline options
|
5539
|
+
extra_options: Extra options for the filter
|
5410
5540
|
|
5411
5541
|
Returns:
|
5412
5542
|
default: the audio stream
|
@@ -5432,9 +5562,9 @@ class AudioStream(FilterableStream):
|
|
5432
5562
|
"transform": transform,
|
5433
5563
|
"precision": precision,
|
5434
5564
|
"blocksize": blocksize,
|
5435
|
-
"enable": enable,
|
5436
5565
|
},
|
5437
5566
|
extra_options,
|
5567
|
+
timeline_options,
|
5438
5568
|
),
|
5439
5569
|
)
|
5440
5570
|
return filter_node.audio(0)
|
@@ -5442,9 +5572,9 @@ class AudioStream(FilterableStream):
|
|
5442
5572
|
def extrastereo(
|
5443
5573
|
self,
|
5444
5574
|
*,
|
5445
|
-
m: Float = Default(2.5),
|
5446
|
-
c: Boolean = Default(
|
5447
|
-
|
5575
|
+
m: Float = Default("2.5"),
|
5576
|
+
c: Boolean = Default("true"),
|
5577
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5448
5578
|
extra_options: dict[str, Any] | None = None,
|
5449
5579
|
) -> AudioStream:
|
5450
5580
|
"""
|
@@ -5454,7 +5584,8 @@ class AudioStream(FilterableStream):
|
|
5454
5584
|
Args:
|
5455
5585
|
m: set the difference coefficient (from -10 to 10) (default 2.5)
|
5456
5586
|
c: enable clipping (default true)
|
5457
|
-
|
5587
|
+
timeline_options: Timeline options
|
5588
|
+
extra_options: Extra options for the filter
|
5458
5589
|
|
5459
5590
|
Returns:
|
5460
5591
|
default: the audio stream
|
@@ -5472,9 +5603,9 @@ class AudioStream(FilterableStream):
|
|
5472
5603
|
{
|
5473
5604
|
"m": m,
|
5474
5605
|
"c": c,
|
5475
|
-
"enable": enable,
|
5476
5606
|
},
|
5477
5607
|
extra_options,
|
5608
|
+
timeline_options,
|
5478
5609
|
),
|
5479
5610
|
)
|
5480
5611
|
return filter_node.audio(0)
|
@@ -5482,10 +5613,10 @@ class AudioStream(FilterableStream):
|
|
5482
5613
|
def firequalizer(
|
5483
5614
|
self,
|
5484
5615
|
*,
|
5485
|
-
gain: String = Default("gain_interpolate(f"),
|
5616
|
+
gain: String = Default("gain_interpolate(f)"),
|
5486
5617
|
gain_entry: String = Default(None),
|
5487
|
-
delay: Double = Default(0.01),
|
5488
|
-
accuracy: Double = Default(5
|
5618
|
+
delay: Double = Default("0.01"),
|
5619
|
+
accuracy: Double = Default("5"),
|
5489
5620
|
wfunc: Int
|
5490
5621
|
| Literal[
|
5491
5622
|
"rectangular",
|
@@ -5500,9 +5631,9 @@ class AudioStream(FilterableStream):
|
|
5500
5631
|
"tukey",
|
5501
5632
|
]
|
5502
5633
|
| Default = Default("hann"),
|
5503
|
-
fixed: Boolean = Default(
|
5504
|
-
multi: Boolean = Default(
|
5505
|
-
zero_phase: Boolean = Default(
|
5634
|
+
fixed: Boolean = Default("false"),
|
5635
|
+
multi: Boolean = Default("false"),
|
5636
|
+
zero_phase: Boolean = Default("false"),
|
5506
5637
|
scale: Int
|
5507
5638
|
| Literal["linlin", "linlog", "loglin", "loglog"]
|
5508
5639
|
| Default = Default("linlog"),
|
@@ -5510,8 +5641,8 @@ class AudioStream(FilterableStream):
|
|
5510
5641
|
dumpscale: Int
|
5511
5642
|
| Literal["linlin", "linlog", "loglin", "loglog"]
|
5512
5643
|
| Default = Default("linlog"),
|
5513
|
-
fft2: Boolean = Default(
|
5514
|
-
min_phase: Boolean = Default(
|
5644
|
+
fft2: Boolean = Default("false"),
|
5645
|
+
min_phase: Boolean = Default("false"),
|
5515
5646
|
extra_options: dict[str, Any] | None = None,
|
5516
5647
|
) -> AudioStream:
|
5517
5648
|
"""
|
@@ -5532,6 +5663,7 @@ class AudioStream(FilterableStream):
|
|
5532
5663
|
dumpscale: set dump scale (from 0 to 3) (default linlog)
|
5533
5664
|
fft2: set 2-channels fft (default false)
|
5534
5665
|
min_phase: set minimum phase mode (default false)
|
5666
|
+
extra_options: Extra options for the filter
|
5535
5667
|
|
5536
5668
|
Returns:
|
5537
5669
|
default: the audio stream
|
@@ -5569,15 +5701,15 @@ class AudioStream(FilterableStream):
|
|
5569
5701
|
def flanger(
|
5570
5702
|
self,
|
5571
5703
|
*,
|
5572
|
-
delay: Double = Default(0
|
5573
|
-
depth: Double = Default(2
|
5574
|
-
regen: Double = Default(0
|
5575
|
-
width: Double = Default(71
|
5576
|
-
speed: Double = Default(0.5),
|
5704
|
+
delay: Double = Default("0"),
|
5705
|
+
depth: Double = Default("2"),
|
5706
|
+
regen: Double = Default("0"),
|
5707
|
+
width: Double = Default("71"),
|
5708
|
+
speed: Double = Default("0.5"),
|
5577
5709
|
shape: Int | Literal["triangular", "t", "sinusoidal", "s"] | Default = Default(
|
5578
5710
|
"sinusoidal"
|
5579
5711
|
),
|
5580
|
-
phase: Double = Default(25
|
5712
|
+
phase: Double = Default("25"),
|
5581
5713
|
interp: Int | Literal["linear", "quadratic"] | Default = Default("linear"),
|
5582
5714
|
extra_options: dict[str, Any] | None = None,
|
5583
5715
|
) -> AudioStream:
|
@@ -5594,6 +5726,7 @@ class AudioStream(FilterableStream):
|
|
5594
5726
|
shape: swept wave shape (from 0 to 1) (default sinusoidal)
|
5595
5727
|
phase: swept wave percentage phase-shift for multi-channel (from 0 to 100) (default 25)
|
5596
5728
|
interp: delay-line interpolation (from 0 to 1) (default linear)
|
5729
|
+
extra_options: Extra options for the filter
|
5597
5730
|
|
5598
5731
|
Returns:
|
5599
5732
|
default: the audio stream
|
@@ -5626,21 +5759,21 @@ class AudioStream(FilterableStream):
|
|
5626
5759
|
def haas(
|
5627
5760
|
self,
|
5628
5761
|
*,
|
5629
|
-
level_in: Double = Default(1
|
5630
|
-
level_out: Double = Default(1
|
5631
|
-
side_gain: Double = Default(1
|
5762
|
+
level_in: Double = Default("1"),
|
5763
|
+
level_out: Double = Default("1"),
|
5764
|
+
side_gain: Double = Default("1"),
|
5632
5765
|
middle_source: Int
|
5633
5766
|
| Literal["left", "right", "mid", "side"]
|
5634
5767
|
| Default = Default("mid"),
|
5635
|
-
middle_phase: Boolean = Default(
|
5636
|
-
left_delay: Double = Default(2.05),
|
5637
|
-
left_balance: Double = Default(-1
|
5638
|
-
left_gain: Double = Default(1
|
5639
|
-
left_phase: Boolean = Default(
|
5640
|
-
right_delay: Double = Default(2.12),
|
5641
|
-
right_balance: Double = Default(1
|
5642
|
-
right_gain: Double = Default(1
|
5643
|
-
right_phase: Boolean = Default(
|
5768
|
+
middle_phase: Boolean = Default("false"),
|
5769
|
+
left_delay: Double = Default("2.05"),
|
5770
|
+
left_balance: Double = Default("-1"),
|
5771
|
+
left_gain: Double = Default("1"),
|
5772
|
+
left_phase: Boolean = Default("false"),
|
5773
|
+
right_delay: Double = Default("2.12"),
|
5774
|
+
right_balance: Double = Default("1"),
|
5775
|
+
right_gain: Double = Default("1"),
|
5776
|
+
right_phase: Boolean = Default("true"),
|
5644
5777
|
extra_options: dict[str, Any] | None = None,
|
5645
5778
|
) -> AudioStream:
|
5646
5779
|
"""
|
@@ -5661,6 +5794,7 @@ class AudioStream(FilterableStream):
|
|
5661
5794
|
right_balance: set right balance (from -1 to 1) (default 1)
|
5662
5795
|
right_gain: set right gain (from 0.015625 to 64) (default 1)
|
5663
5796
|
right_phase: set right phase (default true)
|
5797
|
+
extra_options: Extra options for the filter
|
5664
5798
|
|
5665
5799
|
Returns:
|
5666
5800
|
default: the audio stream
|
@@ -5698,14 +5832,14 @@ class AudioStream(FilterableStream):
|
|
5698
5832
|
def hdcd(
|
5699
5833
|
self,
|
5700
5834
|
*,
|
5701
|
-
disable_autoconvert: Boolean = Default(
|
5702
|
-
process_stereo: Boolean = Default(
|
5703
|
-
cdt_ms: Int = Default(2000),
|
5704
|
-
force_pe: Boolean = Default(
|
5835
|
+
disable_autoconvert: Boolean = Default("true"),
|
5836
|
+
process_stereo: Boolean = Default("true"),
|
5837
|
+
cdt_ms: Int = Default("2000"),
|
5838
|
+
force_pe: Boolean = Default("false"),
|
5705
5839
|
analyze_mode: Int
|
5706
5840
|
| Literal["off", "lle", "pe", "cdt", "tgm"]
|
5707
5841
|
| Default = Default("off"),
|
5708
|
-
bits_per_sample: Int | Literal["16", "20", "24"] | Default = Default(16),
|
5842
|
+
bits_per_sample: Int | Literal["16", "20", "24"] | Default = Default("16"),
|
5709
5843
|
extra_options: dict[str, Any] | None = None,
|
5710
5844
|
) -> AudioStream:
|
5711
5845
|
"""
|
@@ -5719,6 +5853,7 @@ class AudioStream(FilterableStream):
|
|
5719
5853
|
force_pe: Always extend peaks above -3dBFS even when PE is not signaled. (default false)
|
5720
5854
|
analyze_mode: Replace audio with solid tone and signal some processing aspect in the amplitude. (from 0 to 4) (default off)
|
5721
5855
|
bits_per_sample: Valid bits per sample (location of the true LSB). (from 16 to 24) (default 16)
|
5856
|
+
extra_options: Extra options for the filter
|
5722
5857
|
|
5723
5858
|
Returns:
|
5724
5859
|
default: the audio stream
|
@@ -5749,21 +5884,21 @@ class AudioStream(FilterableStream):
|
|
5749
5884
|
def highpass(
|
5750
5885
|
self,
|
5751
5886
|
*,
|
5752
|
-
frequency: Double = Default(3000
|
5887
|
+
frequency: Double = Default("3000"),
|
5753
5888
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
5754
|
-
width: Double = Default(0.707),
|
5755
|
-
poles: Int = Default(2),
|
5756
|
-
mix: Double = Default(1
|
5889
|
+
width: Double = Default("0.707"),
|
5890
|
+
poles: Int = Default("2"),
|
5891
|
+
mix: Double = Default("1"),
|
5757
5892
|
channels: String = Default("all"),
|
5758
|
-
normalize: Boolean = Default(
|
5893
|
+
normalize: Boolean = Default("false"),
|
5759
5894
|
transform: Int
|
5760
5895
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
5761
5896
|
| Default = Default("di"),
|
5762
5897
|
precision: Int
|
5763
5898
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
5764
5899
|
| Default = Default("auto"),
|
5765
|
-
blocksize: Int = Default(0),
|
5766
|
-
|
5900
|
+
blocksize: Int = Default("0"),
|
5901
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5767
5902
|
extra_options: dict[str, Any] | None = None,
|
5768
5903
|
) -> AudioStream:
|
5769
5904
|
"""
|
@@ -5781,7 +5916,8 @@ class AudioStream(FilterableStream):
|
|
5781
5916
|
transform: set transform type (from 0 to 6) (default di)
|
5782
5917
|
precision: set filtering precision (from -1 to 3) (default auto)
|
5783
5918
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
5784
|
-
|
5919
|
+
timeline_options: Timeline options
|
5920
|
+
extra_options: Extra options for the filter
|
5785
5921
|
|
5786
5922
|
Returns:
|
5787
5923
|
default: the audio stream
|
@@ -5807,9 +5943,9 @@ class AudioStream(FilterableStream):
|
|
5807
5943
|
"transform": transform,
|
5808
5944
|
"precision": precision,
|
5809
5945
|
"blocksize": blocksize,
|
5810
|
-
"enable": enable,
|
5811
5946
|
},
|
5812
5947
|
extra_options,
|
5948
|
+
timeline_options,
|
5813
5949
|
),
|
5814
5950
|
)
|
5815
5951
|
return filter_node.audio(0)
|
@@ -5817,22 +5953,22 @@ class AudioStream(FilterableStream):
|
|
5817
5953
|
def highshelf(
|
5818
5954
|
self,
|
5819
5955
|
*,
|
5820
|
-
frequency: Double = Default(3000
|
5956
|
+
frequency: Double = Default("3000"),
|
5821
5957
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
5822
|
-
width: Double = Default(0.5),
|
5823
|
-
gain: Double = Default(0
|
5824
|
-
poles: Int = Default(2),
|
5825
|
-
mix: Double = Default(1
|
5958
|
+
width: Double = Default("0.5"),
|
5959
|
+
gain: Double = Default("0"),
|
5960
|
+
poles: Int = Default("2"),
|
5961
|
+
mix: Double = Default("1"),
|
5826
5962
|
channels: String = Default("all"),
|
5827
|
-
normalize: Boolean = Default(
|
5963
|
+
normalize: Boolean = Default("false"),
|
5828
5964
|
transform: Int
|
5829
5965
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
5830
5966
|
| Default = Default("di"),
|
5831
5967
|
precision: Int
|
5832
5968
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
5833
5969
|
| Default = Default("auto"),
|
5834
|
-
blocksize: Int = Default(0),
|
5835
|
-
|
5970
|
+
blocksize: Int = Default("0"),
|
5971
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5836
5972
|
extra_options: dict[str, Any] | None = None,
|
5837
5973
|
) -> AudioStream:
|
5838
5974
|
"""
|
@@ -5851,7 +5987,8 @@ class AudioStream(FilterableStream):
|
|
5851
5987
|
transform: set transform type (from 0 to 6) (default di)
|
5852
5988
|
precision: set filtering precision (from -1 to 3) (default auto)
|
5853
5989
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
5854
|
-
|
5990
|
+
timeline_options: Timeline options
|
5991
|
+
extra_options: Extra options for the filter
|
5855
5992
|
|
5856
5993
|
Returns:
|
5857
5994
|
default: the audio stream
|
@@ -5878,9 +6015,9 @@ class AudioStream(FilterableStream):
|
|
5878
6015
|
"transform": transform,
|
5879
6016
|
"precision": precision,
|
5880
6017
|
"blocksize": blocksize,
|
5881
|
-
"enable": enable,
|
5882
6018
|
},
|
5883
6019
|
extra_options,
|
6020
|
+
timeline_options,
|
5884
6021
|
),
|
5885
6022
|
)
|
5886
6023
|
return filter_node.audio(0)
|
@@ -5888,16 +6025,16 @@ class AudioStream(FilterableStream):
|
|
5888
6025
|
def loudnorm(
|
5889
6026
|
self,
|
5890
6027
|
*,
|
5891
|
-
I: Double = Default(-24
|
5892
|
-
LRA: Double = Default(7
|
5893
|
-
TP: Double = Default(-2
|
5894
|
-
measured_I: Double = Default(0
|
5895
|
-
measured_LRA: Double = Default(0
|
5896
|
-
measured_TP: Double = Default(99
|
5897
|
-
measured_thresh: Double = Default(-70
|
5898
|
-
offset: Double = Default(0
|
5899
|
-
linear: Boolean = Default(
|
5900
|
-
dual_mono: Boolean = Default(
|
6028
|
+
I: Double = Default("-24"),
|
6029
|
+
LRA: Double = Default("7"),
|
6030
|
+
TP: Double = Default("-2"),
|
6031
|
+
measured_I: Double = Default("0"),
|
6032
|
+
measured_LRA: Double = Default("0"),
|
6033
|
+
measured_TP: Double = Default("99"),
|
6034
|
+
measured_thresh: Double = Default("-70"),
|
6035
|
+
offset: Double = Default("0"),
|
6036
|
+
linear: Boolean = Default("true"),
|
6037
|
+
dual_mono: Boolean = Default("false"),
|
5901
6038
|
print_format: Int | Literal["none", "json", "summary"] | Default = Default(
|
5902
6039
|
"none"
|
5903
6040
|
),
|
@@ -5905,7 +6042,7 @@ class AudioStream(FilterableStream):
|
|
5905
6042
|
) -> AudioStream:
|
5906
6043
|
"""
|
5907
6044
|
|
5908
|
-
EBU R128 loudness normalization
|
6045
|
+
EBU R128 loudness normalization.
|
5909
6046
|
|
5910
6047
|
Args:
|
5911
6048
|
I: set integrated loudness target (from -70 to -5) (default -24)
|
@@ -5919,6 +6056,7 @@ class AudioStream(FilterableStream):
|
|
5919
6056
|
linear: normalize linearly if possible (default true)
|
5920
6057
|
dual_mono: treat mono input as dual-mono (default false)
|
5921
6058
|
print_format: set print format for stats (from 0 to 2) (default none)
|
6059
|
+
extra_options: Extra options for the filter
|
5922
6060
|
|
5923
6061
|
Returns:
|
5924
6062
|
default: the audio stream
|
@@ -5954,21 +6092,21 @@ class AudioStream(FilterableStream):
|
|
5954
6092
|
def lowpass(
|
5955
6093
|
self,
|
5956
6094
|
*,
|
5957
|
-
frequency: Double = Default(500
|
6095
|
+
frequency: Double = Default("500"),
|
5958
6096
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
5959
|
-
width: Double = Default(0.707),
|
5960
|
-
poles: Int = Default(2),
|
5961
|
-
mix: Double = Default(1
|
6097
|
+
width: Double = Default("0.707"),
|
6098
|
+
poles: Int = Default("2"),
|
6099
|
+
mix: Double = Default("1"),
|
5962
6100
|
channels: String = Default("all"),
|
5963
|
-
normalize: Boolean = Default(
|
6101
|
+
normalize: Boolean = Default("false"),
|
5964
6102
|
transform: Int
|
5965
6103
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
5966
6104
|
| Default = Default("di"),
|
5967
6105
|
precision: Int
|
5968
6106
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
5969
6107
|
| Default = Default("auto"),
|
5970
|
-
blocksize: Int = Default(0),
|
5971
|
-
|
6108
|
+
blocksize: Int = Default("0"),
|
6109
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
5972
6110
|
extra_options: dict[str, Any] | None = None,
|
5973
6111
|
) -> AudioStream:
|
5974
6112
|
"""
|
@@ -5986,7 +6124,8 @@ class AudioStream(FilterableStream):
|
|
5986
6124
|
transform: set transform type (from 0 to 6) (default di)
|
5987
6125
|
precision: set filtering precision (from -1 to 3) (default auto)
|
5988
6126
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
5989
|
-
|
6127
|
+
timeline_options: Timeline options
|
6128
|
+
extra_options: Extra options for the filter
|
5990
6129
|
|
5991
6130
|
Returns:
|
5992
6131
|
default: the audio stream
|
@@ -6012,9 +6151,9 @@ class AudioStream(FilterableStream):
|
|
6012
6151
|
"transform": transform,
|
6013
6152
|
"precision": precision,
|
6014
6153
|
"blocksize": blocksize,
|
6015
|
-
"enable": enable,
|
6016
6154
|
},
|
6017
6155
|
extra_options,
|
6156
|
+
timeline_options,
|
6018
6157
|
),
|
6019
6158
|
)
|
6020
6159
|
return filter_node.audio(0)
|
@@ -6022,22 +6161,22 @@ class AudioStream(FilterableStream):
|
|
6022
6161
|
def lowshelf(
|
6023
6162
|
self,
|
6024
6163
|
*,
|
6025
|
-
frequency: Double = Default(100
|
6164
|
+
frequency: Double = Default("100"),
|
6026
6165
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
6027
|
-
width: Double = Default(0.5),
|
6028
|
-
gain: Double = Default(0
|
6029
|
-
poles: Int = Default(2),
|
6030
|
-
mix: Double = Default(1
|
6166
|
+
width: Double = Default("0.5"),
|
6167
|
+
gain: Double = Default("0"),
|
6168
|
+
poles: Int = Default("2"),
|
6169
|
+
mix: Double = Default("1"),
|
6031
6170
|
channels: String = Default("all"),
|
6032
|
-
normalize: Boolean = Default(
|
6171
|
+
normalize: Boolean = Default("false"),
|
6033
6172
|
transform: Int
|
6034
6173
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
6035
6174
|
| Default = Default("di"),
|
6036
6175
|
precision: Int
|
6037
6176
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
6038
6177
|
| Default = Default("auto"),
|
6039
|
-
blocksize: Int = Default(0),
|
6040
|
-
|
6178
|
+
blocksize: Int = Default("0"),
|
6179
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
6041
6180
|
extra_options: dict[str, Any] | None = None,
|
6042
6181
|
) -> AudioStream:
|
6043
6182
|
"""
|
@@ -6056,7 +6195,8 @@ class AudioStream(FilterableStream):
|
|
6056
6195
|
transform: set transform type (from 0 to 6) (default di)
|
6057
6196
|
precision: set filtering precision (from -1 to 3) (default auto)
|
6058
6197
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
6059
|
-
|
6198
|
+
timeline_options: Timeline options
|
6199
|
+
extra_options: Extra options for the filter
|
6060
6200
|
|
6061
6201
|
Returns:
|
6062
6202
|
default: the audio stream
|
@@ -6083,9 +6223,9 @@ class AudioStream(FilterableStream):
|
|
6083
6223
|
"transform": transform,
|
6084
6224
|
"precision": precision,
|
6085
6225
|
"blocksize": blocksize,
|
6086
|
-
"enable": enable,
|
6087
6226
|
},
|
6088
6227
|
extra_options,
|
6228
|
+
timeline_options,
|
6089
6229
|
),
|
6090
6230
|
)
|
6091
6231
|
return filter_node.audio(0)
|
@@ -6104,6 +6244,7 @@ class AudioStream(FilterableStream):
|
|
6104
6244
|
|
6105
6245
|
Args:
|
6106
6246
|
args: set parameters for each band (default "0.005,0.1 6 -47/-40,-34/-34,-17/-33 100 | 0.003,0.05 6 -47/-40,-34/-34,-17/-33 400 | 0.000625,0.0125 6 -47/-40,-34/-34,-15/-33 1600 | 0.0001,0.025 6 -47/-40,-34/-34,-31/-31,-0/-30 6400 | 0,0.025 6 -38/-31,-28/-28,-0/-25 22000")
|
6247
|
+
extra_options: Extra options for the filter
|
6107
6248
|
|
6108
6249
|
Returns:
|
6109
6250
|
default: the audio stream
|
@@ -6138,6 +6279,7 @@ class AudioStream(FilterableStream):
|
|
6138
6279
|
|
6139
6280
|
Args:
|
6140
6281
|
args:
|
6282
|
+
extra_options: Extra options for the filter
|
6141
6283
|
|
6142
6284
|
Returns:
|
6143
6285
|
default: the audio stream
|
@@ -6163,8 +6305,8 @@ class AudioStream(FilterableStream):
|
|
6163
6305
|
def replaygain(
|
6164
6306
|
self,
|
6165
6307
|
*,
|
6166
|
-
track_gain: Float = Default(0
|
6167
|
-
track_peak: Float = Default(0
|
6308
|
+
track_gain: Float = Default("0"),
|
6309
|
+
track_peak: Float = Default("0"),
|
6168
6310
|
extra_options: dict[str, Any] | None = None,
|
6169
6311
|
) -> AudioStream:
|
6170
6312
|
"""
|
@@ -6174,6 +6316,7 @@ class AudioStream(FilterableStream):
|
|
6174
6316
|
Args:
|
6175
6317
|
track_gain: track gain (dB) (from -FLT_MAX to FLT_MAX) (default 0)
|
6176
6318
|
track_peak: track peak (from -FLT_MAX to FLT_MAX) (default 0)
|
6319
|
+
extra_options: Extra options for the filter
|
6177
6320
|
|
6178
6321
|
Returns:
|
6179
6322
|
default: the audio stream
|
@@ -6200,8 +6343,8 @@ class AudioStream(FilterableStream):
|
|
6200
6343
|
def rubberband(
|
6201
6344
|
self,
|
6202
6345
|
*,
|
6203
|
-
tempo: Double = Default(1
|
6204
|
-
pitch: Double = Default(1
|
6346
|
+
tempo: Double = Default("1"),
|
6347
|
+
pitch: Double = Default("1"),
|
6205
6348
|
transients: Int | Literal["crisp", "mixed", "smooth"] | Default = Default(
|
6206
6349
|
"crisp"
|
6207
6350
|
),
|
@@ -6235,6 +6378,7 @@ class AudioStream(FilterableStream):
|
|
6235
6378
|
formant: set formant (from 0 to INT_MAX) (default shifted)
|
6236
6379
|
pitchq: set pitch quality (from 0 to INT_MAX) (default speed)
|
6237
6380
|
channels: set channels (from 0 to INT_MAX) (default apart)
|
6381
|
+
extra_options: Extra options for the filter
|
6238
6382
|
|
6239
6383
|
Returns:
|
6240
6384
|
default: the audio stream
|
@@ -6271,28 +6415,30 @@ class AudioStream(FilterableStream):
|
|
6271
6415
|
*,
|
6272
6416
|
size: Image_size = Default("1920x1080"),
|
6273
6417
|
fps: Video_rate = Default("25"),
|
6274
|
-
bar_h: Int = Default(-1),
|
6275
|
-
axis_h: Int = Default(-1),
|
6276
|
-
sono_h: Int = Default(-1),
|
6277
|
-
fullhd: Boolean = Default(
|
6418
|
+
bar_h: Int = Default("-1"),
|
6419
|
+
axis_h: Int = Default("-1"),
|
6420
|
+
sono_h: Int = Default("-1"),
|
6421
|
+
fullhd: Boolean = Default("true"),
|
6278
6422
|
sono_v: String = Default("16"),
|
6279
6423
|
bar_v: String = Default("sono_v"),
|
6280
|
-
sono_g: Float = Default(3
|
6281
|
-
bar_g: Float = Default(1
|
6282
|
-
bar_t: Float = Default(1
|
6283
|
-
timeclamp: Double = Default(0.17),
|
6284
|
-
attack: Double = Default(0
|
6285
|
-
basefreq: Double = Default(20.0152),
|
6286
|
-
endfreq: Double = Default(20495.6),
|
6287
|
-
coeffclamp: Float = Default(1
|
6288
|
-
tlength: String = Default("384*tc/(384+tc*f"),
|
6289
|
-
count: Int = Default(6),
|
6290
|
-
fcount: Int = Default(0),
|
6424
|
+
sono_g: Float = Default("3"),
|
6425
|
+
bar_g: Float = Default("1"),
|
6426
|
+
bar_t: Float = Default("1"),
|
6427
|
+
timeclamp: Double = Default("0.17"),
|
6428
|
+
attack: Double = Default("0"),
|
6429
|
+
basefreq: Double = Default("20.0152"),
|
6430
|
+
endfreq: Double = Default("20495.6"),
|
6431
|
+
coeffclamp: Float = Default("1"),
|
6432
|
+
tlength: String = Default("384*tc/(384+tc*f)"),
|
6433
|
+
count: Int = Default("6"),
|
6434
|
+
fcount: Int = Default("0"),
|
6291
6435
|
fontfile: String = Default(None),
|
6292
6436
|
font: String = Default(None),
|
6293
|
-
fontcolor: String = Default(
|
6437
|
+
fontcolor: String = Default(
|
6438
|
+
"st(0, (midi(f)-59.5)/12);st(1, if(between(ld(0),0,1), 0.5-0.5*cos(2*PI*ld(0)), 0));r(1-ld(1)) + b(ld(1))"
|
6439
|
+
),
|
6294
6440
|
axisfile: String = Default(None),
|
6295
|
-
axis: Boolean = Default(
|
6441
|
+
axis: Boolean = Default("true"),
|
6296
6442
|
csp: Int
|
6297
6443
|
| Literal[
|
6298
6444
|
"unspecified",
|
@@ -6338,6 +6484,7 @@ class AudioStream(FilterableStream):
|
|
6338
6484
|
axis: draw axis (default true)
|
6339
6485
|
csp: set color space (from 0 to INT_MAX) (default unspecified)
|
6340
6486
|
cscheme: set color scheme (default "1|0.5|0|0|0.5|1")
|
6487
|
+
extra_options: Extra options for the filter
|
6341
6488
|
|
6342
6489
|
Returns:
|
6343
6490
|
default: the video stream
|
@@ -6396,13 +6543,13 @@ class AudioStream(FilterableStream):
|
|
6396
6543
|
iscale: Int
|
6397
6544
|
| Literal["linear", "log", "sqrt", "cbrt", "qdrt"]
|
6398
6545
|
| Default = Default("log"),
|
6399
|
-
min: Float = Default(20
|
6400
|
-
max: Float = Default(20000
|
6401
|
-
imin: Float = Default(0
|
6402
|
-
imax: Float = Default(1
|
6403
|
-
logb: Float = Default(0.0001),
|
6404
|
-
deviation: Float = Default(1
|
6405
|
-
pps: Int = Default(64),
|
6546
|
+
min: Float = Default("20"),
|
6547
|
+
max: Float = Default("20000"),
|
6548
|
+
imin: Float = Default("0"),
|
6549
|
+
imax: Float = Default("1"),
|
6550
|
+
logb: Float = Default("0.0001"),
|
6551
|
+
deviation: Float = Default("1"),
|
6552
|
+
pps: Int = Default("64"),
|
6406
6553
|
mode: Int
|
6407
6554
|
| Literal["magnitude", "phase", "magphase", "channel", "stereo"]
|
6408
6555
|
| Default = Default("magnitude"),
|
@@ -6410,8 +6557,8 @@ class AudioStream(FilterableStream):
|
|
6410
6557
|
"replace"
|
6411
6558
|
),
|
6412
6559
|
direction: Int | Literal["lr", "rl", "ud", "du"] | Default = Default("lr"),
|
6413
|
-
bar: Float = Default(0
|
6414
|
-
rotation: Float = Default(0
|
6560
|
+
bar: Float = Default("0"),
|
6561
|
+
rotation: Float = Default("0"),
|
6415
6562
|
extra_options: dict[str, Any] | None = None,
|
6416
6563
|
) -> VideoStream:
|
6417
6564
|
"""
|
@@ -6435,6 +6582,7 @@ class AudioStream(FilterableStream):
|
|
6435
6582
|
direction: set direction mode (from 0 to 3) (default lr)
|
6436
6583
|
bar: set bar ratio (from 0 to 1) (default 0)
|
6437
6584
|
rotation: set color rotation (from -1 to 1) (default 0)
|
6585
|
+
extra_options: Extra options for the filter
|
6438
6586
|
|
6439
6587
|
Returns:
|
6440
6588
|
default: the video stream
|
@@ -6480,7 +6628,7 @@ class AudioStream(FilterableStream):
|
|
6480
6628
|
mode: Int | Literal["line", "bar", "dot"] | Default = Default("bar"),
|
6481
6629
|
ascale: Int | Literal["lin", "sqrt", "cbrt", "log"] | Default = Default("log"),
|
6482
6630
|
fscale: Int | Literal["lin", "log", "rlog"] | Default = Default("lin"),
|
6483
|
-
win_size: Int = Default(2048),
|
6631
|
+
win_size: Int = Default("2048"),
|
6484
6632
|
win_func: Int
|
6485
6633
|
| Literal[
|
6486
6634
|
"rect",
|
@@ -6507,13 +6655,13 @@ class AudioStream(FilterableStream):
|
|
6507
6655
|
"kaiser",
|
6508
6656
|
]
|
6509
6657
|
| Default = Default("hann"),
|
6510
|
-
overlap: Float = Default(1
|
6511
|
-
averaging: Int = Default(1),
|
6658
|
+
overlap: Float = Default("1"),
|
6659
|
+
averaging: Int = Default("1"),
|
6512
6660
|
colors: String = Default(
|
6513
6661
|
"red|green|blue|yellow|orange|lime|pink|magenta|brown"
|
6514
6662
|
),
|
6515
6663
|
cmode: Int | Literal["combined", "separate"] | Default = Default("combined"),
|
6516
|
-
minamp: Float = Default(1e-06),
|
6664
|
+
minamp: Float = Default("1e-06"),
|
6517
6665
|
data: Int | Literal["magnitude", "phase", "delay"] | Default = Default(
|
6518
6666
|
"magnitude"
|
6519
6667
|
),
|
@@ -6539,6 +6687,7 @@ class AudioStream(FilterableStream):
|
|
6539
6687
|
minamp: set minimum amplitude (from FLT_MIN to 1e-06) (default 1e-06)
|
6540
6688
|
data: set data mode (from 0 to 2) (default magnitude)
|
6541
6689
|
channels: set channels to draw (default "all")
|
6690
|
+
extra_options: Extra options for the filter
|
6542
6691
|
|
6543
6692
|
Returns:
|
6544
6693
|
default: the video stream
|
@@ -6578,7 +6727,7 @@ class AudioStream(FilterableStream):
|
|
6578
6727
|
self,
|
6579
6728
|
*,
|
6580
6729
|
size: Image_size = Default("512x512"),
|
6581
|
-
win_size: Int = Default(4096),
|
6730
|
+
win_size: Int = Default("4096"),
|
6582
6731
|
win_func: Int
|
6583
6732
|
| Literal[
|
6584
6733
|
"rect",
|
@@ -6617,6 +6766,7 @@ class AudioStream(FilterableStream):
|
|
6617
6766
|
win_size: set window size (from 1024 to 65536) (default 4096)
|
6618
6767
|
win_func: set window function (from 0 to 20) (default hann)
|
6619
6768
|
rate: set video rate (default "25")
|
6769
|
+
extra_options: Extra options for the filter
|
6620
6770
|
|
6621
6771
|
Returns:
|
6622
6772
|
default: the video stream
|
@@ -6673,7 +6823,7 @@ class AudioStream(FilterableStream):
|
|
6673
6823
|
| Literal["lin", "sqrt", "cbrt", "log", "4thrt", "5thrt"]
|
6674
6824
|
| Default = Default("sqrt"),
|
6675
6825
|
fscale: Int | Literal["lin", "log"] | Default = Default("lin"),
|
6676
|
-
saturation: Float = Default(1
|
6826
|
+
saturation: Float = Default("1"),
|
6677
6827
|
win_func: Int
|
6678
6828
|
| Literal[
|
6679
6829
|
"rect",
|
@@ -6703,19 +6853,19 @@ class AudioStream(FilterableStream):
|
|
6703
6853
|
orientation: Int | Literal["vertical", "horizontal"] | Default = Default(
|
6704
6854
|
"vertical"
|
6705
6855
|
),
|
6706
|
-
overlap: Float = Default(0
|
6707
|
-
gain: Float = Default(1
|
6856
|
+
overlap: Float = Default("0"),
|
6857
|
+
gain: Float = Default("1"),
|
6708
6858
|
data: Int | Literal["magnitude", "phase", "uphase"] | Default = Default(
|
6709
6859
|
"magnitude"
|
6710
6860
|
),
|
6711
|
-
rotation: Float = Default(0
|
6712
|
-
start: Int = Default(0),
|
6713
|
-
stop: Int = Default(0),
|
6861
|
+
rotation: Float = Default("0"),
|
6862
|
+
start: Int = Default("0"),
|
6863
|
+
stop: Int = Default("0"),
|
6714
6864
|
fps: String = Default("auto"),
|
6715
|
-
legend: Boolean = Default(
|
6716
|
-
drange: Float = Default(120
|
6717
|
-
limit: Float = Default(0
|
6718
|
-
opacity: Float = Default(1
|
6865
|
+
legend: Boolean = Default("false"),
|
6866
|
+
drange: Float = Default("120"),
|
6867
|
+
limit: Float = Default("0"),
|
6868
|
+
opacity: Float = Default("1"),
|
6719
6869
|
extra_options: dict[str, Any] | None = None,
|
6720
6870
|
) -> VideoStream:
|
6721
6871
|
"""
|
@@ -6743,6 +6893,7 @@ class AudioStream(FilterableStream):
|
|
6743
6893
|
drange: set dynamic range in dBFS (from 10 to 200) (default 120)
|
6744
6894
|
limit: set upper limit in dBFS (from -100 to 100) (default 0)
|
6745
6895
|
opacity: set opacity strength (from 0 to 10) (default 1)
|
6896
|
+
extra_options: Extra options for the filter
|
6746
6897
|
|
6747
6898
|
Returns:
|
6748
6899
|
default: the video stream
|
@@ -6812,7 +6963,7 @@ class AudioStream(FilterableStream):
|
|
6812
6963
|
| Literal["lin", "sqrt", "cbrt", "log", "4thrt", "5thrt"]
|
6813
6964
|
| Default = Default("log"),
|
6814
6965
|
fscale: Int | Literal["lin", "log"] | Default = Default("lin"),
|
6815
|
-
saturation: Float = Default(1
|
6966
|
+
saturation: Float = Default("1"),
|
6816
6967
|
win_func: Int
|
6817
6968
|
| Literal[
|
6818
6969
|
"rect",
|
@@ -6842,14 +6993,14 @@ class AudioStream(FilterableStream):
|
|
6842
6993
|
orientation: Int | Literal["vertical", "horizontal"] | Default = Default(
|
6843
6994
|
"vertical"
|
6844
6995
|
),
|
6845
|
-
gain: Float = Default(1
|
6846
|
-
legend: Boolean = Default(
|
6847
|
-
rotation: Float = Default(0
|
6848
|
-
start: Int = Default(0),
|
6849
|
-
stop: Int = Default(0),
|
6850
|
-
drange: Float = Default(120
|
6851
|
-
limit: Float = Default(0
|
6852
|
-
opacity: Float = Default(1
|
6996
|
+
gain: Float = Default("1"),
|
6997
|
+
legend: Boolean = Default("true"),
|
6998
|
+
rotation: Float = Default("0"),
|
6999
|
+
start: Int = Default("0"),
|
7000
|
+
stop: Int = Default("0"),
|
7001
|
+
drange: Float = Default("120"),
|
7002
|
+
limit: Float = Default("0"),
|
7003
|
+
opacity: Float = Default("1"),
|
6853
7004
|
extra_options: dict[str, Any] | None = None,
|
6854
7005
|
) -> VideoStream:
|
6855
7006
|
"""
|
@@ -6873,6 +7024,7 @@ class AudioStream(FilterableStream):
|
|
6873
7024
|
drange: set dynamic range in dBFS (from 10 to 200) (default 120)
|
6874
7025
|
limit: set upper limit in dBFS (from -100 to 100) (default 0)
|
6875
7026
|
opacity: set opacity strength (from 0 to 10) (default 1)
|
7027
|
+
extra_options: Extra options for the filter
|
6876
7028
|
|
6877
7029
|
Returns:
|
6878
7030
|
default: the video stream
|
@@ -6916,18 +7068,18 @@ class AudioStream(FilterableStream):
|
|
6916
7068
|
self,
|
6917
7069
|
*,
|
6918
7070
|
rate: Video_rate = Default("25"),
|
6919
|
-
b: Int = Default(1),
|
6920
|
-
w: Int = Default(400),
|
6921
|
-
h: Int = Default(20),
|
6922
|
-
f: Double = Default(0.95),
|
6923
|
-
c: String = Default("PEAK*255+floor((1-PEAK"),
|
6924
|
-
t: Boolean = Default(
|
6925
|
-
v: Boolean = Default(
|
6926
|
-
dm: Double = Default(0
|
7071
|
+
b: Int = Default("1"),
|
7072
|
+
w: Int = Default("400"),
|
7073
|
+
h: Int = Default("20"),
|
7074
|
+
f: Double = Default("0.95"),
|
7075
|
+
c: String = Default("PEAK*255+floor((1-PEAK)*255)*256+0xff000000"),
|
7076
|
+
t: Boolean = Default("true"),
|
7077
|
+
v: Boolean = Default("true"),
|
7078
|
+
dm: Double = Default("0"),
|
6927
7079
|
dmc: Color = Default("orange"),
|
6928
7080
|
o: Int | Literal["h", "v"] | Default = Default("h"),
|
6929
|
-
s: Int = Default(0),
|
6930
|
-
p: Float = Default(0
|
7081
|
+
s: Int = Default("0"),
|
7082
|
+
p: Float = Default("0"),
|
6931
7083
|
m: Int | Literal["p", "r"] | Default = Default("p"),
|
6932
7084
|
ds: Int | Literal["lin", "log"] | Default = Default("lin"),
|
6933
7085
|
extra_options: dict[str, Any] | None = None,
|
@@ -6952,6 +7104,7 @@ class AudioStream(FilterableStream):
|
|
6952
7104
|
p: set background opacity (from 0 to 1) (default 0)
|
6953
7105
|
m: set mode (from 0 to 1) (default p)
|
6954
7106
|
ds: set display scale (from 0 to 1) (default lin)
|
7107
|
+
extra_options: Extra options for the filter
|
6955
7108
|
|
6956
7109
|
Returns:
|
6957
7110
|
default: the video stream
|
@@ -6997,7 +7150,7 @@ class AudioStream(FilterableStream):
|
|
6997
7150
|
),
|
6998
7151
|
n: Rational = Default("0/1"),
|
6999
7152
|
rate: Video_rate = Default("25"),
|
7000
|
-
split_channels: Boolean = Default(
|
7153
|
+
split_channels: Boolean = Default("false"),
|
7001
7154
|
colors: String = Default(
|
7002
7155
|
"red|green|blue|yellow|orange|lime|pink|magenta|brown"
|
7003
7156
|
),
|
@@ -7018,6 +7171,7 @@ class AudioStream(FilterableStream):
|
|
7018
7171
|
colors: set channels colors (default "red|green|blue|yellow|orange|lime|pink|magenta|brown")
|
7019
7172
|
scale: set amplitude scale (from 0 to 3) (default lin)
|
7020
7173
|
draw: set draw mode (from 0 to 1) (default scale)
|
7174
|
+
extra_options: Extra options for the filter
|
7021
7175
|
|
7022
7176
|
Returns:
|
7023
7177
|
default: the video stream
|
@@ -7051,7 +7205,7 @@ class AudioStream(FilterableStream):
|
|
7051
7205
|
self,
|
7052
7206
|
*,
|
7053
7207
|
size: Image_size = Default("600x240"),
|
7054
|
-
split_channels: Boolean = Default(
|
7208
|
+
split_channels: Boolean = Default("false"),
|
7055
7209
|
colors: String = Default(
|
7056
7210
|
"red|green|blue|yellow|orange|lime|pink|magenta|brown"
|
7057
7211
|
),
|
@@ -7071,6 +7225,7 @@ class AudioStream(FilterableStream):
|
|
7071
7225
|
scale: set amplitude scale (from 0 to 3) (default lin)
|
7072
7226
|
draw: set draw mode (from 0 to 1) (default scale)
|
7073
7227
|
filter: set filter mode (from 0 to 1) (default average)
|
7228
|
+
extra_options: Extra options for the filter
|
7074
7229
|
|
7075
7230
|
Returns:
|
7076
7231
|
default: the video stream
|
@@ -7102,18 +7257,18 @@ class AudioStream(FilterableStream):
|
|
7102
7257
|
self,
|
7103
7258
|
_sidechain: AudioStream,
|
7104
7259
|
*,
|
7105
|
-
level_in: Double = Default(1
|
7260
|
+
level_in: Double = Default("1"),
|
7106
7261
|
mode: Int | Literal["downward", "upward"] | Default = Default("downward"),
|
7107
|
-
threshold: Double = Default(0.125),
|
7108
|
-
ratio: Double = Default(2
|
7109
|
-
attack: Double = Default(20
|
7110
|
-
release: Double = Default(250
|
7111
|
-
makeup: Double = Default(1
|
7112
|
-
knee: Double = Default(2.82843),
|
7262
|
+
threshold: Double = Default("0.125"),
|
7263
|
+
ratio: Double = Default("2"),
|
7264
|
+
attack: Double = Default("20"),
|
7265
|
+
release: Double = Default("250"),
|
7266
|
+
makeup: Double = Default("1"),
|
7267
|
+
knee: Double = Default("2.82843"),
|
7113
7268
|
link: Int | Literal["average", "maximum"] | Default = Default("average"),
|
7114
7269
|
detection: Int | Literal["peak", "rms"] | Default = Default("rms"),
|
7115
|
-
level_sc: Double = Default(1
|
7116
|
-
mix: Double = Default(1
|
7270
|
+
level_sc: Double = Default("1"),
|
7271
|
+
mix: Double = Default("1"),
|
7117
7272
|
extra_options: dict[str, Any] | None = None,
|
7118
7273
|
) -> AudioStream:
|
7119
7274
|
"""
|
@@ -7133,6 +7288,7 @@ class AudioStream(FilterableStream):
|
|
7133
7288
|
detection: set detection (from 0 to 1) (default rms)
|
7134
7289
|
level_sc: set sidechain gain (from 0.015625 to 64) (default 1)
|
7135
7290
|
mix: set mix (from 0 to 1) (default 1)
|
7291
|
+
extra_options: Extra options for the filter
|
7136
7292
|
|
7137
7293
|
Returns:
|
7138
7294
|
default: the audio stream
|
@@ -7173,19 +7329,19 @@ class AudioStream(FilterableStream):
|
|
7173
7329
|
self,
|
7174
7330
|
_sidechain: AudioStream,
|
7175
7331
|
*,
|
7176
|
-
level_in: Double = Default(1
|
7332
|
+
level_in: Double = Default("1"),
|
7177
7333
|
mode: Int | Literal["downward", "upward"] | Default = Default("downward"),
|
7178
|
-
range: Double = Default(0.06125),
|
7179
|
-
threshold: Double = Default(0.125),
|
7180
|
-
ratio: Double = Default(2
|
7181
|
-
attack: Double = Default(20
|
7182
|
-
release: Double = Default(250
|
7183
|
-
makeup: Double = Default(1
|
7184
|
-
knee: Double = Default(2.82843),
|
7334
|
+
range: Double = Default("0.06125"),
|
7335
|
+
threshold: Double = Default("0.125"),
|
7336
|
+
ratio: Double = Default("2"),
|
7337
|
+
attack: Double = Default("20"),
|
7338
|
+
release: Double = Default("250"),
|
7339
|
+
makeup: Double = Default("1"),
|
7340
|
+
knee: Double = Default("2.82843"),
|
7185
7341
|
detection: Int | Literal["peak", "rms"] | Default = Default("rms"),
|
7186
7342
|
link: Int | Literal["average", "maximum"] | Default = Default("average"),
|
7187
|
-
level_sc: Double = Default(1
|
7188
|
-
|
7343
|
+
level_sc: Double = Default("1"),
|
7344
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7189
7345
|
extra_options: dict[str, Any] | None = None,
|
7190
7346
|
) -> AudioStream:
|
7191
7347
|
"""
|
@@ -7205,7 +7361,8 @@ class AudioStream(FilterableStream):
|
|
7205
7361
|
detection: set detection (from 0 to 1) (default rms)
|
7206
7362
|
link: set link (from 0 to 1) (default average)
|
7207
7363
|
level_sc: set sidechain gain (from 0.015625 to 64) (default 1)
|
7208
|
-
|
7364
|
+
timeline_options: Timeline options
|
7365
|
+
extra_options: Extra options for the filter
|
7209
7366
|
|
7210
7367
|
Returns:
|
7211
7368
|
default: the audio stream
|
@@ -7236,9 +7393,9 @@ class AudioStream(FilterableStream):
|
|
7236
7393
|
"detection": detection,
|
7237
7394
|
"link": link,
|
7238
7395
|
"level_sc": level_sc,
|
7239
|
-
"enable": enable,
|
7240
7396
|
},
|
7241
7397
|
extra_options,
|
7398
|
+
timeline_options,
|
7242
7399
|
),
|
7243
7400
|
)
|
7244
7401
|
return filter_node.audio(0)
|
@@ -7246,9 +7403,9 @@ class AudioStream(FilterableStream):
|
|
7246
7403
|
def silencedetect(
|
7247
7404
|
self,
|
7248
7405
|
*,
|
7249
|
-
n: Double = Default(0.001),
|
7250
|
-
d: Duration = Default(2
|
7251
|
-
mono: Boolean = Default(
|
7406
|
+
n: Double = Default("0.001"),
|
7407
|
+
d: Duration = Default("2"),
|
7408
|
+
mono: Boolean = Default("false"),
|
7252
7409
|
extra_options: dict[str, Any] | None = None,
|
7253
7410
|
) -> AudioStream:
|
7254
7411
|
"""
|
@@ -7259,6 +7416,7 @@ class AudioStream(FilterableStream):
|
|
7259
7416
|
n: set noise tolerance (from 0 to DBL_MAX) (default 0.001)
|
7260
7417
|
d: set minimum duration in seconds (default 2)
|
7261
7418
|
mono: check each channel separately (default false)
|
7419
|
+
extra_options: Extra options for the filter
|
7262
7420
|
|
7263
7421
|
Returns:
|
7264
7422
|
default: the audio stream
|
@@ -7288,22 +7446,22 @@ class AudioStream(FilterableStream):
|
|
7288
7446
|
def silenceremove(
|
7289
7447
|
self,
|
7290
7448
|
*,
|
7291
|
-
start_periods: Int = Default(0),
|
7292
|
-
start_duration: Duration = Default(0
|
7293
|
-
start_threshold: Double = Default(0
|
7294
|
-
start_silence: Duration = Default(0
|
7449
|
+
start_periods: Int = Default("0"),
|
7450
|
+
start_duration: Duration = Default("0"),
|
7451
|
+
start_threshold: Double = Default("0"),
|
7452
|
+
start_silence: Duration = Default("0"),
|
7295
7453
|
start_mode: Int | Literal["any", "all"] | Default = Default("any"),
|
7296
|
-
stop_periods: Int = Default(0),
|
7297
|
-
stop_duration: Duration = Default(0
|
7298
|
-
stop_threshold: Double = Default(0
|
7299
|
-
stop_silence: Duration = Default(0
|
7454
|
+
stop_periods: Int = Default("0"),
|
7455
|
+
stop_duration: Duration = Default("0"),
|
7456
|
+
stop_threshold: Double = Default("0"),
|
7457
|
+
stop_silence: Duration = Default("0"),
|
7300
7458
|
stop_mode: Int | Literal["any", "all"] | Default = Default("all"),
|
7301
7459
|
detection: Int
|
7302
7460
|
| Literal["avg", "rms", "peak", "median", "ptp", "dev"]
|
7303
7461
|
| Default = Default("rms"),
|
7304
|
-
window: Duration = Default(0.02),
|
7462
|
+
window: Duration = Default("0.02"),
|
7305
7463
|
timestamp: Int | Literal["write", "copy"] | Default = Default("write"),
|
7306
|
-
|
7464
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7307
7465
|
extra_options: dict[str, Any] | None = None,
|
7308
7466
|
) -> AudioStream:
|
7309
7467
|
"""
|
@@ -7324,7 +7482,8 @@ class AudioStream(FilterableStream):
|
|
7324
7482
|
detection: set how silence is detected (from 0 to 5) (default rms)
|
7325
7483
|
window: set duration of window for silence detection (default 0.02)
|
7326
7484
|
timestamp: set how every output frame timestamp is processed (from 0 to 1) (default write)
|
7327
|
-
|
7485
|
+
timeline_options: Timeline options
|
7486
|
+
extra_options: Extra options for the filter
|
7328
7487
|
|
7329
7488
|
Returns:
|
7330
7489
|
default: the audio stream
|
@@ -7355,9 +7514,9 @@ class AudioStream(FilterableStream):
|
|
7355
7514
|
"detection": detection,
|
7356
7515
|
"window": window,
|
7357
7516
|
"timestamp": timestamp,
|
7358
|
-
"enable": enable,
|
7359
7517
|
},
|
7360
7518
|
extra_options,
|
7519
|
+
timeline_options,
|
7361
7520
|
),
|
7362
7521
|
)
|
7363
7522
|
return filter_node.audio(0)
|
@@ -7366,19 +7525,19 @@ class AudioStream(FilterableStream):
|
|
7366
7525
|
self,
|
7367
7526
|
*,
|
7368
7527
|
sofa: String = Default(None),
|
7369
|
-
gain: Float = Default(0
|
7370
|
-
rotation: Float = Default(0
|
7371
|
-
elevation: Float = Default(0
|
7372
|
-
radius: Float = Default(1
|
7528
|
+
gain: Float = Default("0"),
|
7529
|
+
rotation: Float = Default("0"),
|
7530
|
+
elevation: Float = Default("0"),
|
7531
|
+
radius: Float = Default("1"),
|
7373
7532
|
type: Int | Literal["time", "freq"] | Default = Default("freq"),
|
7374
7533
|
speakers: String = Default(None),
|
7375
|
-
lfegain: Float = Default(0
|
7376
|
-
framesize: Int = Default(1024),
|
7377
|
-
normalize: Boolean = Default(
|
7378
|
-
interpolate: Boolean = Default(
|
7379
|
-
minphase: Boolean = Default(
|
7380
|
-
anglestep: Float = Default(0.5),
|
7381
|
-
radstep: Float = Default(0.01),
|
7534
|
+
lfegain: Float = Default("0"),
|
7535
|
+
framesize: Int = Default("1024"),
|
7536
|
+
normalize: Boolean = Default("true"),
|
7537
|
+
interpolate: Boolean = Default("false"),
|
7538
|
+
minphase: Boolean = Default("false"),
|
7539
|
+
anglestep: Float = Default("0.5"),
|
7540
|
+
radstep: Float = Default("0.01"),
|
7382
7541
|
extra_options: dict[str, Any] | None = None,
|
7383
7542
|
) -> AudioStream:
|
7384
7543
|
"""
|
@@ -7400,6 +7559,7 @@ class AudioStream(FilterableStream):
|
|
7400
7559
|
minphase: minphase IRs (default false)
|
7401
7560
|
anglestep: set neighbor search angle step (from 0.01 to 10) (default 0.5)
|
7402
7561
|
radstep: set neighbor search radius step (from 0.01 to 1) (default 0.01)
|
7562
|
+
extra_options: Extra options for the filter
|
7403
7563
|
|
7404
7564
|
Returns:
|
7405
7565
|
default: the audio stream
|
@@ -7438,17 +7598,17 @@ class AudioStream(FilterableStream):
|
|
7438
7598
|
def speechnorm(
|
7439
7599
|
self,
|
7440
7600
|
*,
|
7441
|
-
peak: Double = Default(0.95),
|
7442
|
-
expansion: Double = Default(2
|
7443
|
-
compression: Double = Default(2
|
7444
|
-
threshold: Double = Default(0
|
7445
|
-
_raise: Double = Default(0.001),
|
7446
|
-
fall: Double = Default(0.001),
|
7601
|
+
peak: Double = Default("0.95"),
|
7602
|
+
expansion: Double = Default("2"),
|
7603
|
+
compression: Double = Default("2"),
|
7604
|
+
threshold: Double = Default("0"),
|
7605
|
+
_raise: Double = Default("0.001"),
|
7606
|
+
fall: Double = Default("0.001"),
|
7447
7607
|
channels: String = Default("all"),
|
7448
|
-
invert: Boolean = Default(
|
7449
|
-
link: Boolean = Default(
|
7450
|
-
rms: Double = Default(0
|
7451
|
-
|
7608
|
+
invert: Boolean = Default("false"),
|
7609
|
+
link: Boolean = Default("false"),
|
7610
|
+
rms: Double = Default("0"),
|
7611
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7452
7612
|
extra_options: dict[str, Any] | None = None,
|
7453
7613
|
) -> AudioStream:
|
7454
7614
|
"""
|
@@ -7466,7 +7626,8 @@ class AudioStream(FilterableStream):
|
|
7466
7626
|
invert: set inverted filtering (default false)
|
7467
7627
|
link: set linked channels filtering (default false)
|
7468
7628
|
rms: set the RMS value (from 0 to 1) (default 0)
|
7469
|
-
|
7629
|
+
timeline_options: Timeline options
|
7630
|
+
extra_options: Extra options for the filter
|
7470
7631
|
|
7471
7632
|
Returns:
|
7472
7633
|
default: the audio stream
|
@@ -7492,9 +7653,9 @@ class AudioStream(FilterableStream):
|
|
7492
7653
|
"invert": invert,
|
7493
7654
|
"link": link,
|
7494
7655
|
"rms": rms,
|
7495
|
-
"enable": enable,
|
7496
7656
|
},
|
7497
7657
|
extra_options,
|
7658
|
+
timeline_options,
|
7498
7659
|
),
|
7499
7660
|
)
|
7500
7661
|
return filter_node.audio(0)
|
@@ -7502,33 +7663,45 @@ class AudioStream(FilterableStream):
|
|
7502
7663
|
def stereotools(
|
7503
7664
|
self,
|
7504
7665
|
*,
|
7505
|
-
level_in: Double = Default(1
|
7506
|
-
level_out: Double = Default(1
|
7507
|
-
balance_in: Double = Default(0
|
7508
|
-
balance_out: Double = Default(0
|
7509
|
-
softclip: Boolean = Default(
|
7510
|
-
mutel: Boolean = Default(
|
7511
|
-
muter: Boolean = Default(
|
7512
|
-
phasel: Boolean = Default(
|
7513
|
-
phaser: Boolean = Default(
|
7666
|
+
level_in: Double = Default("1"),
|
7667
|
+
level_out: Double = Default("1"),
|
7668
|
+
balance_in: Double = Default("0"),
|
7669
|
+
balance_out: Double = Default("0"),
|
7670
|
+
softclip: Boolean = Default("false"),
|
7671
|
+
mutel: Boolean = Default("false"),
|
7672
|
+
muter: Boolean = Default("false"),
|
7673
|
+
phasel: Boolean = Default("false"),
|
7674
|
+
phaser: Boolean = Default("false"),
|
7514
7675
|
mode: Int
|
7515
|
-
| Literal[
|
7676
|
+
| Literal[
|
7677
|
+
"lr>lr",
|
7678
|
+
"lr>ms",
|
7679
|
+
"ms>lr",
|
7680
|
+
"lr>ll",
|
7681
|
+
"lr>rr",
|
7682
|
+
"lr>l+r",
|
7683
|
+
"lr>rl",
|
7684
|
+
"ms>ll",
|
7685
|
+
"ms>rr",
|
7686
|
+
"ms>rl",
|
7687
|
+
"lr>l-r",
|
7688
|
+
]
|
7516
7689
|
| Default = Default("lr>lr"),
|
7517
|
-
slev: Double = Default(1
|
7518
|
-
sbal: Double = Default(0
|
7519
|
-
mlev: Double = Default(1
|
7520
|
-
mpan: Double = Default(0
|
7521
|
-
base: Double = Default(0
|
7522
|
-
delay: Double = Default(0
|
7523
|
-
sclevel: Double = Default(1
|
7524
|
-
phase: Double = Default(0
|
7690
|
+
slev: Double = Default("1"),
|
7691
|
+
sbal: Double = Default("0"),
|
7692
|
+
mlev: Double = Default("1"),
|
7693
|
+
mpan: Double = Default("0"),
|
7694
|
+
base: Double = Default("0"),
|
7695
|
+
delay: Double = Default("0"),
|
7696
|
+
sclevel: Double = Default("1"),
|
7697
|
+
phase: Double = Default("0"),
|
7525
7698
|
bmode_in: Int | Literal["balance", "amplitude", "power"] | Default = Default(
|
7526
7699
|
"balance"
|
7527
7700
|
),
|
7528
7701
|
bmode_out: Int | Literal["balance", "amplitude", "power"] | Default = Default(
|
7529
7702
|
"balance"
|
7530
7703
|
),
|
7531
|
-
|
7704
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7532
7705
|
extra_options: dict[str, Any] | None = None,
|
7533
7706
|
) -> AudioStream:
|
7534
7707
|
"""
|
@@ -7556,7 +7729,8 @@ class AudioStream(FilterableStream):
|
|
7556
7729
|
phase: set stereo phase (from 0 to 360) (default 0)
|
7557
7730
|
bmode_in: set balance in mode (from 0 to 2) (default balance)
|
7558
7731
|
bmode_out: set balance out mode (from 0 to 2) (default balance)
|
7559
|
-
|
7732
|
+
timeline_options: Timeline options
|
7733
|
+
extra_options: Extra options for the filter
|
7560
7734
|
|
7561
7735
|
Returns:
|
7562
7736
|
default: the audio stream
|
@@ -7592,9 +7766,9 @@ class AudioStream(FilterableStream):
|
|
7592
7766
|
"phase": phase,
|
7593
7767
|
"bmode_in": bmode_in,
|
7594
7768
|
"bmode_out": bmode_out,
|
7595
|
-
"enable": enable,
|
7596
7769
|
},
|
7597
7770
|
extra_options,
|
7771
|
+
timeline_options,
|
7598
7772
|
),
|
7599
7773
|
)
|
7600
7774
|
return filter_node.audio(0)
|
@@ -7602,11 +7776,11 @@ class AudioStream(FilterableStream):
|
|
7602
7776
|
def stereowiden(
|
7603
7777
|
self,
|
7604
7778
|
*,
|
7605
|
-
delay: Float = Default(20
|
7606
|
-
feedback: Float = Default(0.3),
|
7607
|
-
crossfeed: Float = Default(0.3),
|
7608
|
-
drymix: Float = Default(0.8),
|
7609
|
-
|
7779
|
+
delay: Float = Default("20"),
|
7780
|
+
feedback: Float = Default("0.3"),
|
7781
|
+
crossfeed: Float = Default("0.3"),
|
7782
|
+
drymix: Float = Default("0.8"),
|
7783
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7610
7784
|
extra_options: dict[str, Any] | None = None,
|
7611
7785
|
) -> AudioStream:
|
7612
7786
|
"""
|
@@ -7618,7 +7792,8 @@ class AudioStream(FilterableStream):
|
|
7618
7792
|
feedback: set feedback gain (from 0 to 0.9) (default 0.3)
|
7619
7793
|
crossfeed: set cross feed (from 0 to 0.8) (default 0.3)
|
7620
7794
|
drymix: set dry-mix (from 0 to 1) (default 0.8)
|
7621
|
-
|
7795
|
+
timeline_options: Timeline options
|
7796
|
+
extra_options: Extra options for the filter
|
7622
7797
|
|
7623
7798
|
Returns:
|
7624
7799
|
default: the audio stream
|
@@ -7638,9 +7813,9 @@ class AudioStream(FilterableStream):
|
|
7638
7813
|
"feedback": feedback,
|
7639
7814
|
"crossfeed": crossfeed,
|
7640
7815
|
"drymix": drymix,
|
7641
|
-
"enable": enable,
|
7642
7816
|
},
|
7643
7817
|
extra_options,
|
7818
|
+
timeline_options,
|
7644
7819
|
),
|
7645
7820
|
)
|
7646
7821
|
return filter_node.audio(0)
|
@@ -7648,24 +7823,24 @@ class AudioStream(FilterableStream):
|
|
7648
7823
|
def superequalizer(
|
7649
7824
|
self,
|
7650
7825
|
*,
|
7651
|
-
_1b: Float = Default(1
|
7652
|
-
_2b: Float = Default(1
|
7653
|
-
_3b: Float = Default(1
|
7654
|
-
_4b: Float = Default(1
|
7655
|
-
_5b: Float = Default(1
|
7656
|
-
_6b: Float = Default(1
|
7657
|
-
_7b: Float = Default(1
|
7658
|
-
_8b: Float = Default(1
|
7659
|
-
_9b: Float = Default(1
|
7660
|
-
_10b: Float = Default(1
|
7661
|
-
_11b: Float = Default(1
|
7662
|
-
_12b: Float = Default(1
|
7663
|
-
_13b: Float = Default(1
|
7664
|
-
_14b: Float = Default(1
|
7665
|
-
_15b: Float = Default(1
|
7666
|
-
_16b: Float = Default(1
|
7667
|
-
_17b: Float = Default(1
|
7668
|
-
_18b: Float = Default(1
|
7826
|
+
_1b: Float = Default("1"),
|
7827
|
+
_2b: Float = Default("1"),
|
7828
|
+
_3b: Float = Default("1"),
|
7829
|
+
_4b: Float = Default("1"),
|
7830
|
+
_5b: Float = Default("1"),
|
7831
|
+
_6b: Float = Default("1"),
|
7832
|
+
_7b: Float = Default("1"),
|
7833
|
+
_8b: Float = Default("1"),
|
7834
|
+
_9b: Float = Default("1"),
|
7835
|
+
_10b: Float = Default("1"),
|
7836
|
+
_11b: Float = Default("1"),
|
7837
|
+
_12b: Float = Default("1"),
|
7838
|
+
_13b: Float = Default("1"),
|
7839
|
+
_14b: Float = Default("1"),
|
7840
|
+
_15b: Float = Default("1"),
|
7841
|
+
_16b: Float = Default("1"),
|
7842
|
+
_17b: Float = Default("1"),
|
7843
|
+
_18b: Float = Default("1"),
|
7669
7844
|
extra_options: dict[str, Any] | None = None,
|
7670
7845
|
) -> AudioStream:
|
7671
7846
|
"""
|
@@ -7691,6 +7866,7 @@ class AudioStream(FilterableStream):
|
|
7691
7866
|
_16b: set 11840Hz band gain (from 0 to 20) (default 1)
|
7692
7867
|
_17b: set 16744Hz band gain (from 0 to 20) (default 1)
|
7693
7868
|
_18b: set 20000Hz band gain (from 0 to 20) (default 1)
|
7869
|
+
extra_options: Extra options for the filter
|
7694
7870
|
|
7695
7871
|
Returns:
|
7696
7872
|
default: the audio stream
|
@@ -7737,52 +7913,52 @@ class AudioStream(FilterableStream):
|
|
7737
7913
|
*,
|
7738
7914
|
chl_out: String = Default("5.1"),
|
7739
7915
|
chl_in: String = Default("stereo"),
|
7740
|
-
level_in: Float = Default(1
|
7741
|
-
level_out: Float = Default(1
|
7742
|
-
lfe: Boolean = Default(
|
7743
|
-
lfe_low: Int = Default(128),
|
7744
|
-
lfe_high: Int = Default(256),
|
7916
|
+
level_in: Float = Default("1"),
|
7917
|
+
level_out: Float = Default("1"),
|
7918
|
+
lfe: Boolean = Default("true"),
|
7919
|
+
lfe_low: Int = Default("128"),
|
7920
|
+
lfe_high: Int = Default("256"),
|
7745
7921
|
lfe_mode: Int | Literal["add", "sub"] | Default = Default("add"),
|
7746
|
-
smooth: Float = Default(0
|
7747
|
-
angle: Float = Default(90
|
7748
|
-
focus: Float = Default(0
|
7749
|
-
fc_in: Float = Default(1
|
7750
|
-
fc_out: Float = Default(1
|
7751
|
-
fl_in: Float = Default(1
|
7752
|
-
fl_out: Float = Default(1
|
7753
|
-
fr_in: Float = Default(1
|
7754
|
-
fr_out: Float = Default(1
|
7755
|
-
sl_in: Float = Default(1
|
7756
|
-
sl_out: Float = Default(1
|
7757
|
-
sr_in: Float = Default(1
|
7758
|
-
sr_out: Float = Default(1
|
7759
|
-
bl_in: Float = Default(1
|
7760
|
-
bl_out: Float = Default(1
|
7761
|
-
br_in: Float = Default(1
|
7762
|
-
br_out: Float = Default(1
|
7763
|
-
bc_in: Float = Default(1
|
7764
|
-
bc_out: Float = Default(1
|
7765
|
-
lfe_in: Float = Default(1
|
7766
|
-
lfe_out: Float = Default(1
|
7767
|
-
allx: Float = Default(-1
|
7768
|
-
ally: Float = Default(-1
|
7769
|
-
fcx: Float = Default(0.5),
|
7770
|
-
flx: Float = Default(0.5),
|
7771
|
-
frx: Float = Default(0.5),
|
7772
|
-
blx: Float = Default(0.5),
|
7773
|
-
brx: Float = Default(0.5),
|
7774
|
-
slx: Float = Default(0.5),
|
7775
|
-
srx: Float = Default(0.5),
|
7776
|
-
bcx: Float = Default(0.5),
|
7777
|
-
fcy: Float = Default(0.5),
|
7778
|
-
fly: Float = Default(0.5),
|
7779
|
-
fry: Float = Default(0.5),
|
7780
|
-
bly: Float = Default(0.5),
|
7781
|
-
bry: Float = Default(0.5),
|
7782
|
-
sly: Float = Default(0.5),
|
7783
|
-
sry: Float = Default(0.5),
|
7784
|
-
bcy: Float = Default(0.5),
|
7785
|
-
win_size: Int = Default(4096),
|
7922
|
+
smooth: Float = Default("0"),
|
7923
|
+
angle: Float = Default("90"),
|
7924
|
+
focus: Float = Default("0"),
|
7925
|
+
fc_in: Float = Default("1"),
|
7926
|
+
fc_out: Float = Default("1"),
|
7927
|
+
fl_in: Float = Default("1"),
|
7928
|
+
fl_out: Float = Default("1"),
|
7929
|
+
fr_in: Float = Default("1"),
|
7930
|
+
fr_out: Float = Default("1"),
|
7931
|
+
sl_in: Float = Default("1"),
|
7932
|
+
sl_out: Float = Default("1"),
|
7933
|
+
sr_in: Float = Default("1"),
|
7934
|
+
sr_out: Float = Default("1"),
|
7935
|
+
bl_in: Float = Default("1"),
|
7936
|
+
bl_out: Float = Default("1"),
|
7937
|
+
br_in: Float = Default("1"),
|
7938
|
+
br_out: Float = Default("1"),
|
7939
|
+
bc_in: Float = Default("1"),
|
7940
|
+
bc_out: Float = Default("1"),
|
7941
|
+
lfe_in: Float = Default("1"),
|
7942
|
+
lfe_out: Float = Default("1"),
|
7943
|
+
allx: Float = Default("-1"),
|
7944
|
+
ally: Float = Default("-1"),
|
7945
|
+
fcx: Float = Default("0.5"),
|
7946
|
+
flx: Float = Default("0.5"),
|
7947
|
+
frx: Float = Default("0.5"),
|
7948
|
+
blx: Float = Default("0.5"),
|
7949
|
+
brx: Float = Default("0.5"),
|
7950
|
+
slx: Float = Default("0.5"),
|
7951
|
+
srx: Float = Default("0.5"),
|
7952
|
+
bcx: Float = Default("0.5"),
|
7953
|
+
fcy: Float = Default("0.5"),
|
7954
|
+
fly: Float = Default("0.5"),
|
7955
|
+
fry: Float = Default("0.5"),
|
7956
|
+
bly: Float = Default("0.5"),
|
7957
|
+
bry: Float = Default("0.5"),
|
7958
|
+
sly: Float = Default("0.5"),
|
7959
|
+
sry: Float = Default("0.5"),
|
7960
|
+
bcy: Float = Default("0.5"),
|
7961
|
+
win_size: Int = Default("4096"),
|
7786
7962
|
win_func: Int
|
7787
7963
|
| Literal[
|
7788
7964
|
"rect",
|
@@ -7809,7 +7985,7 @@ class AudioStream(FilterableStream):
|
|
7809
7985
|
"kaiser",
|
7810
7986
|
]
|
7811
7987
|
| Default = Default("hann"),
|
7812
|
-
overlap: Float = Default(0.5),
|
7988
|
+
overlap: Float = Default("0.5"),
|
7813
7989
|
extra_options: dict[str, Any] | None = None,
|
7814
7990
|
) -> AudioStream:
|
7815
7991
|
"""
|
@@ -7867,6 +8043,7 @@ class AudioStream(FilterableStream):
|
|
7867
8043
|
win_size: set window size (from 1024 to 65536) (default 4096)
|
7868
8044
|
win_func: set window function (from 0 to 20) (default hann)
|
7869
8045
|
overlap: set window overlap (from 0 to 1) (default 0.5)
|
8046
|
+
extra_options: Extra options for the filter
|
7870
8047
|
|
7871
8048
|
Returns:
|
7872
8049
|
default: the audio stream
|
@@ -7941,22 +8118,22 @@ class AudioStream(FilterableStream):
|
|
7941
8118
|
def tiltshelf(
|
7942
8119
|
self,
|
7943
8120
|
*,
|
7944
|
-
frequency: Double = Default(3000
|
8121
|
+
frequency: Double = Default("3000"),
|
7945
8122
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
7946
|
-
width: Double = Default(0.5),
|
7947
|
-
gain: Double = Default(0
|
7948
|
-
poles: Int = Default(2),
|
7949
|
-
mix: Double = Default(1
|
8123
|
+
width: Double = Default("0.5"),
|
8124
|
+
gain: Double = Default("0"),
|
8125
|
+
poles: Int = Default("2"),
|
8126
|
+
mix: Double = Default("1"),
|
7950
8127
|
channels: String = Default("all"),
|
7951
|
-
normalize: Boolean = Default(
|
8128
|
+
normalize: Boolean = Default("false"),
|
7952
8129
|
transform: Int
|
7953
8130
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
7954
8131
|
| Default = Default("di"),
|
7955
8132
|
precision: Int
|
7956
8133
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
7957
8134
|
| Default = Default("auto"),
|
7958
|
-
blocksize: Int = Default(0),
|
7959
|
-
|
8135
|
+
blocksize: Int = Default("0"),
|
8136
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
7960
8137
|
extra_options: dict[str, Any] | None = None,
|
7961
8138
|
) -> AudioStream:
|
7962
8139
|
"""
|
@@ -7975,7 +8152,8 @@ class AudioStream(FilterableStream):
|
|
7975
8152
|
transform: set transform type (from 0 to 6) (default di)
|
7976
8153
|
precision: set filtering precision (from -1 to 3) (default auto)
|
7977
8154
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
7978
|
-
|
8155
|
+
timeline_options: Timeline options
|
8156
|
+
extra_options: Extra options for the filter
|
7979
8157
|
|
7980
8158
|
Returns:
|
7981
8159
|
default: the audio stream
|
@@ -8002,9 +8180,9 @@ class AudioStream(FilterableStream):
|
|
8002
8180
|
"transform": transform,
|
8003
8181
|
"precision": precision,
|
8004
8182
|
"blocksize": blocksize,
|
8005
|
-
"enable": enable,
|
8006
8183
|
},
|
8007
8184
|
extra_options,
|
8185
|
+
timeline_options,
|
8008
8186
|
),
|
8009
8187
|
)
|
8010
8188
|
return filter_node.audio(0)
|
@@ -8012,22 +8190,22 @@ class AudioStream(FilterableStream):
|
|
8012
8190
|
def treble(
|
8013
8191
|
self,
|
8014
8192
|
*,
|
8015
|
-
frequency: Double = Default(3000
|
8193
|
+
frequency: Double = Default("3000"),
|
8016
8194
|
width_type: Int | Literal["h", "q", "o", "s", "k"] | Default = Default("q"),
|
8017
|
-
width: Double = Default(0.5),
|
8018
|
-
gain: Double = Default(0
|
8019
|
-
poles: Int = Default(2),
|
8020
|
-
mix: Double = Default(1
|
8195
|
+
width: Double = Default("0.5"),
|
8196
|
+
gain: Double = Default("0"),
|
8197
|
+
poles: Int = Default("2"),
|
8198
|
+
mix: Double = Default("1"),
|
8021
8199
|
channels: String = Default("all"),
|
8022
|
-
normalize: Boolean = Default(
|
8200
|
+
normalize: Boolean = Default("false"),
|
8023
8201
|
transform: Int
|
8024
8202
|
| Literal["di", "dii", "tdi", "tdii", "latt", "svf", "zdf"]
|
8025
8203
|
| Default = Default("di"),
|
8026
8204
|
precision: Int
|
8027
8205
|
| Literal["auto", "s16", "s32", "f32", "f64"]
|
8028
8206
|
| Default = Default("auto"),
|
8029
|
-
blocksize: Int = Default(0),
|
8030
|
-
|
8207
|
+
blocksize: Int = Default("0"),
|
8208
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
8031
8209
|
extra_options: dict[str, Any] | None = None,
|
8032
8210
|
) -> AudioStream:
|
8033
8211
|
"""
|
@@ -8046,7 +8224,8 @@ class AudioStream(FilterableStream):
|
|
8046
8224
|
transform: set transform type (from 0 to 6) (default di)
|
8047
8225
|
precision: set filtering precision (from -1 to 3) (default auto)
|
8048
8226
|
blocksize: set the block size (from 0 to 32768) (default 0)
|
8049
|
-
|
8227
|
+
timeline_options: Timeline options
|
8228
|
+
extra_options: Extra options for the filter
|
8050
8229
|
|
8051
8230
|
Returns:
|
8052
8231
|
default: the audio stream
|
@@ -8073,9 +8252,9 @@ class AudioStream(FilterableStream):
|
|
8073
8252
|
"transform": transform,
|
8074
8253
|
"precision": precision,
|
8075
8254
|
"blocksize": blocksize,
|
8076
|
-
"enable": enable,
|
8077
8255
|
},
|
8078
8256
|
extra_options,
|
8257
|
+
timeline_options,
|
8079
8258
|
),
|
8080
8259
|
)
|
8081
8260
|
return filter_node.audio(0)
|
@@ -8083,9 +8262,9 @@ class AudioStream(FilterableStream):
|
|
8083
8262
|
def tremolo(
|
8084
8263
|
self,
|
8085
8264
|
*,
|
8086
|
-
f: Double = Default(5
|
8087
|
-
d: Double = Default(0.5),
|
8088
|
-
|
8265
|
+
f: Double = Default("5"),
|
8266
|
+
d: Double = Default("0.5"),
|
8267
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
8089
8268
|
extra_options: dict[str, Any] | None = None,
|
8090
8269
|
) -> AudioStream:
|
8091
8270
|
"""
|
@@ -8095,7 +8274,8 @@ class AudioStream(FilterableStream):
|
|
8095
8274
|
Args:
|
8096
8275
|
f: set frequency in hertz (from 0.1 to 20000) (default 5)
|
8097
8276
|
d: set depth as percentage (from 0 to 1) (default 0.5)
|
8098
|
-
|
8277
|
+
timeline_options: Timeline options
|
8278
|
+
extra_options: Extra options for the filter
|
8099
8279
|
|
8100
8280
|
Returns:
|
8101
8281
|
default: the audio stream
|
@@ -8113,9 +8293,9 @@ class AudioStream(FilterableStream):
|
|
8113
8293
|
{
|
8114
8294
|
"f": f,
|
8115
8295
|
"d": d,
|
8116
|
-
"enable": enable,
|
8117
8296
|
},
|
8118
8297
|
extra_options,
|
8298
|
+
timeline_options,
|
8119
8299
|
),
|
8120
8300
|
)
|
8121
8301
|
return filter_node.audio(0)
|
@@ -8123,9 +8303,9 @@ class AudioStream(FilterableStream):
|
|
8123
8303
|
def vibrato(
|
8124
8304
|
self,
|
8125
8305
|
*,
|
8126
|
-
f: Double = Default(5
|
8127
|
-
d: Double = Default(0.5),
|
8128
|
-
|
8306
|
+
f: Double = Default("5"),
|
8307
|
+
d: Double = Default("0.5"),
|
8308
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
8129
8309
|
extra_options: dict[str, Any] | None = None,
|
8130
8310
|
) -> AudioStream:
|
8131
8311
|
"""
|
@@ -8135,7 +8315,8 @@ class AudioStream(FilterableStream):
|
|
8135
8315
|
Args:
|
8136
8316
|
f: set frequency in hertz (from 0.1 to 20000) (default 5)
|
8137
8317
|
d: set depth as percentage (from 0 to 1) (default 0.5)
|
8138
|
-
|
8318
|
+
timeline_options: Timeline options
|
8319
|
+
extra_options: Extra options for the filter
|
8139
8320
|
|
8140
8321
|
Returns:
|
8141
8322
|
default: the audio stream
|
@@ -8153,9 +8334,9 @@ class AudioStream(FilterableStream):
|
|
8153
8334
|
{
|
8154
8335
|
"f": f,
|
8155
8336
|
"d": d,
|
8156
|
-
"enable": enable,
|
8157
8337
|
},
|
8158
8338
|
extra_options,
|
8339
|
+
timeline_options,
|
8159
8340
|
),
|
8160
8341
|
)
|
8161
8342
|
return filter_node.audio(0)
|
@@ -8163,9 +8344,9 @@ class AudioStream(FilterableStream):
|
|
8163
8344
|
def virtualbass(
|
8164
8345
|
self,
|
8165
8346
|
*,
|
8166
|
-
cutoff: Double = Default(250
|
8167
|
-
strength: Double = Default(3
|
8168
|
-
|
8347
|
+
cutoff: Double = Default("250"),
|
8348
|
+
strength: Double = Default("3"),
|
8349
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
8169
8350
|
extra_options: dict[str, Any] | None = None,
|
8170
8351
|
) -> AudioStream:
|
8171
8352
|
"""
|
@@ -8175,7 +8356,8 @@ class AudioStream(FilterableStream):
|
|
8175
8356
|
Args:
|
8176
8357
|
cutoff: set virtual bass cutoff (from 100 to 500) (default 250)
|
8177
8358
|
strength: set virtual bass strength (from 0.5 to 3) (default 3)
|
8178
|
-
|
8359
|
+
timeline_options: Timeline options
|
8360
|
+
extra_options: Extra options for the filter
|
8179
8361
|
|
8180
8362
|
Returns:
|
8181
8363
|
default: the audio stream
|
@@ -8193,9 +8375,9 @@ class AudioStream(FilterableStream):
|
|
8193
8375
|
{
|
8194
8376
|
"cutoff": cutoff,
|
8195
8377
|
"strength": strength,
|
8196
|
-
"enable": enable,
|
8197
8378
|
},
|
8198
8379
|
extra_options,
|
8380
|
+
timeline_options,
|
8199
8381
|
),
|
8200
8382
|
)
|
8201
8383
|
return filter_node.audio(0)
|
@@ -8211,9 +8393,9 @@ class AudioStream(FilterableStream):
|
|
8211
8393
|
replaygain: Int
|
8212
8394
|
| Literal["drop", "ignore", "track", "album"]
|
8213
8395
|
| Default = Default("drop"),
|
8214
|
-
replaygain_preamp: Double = Default(0
|
8215
|
-
replaygain_noclip: Boolean = Default(
|
8216
|
-
|
8396
|
+
replaygain_preamp: Double = Default("0"),
|
8397
|
+
replaygain_noclip: Boolean = Default("true"),
|
8398
|
+
timeline_options: FFMpegTimelineOption | None = None,
|
8217
8399
|
extra_options: dict[str, Any] | None = None,
|
8218
8400
|
) -> AudioStream:
|
8219
8401
|
"""
|
@@ -8227,7 +8409,8 @@ class AudioStream(FilterableStream):
|
|
8227
8409
|
replaygain: Apply replaygain side data when present (from 0 to 3) (default drop)
|
8228
8410
|
replaygain_preamp: Apply replaygain pre-amplification (from -15 to 15) (default 0)
|
8229
8411
|
replaygain_noclip: Apply replaygain clipping prevention (default true)
|
8230
|
-
|
8412
|
+
timeline_options: Timeline options
|
8413
|
+
extra_options: Extra options for the filter
|
8231
8414
|
|
8232
8415
|
Returns:
|
8233
8416
|
default: the audio stream
|
@@ -8249,9 +8432,9 @@ class AudioStream(FilterableStream):
|
|
8249
8432
|
"replaygain": replaygain,
|
8250
8433
|
"replaygain_preamp": replaygain_preamp,
|
8251
8434
|
"replaygain_noclip": replaygain_noclip,
|
8252
|
-
"enable": enable,
|
8253
8435
|
},
|
8254
8436
|
extra_options,
|
8437
|
+
timeline_options,
|
8255
8438
|
),
|
8256
8439
|
)
|
8257
8440
|
return filter_node.audio(0)
|
@@ -8264,6 +8447,9 @@ class AudioStream(FilterableStream):
|
|
8264
8447
|
|
8265
8448
|
Detect audio volume.
|
8266
8449
|
|
8450
|
+
Args:
|
8451
|
+
extra_options: Extra options for the filter
|
8452
|
+
|
8267
8453
|
Returns:
|
8268
8454
|
default: the audio stream
|
8269
8455
|
|
@@ -8276,6 +8462,9 @@ class AudioStream(FilterableStream):
|
|
8276
8462
|
name="volumedetect", typings_input=("audio",), typings_output=("audio",)
|
8277
8463
|
),
|
8278
8464
|
self,
|
8279
|
-
**merge(
|
8465
|
+
**merge(
|
8466
|
+
{},
|
8467
|
+
extra_options,
|
8468
|
+
),
|
8280
8469
|
)
|
8281
8470
|
return filter_node.audio(0)
|