winrt-Windows.Media.Transcoding 2.3.0__tar.gz → 3.0.0__tar.gz

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.
Files changed (21) hide show
  1. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/PKG-INFO +9 -9
  2. winrt_windows_media_transcoding-3.0.0/all-requirements.txt +8 -0
  3. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/py.Windows.Media.Transcoding.cpp +160 -52
  4. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/pyproject.toml +2 -2
  5. winrt_windows_media_transcoding-3.0.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/requirements.txt +2 -2
  7. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/setup.py +1 -1
  8. winrt_windows_media_transcoding-3.0.0/winrt/_winrt_windows_media_transcoding.pyi +83 -0
  9. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt/windows/media/transcoding/__init__.py +5 -4
  10. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt_Windows.Media.Transcoding.egg-info/PKG-INFO +9 -9
  11. winrt_windows_media_transcoding-3.0.0/winrt_Windows.Media.Transcoding.egg-info/requires.txt +9 -0
  12. winrt_windows_media_transcoding-2.3.0/all-requirements.txt +0 -8
  13. winrt_windows_media_transcoding-2.3.0/pywinrt-version.txt +0 -1
  14. winrt_windows_media_transcoding-2.3.0/winrt/_winrt_windows_media_transcoding.pyi +0 -70
  15. winrt_windows_media_transcoding-2.3.0/winrt_Windows.Media.Transcoding.egg-info/requires.txt +0 -9
  16. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/README.md +0 -0
  17. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/setup.cfg +0 -0
  18. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt/windows/media/transcoding/py.typed +0 -0
  19. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt_Windows.Media.Transcoding.egg-info/SOURCES.txt +0 -0
  20. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt_Windows.Media.Transcoding.egg-info/dependency_links.txt +0 -0
  21. {winrt_windows_media_transcoding-2.3.0 → winrt_windows_media_transcoding-3.0.0}/winrt_Windows.Media.Transcoding.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Transcoding
3
- Version: 2.3.0
3
+ Version: 3.0.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Media.Core[all]==2.3.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.3.0; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage[all]==2.3.0; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==3.0.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.0.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==3.0.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==3.0.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
+
3
+ winrt-Windows.Foundation[all]==3.0.0
4
+ winrt-Windows.Foundation.Collections[all]==3.0.0
5
+ winrt-Windows.Media.Core[all]==3.0.0
6
+ winrt-Windows.Media.MediaProperties[all]==3.0.0
7
+ winrt-Windows.Storage[all]==3.0.0
8
+ winrt-Windows.Storage.Streams[all]==3.0.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
3
  #include "py.Windows.Media.Transcoding.h"
4
4
 
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::Media::Transcoding
8
8
 
