typed-ffmpeg-compatible 3.4__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/__init__.py +2 -1
- typed_ffmpeg/_version.py +2 -2
- typed_ffmpeg/codecs/decoders.py +60 -10
- typed_ffmpeg/codecs/encoders.py +19 -53
- typed_ffmpeg/dag/io/_input.py +4 -0
- typed_ffmpeg/dag/io/_output.py +4 -0
- typed_ffmpeg/dag/io/output_args.py +4 -0
- typed_ffmpeg/formats/__init__.py +3 -0
- typed_ffmpeg/formats/demuxers.py +6664 -0
- typed_ffmpeg/formats/muxers.py +3774 -0
- typed_ffmpeg/formats/schema.py +17 -0
- typed_ffmpeg/types.py +4 -4
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/METADATA +1 -1
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/RECORD +18 -14
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/WHEEL +0 -0
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/entry_points.txt +0 -0
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/licenses/LICENSE +0 -0
- {typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
from dataclasses import dataclass
|
2
|
+
|
3
|
+
from ..common.serialize import Serializable
|
4
|
+
from ..utils.frozendict import FrozenDict
|
5
|
+
|
6
|
+
|
7
|
+
@dataclass(frozen=True, kw_only=True)
|
8
|
+
class FFMpegFormatOption(Serializable):
|
9
|
+
kwargs: FrozenDict[str, str | int | float | bool] = FrozenDict({})
|
10
|
+
|
11
|
+
|
12
|
+
@dataclass(frozen=True, kw_only=True)
|
13
|
+
class FFMpegMuxerOption(FFMpegFormatOption): ...
|
14
|
+
|
15
|
+
|
16
|
+
@dataclass(frozen=True, kw_only=True)
|
17
|
+
class FFMpegDemuxerOption(FFMpegFormatOption): ...
|
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.
|
@@ -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
|
-
typed_ffmpeg/__init__.py,sha256=
|
2
|
-
typed_ffmpeg/_version.py,sha256=
|
1
|
+
typed_ffmpeg/__init__.py,sha256=6ULyAwFhDsIb03SeKRKArqYWlxfeOvRTGEI6vUUj774,1676
|
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,10 +7,10 @@ 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=
|
13
|
-
typed_ffmpeg/codecs/encoders.py,sha256=
|
12
|
+
typed_ffmpeg/codecs/decoders.py,sha256=4SS6r0j1Pa7s_Fut04OmLhFOZ1kVA7UPJNT-VPN6E-k,123234
|
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
|
16
16
|
typed_ffmpeg/common/cache.py,sha256=j0JvfX7jewLpdJWxgo7Pwze0BkUJdYGHX2uGR8BZ-9M,1386
|
@@ -31,14 +31,18 @@ typed_ffmpeg/dag/global_runnable/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
31
31
|
typed_ffmpeg/dag/global_runnable/global_args.py,sha256=PINtqw5QNDcZ9OC4w0frt-fWV8Yg6_We6w68dnXia94,7801
|
32
32
|
typed_ffmpeg/dag/global_runnable/runnable.py,sha256=0QGBm3ghM4LFT4H9km9-h_N0w5BR3kTaESRapb-qTv0,11098
|
33
33
|
typed_ffmpeg/dag/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
|
-
typed_ffmpeg/dag/io/_input.py,sha256=
|
35
|
-
typed_ffmpeg/dag/io/_output.py,sha256=
|
36
|
-
typed_ffmpeg/dag/io/output_args.py,sha256=
|
34
|
+
typed_ffmpeg/dag/io/_input.py,sha256=NFr4leQWCQ6f1bj_o5jPli4UMRFfwcEZufU5BztFpm4,7826
|
35
|
+
typed_ffmpeg/dag/io/_output.py,sha256=SfQCEtmGJKFmxbXXDlc7DaQpeNFNYVG9x6vDNVaFmhE,13232
|
36
|
+
typed_ffmpeg/dag/io/output_args.py,sha256=dycw8BdwkP-koY5EMH46JvzW_Hybdzt2K3V5Y6dRJ3k,14770
|
37
37
|
typed_ffmpeg/ffprobe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
typed_ffmpeg/ffprobe/parse.py,sha256=fq1cGFkUpUdvyVi3S-TAQ7qn-tXUdae6ADhymZt7-t4,3791
|
39
39
|
typed_ffmpeg/ffprobe/probe.py,sha256=D_opsKp3OgT2HSBzhxgY1b9SIqXpDhz3xh_k9HUGux0,10367
|
40
40
|
typed_ffmpeg/ffprobe/schema.py,sha256=PBgBWYGO8wKnI0Lae9oCJ1Nprhv2ciPkdLrumzPVllY,13631
|
41
41
|
typed_ffmpeg/ffprobe/xml2json.py,sha256=1TSuxR7SYc-M_-JmE-1khHGbXCapgW0Oap9kzL0nwNg,2455
|
42
|
+
typed_ffmpeg/formats/__init__.py,sha256=y6MdgOZyyFrQWafATLHeN_o0VLrHH266A9avGO5i8KM,83
|
43
|
+
typed_ffmpeg/formats/demuxers.py,sha256=EqMySaTpmT3f8wOi_kuo4zCc73Sy5VRIvJ-98TYdpvY,143238
|
44
|
+
typed_ffmpeg/formats/muxers.py,sha256=btevbmDQCEFV-8n4TiLWFd-48v-YlEZNw8Vcnoso81k,110447
|
45
|
+
typed_ffmpeg/formats/schema.py,sha256=z3DrBsM_3azkutzMdXdN2DlYEVNsG7a7TV5jICyHqYY,452
|
42
46
|
typed_ffmpeg/streams/__init__.py,sha256=32kiqBVigKH2EqS3cA6EfXCW8KpVdQNWSStAmQ0MktM,196
|
43
47
|
typed_ffmpeg/streams/audio.py,sha256=_40HQ4B1Hc5VLzkq1oNdjgY4uuDZXjaRmMmE-0EZCkc,274665
|
44
48
|
typed_ffmpeg/streams/av.py,sha256=qrsO692BG6OVMWVwIeuCKPntBGTR685lc2ULbGPTSkQ,2594
|
@@ -55,9 +59,9 @@ typed_ffmpeg/utils/view.py,sha256=jiCKJnx-KVJh-uvhkADBQNlWH1uHPqyYgmSZ_iSEj0c,34
|
|
55
59
|
typed_ffmpeg/utils/lazy_eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
56
60
|
typed_ffmpeg/utils/lazy_eval/operator.py,sha256=QWybd-UH3VdDa8kgWkqAMi3WV0b0WF1d1JixQr6is2E,4136
|
57
61
|
typed_ffmpeg/utils/lazy_eval/schema.py,sha256=WSg-E3MS3itN1AT6Dq4Z9btnRHEReuN3o6zruXou7h4,9623
|
58
|
-
typed_ffmpeg_compatible-3.
|
59
|
-
typed_ffmpeg_compatible-3.
|
60
|
-
typed_ffmpeg_compatible-3.
|
61
|
-
typed_ffmpeg_compatible-3.
|
62
|
-
typed_ffmpeg_compatible-3.
|
63
|
-
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.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/entry_points.txt
RENAMED
File without changes
|
{typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{typed_ffmpeg_compatible-3.4.dist-info → typed_ffmpeg_compatible-3.5.0.dist-info}/top_level.txt
RENAMED
File without changes
|