winrt-Windows.Media.Editing 2.2.0__cp313-cp313-win_arm64.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_editing.cp313-win_arm64.pyd +0 -0
- winrt/_winrt_windows_media_editing.pyi +192 -0
- winrt/windows/media/editing/__init__.py +32 -0
- winrt/windows/media/editing/py.typed +0 -0
- winrt_Windows.Media.Editing-2.2.0.dist-info/METADATA +34 -0
- winrt_Windows.Media.Editing-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Media.Editing-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Media.Editing-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,192 @@
|
|
|
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.graphics.directx.direct3d11 as windows_graphics_directx_direct3d11
|
|
15
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
16
|
+
import winrt.windows.media.core as windows_media_core
|
|
17
|
+
import winrt.windows.media.effects as windows_media_effects
|
|
18
|
+
import winrt.windows.media.mediaproperties as windows_media_mediaproperties
|
|
19
|
+
import winrt.windows.media.transcoding as windows_media_transcoding
|
|
20
|
+
import winrt.windows.storage as windows_storage
|
|
21
|
+
import winrt.windows.ui as windows_ui
|
|
22
|
+
|
|
23
|
+
from winrt.windows.media.editing import MediaTrimmingPreference, VideoFramePrecision
|
|
24
|
+
|
|
25
|
+
Self = typing.TypeVar('Self')
|
|
26
|
+
|
|
27
|
+
@typing.final
|
|
28
|
+
class BackgroundAudioTrack_Static(type):
|
|
29
|
+
def create_from_embedded_audio_track(cls, embedded_audio_track: typing.Optional[EmbeddedAudioTrack], /) -> typing.Optional[BackgroundAudioTrack]: ...
|
|
30
|
+
def create_from_file_async(cls, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[BackgroundAudioTrack]: ...
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class BackgroundAudioTrack(winrt.system.Object, metaclass=BackgroundAudioTrack_Static):
|
|
34
|
+
@staticmethod
|
|
35
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundAudioTrack: ...
|
|
36
|
+
def clone(self) -> typing.Optional[BackgroundAudioTrack]: ...
|
|
37
|
+
def get_audio_encoding_properties(self) -> typing.Optional[windows_media_mediaproperties.AudioEncodingProperties]: ...
|
|
38
|
+
@_property
|
|
39
|
+
def volume(self) -> winrt.system.Double: ...
|
|
40
|
+
@volume.setter
|
|
41
|
+
def volume(self, value: winrt.system.Double) -> None: ...
|
|
42
|
+
@_property
|
|
43
|
+
def trim_time_from_start(self) -> datetime.timedelta: ...
|
|
44
|
+
@trim_time_from_start.setter
|
|
45
|
+
def trim_time_from_start(self, value: datetime.timedelta) -> None: ...
|
|
46
|
+
@_property
|
|
47
|
+
def trim_time_from_end(self) -> datetime.timedelta: ...
|
|
48
|
+
@trim_time_from_end.setter
|
|
49
|
+
def trim_time_from_end(self, value: datetime.timedelta) -> None: ...
|
|
50
|
+
@_property
|
|
51
|
+
def delay(self) -> datetime.timedelta: ...
|
|
52
|
+
@delay.setter
|
|
53
|
+
def delay(self, value: datetime.timedelta) -> None: ...
|
|
54
|
+
@_property
|
|
55
|
+
def audio_effect_definitions(self) -> typing.Optional[windows_foundation_collections.IVector[windows_media_effects.IAudioEffectDefinition]]: ...
|
|
56
|
+
@_property
|
|
57
|
+
def original_duration(self) -> datetime.timedelta: ...
|
|
58
|
+
@_property
|
|
59
|
+
def trimmed_duration(self) -> datetime.timedelta: ...
|
|
60
|
+
@_property
|
|
61
|
+
def user_data(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class EmbeddedAudioTrack(winrt.system.Object):
|
|
65
|
+
@staticmethod
|
|
66
|
+
def _from(obj: winrt.system.Object, /) -> EmbeddedAudioTrack: ...
|
|
67
|
+
def get_audio_encoding_properties(self) -> typing.Optional[windows_media_mediaproperties.AudioEncodingProperties]: ...
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class MediaClip_Static(type):
|
|
71
|
+
def create_from_color(cls, color: windows_ui.Color, original_duration: datetime.timedelta, /) -> typing.Optional[MediaClip]: ...
|
|
72
|
+
def create_from_file_async(cls, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[MediaClip]: ...
|
|
73
|
+
def create_from_image_file_async(cls, file: typing.Optional[windows_storage.IStorageFile], original_duration: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[MediaClip]: ...
|
|
74
|
+
def create_from_surface(cls, surface: typing.Optional[windows_graphics_directx_direct3d11.IDirect3DSurface], original_duration: datetime.timedelta, /) -> typing.Optional[MediaClip]: ...
|
|
75
|
+
|
|
76
|
+
@typing.final
|
|
77
|
+
class MediaClip(winrt.system.Object, metaclass=MediaClip_Static):
|
|
78
|
+
@staticmethod
|
|
79
|
+
def _from(obj: winrt.system.Object, /) -> MediaClip: ...
|
|
80
|
+
def clone(self) -> typing.Optional[MediaClip]: ...
|
|
81
|
+
def get_video_encoding_properties(self) -> typing.Optional[windows_media_mediaproperties.VideoEncodingProperties]: ...
|
|
82
|
+
@_property
|
|
83
|
+
def selected_embedded_audio_track_index(self) -> winrt.system.UInt32: ...
|
|
84
|
+
@selected_embedded_audio_track_index.setter
|
|
85
|
+
def selected_embedded_audio_track_index(self, value: winrt.system.UInt32) -> None: ...
|
|
86
|
+
@_property
|
|
87
|
+
def trim_time_from_end(self) -> datetime.timedelta: ...
|
|
88
|
+
@trim_time_from_end.setter
|
|
89
|
+
def trim_time_from_end(self, value: datetime.timedelta) -> None: ...
|
|
90
|
+
@_property
|
|
91
|
+
def volume(self) -> winrt.system.Double: ...
|
|
92
|
+
@volume.setter
|
|
93
|
+
def volume(self, value: winrt.system.Double) -> None: ...
|
|
94
|
+
@_property
|
|
95
|
+
def trim_time_from_start(self) -> datetime.timedelta: ...
|
|
96
|
+
@trim_time_from_start.setter
|
|
97
|
+
def trim_time_from_start(self, value: datetime.timedelta) -> None: ...
|
|
98
|
+
@_property
|
|
99
|
+
def embedded_audio_tracks(self) -> typing.Optional[windows_foundation_collections.IVectorView[EmbeddedAudioTrack]]: ...
|
|
100
|
+
@_property
|
|
101
|
+
def end_time_in_composition(self) -> datetime.timedelta: ...
|
|
102
|
+
@_property
|
|
103
|
+
def original_duration(self) -> datetime.timedelta: ...
|
|
104
|
+
@_property
|
|
105
|
+
def start_time_in_composition(self) -> datetime.timedelta: ...
|
|
106
|
+
@_property
|
|
107
|
+
def trimmed_duration(self) -> datetime.timedelta: ...
|
|
108
|
+
@_property
|
|
109
|
+
def user_data(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
110
|
+
@_property
|
|
111
|
+
def video_effect_definitions(self) -> typing.Optional[windows_foundation_collections.IVector[windows_media_effects.IVideoEffectDefinition]]: ...
|
|
112
|
+
@_property
|
|
113
|
+
def audio_effect_definitions(self) -> typing.Optional[windows_foundation_collections.IVector[windows_media_effects.IAudioEffectDefinition]]: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class MediaComposition_Static(type):
|
|
117
|
+
def load_async(cls, file: typing.Optional[windows_storage.StorageFile], /) -> windows_foundation.IAsyncOperation[MediaComposition]: ...
|
|
118
|
+
|
|
119
|
+
@typing.final
|
|
120
|
+
class MediaComposition(winrt.system.Object, metaclass=MediaComposition_Static):
|
|
121
|
+
@staticmethod
|
|
122
|
+
def _from(obj: winrt.system.Object, /) -> MediaComposition: ...
|
|
123
|
+
def __new__(cls: typing.Type[MediaComposition]) -> MediaComposition: ...
|
|
124
|
+
def clone(self) -> typing.Optional[MediaComposition]: ...
|
|
125
|
+
def create_default_encoding_profile(self) -> typing.Optional[windows_media_mediaproperties.MediaEncodingProfile]: ...
|
|
126
|
+
@typing.overload
|
|
127
|
+
def generate_media_stream_source(self) -> typing.Optional[windows_media_core.MediaStreamSource]: ...
|
|
128
|
+
@typing.overload
|
|
129
|
+
def generate_media_stream_source(self, encoding_profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> typing.Optional[windows_media_core.MediaStreamSource]: ...
|
|
130
|
+
def generate_preview_media_stream_source(self, scaled_width: winrt.system.Int32, scaled_height: winrt.system.Int32, /) -> typing.Optional[windows_media_core.MediaStreamSource]: ...
|
|
131
|
+
def get_thumbnail_async(self, time_from_start: datetime.timedelta, scaled_width: winrt.system.Int32, scaled_height: winrt.system.Int32, frame_precision: VideoFramePrecision, /) -> windows_foundation.IAsyncOperation[windows_graphics_imaging.ImageStream]: ...
|
|
132
|
+
def get_thumbnails_async(self, times_from_start: typing.Iterable[datetime.timedelta], scaled_width: winrt.system.Int32, scaled_height: winrt.system.Int32, frame_precision: VideoFramePrecision, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_graphics_imaging.ImageStream]]: ...
|
|
133
|
+
@typing.overload
|
|
134
|
+
def render_to_file_async(self, destination: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperationWithProgress[windows_media_transcoding.TranscodeFailureReason, winrt.system.Double]: ...
|
|
135
|
+
@typing.overload
|
|
136
|
+
def render_to_file_async(self, destination: typing.Optional[windows_storage.IStorageFile], trimming_preference: MediaTrimmingPreference, /) -> windows_foundation.IAsyncOperationWithProgress[windows_media_transcoding.TranscodeFailureReason, winrt.system.Double]: ...
|
|
137
|
+
@typing.overload
|
|
138
|
+
def render_to_file_async(self, destination: typing.Optional[windows_storage.IStorageFile], trimming_preference: MediaTrimmingPreference, encoding_profile: typing.Optional[windows_media_mediaproperties.MediaEncodingProfile], /) -> windows_foundation.IAsyncOperationWithProgress[windows_media_transcoding.TranscodeFailureReason, winrt.system.Double]: ...
|
|
139
|
+
def save_async(self, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncAction: ...
|
|
140
|
+
@_property
|
|
141
|
+
def background_audio_tracks(self) -> typing.Optional[windows_foundation_collections.IVector[BackgroundAudioTrack]]: ...
|
|
142
|
+
@_property
|
|
143
|
+
def clips(self) -> typing.Optional[windows_foundation_collections.IVector[MediaClip]]: ...
|
|
144
|
+
@_property
|
|
145
|
+
def duration(self) -> datetime.timedelta: ...
|
|
146
|
+
@_property
|
|
147
|
+
def user_data(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
148
|
+
@_property
|
|
149
|
+
def overlay_layers(self) -> typing.Optional[windows_foundation_collections.IVector[MediaOverlayLayer]]: ...
|
|
150
|
+
|
|
151
|
+
@typing.final
|
|
152
|
+
class MediaOverlay(winrt.system.Object):
|
|
153
|
+
@staticmethod
|
|
154
|
+
def _from(obj: winrt.system.Object, /) -> MediaOverlay: ...
|
|
155
|
+
@typing.overload
|
|
156
|
+
def __new__(cls: typing.Type[MediaOverlay], clip: typing.Optional[MediaClip]) -> MediaOverlay: ...
|
|
157
|
+
@typing.overload
|
|
158
|
+
def __new__(cls: typing.Type[MediaOverlay], clip: typing.Optional[MediaClip], position: windows_foundation.Rect, opacity: winrt.system.Double) -> MediaOverlay: ...
|
|
159
|
+
def clone(self) -> typing.Optional[MediaOverlay]: ...
|
|
160
|
+
@_property
|
|
161
|
+
def position(self) -> windows_foundation.Rect: ...
|
|
162
|
+
@position.setter
|
|
163
|
+
def position(self, value: windows_foundation.Rect) -> None: ...
|
|
164
|
+
@_property
|
|
165
|
+
def opacity(self) -> winrt.system.Double: ...
|
|
166
|
+
@opacity.setter
|
|
167
|
+
def opacity(self, value: winrt.system.Double) -> None: ...
|
|
168
|
+
@_property
|
|
169
|
+
def delay(self) -> datetime.timedelta: ...
|
|
170
|
+
@delay.setter
|
|
171
|
+
def delay(self, value: datetime.timedelta) -> None: ...
|
|
172
|
+
@_property
|
|
173
|
+
def audio_enabled(self) -> bool: ...
|
|
174
|
+
@audio_enabled.setter
|
|
175
|
+
def audio_enabled(self, value: bool) -> None: ...
|
|
176
|
+
@_property
|
|
177
|
+
def clip(self) -> typing.Optional[MediaClip]: ...
|
|
178
|
+
|
|
179
|
+
@typing.final
|
|
180
|
+
class MediaOverlayLayer(winrt.system.Object):
|
|
181
|
+
@staticmethod
|
|
182
|
+
def _from(obj: winrt.system.Object, /) -> MediaOverlayLayer: ...
|
|
183
|
+
@typing.overload
|
|
184
|
+
def __new__(cls: typing.Type[MediaOverlayLayer], compositor_definition: typing.Optional[windows_media_effects.IVideoCompositorDefinition]) -> MediaOverlayLayer: ...
|
|
185
|
+
@typing.overload
|
|
186
|
+
def __new__(cls: typing.Type[MediaOverlayLayer]) -> MediaOverlayLayer: ...
|
|
187
|
+
def clone(self) -> typing.Optional[MediaOverlayLayer]: ...
|
|
188
|
+
@_property
|
|
189
|
+
def custom_compositor_definition(self) -> typing.Optional[windows_media_effects.IVideoCompositorDefinition]: ...
|
|
190
|
+
@_property
|
|
191
|
+
def overlays(self) -> typing.Optional[windows_foundation_collections.IVector[MediaOverlay]]: ...
|
|
192
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
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_editing
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"MediaTrimmingPreference",
|
|
10
|
+
"VideoFramePrecision",
|
|
11
|
+
"BackgroundAudioTrack",
|
|
12
|
+
"EmbeddedAudioTrack",
|
|
13
|
+
"MediaClip",
|
|
14
|
+
"MediaComposition",
|
|
15
|
+
"MediaOverlay",
|
|
16
|
+
"MediaOverlayLayer",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
class MediaTrimmingPreference(enum.IntEnum):
|
|
20
|
+
FAST = 0
|
|
21
|
+
PRECISE = 1
|
|
22
|
+
|
|
23
|
+
class VideoFramePrecision(enum.IntEnum):
|
|
24
|
+
NEAREST_FRAME = 0
|
|
25
|
+
NEAREST_KEY_FRAME = 1
|
|
26
|
+
|
|
27
|
+
BackgroundAudioTrack = _winrt_windows_media_editing.BackgroundAudioTrack
|
|
28
|
+
EmbeddedAudioTrack = _winrt_windows_media_editing.EmbeddedAudioTrack
|
|
29
|
+
MediaClip = _winrt_windows_media_editing.MediaClip
|
|
30
|
+
MediaComposition = _winrt_windows_media_editing.MediaComposition
|
|
31
|
+
MediaOverlay = _winrt_windows_media_editing.MediaOverlay
|
|
32
|
+
MediaOverlayLayer = _winrt_windows_media_editing.MediaOverlayLayer
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Media.Editing
|
|
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.Graphics.DirectX.Direct3D11[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Media.Core[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Media.Effects[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all] ==2.2.0 ; extra == 'all'
|
|
24
|
+
Requires-Dist: winrt-Windows.Media.Transcoding[all] ==2.2.0 ; extra == 'all'
|
|
25
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
26
|
+
Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.Media.Editing
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Media.Editing` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.media.editing` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_media_editing.cp313-win_arm64.pyd,sha256=O8eff1n9A4Uzo3NQCt2WTMO1F5c9HrPFWh7vlWkkkfQ,433664
|
|
2
|
+
winrt/_winrt_windows_media_editing.pyi,sha256=mxABHJ8-PGjFtvJCGj39Fxr08rOKAaDwciTE8vOjtQY,10994
|
|
3
|
+
winrt/windows/media/editing/__init__.py,sha256=KvyS3JBWFyKX6itIvb72MZUozs5PDCJC3FzgplJUUPM,922
|
|
4
|
+
winrt/windows/media/editing/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Media.Editing-2.2.0.dist-info/METADATA,sha256=7nLTOeRp4h2BvGnASzJkbzeqxDXczvsh9Aa1lSUwjRY,1719
|
|
6
|
+
winrt_Windows.Media.Editing-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
|
|
7
|
+
winrt_Windows.Media.Editing-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Media.Editing-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|