tencentcloud-sdk-python-mps 3.0.1477__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.
Files changed (18) hide show
  1. tencentcloud_sdk_python_mps-3.0.1481/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/errorcodes.py +6 -0
  5. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/models.py +287 -14
  6. tencentcloud_sdk_python_mps-3.0.1481/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +46 -0
  7. tencentcloud_sdk_python_mps-3.0.1481/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-mps-3.0.1477/PKG-INFO +0 -45
  9. tencentcloud-sdk-python-mps-3.0.1477/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-mps-3.0.1477/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/README.rst +0 -0
  12. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/__init__.py +0 -0
  14. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/__init__.py +0 -0
  15. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  16. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-mps-3.0.1477 → tencentcloud_sdk_python_mps-3.0.1481}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-mps-3.0.1477 → 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.1477,<4.0.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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1477'
17
+ __version__ = '3.0.1481'
@@ -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
 
@@ -12529,7 +12529,8 @@ class AudioTemplateInfo(AbstractModel):
12529
12529
 
12530
12530
 
12531
12531
  :type Bitrate: int
12532
- :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12532
+ :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
12533
+ 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12533
12534
  单位:Hz
12534
12535
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
12535
12536
  :type SampleRate: int
@@ -12600,7 +12601,8 @@ class AudioTemplateInfo(AbstractModel):
12600
12601
 
12601
12602
  @property
12602
12603
  def SampleRate(self):
12603
- r"""音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12604
+ r"""音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
12605
+ 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12604
12606
  单位:Hz
12605
12607
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
12606
12608
  :rtype: int
@@ -12688,7 +12690,8 @@ class AudioTemplateInfoForUpdate(AbstractModel):
12688
12690
  :param _Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
12689
12691
  注意:此字段可能返回 null,表示取不到有效值。
12690
12692
  :type Bitrate: int
12691
- :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12693
+ :param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
12694
+ 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12692
12695
  单位:Hz
12693
12696
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
12694
12697
  注意:此字段可能返回 null,表示取不到有效值。
@@ -12752,7 +12755,8 @@ class AudioTemplateInfoForUpdate(AbstractModel):
12752
12755
 
12753
12756
  @property
12754
12757
  def SampleRate(self):
12755
- r"""音频流的采样率,不同编码标准支持的采样率选项不同。详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12758
+ r"""音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
12759
+ 详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
12756
12760
  单位:Hz
12757
12761
  注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
12758
12762
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13801,8 +13805,12 @@ class BeautyEffectItemConfig(AbstractModel):
13801
13805
  def __init__(self):
13802
13806
  r"""
13803
13807
  :param _Type: 类型名称。取值如下:
13804
-
13805
13808
  <li>Whiten:美白</li>
13809
+ <li>BlackAlpha1:美黑</li>
13810
+ <li>BlackAlpha2:较强美黑</li>
13811
+ <li>FoundationAlpha2:美白-粉白</li>
13812
+ <li>Clear:清晰度</li>
13813
+ <li>Sharpen:锐化</li>
13806
13814
  <li>Smooth:磨皮</li>
13807
13815
  <li>BeautyThinFace:瘦脸</li>
13808
13816
  <li>NatureFace:自然脸型</li>
@@ -13812,9 +13820,11 @@ class BeautyEffectItemConfig(AbstractModel):
13812
13820
  <li>RemoveEyeBags:祛眼袋</li>
13813
13821
  <li>ThinNose:瘦鼻</li>
13814
13822
  <li>RemoveLawLine:祛法令纹</li>
13823
+ <li>CheekboneThin:瘦颧骨</li>
13824
+ <li>FaceFeatureLipsLut:口红</li>
13815
13825
  <li>ToothWhiten:牙齿美白</li>
13816
-
13817
-
13826
+ <li>FaceFeatureSoftlight:柔光</li>
13827
+ <li>Makeup:美妆</li>
13818
13828
  :type Type: str
13819
13829
  :param _Switch: 能力配置开关,可选值:
13820
13830
  <li>ON:开启;</li>
@@ -13823,16 +13833,26 @@ class BeautyEffectItemConfig(AbstractModel):
13823
13833
  :type Switch: str
13824
13834
  :param _Value: 效果强度,值范围:[0, 100]。
13825
13835
  :type Value: int
13836
+ :param _ResourcePath: 附加资源路径。
13837
+ :type ResourcePath: str
13838
+ :param _ExtInfo: 自定义参数。
13839
+ :type ExtInfo: str
13826
13840
  """
