winrt-Windows.Media.Transcoding 2.2.0__cp313-cp313-win_amd64.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.
- winrt/_winrt_windows_media_transcoding.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_media_transcoding.pyi +70 -0
- winrt/windows/media/transcoding/__init__.py +26 -0
- winrt/windows/media/transcoding/py.typed +0 -0
- winrt_Windows.Media.Transcoding-2.2.0.dist-info/METADATA +30 -0
- winrt_Windows.Media.Transcoding-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Media.Transcoding-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Media.Transcoding-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.media.core as windows_media_core
|
|
15
|
+
import winrt.windows.media.mediaproperties as windows_media_mediaproperties
|
|
16
|
+
import winrt.windows.storage as windows_storage
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
|
|
19
|
+
from winrt.windows.media.transcoding import MediaVideoProcessingAlgorithm, TranscodeFailureReason
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class MediaTranscoder(winrt.system.Object):
|
|
25
|
+
@staticmethod
|
|
26
|
+
def _from(obj: winrt.system.Object, /) -> MediaTranscoder: ...
|
|
27
|
+
def __new__(cls: typing.Type[MediaTranscoder]) -> MediaTranscoder: ...
|
|
28
|
+
@typing.overload
|
|
29
|
+
def add_audio_effect(self, activatable_class_id: str, /) -> None: ...
|
|
30
|
+
@typing.overload
|
|
31
|
+
def add_audio_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
|
|
32
|
+
@typing.overload
|
|
33
|
+
def add_video_effect(self, activatable_class_id: str, /) -> None: ...
|
|
34
|
+
@typing.overload
|
|
35
|
+
def add_video_effect(self, activatable_class_id: str, effect_required: bool, configuration: typing.Optional[windows_foundation_collections.IPropertySet], /) -> None: ...
|
|
36
|
+
def clear_effects(self) -> None: ...
|
|
37
|
+
def prepare_file_transcode_async(self, source: typing.Optional[windows_storage.IStorageFile], destination: typing.Optional[windows_storage.IStorageFile], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
|
|
38
|
+
def prepare_media_stream_source_transcode_async(self, source: typing.Optional[windows_media_core.IMediaSource], destination: typing.Optional[windows_storage_streams.IRandomAccessStream], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
|
|
39
|
+
def prepare_stream_transcode_async(self, source: typing.Optional[windows_storage_streams.IRandomAccessStream], destination: typing.Optional[windows_storage_streams.IRandomAccessStream], profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
|
|
40
|
+
@_property
|
|
41
|
+
def trim_stop_time(self) -> datetime.timedelta: ...
|
|
42
|
+
@trim_stop_time.setter
|
|
43
|
+
def trim_stop_time(self, value: datetime.timedelta) -> None: ...
|
|
44
|
+
@_property
|
|
45
|
+
def trim_start_time(self) -> datetime.timedelta: ...
|
|
46
|
+
@trim_start_time.setter
|
|
47
|
+
def trim_start_time(self, value: datetime.timedelta) -> None: ...
|
|
48
|
+
@_property
|
|
49
|
+
def hardware_acceleration_enabled(self) -> bool: ...
|
|
50
|
+
@hardware_acceleration_enabled.setter
|
|
51
|
+
def hardware_acceleration_enabled(self, value: bool) -> None: ...
|
|
52
|
+
@_property
|
|
53
|
+
def always_reencode(self) -> bool: ...
|
|
54
|
+
@always_reencode.setter
|
|
55
|
+
def always_reencode(self, value: bool) -> None: ...
|
|
56
|
+
@_property
|
|
57
|
+
def video_processing_algorithm(self) -> MediaVideoProcessingAlgorithm: ...
|
|
58
|
+
@video_processing_algorithm.setter
|
|
59
|
+
def video_processing_algorithm(self, value: MediaVideoProcessingAlgorithm) -> None: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class PrepareTranscodeResult(winrt.system.Object):
|
|
63
|
+
@staticmethod
|
|
64
|
+
def _from(obj: winrt.system.Object, /) -> PrepareTranscodeResult: ...
|
|
65
|
+
def transcode_async(self) -> windows_foundation.IAsyncActionWithProgress[winrt.system.Double]: ...
|
|
66
|
+
@_property
|
|
67
|
+
def can_transcode(self) -> bool: ...
|
|
68
|
+
@_property
|
|
69
|
+
def failure_reason(self) -> TranscodeFailureReason: ...
|
|
70
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_media_transcoding
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"MediaVideoProcessingAlgorithm",
|
|
10
|
+
"TranscodeFailureReason",
|
|
11
|
+
"MediaTranscoder",
|
|
12
|
+
"PrepareTranscodeResult",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
class MediaVideoProcessingAlgorithm(enum.IntEnum):
|
|
16
|
+
DEFAULT = 0
|
|
17
|
+
MRF_CRF444 = 1
|
|
18
|
+
|
|
19
|
+
class TranscodeFailureReason(enum.IntEnum):
|
|
20
|
+
NONE = 0
|
|
21
|
+
UNKNOWN = 1
|
|
22
|
+
INVALID_PROFILE = 2
|
|
23
|
+
CODEC_NOT_FOUND = 3
|
|
24
|
+
|
|
25
|
+
MediaTranscoder = _winrt_windows_media_transcoding.MediaTranscoder
|
|
26
|
+
PrepareTranscodeResult = _winrt_windows_media_transcoding.PrepareTranscodeResult
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Media.Transcoding
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Media.Core[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.Media.Transcoding
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Media.Transcoding` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.media.transcoding` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_media_transcoding.cp313-win_amd64.pyd,sha256=6eNKgl1Lq8qgRoV1tyivfCSr5lmYtQz9T8eSqci9KvM,84480
|
|
2
|
+
winrt/_winrt_windows_media_transcoding.pyi,sha256=Xn7nZjsabKQCEV_nU2xGHdsqMK0hGxWl0KMb01RYPwQ,3848
|
|
3
|
+
winrt/windows/media/transcoding/__init__.py,sha256=k3TUnLOTn2Yg7CUNlTE_iLyyEf4RV0rHQ9g1H0x5RHw,658
|
|
4
|
+
winrt/windows/media/transcoding/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Media.Transcoding-2.2.0.dist-info/METADATA,sha256=SBpr5xG2RqD-PHtb1sNoCLIlpOV2shiEdpB4gnerCys,1431
|
|
6
|
+
winrt_Windows.Media.Transcoding-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.Media.Transcoding-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Media.Transcoding-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|