typed-ffmpeg-compatible 3.4.1__py3-none-any.whl → 3.5.0__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/_version.py +2 -2
- typed_ffmpeg/codecs/decoders.py +60 -10
- typed_ffmpeg/types.py +4 -4
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/METADATA +1 -1
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/RECORD +9 -9
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/WHEEL +0 -0
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/entry_points.txt +0 -0
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/licenses/LICENSE +0 -0
- {typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/top_level.txt +0 -0
typed_ffmpeg/_version.py
CHANGED
typed_ffmpeg/codecs/decoders.py
CHANGED
@@ -6512,15 +6512,25 @@ def mpl2() -> FFMpegDecoderOption:
|
|
6512
6512
|
return FFMpegDecoderOption(kwargs=merge({}))
|
6513
6513
|
|
6514
6514
|
|
6515
|
-
def pjs(
|
6515
|
+
def pjs(
|
6516
|
+
keep_ass_markup: bool | None = None,
|
6517
|
+
) -> FFMpegDecoderOption:
|
6516
6518
|
"""
|
6517
6519
|
PJS subtitle
|
6518
6520
|
|
6521
|
+
Args:
|
6522
|
+
keep_ass_markup: Set if ASS tags must be escaped (default false)
|
6519
6523
|
|
6520
6524
|
Returns:
|
6521
6525
|
the set codec options
|
6522
6526
|
"""
|
6523
|
-
return FFMpegDecoderOption(
|
6527
|
+
return FFMpegDecoderOption(
|
6528
|
+
kwargs=merge(
|
6529
|
+
{
|
6530
|
+
"keep_ass_markup": keep_ass_markup,
|
6531
|
+
}
|
6532
|
+
)
|
6533
|
+
)
|
6524
6534
|
|
6525
6535
|
|
6526
6536
|
def realtext() -> FFMpegDecoderOption:
|
@@ -6545,15 +6555,25 @@ def sami() -> FFMpegDecoderOption:
|
|
6545
6555
|
return FFMpegDecoderOption(kwargs=merge({}))
|
6546
6556
|
|
6547
6557
|
|
6548
|
-
def stl(
|
6558
|
+
def stl(
|
6559
|
+
keep_ass_markup: bool | None = None,
|
6560
|
+
) -> FFMpegDecoderOption:
|
6549
6561
|
"""
|
6550
6562
|
Spruce subtitle format
|
6551
6563
|
|
6564
|
+
Args:
|
6565
|
+
keep_ass_markup: Set if ASS tags must be escaped (default false)
|
6552
6566
|
|
6553
6567
|
Returns:
|
6554
6568
|
the set codec options
|
6555
6569
|
"""
|
6556
|
-
return FFMpegDecoderOption(
|
6570
|
+
return FFMpegDecoderOption(
|
6571
|
+
kwargs=merge(
|
6572
|
+
{
|
6573
|
+
"keep_ass_markup": keep_ass_markup,
|
6574
|
+
}
|
6575
|
+
)
|
6576
|
+
)
|
6557
6577
|
|
6558
6578
|
|
6559
6579
|
def srt() -> FFMpegDecoderOption:
|
@@ -6589,37 +6609,67 @@ def subviewer() -> FFMpegDecoderOption:
|
|
6589
6609
|
return FFMpegDecoderOption(kwargs=merge({}))
|
6590
6610
|
|
6591
6611
|
|
6592
|
-
def subviewer1(
|
6612
|
+
def subviewer1(
|
6613
|
+
keep_ass_markup: bool | None = None,
|
6614
|
+
) -> FFMpegDecoderOption:
|
6593
6615
|
"""
|
6594
6616
|
SubViewer1 subtitle
|
6595
6617
|
|
6618
|
+
Args:
|
6619
|
+
keep_ass_markup: Set if ASS tags must be escaped (default false)
|
6596
6620
|
|
6597
6621
|
Returns:
|
6598
6622
|
the set codec options
|
6599
6623
|
"""
|
6600
|
-
return FFMpegDecoderOption(
|
6624
|
+
return FFMpegDecoderOption(
|
6625
|
+
kwargs=merge(
|
6626
|
+
{
|
6627
|
+
"keep_ass_markup": keep_ass_markup,
|
6628
|
+
}
|
6629
|
+
)
|
6630
|
+
)
|
6601
6631
|
|
6602
6632
|
|
6603
|
-
def text(
|
6633
|
+
def text(
|
6634
|
+
keep_ass_markup: bool | None = None,
|
6635
|
+
) -> FFMpegDecoderOption:
|
6604
6636
|
"""
|
6605
6637
|
Raw text subtitle
|
6606
6638
|
|
6639
|
+
Args:
|
6640
|
+
keep_ass_markup: Set if ASS tags must be escaped (default false)
|
6607
6641
|
|
6608
6642
|
Returns:
|
6609
6643
|
the set codec options
|
6610
6644
|
"""
|
6611
|
-
return FFMpegDecoderOption(
|
6645
|
+
return FFMpegDecoderOption(
|
6646
|
+
kwargs=merge(
|
6647
|
+
{
|
6648
|
+
"keep_ass_markup": keep_ass_markup,
|
6649
|
+
}
|
6650
|
+
)
|
6651
|
+
)
|
6612
6652
|
|
6613
6653
|
|
6614
|
-
def vplayer(
|
6654
|
+
def vplayer(
|
6655
|
+
keep_ass_markup: bool | None = None,
|
6656
|
+
) -> FFMpegDecoderOption:
|
6615
6657
|
"""
|
6616
6658
|
VPlayer subtitle
|
6617
6659
|
|
6660
|
+
Args:
|
6661
|
+
keep_ass_markup: Set if ASS tags must be escaped (default false)
|
6618
6662
|
|
6619
6663
|
Returns:
|
6620
6664
|
the set codec options
|
6621
6665
|
"""
|
6622
|
-
return FFMpegDecoderOption(
|
6666
|
+
return FFMpegDecoderOption(
|
6667
|
+
kwargs=merge(
|
6668
|
+
{
|
6669
|
+
"keep_ass_markup": keep_ass_markup,
|
6670
|
+
}
|
6671
|
+
)
|
6672
|
+
)
|
6623
6673
|
|
6624
6674
|
|
6625
6675
|
def webvtt() -> FFMpegDecoderOption:
|
typed_ffmpeg/types.py
CHANGED
@@ -49,25 +49,25 @@ Pix_fmt = str | Default | LazyValue
|
|
49
49
|
please see `ffmpeg -pix_fmts` for a list of supported pixel formats.
|
50
50
|
"""
|
51
51
|
|
52
|
-
Int = int | Default | LazyValue
|
52
|
+
Int = str | int | Default | LazyValue
|
53
53
|
"""
|
54
54
|
This represents FFmpeg's integer type. It can accept either a Python integer value
|
55
55
|
or a string that represents a integer value.
|
56
56
|
"""
|
57
57
|
|
58
|
-
Int64 = int | Default | LazyValue
|
58
|
+
Int64 = str | int | Default | LazyValue
|
59
59
|
"""
|
60
60
|
This represents FFmpeg's integer type. It can accept either a Python integer value
|
61
61
|
or a string that represents a integer value.
|
62
62
|
"""
|
63
63
|
|
64
|
-
Double = int | float | Default | LazyValue
|
64
|
+
Double = str | int | float | Default | LazyValue
|
65
65
|
"""
|
66
66
|
This represents FFmpeg's double type. It can accept either a Python integer or float value
|
67
67
|
or a string that represents a double value.
|
68
68
|
"""
|
69
69
|
# TODO: more info
|
70
|
-
Float = int | float | Default | LazyValue
|
70
|
+
Float = str | int | float | Default | LazyValue
|
71
71
|
"""
|
72
72
|
This represents FFmpeg's float type. It can accept either a Python integer or float value
|
73
73
|
or a string that represents a float value.
|
{typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: typed-ffmpeg-compatible
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.5.0
|
4
4
|
Summary: Modern Python FFmpeg wrappers offer comprehensive support for complex filters, complete with detailed typing and documentation.
|
5
5
|
Author-email: lucemia <lucemia@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -1,5 +1,5 @@
|
|
1
1
|
typed_ffmpeg/__init__.py,sha256=6ULyAwFhDsIb03SeKRKArqYWlxfeOvRTGEI6vUUj774,1676
|
2
|
-
typed_ffmpeg/_version.py,sha256=
|
2
|
+
typed_ffmpeg/_version.py,sha256=fgty578T-CZ3bVBzmR06Jxx5Gg4QlbZS7aSfSeTblVI,511
|
3
3
|
typed_ffmpeg/base.py,sha256=JNNNnN-1A50i9zviR6uOjAs-bClCDx5qx9A5iSePBeI,6309
|
4
4
|
typed_ffmpeg/exceptions.py,sha256=D4SID6WOwkjVV8O8mAjrEDHWn-8BRDnK_jteaDof1SY,2474
|
5
5
|
typed_ffmpeg/filters.py,sha256=XY1LqXY6Ch1wOX-1XW3SzgwH3NQaAtSEQew6f3JoTeY,144001
|
@@ -7,9 +7,9 @@ typed_ffmpeg/info.py,sha256=0KCzf8hJaI6ObPRT0uftLa96RlYvaQmoEq1sqFJSc24,9521
|
|
7
7
|
typed_ffmpeg/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
typed_ffmpeg/schema.py,sha256=KVtmyGeJutjFot70r6Nj8W8WBqwvfg2-rSgjdhPVh-o,1615
|
9
9
|
typed_ffmpeg/sources.py,sha256=gR8qH-Qf36X2veab4kh9ZE5CYu5K0Yz6eXzd0lCFdPE,122297
|
10
|
-
typed_ffmpeg/types.py,sha256=
|
10
|
+
typed_ffmpeg/types.py,sha256=bnNVUXwLxzNeeJDlUqF1N_qjCAlM_HEtIUPmng8jybk,4161
|
11
11
|
typed_ffmpeg/codecs/__init__.py,sha256=qEqV-Oo2vG06WIAm3obcArK6ZBDWNP7_Kw6cszSGqb8,87
|
12
|
-
typed_ffmpeg/codecs/decoders.py,sha256=
|
12
|
+
typed_ffmpeg/codecs/decoders.py,sha256=4SS6r0j1Pa7s_Fut04OmLhFOZ1kVA7UPJNT-VPN6E-k,123234
|
13
13
|
typed_ffmpeg/codecs/encoders.py,sha256=9n2FNEEBfpbtOKgDi6fOHEGVhbAzTEF_UoZDqqQzEmw,216605
|
14
14
|
typed_ffmpeg/codecs/schema.py,sha256=d0OeLkJAHf6GwUjUFgr_1sR38mQOCUQns3aSmpX7EF8,451
|
15
15
|
typed_ffmpeg/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -59,9 +59,9 @@ typed_ffmpeg/utils/view.py,sha256=jiCKJnx-KVJh-uvhkADBQNlWH1uHPqyYgmSZ_iSEj0c,34
|
|
59
59
|
typed_ffmpeg/utils/lazy_eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
60
60
|
typed_ffmpeg/utils/lazy_eval/operator.py,sha256=QWybd-UH3VdDa8kgWkqAMi3WV0b0WF1d1JixQr6is2E,4136
|
61
61
|
typed_ffmpeg/utils/lazy_eval/schema.py,sha256=WSg-E3MS3itN1AT6Dq4Z9btnRHEReuN3o6zruXou7h4,9623
|
62
|
-
typed_ffmpeg_compatible-3.
|
63
|
-
typed_ffmpeg_compatible-3.
|
64
|
-
typed_ffmpeg_compatible-3.
|
65
|
-
typed_ffmpeg_compatible-3.
|
66
|
-
typed_ffmpeg_compatible-3.
|
67
|
-
typed_ffmpeg_compatible-3.
|
62
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/licenses/LICENSE,sha256=8Aaya5i_09Cou2i3QMxTwz6uHGzi_fGA4uhkco07-A4,1066
|
63
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/METADATA,sha256=pdextRb9lSxepC3rpeiJIiFNkuL90UFGrTvRCdiipBY,8385
|
64
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
65
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/entry_points.txt,sha256=kUQvZ27paV-07qtkIFV-emKsYtjFOTw9kknBRSXPs04,45
|
66
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/top_level.txt,sha256=vuASJGVRQiNmhWY1pt0RXESWSNkknWXqWLIRAU7H_L4,13
|
67
|
+
typed_ffmpeg_compatible-3.5.0.dist-info/RECORD,,
|
File without changes
|
{typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/entry_points.txt
RENAMED
File without changes
|
{typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{typed_ffmpeg_compatible-3.4.1.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/top_level.txt
RENAMED
File without changes
|