tencentcloud-sdk-python-mps 3.0.1478__tar.gz → 3.0.1481__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-mps might be problematic. Click here for more details.
- tencentcloud_sdk_python_mps-3.0.1481/PKG-INFO +46 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/setup.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/errorcodes.py +6 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/models.py +231 -4
- tencentcloud_sdk_python_mps-3.0.1481/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_mps-3.0.1481/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mps-3.0.1478/PKG-INFO +0 -45
- tencentcloud-sdk-python-mps-3.0.1478/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-mps-3.0.1478/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/README.rst +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.1478 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-mps
|
|
3
|
+
Version: 3.0.1481
|
|
4
|
+
Summary: Tencent Cloud Mps SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Mps SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-mps
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common mps
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1481,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mps SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -296,6 +296,9 @@ INVALIDPARAMETERVALUE_NOTPROCESSINGTASK = 'InvalidParameterValue.NotProcessingTa
|
|
|
296
296
|
# 参数值错误:物体库参数非法。
|
|
297
297
|
INVALIDPARAMETERVALUE_OBJECTLIBRARY = 'InvalidParameterValue.ObjectLibrary'
|
|
298
298
|
|
|
299
|
+
# 参数值错误:OcrSwitch 参数取值非法。
|
|
300
|
+
INVALIDPARAMETERVALUE_OCRSWITCH = 'InvalidParameterValue.OcrSwitch'
|
|
301
|
+
|
|
299
302
|
# 参数值错误:人脸图片格式错误。
|
|
300
303
|
INVALIDPARAMETERVALUE_PICFORMATERROR = 'InvalidParameterValue.PicFormatError'
|
|
301
304
|
|
|
@@ -401,6 +404,9 @@ INVALIDPARAMETERVALUE_TEXTTEMPLATE = 'InvalidParameterValue.TextTemplate'
|
|
|
401
404
|
# 擦除模板字幕擦除翻译目标语种错误
|
|
402
405
|
INVALIDPARAMETERVALUE_TRANSDSTLANG = 'InvalidParameterValue.TransDstLang'
|
|
403
406
|
|
|
407
|
+
# 参数值错误:TransSwitch 参数取值非法。
|
|
408
|
+
INVALIDPARAMETERVALUE_TRANSSWITCH = 'InvalidParameterValue.TransSwitch'
|
|
409
|
+
|
|
404
410
|
# 参数值错误:翻译目标语言
|
|
405
411
|
INVALIDPARAMETERVALUE_TRANSLATEDSTLANGUAGE = 'InvalidParameterValue.TranslateDstLanguage'
|
|
406
412
|
|
|
@@ -19464,8 +19464,10 @@ class CreateOutputInfo(AbstractModel):
|
|
|
19464
19464
|
:type Zones: list of str
|
|
19465
19465
|
:param _RISTSettings: 输出的RIST的配置。
|
|
19466
19466
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
|
|
19467
|
-
:param _PidSelector:
|
|
19467
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
|
|
19468
19468
|
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
19469
|
+
:param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
|
|
19470
|
+
:type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
19469
19471
|
"""
|
|
19470
19472
|
self._OutputName = None
|
|
19471
19473
|
self._Description = None
|
|
@@ -19482,6 +19484,7 @@ class CreateOutputInfo(AbstractModel):
|
|
|
19482
19484
|
self._Zones = None
|
|
19483
19485
|
self._RISTSettings = None
|
|
19484
19486
|
self._PidSelector = None
|
|
19487
|
+
self._StreamSelector = None
|
|
19485
19488
|
|
|
19486
19489
|
@property
|
|
19487
19490
|
def OutputName(self):
|
|
@@ -19640,15 +19643,30 @@ class CreateOutputInfo(AbstractModel):
|
|
|
19640
19643
|
|
|
19641
19644
|
@property
|
|
19642
19645
|
def PidSelector(self):
|
|
19643
|
-
|
|
19646
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
19647
|
+
|
|
19648
|
+
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
|
|
19644
19649
|
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
19645
19650
|
"""
|
|
19646
19651
|
return self._PidSelector
|
|
19647
19652
|
|
|
19648
19653
|
@PidSelector.setter
|
|
19649
19654
|
def PidSelector(self, PidSelector):
|
|
19655
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
19656
|
+
|
|
19650
19657
|
self._PidSelector = PidSelector
|
|
19651
19658
|
|
|
19659
|
+
@property
|
|
19660
|
+
def StreamSelector(self):
|
|
19661
|
+
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
|
|
19662
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
19663
|
+
"""
|
|
19664
|
+
return self._StreamSelector
|
|
19665
|
+
|
|
19666
|
+
@StreamSelector.setter
|
|
19667
|
+
def StreamSelector(self, StreamSelector):
|
|
19668
|
+
self._StreamSelector = StreamSelector
|
|
19669
|
+
|
|
19652
19670
|
|
|
19653
19671
|
def _deserialize(self, params):
|
|
19654
19672
|
self._OutputName = params.get("OutputName")
|
|
@@ -19676,6 +19694,9 @@ class CreateOutputInfo(AbstractModel):
|
|
|
19676
19694
|
if params.get("PidSelector") is not None:
|
|
19677
19695
|
self._PidSelector = PidSelector()
|
|
19678
19696
|
self._PidSelector._deserialize(params.get("PidSelector"))
|
|
19697
|
+
if params.get("StreamSelector") is not None:
|
|
19698
|
+
self._StreamSelector = StreamSelector()
|
|
19699
|
+
self._StreamSelector._deserialize(params.get("StreamSelector"))
|
|
19679
19700
|
memeber_set = set(params.keys())
|
|
19680
19701
|
for name, value in vars(self).items():
|
|
19681
19702
|
property_name = name[1:]
|
|
@@ -27016,7 +27037,6 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27016
27037
|
r"""
|
|
27017
27038
|
:param _TaskType: 任务类型,目前取值有:
|
|
27018
27039
|
<li>WorkflowTask:工作流处理任务。</li>
|
|
27019
|
-
|
|
27020
27040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27021
27041
|
:type TaskType: str
|
|
27022
27042
|
:param _Status: 任务状态,取值:
|
|
@@ -27025,6 +27045,12 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27025
27045
|
<li>FINISH:已完成。</li>
|
|
27026
27046
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27027
27047
|
:type Status: str
|
|
27048
|
+
:param _ErrCode: 任务失败时的错误码。
|
|
27049
|
+
:type ErrCode: int
|
|
27050
|
+
:param _ErrMsg: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
27051
|
+
:type ErrMsg: str
|
|
27052
|
+
:param _Message: 任务异常Message。
|
|
27053
|
+
:type Message: str
|
|
27028
27054
|
:param _ImageProcessTaskResultSet: 图片处理任务的执行状态与结果。
|
|
27029
27055
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27030
27056
|
:type ImageProcessTaskResultSet: list of ImageProcessTaskResult
|
|
@@ -27039,6 +27065,9 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27039
27065
|
"""
|
|
27040
27066
|
self._TaskType = None
|
|
27041
27067
|
self._Status = None
|
|
27068
|
+
self._ErrCode = None
|
|
27069
|
+
self._ErrMsg = None
|
|
27070
|
+
self._Message = None
|
|
27042
27071
|
self._ImageProcessTaskResultSet = None
|
|
27043
27072
|
self._CreateTime = None
|
|
27044
27073
|
self._FinishTime = None
|
|
@@ -27048,7 +27077,6 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27048
27077
|
def TaskType(self):
|
|
27049
27078
|
r"""任务类型,目前取值有:
|
|
27050
27079
|
<li>WorkflowTask:工作流处理任务。</li>
|
|
27051
|
-
|
|
27052
27080
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27053
27081
|
:rtype: str
|
|
27054
27082
|
"""
|
|
@@ -27073,6 +27101,39 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27073
27101
|
def Status(self, Status):
|
|
27074
27102
|
self._Status = Status
|
|
27075
27103
|
|
|
27104
|
+
@property
|
|
27105
|
+
def ErrCode(self):
|
|
27106
|
+
r"""任务失败时的错误码。
|
|
27107
|
+
:rtype: int
|
|
27108
|
+
"""
|
|
27109
|
+
return self._ErrCode
|
|
27110
|
+
|
|
27111
|
+
@ErrCode.setter
|
|
27112
|
+
def ErrCode(self, ErrCode):
|
|
27113
|
+
self._ErrCode = ErrCode
|
|
27114
|
+
|
|
27115
|
+
@property
|
|
27116
|
+
def ErrMsg(self):
|
|
27117
|
+
r"""错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
27118
|
+
:rtype: str
|
|
27119
|
+
"""
|
|
27120
|
+
return self._ErrMsg
|
|
27121
|
+
|
|
27122
|
+
@ErrMsg.setter
|
|
27123
|
+
def ErrMsg(self, ErrMsg):
|
|
27124
|
+
self._ErrMsg = ErrMsg
|
|
27125
|
+
|
|
27126
|
+
@property
|
|
27127
|
+
def Message(self):
|
|
27128
|
+
r"""任务异常Message。
|
|
27129
|
+
:rtype: str
|
|
27130
|
+
"""
|
|
27131
|
+
return self._Message
|
|
27132
|
+
|
|
27133
|
+
@Message.setter
|
|
27134
|
+
def Message(self, Message):
|
|
27135
|
+
self._Message = Message
|
|
27136
|
+
|
|
27076
27137
|
@property
|
|
27077
27138
|
def ImageProcessTaskResultSet(self):
|
|
27078
27139
|
r"""图片处理任务的执行状态与结果。
|
|
@@ -27124,6 +27185,9 @@ class DescribeImageTaskDetailResponse(AbstractModel):
|
|
|
27124
27185
|
def _deserialize(self, params):
|
|
27125
27186
|
self._TaskType = params.get("TaskType")
|
|
27126
27187
|
self._Status = params.get("Status")
|
|
27188
|
+
self._ErrCode = params.get("ErrCode")
|
|
27189
|
+
self._ErrMsg = params.get("ErrMsg")
|
|
27190
|
+
self._Message = params.get("Message")
|
|
27127
27191
|
if params.get("ImageProcessTaskResultSet") is not None:
|
|
27128
27192
|
self._ImageProcessTaskResultSet = []
|
|
27129
27193
|
for item in params.get("ImageProcessTaskResultSet"):
|
|
@@ -28271,6 +28335,8 @@ class DescribeOutput(AbstractModel):
|
|
|
28271
28335
|
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
28272
28336
|
:param _StreamUrls: 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
|
|
28273
28337
|
:type StreamUrls: list of StreamUrlDetail
|
|
28338
|
+
:param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
28339
|
+
:type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
28274
28340
|
"""
|
|
28275
28341
|
self._OutputId = None
|
|
28276
28342
|
self._OutputName = None
|
|
@@ -28293,6 +28359,7 @@ class DescribeOutput(AbstractModel):
|
|
|
28293
28359
|
self._RISTSettings = None
|
|
28294
28360
|
self._PidSelector = None
|
|
28295
28361
|
self._StreamUrls = None
|
|
28362
|
+
self._StreamSelector = None
|
|
28296
28363
|
|
|
28297
28364
|
@property
|
|
28298
28365
|
def OutputId(self):
|
|
@@ -28517,6 +28584,8 @@ class DescribeOutput(AbstractModel):
|
|
|
28517
28584
|
|
|
28518
28585
|
@property
|
|
28519
28586
|
def PidSelector(self):
|
|
28587
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
28588
|
+
|
|
28520
28589
|
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
28521
28590
|
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
28522
28591
|
"""
|
|
@@ -28524,6 +28593,8 @@ class DescribeOutput(AbstractModel):
|
|
|
28524
28593
|
|
|
28525
28594
|
@PidSelector.setter
|
|
28526
28595
|
def PidSelector(self, PidSelector):
|
|
28596
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
28597
|
+
|
|
28527
28598
|
self._PidSelector = PidSelector
|
|
28528
28599
|
|
|
28529
28600
|
@property
|
|
@@ -28537,6 +28608,17 @@ class DescribeOutput(AbstractModel):
|
|
|
28537
28608
|
def StreamUrls(self, StreamUrls):
|
|
28538
28609
|
self._StreamUrls = StreamUrls
|
|
28539
28610
|
|
|
28611
|
+
@property
|
|
28612
|
+
def StreamSelector(self):
|
|
28613
|
+
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
28614
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
28615
|
+
"""
|
|
28616
|
+
return self._StreamSelector
|
|
28617
|
+
|
|
28618
|
+
@StreamSelector.setter
|
|
28619
|
+
def StreamSelector(self, StreamSelector):
|
|
28620
|
+
self._StreamSelector = StreamSelector
|
|
28621
|
+
|
|
28540
28622
|
|
|
28541
28623
|
def _deserialize(self, params):
|
|
28542
28624
|
self._OutputId = params.get("OutputId")
|
|
@@ -28586,6 +28668,9 @@ class DescribeOutput(AbstractModel):
|
|
|
28586
28668
|
obj = StreamUrlDetail()
|
|
28587
28669
|
obj._deserialize(item)
|
|
28588
28670
|
self._StreamUrls.append(obj)
|
|
28671
|
+
if params.get("StreamSelector") is not None:
|
|
28672
|
+
self._StreamSelector = StreamSelector()
|
|
28673
|
+
self._StreamSelector._deserialize(params.get("StreamSelector"))
|
|
28589
28674
|
memeber_set = set(params.keys())
|
|
28590
28675
|
for name, value in vars(self).items():
|
|
28591
28676
|
property_name = name[1:]
|
|
@@ -49371,6 +49456,8 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
49371
49456
|
:type OutputType: str
|
|
49372
49457
|
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
49373
49458
|
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
49459
|
+
:param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
49460
|
+
:type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
49374
49461
|
"""
|
|
49375
49462
|
self._OutputId = None
|
|
49376
49463
|
self._OutputName = None
|
|
@@ -49387,6 +49474,7 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
49387
49474
|
self._RISTSettings = None
|
|
49388
49475
|
self._OutputType = None
|
|
49389
49476
|
self._PidSelector = None
|
|
49477
|
+
self._StreamSelector = None
|
|
49390
49478
|
|
|
49391
49479
|
@property
|
|
49392
49480
|
def OutputId(self):
|
|
@@ -49545,6 +49633,8 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
49545
49633
|
|
|
49546
49634
|
@property
|
|
49547
49635
|
def PidSelector(self):
|
|
49636
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
49637
|
+
|
|
49548
49638
|
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
49549
49639
|
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
49550
49640
|
"""
|
|
@@ -49552,8 +49642,21 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
49552
49642
|
|
|
49553
49643
|
@PidSelector.setter
|
|
49554
49644
|
def PidSelector(self, PidSelector):
|
|
49645
|
+
warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
|
|
49646
|
+
|
|
49555
49647
|
self._PidSelector = PidSelector
|
|
49556
49648
|
|
|
49649
|
+
@property
|
|
49650
|
+
def StreamSelector(self):
|
|
49651
|
+
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
49652
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
|
|
49653
|
+
"""
|
|
49654
|
+
return self._StreamSelector
|
|
49655
|
+
|
|
49656
|
+
@StreamSelector.setter
|
|
49657
|
+
def StreamSelector(self, StreamSelector):
|
|
49658
|
+
self._StreamSelector = StreamSelector
|
|
49659
|
+
|
|
49557
49660
|
|
|
49558
49661
|
def _deserialize(self, params):
|
|
49559
49662
|
self._OutputId = params.get("OutputId")
|
|
@@ -49581,6 +49684,9 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
49581
49684
|
if params.get("PidSelector") is not None:
|
|
49582
49685
|
self._PidSelector = PidSelector()
|
|
49583
49686
|
self._PidSelector._deserialize(params.get("PidSelector"))
|
|
49687
|
+
if params.get("StreamSelector") is not None:
|
|
49688
|
+
self._StreamSelector = StreamSelector()
|
|
49689
|
+
self._StreamSelector._deserialize(params.get("StreamSelector"))
|
|
49584
49690
|
memeber_set = set(params.keys())
|
|
49585
49691
|
for name, value in vars(self).items():
|
|
49586
49692
|
property_name = name[1:]
|
|
@@ -64030,6 +64136,76 @@ class StreamLinkRegionInfo(AbstractModel):
|
|
|
64030
64136
|
|
|
64031
64137
|
|
|
64032
64138
|
|
|
64139
|
+
class StreamSelector(AbstractModel):
|
|
64140
|
+
r"""选择指定的音轨或者视频输出
|
|
64141
|
+
|
|
64142
|
+
"""
|
|
64143
|
+
|
|
64144
|
+
def __init__(self):
|
|
64145
|
+
r"""
|
|
64146
|
+
:param _SelectorType: 选择类型: PID | TRACK
|
|
64147
|
+
:type SelectorType: str
|
|
64148
|
+
:param _PidSelector: 根据 PID 配置选择器
|
|
64149
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
64150
|
+
:param _TrackSelector: 根据 Track 配置选择器
|
|
64151
|
+
:type TrackSelector: :class:`tencentcloud.mps.v20190612.models.TrackSelector`
|
|
64152
|
+
"""
|
|
64153
|
+
self._SelectorType = None
|
|
64154
|
+
self._PidSelector = None
|
|
64155
|
+
self._TrackSelector = None
|
|
64156
|
+
|
|
64157
|
+
@property
|
|
64158
|
+
def SelectorType(self):
|
|
64159
|
+
r"""选择类型: PID | TRACK
|
|
64160
|
+
:rtype: str
|
|
64161
|
+
"""
|
|
64162
|
+
return self._SelectorType
|
|
64163
|
+
|
|
64164
|
+
@SelectorType.setter
|
|
64165
|
+
def SelectorType(self, SelectorType):
|
|
64166
|
+
self._SelectorType = SelectorType
|
|
64167
|
+
|
|
64168
|
+
@property
|
|
64169
|
+
def PidSelector(self):
|
|
64170
|
+
r"""根据 PID 配置选择器
|
|
64171
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
|
64172
|
+
"""
|
|
64173
|
+
return self._PidSelector
|
|
64174
|
+
|
|
64175
|
+
@PidSelector.setter
|
|
64176
|
+
def PidSelector(self, PidSelector):
|
|
64177
|
+
self._PidSelector = PidSelector
|
|
64178
|
+
|
|
64179
|
+
@property
|
|
64180
|
+
def TrackSelector(self):
|
|
64181
|
+
r"""根据 Track 配置选择器
|
|
64182
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.TrackSelector`
|
|
64183
|
+
"""
|
|
64184
|
+
return self._TrackSelector
|
|
64185
|
+
|
|
64186
|
+
@TrackSelector.setter
|
|
64187
|
+
def TrackSelector(self, TrackSelector):
|
|
64188
|
+
self._TrackSelector = TrackSelector
|
|
64189
|
+
|
|
64190
|
+
|
|
64191
|
+
def _deserialize(self, params):
|
|
64192
|
+
self._SelectorType = params.get("SelectorType")
|
|
64193
|
+
if params.get("PidSelector") is not None:
|
|
64194
|
+
self._PidSelector = PidSelector()
|
|
64195
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
|
64196
|
+
if params.get("TrackSelector") is not None:
|
|
64197
|
+
self._TrackSelector = TrackSelector()
|
|
64198
|
+
self._TrackSelector._deserialize(params.get("TrackSelector"))
|
|
64199
|
+
memeber_set = set(params.keys())
|
|
64200
|
+
for name, value in vars(self).items():
|
|
64201
|
+
property_name = name[1:]
|
|
64202
|
+
if property_name in memeber_set:
|
|
64203
|
+
memeber_set.remove(property_name)
|
|
64204
|
+
if len(memeber_set) > 0:
|
|
64205
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
64206
|
+
|
|
64207
|
+
|
|
64208
|
+
|
|
64033
64209
|
class StreamUrlDetail(AbstractModel):
|
|
64034
64210
|
r"""描述 URL 的完整信息
|
|
64035
64211
|
|
|
@@ -66296,6 +66472,57 @@ class TrackInfo(AbstractModel):
|
|
|
66296
66472
|
|
|
66297
66473
|
|
|
66298
66474
|
|
|
66475
|
+
class TrackSelector(AbstractModel):
|
|
66476
|
+
r"""音视频轨道选择
|
|
66477
|
+
|
|
66478
|
+
"""
|
|
66479
|
+
|
|
66480
|
+
def __init__(self):
|
|
66481
|
+
r"""
|
|
66482
|
+
:param _VideoIndex: 视频轨道序号,从1开始.
|
|
66483
|
+
:type VideoIndex: list of int
|
|
66484
|
+
:param _AudioIndex: 音频轨道序号,从1开始.
|
|
66485
|
+
:type AudioIndex: list of int
|
|
66486
|
+
"""
|
|
66487
|
+
self._VideoIndex = None
|
|
66488
|
+
self._AudioIndex = None
|
|
66489
|
+
|
|
66490
|
+
@property
|
|
66491
|
+
def VideoIndex(self):
|
|
66492
|
+
r"""视频轨道序号,从1开始.
|
|
66493
|
+
:rtype: list of int
|
|
66494
|
+
"""
|
|
66495
|
+
return self._VideoIndex
|
|
66496
|
+
|
|
66497
|
+
@VideoIndex.setter
|
|
66498
|
+
def VideoIndex(self, VideoIndex):
|
|
66499
|
+
self._VideoIndex = VideoIndex
|
|
66500
|
+
|
|
66501
|
+
@property
|
|
66502
|
+
def AudioIndex(self):
|
|
66503
|
+
r"""音频轨道序号,从1开始.
|
|
66504
|
+
:rtype: list of int
|
|
66505
|
+
"""
|
|
66506
|
+
return self._AudioIndex
|
|
66507
|
+
|
|
66508
|
+
@AudioIndex.setter
|
|
66509
|
+
def AudioIndex(self, AudioIndex):
|
|
66510
|
+
self._AudioIndex = AudioIndex
|
|
66511
|
+
|
|
66512
|
+
|
|
66513
|
+
def _deserialize(self, params):
|
|
66514
|
+
self._VideoIndex = params.get("VideoIndex")
|
|
66515
|
+
self._AudioIndex = params.get("AudioIndex")
|
|
66516
|
+
memeber_set = set(params.keys())
|
|
66517
|
+
for name, value in vars(self).items():
|
|
66518
|
+
property_name = name[1:]
|
|
66519
|
+
if property_name in memeber_set:
|
|
66520
|
+
memeber_set.remove(property_name)
|
|
66521
|
+
if len(memeber_set) > 0:
|
|
66522
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
66523
|
+
|
|
66524
|
+
|
|
66525
|
+
|
|
66299
66526
|
class TranscodeTaskInput(AbstractModel):
|
|
66300
66527
|
r"""转码任务输入参数类型
|
|
66301
66528
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-mps
|
|
3
|
+
Version: 3.0.1481
|
|
4
|
+
Summary: Tencent Cloud Mps SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Mps SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-mps
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common mps
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.0.1478
|
|
4
|
-
Summary: Tencent Cloud Mps SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Mps SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-mps
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common mps
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.0.1478
|
|
4
|
-
Summary: Tencent Cloud Mps SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Mps SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-mps
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common mps
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1478
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|