winrt-Windows.Media.Transcoding 3.2.1__cp314-cp314-win32.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.
@@ -0,0 +1,83 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
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
+ def __new__(cls: typing.Type[Self]) -> Self: ...
26
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::AddAudioEffect(System.String)
27
+ def add_audio_effect(self, activatable_class_id: str, /) -> None: ...
28
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::AddAudioEffect(System.String,System.Boolean,Windows.Foundation.Collections.IPropertySet)
29
+ def add_audio_effect_with_settings(self, activatable_class_id: str, effect_required: bool, configuration: windows_foundation_collections.IPropertySet, /) -> None: ...
30
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::AddVideoEffect(System.String)
31
+ def add_video_effect(self, activatable_class_id: str, /) -> None: ...
32
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::AddVideoEffect(System.String,System.Boolean,Windows.Foundation.Collections.IPropertySet)
33
+ def add_video_effect_with_settings(self, activatable_class_id: str, effect_required: bool, configuration: windows_foundation_collections.IPropertySet, /) -> None: ...
34
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::ClearEffects()
35
+ def clear_effects(self) -> None: ...
36
+ # Windows.Foundation.IAsyncOperation`1<Windows.Media.Transcoding.PrepareTranscodeResult> Windows.Media.Transcoding.MediaTranscoder::PrepareFileTranscodeAsync(Windows.Storage.IStorageFile,Windows.Storage.IStorageFile,Windows.Media.MediaProperties.MediaEncodingProfile)
37
+ def prepare_file_transcode_async(self, source: windows_storage.IStorageFile, destination: windows_storage.IStorageFile, profile: windows_media_mediaproperties.MediaEncodingProfile, /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
38
+ # Windows.Foundation.IAsyncOperation`1<Windows.Media.Transcoding.PrepareTranscodeResult> Windows.Media.Transcoding.MediaTranscoder::PrepareMediaStreamSourceTranscodeAsync(Windows.Media.Core.IMediaSource,Windows.Storage.Streams.IRandomAccessStream,Windows.Media.MediaProperties.MediaEncodingProfile)
39
+ def prepare_media_stream_source_transcode_async(self, source: windows_media_core.IMediaSource, destination: windows_storage_streams.IRandomAccessStream, profile: windows_media_mediaproperties.MediaEncodingProfile, /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
40
+ # Windows.Foundation.IAsyncOperation`1<Windows.Media.Transcoding.PrepareTranscodeResult> Windows.Media.Transcoding.MediaTranscoder::PrepareStreamTranscodeAsync(Windows.Storage.Streams.IRandomAccessStream,Windows.Storage.Streams.IRandomAccessStream,Windows.Media.MediaProperties.MediaEncodingProfile)
41
+ def prepare_stream_transcode_async(self, source: windows_storage_streams.IRandomAccessStream, destination: windows_storage_streams.IRandomAccessStream, profile: windows_media_mediaproperties.MediaEncodingProfile, /) -> windows_foundation.IAsyncOperation[PrepareTranscodeResult]: ...
42
+ # Windows.Foundation.TimeSpan Windows.Media.Transcoding.MediaTranscoder::get_TrimStopTime()
43
+ @_property
44
+ def trim_stop_time(self) -> datetime.timedelta: ...
45
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::put_TrimStopTime(Windows.Foundation.TimeSpan)
46
+ @trim_stop_time.setter
47
+ def trim_stop_time(self, value: datetime.timedelta) -> None: ...
48
+ # Windows.Foundation.TimeSpan Windows.Media.Transcoding.MediaTranscoder::get_TrimStartTime()
49
+ @_property
50
+ def trim_start_time(self) -> datetime.timedelta: ...
51
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::put_TrimStartTime(Windows.Foundation.TimeSpan)
52
+ @trim_start_time.setter
53
+ def trim_start_time(self, value: datetime.timedelta) -> None: ...
54
+ # System.Boolean Windows.Media.Transcoding.MediaTranscoder::get_HardwareAccelerationEnabled()
55
+ @_property
56
+ def hardware_acceleration_enabled(self) -> bool: ...
57
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::put_HardwareAccelerationEnabled(System.Boolean)
58
+ @hardware_acceleration_enabled.setter
59
+ def hardware_acceleration_enabled(self, value: bool) -> None: ...
60
+ # System.Boolean Windows.Media.Transcoding.MediaTranscoder::get_AlwaysReencode()
61
+ @_property
62
+ def always_reencode(self) -> bool: ...
63
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::put_AlwaysReencode(System.Boolean)
64
+ @always_reencode.setter
65
+ def always_reencode(self, value: bool) -> None: ...
66
+ # Windows.Media.Transcoding.MediaVideoProcessingAlgorithm Windows.Media.Transcoding.MediaTranscoder::get_VideoProcessingAlgorithm()
67
+ @_property
68
+ def video_processing_algorithm(self) -> MediaVideoProcessingAlgorithm: ...
69
+ # System.Void Windows.Media.Transcoding.MediaTranscoder::put_VideoProcessingAlgorithm(Windows.Media.Transcoding.MediaVideoProcessingAlgorithm)
70
+ @video_processing_algorithm.setter
71
+ def video_processing_algorithm(self, value: MediaVideoProcessingAlgorithm) -> None: ...
72
+
73
+ @typing.final
74
+ class PrepareTranscodeResult(winrt.system.Object):
75
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.Double> Windows.Media.Transcoding.PrepareTranscodeResult::TranscodeAsync()
76
+ def transcode_async(self) -> windows_foundation.IAsyncActionWithProgress[winrt.system.Double]: ...
77
+ # System.Boolean Windows.Media.Transcoding.PrepareTranscodeResult::get_CanTranscode()
78
+ @_property
79
+ def can_transcode(self) -> bool: ...
80
+ # Windows.Media.Transcoding.TranscodeFailureReason Windows.Media.Transcoding.PrepareTranscodeResult::get_FailureReason()
81
+ @_property
82
+ def failure_reason(self) -> TranscodeFailureReason: ...
83
+
@@ -0,0 +1,27 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_media_transcoding import (
7
+ MediaTranscoder,
8
+ PrepareTranscodeResult,
9
+ )
10
+
11
+ __all__ = [
12
+ "MediaVideoProcessingAlgorithm",
13
+ "TranscodeFailureReason",
14
+ "MediaTranscoder",
15
+ "PrepareTranscodeResult",
16
+ ]
17
+
18
+ class MediaVideoProcessingAlgorithm(enum.IntEnum):
19
+ DEFAULT = 0
20
+ MRF_CRF444 = 1
21
+
22
+ class TranscodeFailureReason(enum.IntEnum):
23
+ NONE = 0
24
+ UNKNOWN = 1
25
+ INVALID_PROFILE = 2
26
+ CODEC_NOT_FOUND = 3
27
+
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Media.Transcoding
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.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.cp314-win32.pyd,sha256=KUl3F4kuogxbLdUbI8MysMid7ckVK2rq1Cuz7rHNCc0,93184
2
+ winrt/_winrt_windows_media_transcoding.pyi,sha256=mZIoaW9GaGQ7ZSDyaR_b66esrw59O_tiTiGgPbmO-50,6271
3
+ winrt/windows/media/transcoding/__init__.py,sha256=ZqLyciadqK7lHZPzHuA6ovHmx_ySaO4Ao5yOG1RyGhU,563
4
+ winrt/windows/media/transcoding/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_media_transcoding-3.2.1.dist-info/METADATA,sha256=Wxgsjs_osEKNG06iVgkl4ZoW01sLEfYVvk5WNBxptfQ,1437
6
+ winrt_windows_media_transcoding-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_media_transcoding-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_media_transcoding-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win32
5
+