13827
13841
  self._Type = None
13828
13842
  self._Switch = None
13829
13843
  self._Value = None
13844
+ self._ResourcePath = None
13845
+ self._ExtInfo = None
13830
13846
 
13831
13847
  @property
13832
13848
  def Type(self):
13833
13849
  r"""类型名称。取值如下:
13834
-
13835
13850
  <li>Whiten:美白</li>
13851
+ <li>BlackAlpha1:美黑</li>
13852
+ <li>BlackAlpha2:较强美黑</li>
13853
+ <li>FoundationAlpha2:美白-粉白</li>
13854
+ <li>Clear:清晰度</li>
13855
+ <li>Sharpen:锐化</li>
13836
13856
  <li>Smooth:磨皮</li>
13837
13857
  <li>BeautyThinFace:瘦脸</li>
13838
13858
  <li>NatureFace:自然脸型</li>
@@ -13842,9 +13862,11 @@ class BeautyEffectItemConfig(AbstractModel):
13842
13862
  <li>RemoveEyeBags:祛眼袋</li>
13843
13863
  <li>ThinNose:瘦鼻</li>
13844
13864
  <li>RemoveLawLine:祛法令纹</li>
13865
+ <li>CheekboneThin:瘦颧骨</li>
13866
+ <li>FaceFeatureLipsLut:口红</li>
13845
13867
  <li>ToothWhiten:牙齿美白</li>
13846
-
13847
-
13868
+ <li>FaceFeatureSoftlight:柔光</li>
13869
+ <li>Makeup:美妆</li>
13848
13870
  :rtype: str
13849
13871
  """
13850
13872
  return self._Type
@@ -13878,11 +13900,35 @@ class BeautyEffectItemConfig(AbstractModel):
13878
13900
  def Value(self, Value):
13879
13901
  self._Value = Value
13880
13902
 
13903
+ @property
13904
+ def ResourcePath(self):
13905
+ r"""附加资源路径。
13906
+ :rtype: str
13907
+ """
13908
+ return self._ResourcePath
13909
+
13910
+ @ResourcePath.setter
13911
+ def ResourcePath(self, ResourcePath):
13912
+ self._ResourcePath = ResourcePath
13913
+
13914
+ @property
13915
+ def ExtInfo(self):
13916
+ r"""自定义参数。
13917
+ :rtype: str
13918
+ """
13919
+ return self._ExtInfo
13920
+
13921
+ @ExtInfo.setter
13922
+ def ExtInfo(self, ExtInfo):
13923
+ self._ExtInfo = ExtInfo
13924
+
13881
13925
 
13882
13926
  def _deserialize(self, params):
13883
13927
  self._Type = params.get("Type")
13884
13928
  self._Switch = params.get("Switch")
13885
13929
  self._Value = params.get("Value")
13930
+ self._ResourcePath = params.get("ResourcePath")
13931
+ self._ExtInfo = params.get("ExtInfo")
13886
13932
  memeber_set = set(params.keys())
13887
13933
  for name, value in vars(self).items():
13888
13934
  property_name = name[1:]
@@ -19418,8 +19464,10 @@ class CreateOutputInfo(AbstractModel):
19418
19464
  :type Zones: list of str
19419
19465
  :param _RISTSettings: 输出的RIST的配置。
19420
19466
  :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
19421
- :param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
19467
+ :param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
19422
19468
  :type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
19469
+ :param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
19470
+ :type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
19423
19471
  """
19424
19472
  self._OutputName = None
19425
19473
  self._Description = None
@@ -19436,6 +19484,7 @@ class CreateOutputInfo(AbstractModel):
19436
19484
  self._Zones = None
19437
19485
  self._RISTSettings = None
19438
19486
  self._PidSelector = None
19487
+ self._StreamSelector = None
19439
19488
 
19440
19489
  @property
19441
19490
  def OutputName(self):
@@ -19594,15 +19643,30 @@ class CreateOutputInfo(AbstractModel):
19594
19643
 
19595
19644
  @property
19596
19645
  def PidSelector(self):
19597
- r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
19646
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
19647
+
19648
+ r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个
19598
19649
  :rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
19599
19650
  """