9
9
  static PyObject* _new_MediaTranscoder(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
10
10
  {
11
- if (kwds != nullptr)
11
+ if (kwds)
12
12
  {
13
13
  py::set_invalid_kwd_args_error();
14
14
  return nullptr;
15
15
  }
16
16
 
17
- auto arg_count = PyTuple_Size(args);
17
+ auto arg_count = PyTuple_GET_SIZE(args);
18
18
  if (arg_count == 0)
19
19
  {
20
20
  try
@@ -45,7 +45,7 @@ namespace py::cpp::Windows::Media::Transcoding
45
45
 
46
46
  static PyObject* MediaTranscoder_AddAudioEffect(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
47
47
  {
48
- auto arg_count = PyTuple_Size(args);
48
+ auto arg_count = PyTuple_GET_SIZE(args);
49
49
 
50
50
  if (arg_count == 1)
51
51
  {
@@ -66,7 +66,11 @@ namespace py::cpp::Windows::Media::Transcoding
66
66
 
67
67
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
68
68
 
69
- self->obj.AddAudioEffect(param0);
69
+ {
70
+ auto _gil = release_gil();
71
+ self->obj.AddAudioEffect(param0);
72
+ }
73
+
70
74
  Py_RETURN_NONE;
71
75
  }
72
76
  catch (...)
@@ -75,7 +79,18 @@ namespace py::cpp::Windows::Media::Transcoding
75
79
  return nullptr;
76
80
  }
77
81
  }
78
- else if (arg_count == 3)
82
+ else
83
+ {
84
+ py::set_invalid_arg_count_error(arg_count);
85
+ return nullptr;
86
+ }
87
+ }
88
+
89
+ static PyObject* MediaTranscoder_AddAudioEffectWithSettings(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
90
+ {
91
+ auto arg_count = PyTuple_GET_SIZE(args);
92
+
93
+ if (arg_count == 3)
79
94
  {
80
95
  try
81
96
  {
@@ -96,7 +111,11 @@ namespace py::cpp::Windows::Media::Transcoding
96
111
  auto param1 = py::convert_to<bool>(args, 1);
97
112
  auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::IPropertySet>(args, 2);
98
113
 
99
- self->obj.AddAudioEffect(param0, param1, param2);
114
+ {
115
+ auto _gil = release_gil();
116
+ self->obj.AddAudioEffect(param0, param1, param2);
117
+ }
118
+
100
119
  Py_RETURN_NONE;
101
120
  }
102
121
  catch (...)
@@ -114,7 +133,7 @@ namespace py::cpp::Windows::Media::Transcoding
114
133
 
115
134
  static PyObject* MediaTranscoder_AddVideoEffect(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
116
135
  {
117
- auto arg_count = PyTuple_Size(args);
136
+ auto arg_count = PyTuple_GET_SIZE(args);
118
137
 
119
138
  if (arg_count == 1)
120
139
  {
@@ -135,7 +154,11 @@ namespace py::cpp::Windows::Media::Transcoding
135
154
 
136
155
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
137
156
 
138
- self->obj.AddVideoEffect(param0);
157
+ {
158
+ auto _gil = release_gil();
159
+ self->obj.AddVideoEffect(param0);
160
+ }
161
+
139
162
  Py_RETURN_NONE;
140
163
  }
141
164
  catch (...)
@@ -144,7 +167,18 @@ namespace py::cpp::Windows::Media::Transcoding
144
167
  return nullptr;
145
168
  }
146
169
  }
147
- else if (arg_count == 3)
170
+ else
171
+ {
172
+ py::set_invalid_arg_count_error(arg_count);
173
+ return nullptr;
174
+ }
175
+ }
176
+
177
+ static PyObject* MediaTranscoder_AddVideoEffectWithSettings(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
178
+ {
179
+ auto arg_count = PyTuple_GET_SIZE(args);
180
+
181
+ if (arg_count == 3)
148
182
  {
149
183
  try
150
184
  {
@@ -165,7 +199,11 @@ namespace py::cpp::Windows::Media::Transcoding
165
199
  auto param1 = py::convert_to<bool>(args, 1);
166
200
  auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::IPropertySet>(args, 2);
167
201
 
168
- self->obj.AddVideoEffect(param0, param1, param2);
202
+ {
203
+ auto _gil = release_gil();
204
+ self->obj.AddVideoEffect(param0, param1, param2);
205
+ }
206
+
169
207
  Py_RETURN_NONE;
170
208
  }
171
209
  catch (...)
@@ -183,7 +221,7 @@ namespace py::cpp::Windows::Media::Transcoding
183
221
 
184
222
  static PyObject* MediaTranscoder_ClearEffects(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
185
223
  {
186
- auto arg_count = PyTuple_Size(args);
224
+ auto arg_count = PyTuple_GET_SIZE(args);
187
225
 
188
226
  if (arg_count == 0)
189
227
  {
@@ -202,7 +240,11 @@ namespace py::cpp::Windows::Media::Transcoding
202
240
  return nullptr;
203
241
  }
204
242
 
205
- self->obj.ClearEffects();
243
+ {
244
+ auto _gil = release_gil();
245
+ self->obj.ClearEffects();
246
+ }
247
+
206
248
  Py_RETURN_NONE;
207
249
  }
208
250
  catch (...)
@@ -220,7 +262,7 @@ namespace py::cpp::Windows::Media::Transcoding
220
262
 
221
263
  static PyObject* MediaTranscoder_PrepareFileTranscodeAsync(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
222
264
  {
223
- auto arg_count = PyTuple_Size(args);
265
+ auto arg_count = PyTuple_GET_SIZE(args);
224
266
 
225
267
  if (arg_count == 3)
226
268
  {
@@ -243,7 +285,11 @@ namespace py::cpp::Windows::Media::Transcoding
243
285
  auto param1 = py::convert_to<winrt::Windows::Storage::IStorageFile>(args, 1);
244
286
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
245
287
 
246
- return py::convert(self->obj.PrepareFileTranscodeAsync(param0, param1, param2));
288
+ return py::convert([&]()
289
+ {
290
+ auto _gil = release_gil();
291
+ return self->obj.PrepareFileTranscodeAsync(param0, param1, param2);
292
+ }());
247
293
  }
248
294
  catch (...)
249
295
  {
@@ -260,7 +306,7 @@ namespace py::cpp::Windows::Media::Transcoding
260
306
 
261
307
  static PyObject* MediaTranscoder_PrepareMediaStreamSourceTranscodeAsync(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
262
308
  {
263
- auto arg_count = PyTuple_Size(args);
309
+ auto arg_count = PyTuple_GET_SIZE(args);
264
310
 
265
311
  if (arg_count == 3)
266
312
  {
@@ -283,7 +329,11 @@ namespace py::cpp::Windows::Media::Transcoding
283
329
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStream>(args, 1);
284
330
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
285
331
 
286
- return py::convert(self->obj.PrepareMediaStreamSourceTranscodeAsync(param0, param1, param2));
332
+ return py::convert([&]()
333
+ {
334
+ auto _gil = release_gil();
335
+ return self->obj.PrepareMediaStreamSourceTranscodeAsync(param0, param1, param2);
336
+ }());
287
337
  }
288
338
  catch (...)
289
339
  {
@@ -300,7 +350,7 @@ namespace py::cpp::Windows::Media::Transcoding
300
350
 
301
351
  static PyObject* MediaTranscoder_PrepareStreamTranscodeAsync(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* args) noexcept
302
352
  {
303
- auto arg_count = PyTuple_Size(args);
353
+ auto arg_count = PyTuple_GET_SIZE(args);
304
354
 
305
355
  if (arg_count == 3)
306
356
  {
@@ -323,7 +373,11 @@ namespace py::cpp::Windows::Media::Transcoding
323
373
  auto param1 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStream>(args, 1);
324
374
  auto param2 = py::convert_to<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>(args, 2);
325
375
 
326
- return py::convert(self->obj.PrepareStreamTranscodeAsync(param0, param1, param2));
376
+ return py::convert([&]()
377
+ {
378
+ auto _gil = release_gil();
379
+ return self->obj.PrepareStreamTranscodeAsync(param0, param1, param2);
380
+ }());
327
381
  }
328
382
  catch (...)
329
383
  {
@@ -355,7 +409,11 @@ namespace py::cpp::Windows::Media::Transcoding
355
409
  return nullptr;
356
410
  }
357
411
 
358
- return py::convert(self->obj.TrimStopTime());
412
+ return py::convert([&]()
413
+ {
414
+ auto _gil = release_gil();
415
+ return self->obj.TrimStopTime();
416
+ }());
359
417
  }
360
418
  catch (...)
361
419
  {
@@ -366,7 +424,7 @@ namespace py::cpp::Windows::Media::Transcoding
366
424
 
367
425
  static int MediaTranscoder_put_TrimStopTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
368
426
  {
369
- if (arg == nullptr)
427
+ if (!arg)
370
428
  {
371
429
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
372
430
  return -1;
@@ -389,7 +447,11 @@ namespace py::cpp::Windows::Media::Transcoding
389
447
 
390
448
  auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
391
449
 
392
- self->obj.TrimStopTime(param0);
450
+ {
451
+ auto _gil = release_gil();
452
+ self->obj.TrimStopTime(param0);
453
+ }
454
+
393
455
  return 0;
394
456
  }
395
457
  catch (...)
@@ -416,7 +478,11 @@ namespace py::cpp::Windows::Media::Transcoding
416
478
  return nullptr;
417
479
  }
418
480
 
419
- return py::convert(self->obj.TrimStartTime());
481
+ return py::convert([&]()
482
+ {
483
+ auto _gil = release_gil();
484
+ return self->obj.TrimStartTime();
485
+ }());
420
486
  }
421
487
  catch (...)
422
488
  {
@@ -427,7 +493,7 @@ namespace py::cpp::Windows::Media::Transcoding
427
493
 
428
494
  static int MediaTranscoder_put_TrimStartTime(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
429
495
  {
430
- if (arg == nullptr)
496
+ if (!arg)
431
497
  {
432
498
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
433
499
  return -1;
@@ -450,7 +516,11 @@ namespace py::cpp::Windows::Media::Transcoding
450
516
 
451
517
  auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
452
518
 
453
- self->obj.TrimStartTime(param0);
519
+ {
520
+ auto _gil = release_gil();
521
+ self->obj.TrimStartTime(param0);
522
+ }
523
+
454
524
  return 0;
455
525
  }
456
526
  catch (...)
@@ -477,7 +547,11 @@ namespace py::cpp::Windows::Media::Transcoding
477
547
  return nullptr;
478
548
  }
479
549
 
480
- return py::convert(self->obj.HardwareAccelerationEnabled());
550
+ return py::convert([&]()
551
+ {
552
+ auto _gil = release_gil();
553
+ return self->obj.HardwareAccelerationEnabled();
554
+ }());
481
555
  }
482
556
  catch (...)
483
557
  {
@@ -488,7 +562,7 @@ namespace py::cpp::Windows::Media::Transcoding
488
562
 
489
563
  static int MediaTranscoder_put_HardwareAccelerationEnabled(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
490
564
  {
491
- if (arg == nullptr)
565
+ if (!arg)
492
566
  {
493
567
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
494
568
  return -1;
@@ -511,7 +585,11 @@ namespace py::cpp::Windows::Media::Transcoding
511
585
 
512
586
  auto param0 = py::convert_to<bool>(arg);
513
587
 
514
- self->obj.HardwareAccelerationEnabled(param0);
588
+ {
589
+ auto _gil = release_gil();
590
+ self->obj.HardwareAccelerationEnabled(param0);
591
+ }
592
+
515
593
  return 0;
516
594
  }
517
595
  catch (...)
@@ -538,7 +616,11 @@ namespace py::cpp::Windows::Media::Transcoding
538
616
  return nullptr;
539
617
  }
540
618
 
541
- return py::convert(self->obj.AlwaysReencode());
619
+ return py::convert([&]()
620
+ {
621
+ auto _gil = release_gil();
622
+ return self->obj.AlwaysReencode();
623
+ }());
542
624
  }
543
625
  catch (...)
544
626
  {
@@ -549,7 +631,7 @@ namespace py::cpp::Windows::Media::Transcoding
549
631
 
550
632
  static int MediaTranscoder_put_AlwaysReencode(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
551
633
  {
552
- if (arg == nullptr)
634
+ if (!arg)
553
635
  {
554
636
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
555
637
  return -1;
@@ -572,7 +654,11 @@ namespace py::cpp::Windows::Media::Transcoding
572
654
 
573
655
  auto param0 = py::convert_to<bool>(arg);
574
656
 
575
- self->obj.AlwaysReencode(param0);
657
+ {
658
+ auto _gil = release_gil();
659
+ self->obj.AlwaysReencode(param0);
660
+ }
661
+
576
662
  return 0;
577
663
  }
578
664
  catch (...)
@@ -599,7 +685,11 @@ namespace py::cpp::Windows::Media::Transcoding
599
685
  return nullptr;
600
686
  }
601
687
 
602
- return py::convert(self->obj.VideoProcessingAlgorithm());
688
+ return py::convert([&]()
689
+ {
690
+ auto _gil = release_gil();
691
+ return self->obj.VideoProcessingAlgorithm();
692
+ }());
603
693
  }
604
694
  catch (...)
605
695
  {
@@ -610,7 +700,7 @@ namespace py::cpp::Windows::Media::Transcoding
610
700
 
611
701
  static int MediaTranscoder_put_VideoProcessingAlgorithm(py::wrapper::Windows::Media::Transcoding::MediaTranscoder* self, PyObject* arg, void* /*unused*/) noexcept
612
702
  {
613
- if (arg == nullptr)
703
+ if (!arg)
614
704
  {
615
705
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
616
706
  return -1;
@@ -633,7 +723,11 @@ namespace py::cpp::Windows::Media::Transcoding
633
723
 
634
724
  auto param0 = py::convert_to<winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm>(arg);
635
725
 
636
- self->obj.VideoProcessingAlgorithm(param0);
726
+ {
727
+ auto _gil = release_gil();
728
+ self->obj.VideoProcessingAlgorithm(param0);
729
+ }
730
+
637
731
  return 0;
638
732
  }
639
733
  catch (...)
@@ -669,15 +763,16 @@ namespace py::cpp::Windows::Media::Transcoding
669
763
 
670
764
  static PyMethodDef _methods_MediaTranscoder[] = {
671
765
  { "add_audio_effect", reinterpret_cast<PyCFunction>(MediaTranscoder_AddAudioEffect), METH_VARARGS, nullptr },
766
+ { "add_audio_effect_with_settings", reinterpret_cast<PyCFunction>(MediaTranscoder_AddAudioEffectWithSettings), METH_VARARGS, nullptr },
672
767
  { "add_video_effect", reinterpret_cast<PyCFunction>(MediaTranscoder_AddVideoEffect), METH_VARARGS, nullptr },
768
+ { "add_video_effect_with_settings", reinterpret_cast<PyCFunction>(MediaTranscoder_AddVideoEffectWithSettings), METH_VARARGS, nullptr },
673
769
  { "clear_effects", reinterpret_cast<PyCFunction>(MediaTranscoder_ClearEffects), METH_VARARGS, nullptr },
674
770
  { "prepare_file_transcode_async", reinterpret_cast<PyCFunction>(MediaTranscoder_PrepareFileTranscodeAsync), METH_VARARGS, nullptr },
675
771
  { "prepare_media_stream_source_transcode_async", reinterpret_cast<PyCFunction>(MediaTranscoder_PrepareMediaStreamSourceTranscodeAsync), METH_VARARGS, nullptr },
676
772
  { "prepare_stream_transcode_async", reinterpret_cast<PyCFunction>(MediaTranscoder_PrepareStreamTranscodeAsync), METH_VARARGS, nullptr },
677
773
  { "_assign_array_", _assign_array_MediaTranscoder, METH_O | METH_STATIC, nullptr },
678
774
  { "_from", reinterpret_cast<PyCFunction>(_from_MediaTranscoder), METH_O | METH_STATIC, nullptr },
679
- { }
680
- };
775
+ { }};
681
776
 
682
777
  static PyGetSetDef _getset_MediaTranscoder[] = {
683
778
  { "trim_stop_time", reinterpret_cast<getter>(MediaTranscoder_get_TrimStopTime), reinterpret_cast<setter>(MediaTranscoder_put_TrimStopTime), nullptr, nullptr },
@@ -685,16 +780,14 @@ namespace py::cpp::Windows::Media::Transcoding
685
780
  { "hardware_acceleration_enabled", reinterpret_cast<getter>(MediaTranscoder_get_HardwareAccelerationEnabled), reinterpret_cast<setter>(MediaTranscoder_put_HardwareAccelerationEnabled), nullptr, nullptr },
686
781
  { "always_reencode", reinterpret_cast<getter>(MediaTranscoder_get_AlwaysReencode), reinterpret_cast<setter>(MediaTranscoder_put_AlwaysReencode), nullptr, nullptr },
687
782
  { "video_processing_algorithm", reinterpret_cast<getter>(MediaTranscoder_get_VideoProcessingAlgorithm), reinterpret_cast<setter>(MediaTranscoder_put_VideoProcessingAlgorithm), nullptr, nullptr },
688
- { }
689
- };
783
+ { }};
690
784
 
691
785
  static PyType_Slot _type_slots_MediaTranscoder[] = {
692
786
  { Py_tp_new, reinterpret_cast<void*>(_new_MediaTranscoder) },
693
787
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_MediaTranscoder) },
694
788
  { Py_tp_methods, reinterpret_cast<void*>(_methods_MediaTranscoder) },
695
789
  { Py_tp_getset, reinterpret_cast<void*>(_getset_MediaTranscoder) },
696
- { }
697
- };
790
+ { }};
698
791
 
699
792
  static PyType_Spec type_spec_MediaTranscoder = {
700
793
  "winrt._winrt_windows_media_transcoding.MediaTranscoder",
@@ -722,7 +815,7 @@ namespace py::cpp::Windows::Media::Transcoding
722
815
 
723
816
  static PyObject* PrepareTranscodeResult_TranscodeAsync(py::wrapper::Windows::Media::Transcoding::PrepareTranscodeResult* self, PyObject* args) noexcept
724
817
  {
725
- auto arg_count = PyTuple_Size(args);
818
+ auto arg_count = PyTuple_GET_SIZE(args);
726
819
 
727
820
  if (arg_count == 0)
728
821
  {
@@ -741,7 +834,11 @@ namespace py::cpp::Windows::Media::Transcoding
741
834
  return nullptr;
742
835
  }
743
836
 
744
- return py::convert(self->obj.TranscodeAsync());
837
+ return py::convert([&]()
838
+ {
839
+ auto _gil = release_gil();
840
+ return self->obj.TranscodeAsync();
841
+ }());
745
842
  }
746
843
  catch (...)
747
844
  {
@@ -773,7 +870,11 @@ namespace py::cpp::Windows::Media::Transcoding
773
870
  return nullptr;
774
871
  }
775
872
 
776
- return py::convert(self->obj.CanTranscode());
873
+ return py::convert([&]()
874
+ {
875
+ auto _gil = release_gil();
876
+ return self->obj.CanTranscode();
877
+ }());
777
878
  }
778
879
  catch (...)
779
880
  {
@@ -799,7 +900,11 @@ namespace py::cpp::Windows::Media::Transcoding
799
900
  return nullptr;
800
901
  }
801
902
 
802
- return py::convert(self->obj.FailureReason());
903
+ return py::convert([&]()
904
+ {
905
+ auto _gil = release_gil();
906
+ return self->obj.FailureReason();
907
+ }());
803
908
  }
804
909
  catch (...)
805
910
  {
@@ -836,22 +941,19 @@ namespace py::cpp::Windows::Media::Transcoding
836
941
  { "transcode_async", reinterpret_cast<PyCFunction>(PrepareTranscodeResult_TranscodeAsync), METH_VARARGS, nullptr },
837
942
  { "_assign_array_", _assign_array_PrepareTranscodeResult, METH_O | METH_STATIC, nullptr },
838
943
  { "_from", reinterpret_cast<PyCFunction>(_from_PrepareTranscodeResult), METH_O | METH_STATIC, nullptr },
839
- { }
840
- };
944
+ { }};
841
945
 
842
946
  static PyGetSetDef _getset_PrepareTranscodeResult[] = {
843
947
  { "can_transcode", reinterpret_cast<getter>(PrepareTranscodeResult_get_CanTranscode), nullptr, nullptr, nullptr },
844
948
  { "failure_reason", reinterpret_cast<getter>(PrepareTranscodeResult_get_FailureReason), nullptr, nullptr, nullptr },
845
- { }
846
- };
949
+ { }};
847
950
 
848
951
  static PyType_Slot _type_slots_PrepareTranscodeResult[] = {
849
952
  { Py_tp_new, reinterpret_cast<void*>(_new_PrepareTranscodeResult) },
850
953
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PrepareTranscodeResult) },
851
954
  { Py_tp_methods, reinterpret_cast<void*>(_methods_PrepareTranscodeResult) },
852
955
  { Py_tp_getset, reinterpret_cast<void*>(_getset_PrepareTranscodeResult) },
853
- { }
854
- };
956
+ { }};
855
957
 
856
958
  static PyType_Spec type_spec_PrepareTranscodeResult = {
857
959
  "winrt._winrt_windows_media_transcoding.PrepareTranscodeResult",
@@ -892,6 +994,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_transcoding(void) noexcept
892
994
  return nullptr;
893
995
  }
894
996
 
997
+ auto inspectable_meta_type = py::get_inspectable_meta_type();
998
+ if (!inspectable_meta_type)
999
+ {
1000
+ return nullptr;
1001
+ }
1002
+
895
1003
  auto object_type = py::get_object_type();
896
1004
  if (!object_type)
897
1005
  {
@@ -905,13 +1013,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_transcoding(void) noexcept
905
1013
  return nullptr;
906
1014
  }
907
1015
 
908
- py::pytype_handle MediaTranscoder_type{py::register_python_type(module.get(), &type_spec_MediaTranscoder, object_bases.get(), nullptr)};
1016
+ py::pytype_handle MediaTranscoder_type{py::register_python_type(module.get(), &type_spec_MediaTranscoder, object_bases.get(), inspectable_meta_type)};
909
1017
  if (!MediaTranscoder_type)
910
1018
  {
911
1019
  return nullptr;
912
1020
  }
913
1021
 
914
- py::pytype_handle PrepareTranscodeResult_type{py::register_python_type(module.get(), &type_spec_PrepareTranscodeResult, object_bases.get(), nullptr)};
1022
+ py::pytype_handle PrepareTranscodeResult_type{py::register_python_type(module.get(), &type_spec_PrepareTranscodeResult, object_bases.get(), inspectable_meta_type)};
915
1023
  if (!PrepareTranscodeResult_type)
916
1024
  {
917
1025
  return nullptr;
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9,<3.14"
19
+ requires-python = ">=3.9"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
34
34
 
35
35
  [tool.cibuildwheel]
36
36
  # use local winrt-sdk build dependency
37
- environment = { PYTHONPATH="../winrt-sdk/src" }
37
+ environment = { PYTHONPATH="../../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
39
  build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
40
  before-build = "uv pip install setuptools"
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
- winrt-runtime==2.3.0
3
+ winrt-runtime==3.0.0
@@ -19,7 +19,7 @@ class build_ext_ex(build_ext):
19
19
 
20
20
 
21
21
  setup(
22
- cmdclass = {'build_ext': build_ext_ex},
22
+ cmdclass={"build_ext": build_ext_ex},
23
23
  ext_modules=[
24
24
  Extension(
25
25
  "winrt._winrt_windows_media_transcoding",
@@ -0,0 +1,83 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.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
+ 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
+
@@ -1,9 +1,12 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
3
  import enum
4
4
 
5
5
  import winrt.system
6
- from winrt import _winrt_windows_media_transcoding
6
+ from winrt._winrt_windows_media_transcoding import (
7
+ MediaTranscoder,
8
+ PrepareTranscodeResult,
9
+ )
7
10
 
8
11
  __all__ = [
9
12
  "MediaVideoProcessingAlgorithm",
@@ -22,5 +25,3 @@ class TranscodeFailureReason(enum.IntEnum):
22
25
  INVALID_PROFILE = 2
23
26
  CODEC_NOT_FOUND = 3
24
27
 
25
- MediaTranscoder = _winrt_windows_media_transcoding.MediaTranscoder
26
- PrepareTranscodeResult = _winrt_windows_media_transcoding.PrepareTranscodeResult
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Transcoding
3
- Version: 2.3.0
3
+ Version: 3.0.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.3.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Media.Core[all]==2.3.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.3.0; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage[all]==2.3.0; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==3.0.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.0.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==3.0.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==3.0.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,9 @@
1
+ winrt-runtime==3.0.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==3.0.0
5
+ winrt-Windows.Foundation.Collections[all]==3.0.0
6
+ winrt-Windows.Media.Core[all]==3.0.0
7
+ winrt-Windows.Media.MediaProperties[all]==3.0.0
8
+ winrt-Windows.Storage[all]==3.0.0
9
+ winrt-Windows.Storage.Streams[all]==3.0.0
@@ -1,8 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
-
3
- winrt-Windows.Foundation[all]==2.3.0
4
- winrt-Windows.Foundation.Collections[all]==2.3.0
5
- winrt-Windows.Media.Core[all]==2.3.0
6
- winrt-Windows.Media.MediaProperties[all]==2.3.0
7
- winrt-Windows.Storage[all]==2.3.0
8
- winrt-Windows.Storage.Streams[all]==2.3.0
@@ -1,70 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.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
-
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.3.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.3.0
5
- winrt-Windows.Foundation.Collections[all]==2.3.0
6
- winrt-Windows.Media.Core[all]==2.3.0
7
- winrt-Windows.Media.MediaProperties[all]==2.3.0
8
- winrt-Windows.Storage[all]==2.3.0
9
- winrt-Windows.Storage.Streams[all]==2.3.0