19600
19651
  return self._PidSelector
19601
19652
 
19602
19653
  @PidSelector.setter
19603
19654
  def PidSelector(self, PidSelector):
19655
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
19656
+
19604
19657
  self._PidSelector = PidSelector
19605
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
+
19606
19670
 
19607
19671
  def _deserialize(self, params):
19608
19672
  self._OutputName = params.get("OutputName")
@@ -19630,6 +19694,9 @@ class CreateOutputInfo(AbstractModel):
19630
19694
  if params.get("PidSelector") is not None:
19631
19695
  self._PidSelector = PidSelector()
19632
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"))
19633
19700
  memeber_set = set(params.keys())
19634
19701
  for name, value in vars(self).items():
19635
19702
  property_name = name[1:]
@@ -26970,7 +27037,6 @@ class DescribeImageTaskDetailResponse(AbstractModel):
26970
27037
  r"""
26971
27038
  :param _TaskType: 任务类型,目前取值有:
26972
27039
  <li>WorkflowTask:工作流处理任务。</li>
26973
-
26974
27040
  注意:此字段可能返回 null,表示取不到有效值。
26975
27041
  :type TaskType: str
26976
27042
  :param _Status: 任务状态,取值:
@@ -26979,6 +27045,12 @@ class DescribeImageTaskDetailResponse(AbstractModel):
26979
27045
  <li>FINISH:已完成。</li>
26980
27046
  注意:此字段可能返回 null,表示取不到有效值。
26981
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
26982
27054
  :param _ImageProcessTaskResultSet: 图片处理任务的执行状态与结果。
26983
27055
  注意:此字段可能返回 null,表示取不到有效值。
26984
27056
  :type ImageProcessTaskResultSet: list of ImageProcessTaskResult
@@ -26993,6 +27065,9 @@ class DescribeImageTaskDetailResponse(AbstractModel):
26993
27065
  """
26994
27066
  self._TaskType = None
26995
27067
  self._Status = None
27068
+ self._ErrCode = None
27069
+ self._ErrMsg = None
27070
+ self._Message = None
26996
27071
  self._ImageProcessTaskResultSet = None
26997
27072
  self._CreateTime = None
26998
27073
  self._FinishTime = None
@@ -27002,7 +27077,6 @@ class DescribeImageTaskDetailResponse(AbstractModel):
27002
27077
  def TaskType(self):
27003
27078
  r"""任务类型,目前取值有:
27004
27079
  <li>WorkflowTask:工作流处理任务。</li>
27005
-
27006
27080
  注意:此字段可能返回 null,表示取不到有效值。
27007
27081
  :rtype: str
27008
27082
  """
@@ -27027,6 +27101,39 @@ class DescribeImageTaskDetailResponse(AbstractModel):
27027
27101
  def Status(self, Status):
27028
27102
  self._Status = Status
27029
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
+
27030
27137
  @property
27031
27138
  def ImageProcessTaskResultSet(self):
27032
27139
  r"""图片处理任务的执行状态与结果。
@@ -27078,6 +27185,9 @@ class DescribeImageTaskDetailResponse(AbstractModel):
27078
27185
  def _deserialize(self, params):
27079
27186
  self._TaskType = params.get("TaskType")
27080
27187
  self._Status = params.get("Status")
27188
+ self._ErrCode = params.get("ErrCode")
27189
+ self._ErrMsg = params.get("ErrMsg")
27190
+ self._Message = params.get("Message")
27081
27191
  if params.get("ImageProcessTaskResultSet") is not None:
27082
27192
  self._ImageProcessTaskResultSet = []
27083
27193
  for item in params.get("ImageProcessTaskResultSet"):
@@ -28225,6 +28335,8 @@ class DescribeOutput(AbstractModel):
28225
28335
  :type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
28226
28336
  :param _StreamUrls: 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
28227
28337
  :type StreamUrls: list of StreamUrlDetail
28338
+ :param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
28339
+ :type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
28228
28340
  """
28229
28341
  self._OutputId = None
28230
28342
  self._OutputName = None
@@ -28247,6 +28359,7 @@ class DescribeOutput(AbstractModel):
28247
28359
  self._RISTSettings = None
28248
28360
  self._PidSelector = None
28249
28361
  self._StreamUrls = None
28362
+ self._StreamSelector = None
28250
28363
 
28251
28364
  @property
28252
28365
  def OutputId(self):
@@ -28471,6 +28584,8 @@ class DescribeOutput(AbstractModel):
28471
28584
 
28472
28585
  @property
28473
28586
  def PidSelector(self):
28587
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
28588
+
28474
28589
  r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
28475
28590
  :rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
28476
28591
  """
@@ -28478,6 +28593,8 @@ class DescribeOutput(AbstractModel):
28478
28593
 
28479
28594
  @PidSelector.setter
28480
28595
  def PidSelector(self, PidSelector):
28596
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
28597
+
28481
28598
  self._PidSelector = PidSelector
28482
28599
 
28483
28600
  @property
@@ -28491,6 +28608,17 @@ class DescribeOutput(AbstractModel):
28491
28608
  def StreamUrls(self, StreamUrls):
28492
28609
  self._StreamUrls = StreamUrls
28493
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
+
28494
28622
 
28495
28623
  def _deserialize(self, params):
28496
28624
  self._OutputId = params.get("OutputId")
@@ -28540,6 +28668,9 @@ class DescribeOutput(AbstractModel):
28540
28668
  obj = StreamUrlDetail()
28541
28669
  obj._deserialize(item)
28542
28670
  self._StreamUrls.append(obj)
28671
+ if params.get("StreamSelector") is not None:
28672
+ self._StreamSelector = StreamSelector()
28673
+ self._StreamSelector._deserialize(params.get("StreamSelector"))
28543
28674
  memeber_set = set(params.keys())
28544
28675
  for name, value in vars(self).items():
28545
28676
  property_name = name[1:]
@@ -49325,6 +49456,8 @@ class ModifyOutputInfo(AbstractModel):
49325
49456
  :type OutputType: str
49326
49457
  :param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
49327
49458
  :type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
49459
+ :param _StreamSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
49460
+ :type StreamSelector: :class:`tencentcloud.mps.v20190612.models.StreamSelector`
49328
49461
  """
49329
49462
  self._OutputId = None
49330
49463
  self._OutputName = None
@@ -49341,6 +49474,7 @@ class ModifyOutputInfo(AbstractModel):
49341
49474
  self._RISTSettings = None
49342
49475
  self._OutputType = None
49343
49476
  self._PidSelector = None
49477
+ self._StreamSelector = None
49344
49478
 
49345
49479
  @property
49346
49480
  def OutputId(self):
@@ -49499,6 +49633,8 @@ class ModifyOutputInfo(AbstractModel):
49499
49633
 
49500
49634
  @property
49501
49635
  def PidSelector(self):
49636
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
49637
+
49502
49638
  r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
49503
49639
  :rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
49504
49640
  """
@@ -49506,8 +49642,21 @@ class ModifyOutputInfo(AbstractModel):
49506
49642
 
49507
49643
  @PidSelector.setter
49508
49644
  def PidSelector(self, PidSelector):
49645
+ warnings.warn("parameter `PidSelector` is deprecated", DeprecationWarning)
49646
+
49509
49647
  self._PidSelector = PidSelector
49510
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
+
49511
49660
 
49512
49661
  def _deserialize(self, params):
49513
49662
  self._OutputId = params.get("OutputId")
@@ -49535,6 +49684,9 @@ class ModifyOutputInfo(AbstractModel):
49535
49684
  if params.get("PidSelector") is not None:
49536
49685
  self._PidSelector = PidSelector()
49537
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"))
49538
49690
  memeber_set = set(params.keys())
49539
49691
  for name, value in vars(self).items():
49540
49692
  property_name = name[1:]
@@ -63984,6 +64136,76 @@ class StreamLinkRegionInfo(AbstractModel):
63984
64136
 
63985
64137
 
63986
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
+
63987
64209
  class StreamUrlDetail(AbstractModel):
63988
64210
  r"""描述 URL 的完整信息
63989
64211
 
@@ -66250,6 +66472,57 @@ class TrackInfo(AbstractModel):
66250
66472
 
66251
66473
 
66252
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
+
66253
66526
  class TranscodeTaskInput(AbstractModel):
66254
66527
  r"""转码任务输入参数类型
66255
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.1477
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.1477
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.1477