tencentcloud-sdk-python-mps 3.0.1266__tar.gz → 3.0.1274__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 (16) hide show
  1. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/PKG-INFO +3 -3
  2. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/setup.cfg +0 -1
  3. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/setup.py +1 -1
  4. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/__init__.py +1 -1
  5. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/mps/v20190612/models.py +833 -8
  6. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/mps/v20190612/mps_client.py +25 -0
  7. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +3 -3
  8. tencentcloud-sdk-python-mps-3.0.1274/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-mps-3.0.1266/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/README.rst +0 -0
  11. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/mps/__init__.py +0 -0
  12. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/mps/v20190612/__init__.py +0 -0
  13. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mps-3.0.1266 → tencentcloud-sdk-python-mps-3.0.1274}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1266
3
+ Version: 3.0.1274
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -4,5 +4,4 @@ universal = 1
4
4
  [egg_info]
5
5
  tag_build =
6
6
  tag_date = 0
7
- tag_svn_revision = 0
8
7
 
@@ -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.1266"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1274"],
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.1266'
17
+ __version__ = '3.0.1274'
@@ -3706,8 +3706,12 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3706
3706
  r"""
3707
3707
  :param _SegmentSet: 智能拆条子片段列表。
3708
3708
  :type SegmentSet: list of SegmentRecognitionItem
3709
+ :param _Abstract: 视频摘要,离线场景用。
3710
+ 注意:此字段可能返回 null,表示取不到有效值。
3711
+ :type Abstract: str
3709
3712
  """
3710
3713
  self._SegmentSet = None
3714
+ self._Abstract = None
3711
3715
 
3712
3716
  @property
3713
3717
  def SegmentSet(self):
@@ -3720,6 +3724,18 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3720
3724
  def SegmentSet(self, SegmentSet):
3721
3725
  self._SegmentSet = SegmentSet
3722
3726
 
3727
+ @property
3728
+ def Abstract(self):
3729
+ """视频摘要,离线场景用。
3730
+ 注意:此字段可能返回 null,表示取不到有效值。
3731
+ :rtype: str
3732
+ """
3733
+ return self._Abstract
3734
+
3735
+ @Abstract.setter
3736
+ def Abstract(self, Abstract):
3737
+ self._Abstract = Abstract
3738
+
3723
3739
 
3724
3740
  def _deserialize(self, params):
3725
3741
  if params.get("SegmentSet") is not None:
@@ -3728,6 +3744,7 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3728
3744
  obj = SegmentRecognitionItem()
3729
3745
  obj._deserialize(item)
3730
3746
  self._SegmentSet.append(obj)
3747
+ self._Abstract = params.get("Abstract")
3731
3748
  memeber_set = set(params.keys())
3732
3749
  for name, value in vars(self).items():
3733
3750
  property_name = name[1:]
@@ -15956,7 +15973,7 @@ class CreateInput(AbstractModel):
15956
15973
  r"""
15957
15974
  :param _InputName: 输入名称,可填大小写、数字和下划线,长度为[1, 32]。
15958
15975
  :type InputName: str
15959
- :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
15976
+ :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
15960
15977
  :type Protocol: str
15961
15978
  :param _Description: 输入描述,长度为[0, 255]。
15962
15979
  :type Description: str
@@ -15980,6 +15997,10 @@ class CreateInput(AbstractModel):
15980
15997
  :type SecurityGroupIds: list of str
15981
15998
  :param _Zones: 可用区,非必填,如果开启容灾必须输入两个不同的可用区,否则最多只允许输入一个可用区。
15982
15999
  :type Zones: list of str
16000
+ :param _RISTSettings: 输入的RIST配置信息。
16001
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
16002
+ :param _InputRegion: 输入节点的地区
16003
+ :type InputRegion: str
15983
16004
  """
15984
16005
  self._InputName = None
15985
16006
  self._Protocol = None
@@ -15994,6 +16015,8 @@ class CreateInput(AbstractModel):
15994
16015
  self._ResilientStream = None
15995
16016
  self._SecurityGroupIds = None
15996
16017
  self._Zones = None
16018
+ self._RISTSettings = None
16019
+ self._InputRegion = None
15997
16020
 
15998
16021
  @property
15999
16022
  def InputName(self):
@@ -16008,7 +16031,7 @@ class CreateInput(AbstractModel):
16008
16031
 
16009
16032
  @property
16010
16033
  def Protocol(self):
16011
- """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL]。
16034
+ """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
16012
16035
  :rtype: str
16013
16036
  """
16014
16037
  return self._Protocol
@@ -16138,6 +16161,28 @@ class CreateInput(AbstractModel):
16138
16161
  def Zones(self, Zones):
16139
16162
  self._Zones = Zones
16140
16163
 
16164
+ @property
16165
+ def RISTSettings(self):
16166
+ """输入的RIST配置信息。
16167
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
16168
+ """
16169
+ return self._RISTSettings
16170
+
16171
+ @RISTSettings.setter
16172
+ def RISTSettings(self, RISTSettings):
16173
+ self._RISTSettings = RISTSettings
16174
+
16175
+ @property
16176
+ def InputRegion(self):
16177
+ """输入节点的地区
16178
+ :rtype: str
16179
+ """
16180
+ return self._InputRegion
16181
+
16182
+ @InputRegion.setter
16183
+ def InputRegion(self, InputRegion):
16184
+ self._InputRegion = InputRegion
16185
+
16141
16186
 
16142
16187
  def _deserialize(self, params):
16143
16188
  self._InputName = params.get("InputName")
@@ -16165,6 +16210,10 @@ class CreateInput(AbstractModel):
16165
16210
  self._ResilientStream._deserialize(params.get("ResilientStream"))
16166
16211
  self._SecurityGroupIds = params.get("SecurityGroupIds")
16167
16212
  self._Zones = params.get("Zones")
16213
+ if params.get("RISTSettings") is not None:
16214
+ self._RISTSettings = CreateInputRISTSettings()
16215
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
16216
+ self._InputRegion = params.get("InputRegion")
16168
16217
  memeber_set = set(params.keys())
16169
16218
  for name, value in vars(self).items():
16170
16219
  property_name = name[1:]
@@ -16216,6 +16265,72 @@ class CreateInputHLSPullSettings(AbstractModel):
16216
16265
 
16217
16266
 
16218
16267
 
16268
+ class CreateInputRISTSettings(AbstractModel):
16269
+ """创建的输入RIST的配置信息。
16270
+
16271
+ """
16272
+
16273
+ def __init__(self):
16274
+ r"""
16275
+ :param _Mode: RIST模式,可选[LISTENER],默认为LISTENER。
16276
+ :type Mode: str
16277
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
16278
+ :type Profile: str
16279
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
16280
+ :type Buffer: int
16281
+ """
16282
+ self._Mode = None
16283
+ self._Profile = None
16284
+ self._Buffer = None
16285
+
16286
+ @property
16287
+ def Mode(self):
16288
+ """RIST模式,可选[LISTENER],默认为LISTENER。
16289
+ :rtype: str
16290
+ """
16291
+ return self._Mode
16292
+
16293
+ @Mode.setter
16294
+ def Mode(self, Mode):
16295
+ self._Mode = Mode
16296
+
16297
+ @property
16298
+ def Profile(self):
16299
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
16300
+ :rtype: str
16301
+ """
16302
+ return self._Profile
16303
+
16304
+ @Profile.setter
16305
+ def Profile(self, Profile):
16306
+ self._Profile = Profile
16307
+
16308
+ @property
16309
+ def Buffer(self):
16310
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
16311
+ :rtype: int
16312
+ """
16313
+ return self._Buffer
16314
+
16315
+ @Buffer.setter
16316
+ def Buffer(self, Buffer):
16317
+ self._Buffer = Buffer
16318
+
16319
+
16320
+ def _deserialize(self, params):
16321
+ self._Mode = params.get("Mode")
16322
+ self._Profile = params.get("Profile")
16323
+ self._Buffer = params.get("Buffer")
16324
+ memeber_set = set(params.keys())
16325
+ for name, value in vars(self).items():
16326
+ property_name = name[1:]
16327
+ if property_name in memeber_set:
16328
+ memeber_set.remove(property_name)
16329
+ if len(memeber_set) > 0:
16330
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16331
+
16332
+
16333
+
16219
16334
  class CreateInputRTMPPullSettings(AbstractModel):
16220
16335
  """创建的输入RTMP拉流的配置信息。
16221
16336
 
@@ -16521,7 +16636,7 @@ class CreateOutputInfo(AbstractModel):
16521
16636
  :type OutputName: str
16522
16637
  :param _Description: 输出描述。
16523
16638
  :type Description: str
16524
- :param _Protocol: 输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]
16639
+ :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
16525
16640
  :type Protocol: str
16526
16641
  :param _OutputRegion: 输出地区。
16527
16642
  :type OutputRegion: str
@@ -16540,6 +16655,10 @@ class CreateOutputInfo(AbstractModel):
16540
16655
  :type SecurityGroupIds: list of str
16541
16656
  :param _Zones: 可用区,output最多只支持输入一个可用区。
16542
16657
  :type Zones: list of str
16658
+ :param _OutputType: 输出类型:Internet/TencentCSS/StreamLive
16659
+ :type OutputType: str
16660
+ :param _RISTSettings: 输出的RIST的配置。
16661
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
16543
16662
  """
16544
16663
  self._OutputName = None
16545
16664
  self._Description = None
@@ -16552,6 +16671,8 @@ class CreateOutputInfo(AbstractModel):
16552
16671
  self._MaxConcurrent = None
16553
16672
  self._SecurityGroupIds = None
16554
16673
  self._Zones = None
16674
+ self._OutputType = None
16675
+ self._RISTSettings = None
16555
16676
 
16556
16677
  @property
16557
16678
  def OutputName(self):
@@ -16577,7 +16698,7 @@ class CreateOutputInfo(AbstractModel):
16577
16698
 
16578
16699
  @property
16579
16700
  def Protocol(self):
16580
- """输出协议,可选[SRT|RTP|RTMP|RTMP_PULL]
16701
+ """输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
16581
16702
  :rtype: str
16582
16703
  """
16583
16704
  return self._Protocol
@@ -16675,6 +16796,28 @@ class CreateOutputInfo(AbstractModel):
16675
16796
  def Zones(self, Zones):
16676
16797
  self._Zones = Zones
16677
16798
 
16799
+ @property
16800
+ def OutputType(self):
16801
+ """输出类型:Internet/TencentCSS/StreamLive
16802
+ :rtype: str
16803
+ """
16804
+ return self._OutputType
16805
+
16806
+ @OutputType.setter
16807
+ def OutputType(self, OutputType):
16808
+ self._OutputType = OutputType
16809
+
16810
+ @property
16811
+ def RISTSettings(self):
16812
+ """输出的RIST的配置。
16813
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
16814
+ """
16815
+ return self._RISTSettings
16816
+
16817
+ @RISTSettings.setter
16818
+ def RISTSettings(self, RISTSettings):
16819
+ self._RISTSettings = RISTSettings
16820
+
16678
16821
 
16679
16822
  def _deserialize(self, params):
16680
16823
  self._OutputName = params.get("OutputName")
@@ -16694,6 +16837,10 @@ class CreateOutputInfo(AbstractModel):
16694
16837
  self._MaxConcurrent = params.get("MaxConcurrent")
16695
16838
  self._SecurityGroupIds = params.get("SecurityGroupIds")
16696
16839
  self._Zones = params.get("Zones")
16840
+ self._OutputType = params.get("OutputType")
16841
+ if params.get("RISTSettings") is not None:
16842
+ self._RISTSettings = CreateOutputRistSettings()
16843
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
16697
16844
  memeber_set = set(params.keys())
16698
16845
  for name, value in vars(self).items():
16699
16846
  property_name = name[1:]
@@ -16882,6 +17029,72 @@ class CreateOutputRTPSettingsDestinations(AbstractModel):
16882
17029
 
16883
17030
 
16884
17031
 
17032
+ class CreateOutputRistSettings(AbstractModel):
17033
+ """创建媒体传输流的输出的RIST配置。
17034
+
17035
+ """
17036
+
17037
+ def __init__(self):
17038
+ r"""
17039
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
17040
+ :type Mode: str
17041
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
17042
+ :type Profile: str
17043
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
17044
+ :type Buffer: int
17045
+ """
17046
+ self._Mode = None
17047
+ self._Profile = None
17048
+ self._Buffer = None
17049
+
17050
+ @property
17051
+ def Mode(self):
17052
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
17053
+ :rtype: str
17054
+ """
17055
+ return self._Mode
17056
+
17057
+ @Mode.setter
17058
+ def Mode(self, Mode):
17059
+ self._Mode = Mode
17060
+
17061
+ @property
17062
+ def Profile(self):
17063
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
17064
+ :rtype: str
17065
+ """
17066
+ return self._Profile
17067
+
17068
+ @Profile.setter
17069
+ def Profile(self, Profile):
17070
+ self._Profile = Profile
17071
+
17072
+ @property
17073
+ def Buffer(self):
17074
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
17075
+ :rtype: int
17076
+ """
17077
+ return self._Buffer
17078
+
17079
+ @Buffer.setter
17080
+ def Buffer(self, Buffer):
17081
+ self._Buffer = Buffer
17082
+
17083
+
17084
+ def _deserialize(self, params):
17085
+ self._Mode = params.get("Mode")
17086
+ self._Profile = params.get("Profile")
17087
+ self._Buffer = params.get("Buffer")
17088
+ memeber_set = set(params.keys())
17089
+ for name, value in vars(self).items():
17090
+ property_name = name[1:]
17091
+ if property_name in memeber_set:
17092
+ memeber_set.remove(property_name)
17093
+ if len(memeber_set) > 0:
17094
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17095
+
17096
+
17097
+
16885
17098
  class CreateOutputRtmpSettingsDestinations(AbstractModel):
16886
17099
  """创建媒体传输流的输出的RTMP的目标地址。
16887
17100
 
@@ -22074,6 +22287,9 @@ class DescribeInput(AbstractModel):
22074
22287
  :type SecurityGroupIds: list of str
22075
22288
  :param _Zones: 可用区配置,开启容灾情况下最多有两个,顺序和pipeline 0、1对应,否则最多只有一个可用区。
22076
22289
  :type Zones: list of str
22290
+ :param _RISTSettings: 输入的RIST配置信息。
22291
+ 注意:此字段可能返回 null,表示取不到有效值。
22292
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeInputRISTSettings`
22077
22293
  """
22078
22294
  self._InputId = None
22079
22295
  self._InputName = None
@@ -22092,6 +22308,7 @@ class DescribeInput(AbstractModel):
22092
22308
  self._ResilientStream = None
22093
22309
  self._SecurityGroupIds = None
22094
22310
  self._Zones = None
22311
+ self._RISTSettings = None
22095
22312
 
22096
22313
  @property
22097
22314
  def InputId(self):
@@ -22289,6 +22506,18 @@ class DescribeInput(AbstractModel):
22289
22506
  def Zones(self, Zones):
22290
22507
  self._Zones = Zones
22291
22508
 
22509
+ @property
22510
+ def RISTSettings(self):
22511
+ """输入的RIST配置信息。
22512
+ 注意:此字段可能返回 null,表示取不到有效值。
22513
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeInputRISTSettings`
22514
+ """
22515
+ return self._RISTSettings
22516
+
22517
+ @RISTSettings.setter
22518
+ def RISTSettings(self, RISTSettings):
22519
+ self._RISTSettings = RISTSettings
22520
+
22292
22521
 
22293
22522
  def _deserialize(self, params):
22294
22523
  self._InputId = params.get("InputId")
@@ -22327,6 +22556,9 @@ class DescribeInput(AbstractModel):
22327
22556
  self._ResilientStream._deserialize(params.get("ResilientStream"))
22328
22557
  self._SecurityGroupIds = params.get("SecurityGroupIds")
22329
22558
  self._Zones = params.get("Zones")
22559
+ if params.get("RISTSettings") is not None:
22560
+ self._RISTSettings = DescribeInputRISTSettings()
22561
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
22330
22562
  memeber_set = set(params.keys())
22331
22563
  for name, value in vars(self).items():
22332
22564
  property_name = name[1:]
@@ -22378,6 +22610,72 @@ class DescribeInputHLSPullSettings(AbstractModel):
22378
22610
 
22379
22611
 
22380
22612
 
22613
+ class DescribeInputRISTSettings(AbstractModel):
22614
+ """查询输入的RIST配置信息。
22615
+
22616
+ """
22617
+
22618
+ def __init__(self):
22619
+ r"""
22620
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
22621
+ :type Mode: str
22622
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
22623
+ :type Profile: str
22624
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
22625
+ :type Buffer: int
22626
+ """
22627
+ self._Mode = None
22628
+ self._Profile = None
22629
+ self._Buffer = None
22630
+
22631
+ @property
22632
+ def Mode(self):
22633
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
22634
+ :rtype: str
22635
+ """
22636
+ return self._Mode
22637
+
22638
+ @Mode.setter
22639
+ def Mode(self, Mode):
22640
+ self._Mode = Mode
22641
+
22642
+ @property
22643
+ def Profile(self):
22644
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
22645
+ :rtype: str
22646
+ """
22647
+ return self._Profile
22648
+
22649
+ @Profile.setter
22650
+ def Profile(self, Profile):
22651
+ self._Profile = Profile
22652
+
22653
+ @property
22654
+ def Buffer(self):
22655
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
22656
+ :rtype: int
22657
+ """
22658
+ return self._Buffer
22659
+
22660
+ @Buffer.setter
22661
+ def Buffer(self, Buffer):
22662
+ self._Buffer = Buffer
22663
+
22664
+
22665
+ def _deserialize(self, params):
22666
+ self._Mode = params.get("Mode")
22667
+ self._Profile = params.get("Profile")
22668
+ self._Buffer = params.get("Buffer")
22669
+ memeber_set = set(params.keys())
22670
+ for name, value in vars(self).items():
22671
+ property_name = name[1:]
22672
+ if property_name in memeber_set:
22673
+ memeber_set.remove(property_name)
22674
+ if len(memeber_set) > 0:
22675
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22676
+
22677
+
22678
+
22381
22679
  class DescribeInputRTMPPullSettings(AbstractModel):
22382
22680
  """查询输入的RTMP配置信息。
22383
22681
 
@@ -22866,6 +23164,9 @@ class DescribeOutput(AbstractModel):
22866
23164
  :type SecurityGroupIds: list of str
22867
23165
  :param _Zones: 可用区,output目前最多只支持一个。
22868
23166
  :type Zones: list of str
23167
+ :param _RISTSettings: 输出的RIST配置信息。
23168
+ 注意:此字段可能返回 null,表示取不到有效值。
23169
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
22869
23170
  """
22870
23171
  self._OutputId = None
22871
23172
  self._OutputName = None
@@ -22884,6 +23185,7 @@ class DescribeOutput(AbstractModel):
22884
23185
  self._MaxConcurrent = None
22885
23186
  self._SecurityGroupIds = None
22886
23187
  self._Zones = None
23188
+ self._RISTSettings = None
22887
23189
 
22888
23190
  @property
22889
23191
  def OutputId(self):
@@ -23083,6 +23385,18 @@ class DescribeOutput(AbstractModel):
23083
23385
  def Zones(self, Zones):
23084
23386
  self._Zones = Zones
23085
23387
 
23388
+ @property
23389
+ def RISTSettings(self):
23390
+ """输出的RIST配置信息。
23391
+ 注意:此字段可能返回 null,表示取不到有效值。
23392
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
23393
+ """
23394
+ return self._RISTSettings
23395
+
23396
+ @RISTSettings.setter
23397
+ def RISTSettings(self, RISTSettings):
23398
+ self._RISTSettings = RISTSettings
23399
+
23086
23400
 
23087
23401
  def _deserialize(self, params):
23088
23402
  self._OutputId = params.get("OutputId")
@@ -23119,6 +23433,9 @@ class DescribeOutput(AbstractModel):
23119
23433
  self._MaxConcurrent = params.get("MaxConcurrent")
23120
23434
  self._SecurityGroupIds = params.get("SecurityGroupIds")
23121
23435
  self._Zones = params.get("Zones")
23436
+ if params.get("RISTSettings") is not None:
23437
+ self._RISTSettings = DescribeOutputRISTSettings()
23438
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
23122
23439
  memeber_set = set(params.keys())
23123
23440
  for name, value in vars(self).items():
23124
23441
  property_name = name[1:]
@@ -23208,6 +23525,94 @@ class DescribeOutputHLSPullSettings(AbstractModel):
23208
23525
 
23209
23526
 
23210
23527
 
23528
+ class DescribeOutputRISTSettings(AbstractModel):
23529
+ """查询输出的RIST拉流配置信息。
23530
+
23531
+ """
23532
+
23533
+ def __init__(self):
23534
+ r"""
23535
+ :param _Mode: RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
23536
+ :type Mode: str
23537
+ :param _Profile: RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
23538
+ :type Profile: str
23539
+ :param _Buffer: RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
23540
+ :type Buffer: int
23541
+ :param _SourceAddresses: 服务器监听地址,RIST模式为LISTENER时使用。
23542
+ 注意:此字段可能返回 null,表示取不到有效值。
23543
+ :type SourceAddresses: list of OutputRISTSourceAddressResp
23544
+ """
23545
+ self._Mode = None
23546
+ self._Profile = None
23547
+ self._Buffer = None
23548
+ self._SourceAddresses = None
23549
+
23550
+ @property
23551
+ def Mode(self):
23552
+ """RIST模式,可选[LISTENER|CALLER],默认为LISTENER。
23553
+ :rtype: str
23554
+ """
23555
+ return self._Mode
23556
+
23557
+ @Mode.setter
23558
+ def Mode(self, Mode):
23559
+ self._Mode = Mode
23560
+
23561
+ @property
23562
+ def Profile(self):
23563
+ """RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。
23564
+ :rtype: str
23565
+ """
23566
+ return self._Profile
23567
+
23568
+ @Profile.setter
23569
+ def Profile(self, Profile):
23570
+ self._Profile = Profile
23571
+
23572
+ @property
23573
+ def Buffer(self):
23574
+ """RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120
23575
+ :rtype: int
23576
+ """
23577
+ return self._Buffer
23578
+
23579
+ @Buffer.setter
23580
+ def Buffer(self, Buffer):
23581
+ self._Buffer = Buffer
23582
+
23583
+ @property
23584
+ def SourceAddresses(self):
23585
+ """服务器监听地址,RIST模式为LISTENER时使用。
23586
+ 注意:此字段可能返回 null,表示取不到有效值。
23587
+ :rtype: list of OutputRISTSourceAddressResp
23588
+ """
23589
+ return self._SourceAddresses
23590
+
23591
+ @SourceAddresses.setter
23592
+ def SourceAddresses(self, SourceAddresses):
23593
+ self._SourceAddresses = SourceAddresses
23594
+
23595
+
23596
+ def _deserialize(self, params):
23597
+ self._Mode = params.get("Mode")
23598
+ self._Profile = params.get("Profile")
23599
+ self._Buffer = params.get("Buffer")
23600
+ if params.get("SourceAddresses") is not None:
23601
+ self._SourceAddresses = []
23602
+ for item in params.get("SourceAddresses"):
23603
+ obj = OutputRISTSourceAddressResp()
23604
+ obj._deserialize(item)
23605
+ self._SourceAddresses.append(obj)
23606
+ memeber_set = set(params.keys())
23607
+ for name, value in vars(self).items():
23608
+ property_name = name[1:]
23609
+ if property_name in memeber_set:
23610
+ memeber_set.remove(property_name)
23611
+ if len(memeber_set) > 0:
23612
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23613
+
23614
+
23615
+
23211
23616
  class DescribeOutputRTMPPullServerUrl(AbstractModel):
23212
23617
  """查询输出的RTMP拉流URL信息。
23213
23618
 
@@ -31175,6 +31580,101 @@ class HighlightSegmentItem(AbstractModel):
31175
31580
 
31176
31581
 
31177
31582
 
31583
+ class ImageEncodeConfig(AbstractModel):
31584
+ """图片编码格式参数
31585
+
31586
+ """
31587
+
31588
+ def __init__(self):
31589
+ r"""
31590
+ :param _Format: 图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
31591
+ 注意:此字段可能返回 null,表示取不到有效值。
31592
+ :type Format: str
31593
+ :param _Quality: 图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
31594
+ 注意:此字段可能返回 null,表示取不到有效值。
31595
+ :type Quality: int
31596
+ """
31597
+ self._Format = None
31598
+ self._Quality = None
31599
+
31600
+ @property
31601
+ def Format(self):
31602
+ """图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
31603
+ 注意:此字段可能返回 null,表示取不到有效值。
31604
+ :rtype: str
31605
+ """
31606
+ return self._Format
31607
+
31608
+ @Format.setter
31609
+ def Format(self, Format):
31610
+ self._Format = Format
31611
+
31612
+ @property
31613
+ def Quality(self):
31614
+ """图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
31615
+ 注意:此字段可能返回 null,表示取不到有效值。
31616
+ :rtype: int
31617
+ """
31618
+ return self._Quality
31619
+
31620
+ @Quality.setter
31621
+ def Quality(self, Quality):
31622
+ self._Quality = Quality
31623
+
31624
+
31625
+ def _deserialize(self, params):
31626
+ self._Format = params.get("Format")
31627
+ self._Quality = params.get("Quality")
31628
+ memeber_set = set(params.keys())
31629
+ for name, value in vars(self).items():
31630
+ property_name = name[1:]
31631
+ if property_name in memeber_set:
31632
+ memeber_set.remove(property_name)
31633
+ if len(memeber_set) > 0:
31634
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31635
+
31636
+
31637
+
31638
+ class ImageEnhanceConfig(AbstractModel):
31639
+ """图片增强参数
31640
+
31641
+ """
31642
+
31643
+ def __init__(self):
31644
+ r"""
31645
+ :param _SuperResolution: 超分配置。
31646
+ 注意:此字段可能返回 null,表示取不到有效值。
31647
+ :type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
31648
+ """
31649
+ self._SuperResolution = None
31650
+
31651
+ @property
31652
+ def SuperResolution(self):
31653
+ """超分配置。
31654
+ 注意:此字段可能返回 null,表示取不到有效值。
31655
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
31656
+ """
31657
+ return self._SuperResolution
31658
+
31659
+ @SuperResolution.setter
31660
+ def SuperResolution(self, SuperResolution):
31661
+ self._SuperResolution = SuperResolution
31662
+
31663
+
31664
+ def _deserialize(self, params):
31665
+ if params.get("SuperResolution") is not None:
31666
+ self._SuperResolution = SuperResolutionConfig()
31667
+ self._SuperResolution._deserialize(params.get("SuperResolution"))
31668
+ memeber_set = set(params.keys())
31669
+ for name, value in vars(self).items():
31670
+ property_name = name[1:]
31671
+ if property_name in memeber_set:
31672
+ memeber_set.remove(property_name)
31673
+ if len(memeber_set) > 0:
31674
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31675
+
31676
+
31677
+
31178
31678
  class ImageQualityEnhanceConfig(AbstractModel):
31179
31679
  """综合增强配置
31180
31680
 
@@ -31642,6 +32142,65 @@ class ImageSpriteTemplate(AbstractModel):
31642
32142
 
31643
32143
 
31644
32144
 
32145
+ class ImageTaskInput(AbstractModel):
32146
+ """图片任务输入参数
32147
+
32148
+ """
32149
+
32150
+ def __init__(self):
32151
+ r"""
32152
+ :param _EncodeConfig: 图片编码配置。
32153
+ 注意:此字段可能返回 null,表示取不到有效值。
32154
+ :type EncodeConfig: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
32155
+ :param _EnhanceConfig: 图片增强配置。
32156
+ 注意:此字段可能返回 null,表示取不到有效值。
32157
+ :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
32158
+ """
32159
+ self._EncodeConfig = None
32160
+ self._EnhanceConfig = None
32161
+
32162
+ @property
32163
+ def EncodeConfig(self):
32164
+ """图片编码配置。
32165
+ 注意:此字段可能返回 null,表示取不到有效值。
32166
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
32167
+ """
32168
+ return self._EncodeConfig
32169
+
32170
+ @EncodeConfig.setter
32171
+ def EncodeConfig(self, EncodeConfig):
32172
+ self._EncodeConfig = EncodeConfig
32173
+
32174
+ @property
32175
+ def EnhanceConfig(self):
32176
+ """图片增强配置。
32177
+ 注意:此字段可能返回 null,表示取不到有效值。
32178
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
32179
+ """
32180
+ return self._EnhanceConfig
32181
+
32182
+ @EnhanceConfig.setter
32183
+ def EnhanceConfig(self, EnhanceConfig):
32184
+ self._EnhanceConfig = EnhanceConfig
32185
+
32186
+
32187
+ def _deserialize(self, params):
32188
+ if params.get("EncodeConfig") is not None:
32189
+ self._EncodeConfig = ImageEncodeConfig()
32190
+ self._EncodeConfig._deserialize(params.get("EncodeConfig"))
32191
+ if params.get("EnhanceConfig") is not None:
32192
+ self._EnhanceConfig = ImageEnhanceConfig()
32193
+ self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
32194
+ memeber_set = set(params.keys())
32195
+ for name, value in vars(self).items():
32196
+ property_name = name[1:]
32197
+ if property_name in memeber_set:
32198
+ memeber_set.remove(property_name)
32199
+ if len(memeber_set) > 0:
32200
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
32201
+
32202
+
32203
+
31645
32204
  class ImageWatermarkInput(AbstractModel):
31646
32205
  """图片水印模板输入参数
31647
32206
 
@@ -40163,7 +40722,7 @@ class ModifyInput(AbstractModel):
40163
40722
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputSRTSettings`
40164
40723
  :param _RTPSettings: RTP的配置信息。
40165
40724
  :type RTPSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRTPSettings`
40166
- :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP]。
40725
+ :param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
40167
40726
  当输出包含RTP时,输入只能是RTP。
40168
40727
  当输出包含RTMP时,输入可以是SRT/RTMP。
40169
40728
  当输出包含SRT时,输入只能是SRT。
@@ -40182,6 +40741,10 @@ class ModifyInput(AbstractModel):
40182
40741
  :type SecurityGroupIds: list of str
40183
40742
  :param _Zones: 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。
40184
40743
  :type Zones: list of str
40744
+ :param _RISTSettings: RIST的配置信息。
40745
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
40746
+ :param _InputRegion: 输入节点的地区
40747
+ :type InputRegion: str
40185
40748
  """
40186
40749
  self._InputId = None
40187
40750
  self._InputName = None
@@ -40197,6 +40760,8 @@ class ModifyInput(AbstractModel):
40197
40760
  self._ResilientStream = None
40198
40761
  self._SecurityGroupIds = None
40199
40762
  self._Zones = None
40763
+ self._RISTSettings = None
40764
+ self._InputRegion = None
40200
40765
 
40201
40766
  @property
40202
40767
  def InputId(self):
@@ -40266,7 +40831,7 @@ class ModifyInput(AbstractModel):
40266
40831
 
40267
40832
  @property
40268
40833
  def Protocol(self):
40269
- """输入的协议,可选[SRT|RTP|RTMP]。
40834
+ """输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
40270
40835
  当输出包含RTP时,输入只能是RTP。
40271
40836
  当输出包含RTMP时,输入可以是SRT/RTMP。
40272
40837
  当输出包含SRT时,输入只能是SRT。
@@ -40355,6 +40920,28 @@ class ModifyInput(AbstractModel):
40355
40920
  def Zones(self, Zones):
40356
40921
  self._Zones = Zones
40357
40922
 
40923
+ @property
40924
+ def RISTSettings(self):
40925
+ """RIST的配置信息。
40926
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
40927
+ """
40928
+ return self._RISTSettings
40929
+
40930
+ @RISTSettings.setter
40931
+ def RISTSettings(self, RISTSettings):
40932
+ self._RISTSettings = RISTSettings
40933
+
40934
+ @property
40935
+ def InputRegion(self):
40936
+ """输入节点的地区
40937
+ :rtype: str
40938
+ """
40939
+ return self._InputRegion
40940
+
40941
+ @InputRegion.setter
40942
+ def InputRegion(self, InputRegion):
40943
+ self._InputRegion = InputRegion
40944
+
40358
40945
 
40359
40946
  def _deserialize(self, params):
40360
40947
  self._InputId = params.get("InputId")
@@ -40383,6 +40970,10 @@ class ModifyInput(AbstractModel):
40383
40970
  self._ResilientStream._deserialize(params.get("ResilientStream"))
40384
40971
  self._SecurityGroupIds = params.get("SecurityGroupIds")
40385
40972
  self._Zones = params.get("Zones")
40973
+ if params.get("RISTSettings") is not None:
40974
+ self._RISTSettings = CreateInputRISTSettings()
40975
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
40976
+ self._InputRegion = params.get("InputRegion")
40386
40977
  memeber_set = set(params.keys())
40387
40978
  for name, value in vars(self).items():
40388
40979
  property_name = name[1:]
@@ -40406,7 +40997,7 @@ class ModifyOutputInfo(AbstractModel):
40406
40997
  :type OutputName: str
40407
40998
  :param _Description: 输出的描述。
40408
40999
  :type Description: str
40409
- :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP。
41000
+ :param _Protocol: 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
40410
41001
  :type Protocol: str
40411
41002
  :param _SRTSettings: 转推SRT的配置。
40412
41003
  :type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputSRTSettings`
@@ -40423,6 +41014,8 @@ class ModifyOutputInfo(AbstractModel):
40423
41014
  :type SecurityGroupIds: list of str
40424
41015
  :param _Zones: 可用区
40425
41016
  :type Zones: list of str
41017
+ :param _RISTSettings: 转推RIST的配置。
41018
+ :type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
40426
41019
  """
40427
41020
  self._OutputId = None
40428
41021
  self._OutputName = None
@@ -40435,6 +41028,7 @@ class ModifyOutputInfo(AbstractModel):
40435
41028
  self._MaxConcurrent = None
40436
41029
  self._SecurityGroupIds = None
40437
41030
  self._Zones = None
41031
+ self._RISTSettings = None
40438
41032
 
40439
41033
  @property
40440
41034
  def OutputId(self):
@@ -40471,7 +41065,7 @@ class ModifyOutputInfo(AbstractModel):
40471
41065
 
40472
41066
  @property
40473
41067
  def Protocol(self):
40474
- """输出的转推协议,支持SRT|RTP|RTMP。
41068
+ """输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP|RIST
40475
41069
  :rtype: str
40476
41070
  """
40477
41071
  return self._Protocol
@@ -40558,6 +41152,17 @@ class ModifyOutputInfo(AbstractModel):
40558
41152
  def Zones(self, Zones):
40559
41153
  self._Zones = Zones
40560
41154
 
41155
+ @property
41156
+ def RISTSettings(self):
41157
+ """转推RIST的配置。
41158
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
41159
+ """
41160
+ return self._RISTSettings
41161
+
41162
+ @RISTSettings.setter
41163
+ def RISTSettings(self, RISTSettings):
41164
+ self._RISTSettings = RISTSettings
41165
+
40561
41166
 
40562
41167
  def _deserialize(self, params):
40563
41168
  self._OutputId = params.get("OutputId")
@@ -40577,6 +41182,9 @@ class ModifyOutputInfo(AbstractModel):
40577
41182
  self._MaxConcurrent = params.get("MaxConcurrent")
40578
41183
  self._SecurityGroupIds = params.get("SecurityGroupIds")
40579
41184
  self._Zones = params.get("Zones")
41185
+ if params.get("RISTSettings") is not None:
41186
+ self._RISTSettings = CreateOutputRistSettings()
41187
+ self._RISTSettings._deserialize(params.get("RISTSettings"))
40580
41188
  memeber_set = set(params.keys())
40581
41189
  for name, value in vars(self).items():
40582
41190
  property_name = name[1:]
@@ -42915,6 +43523,61 @@ class OutputAddress(AbstractModel):
42915
43523
 
42916
43524
 
42917
43525
 
43526
+ class OutputRISTSourceAddressResp(AbstractModel):
43527
+ """RIST输出的监听地址。
43528
+
43529
+ """
43530
+
43531
+ def __init__(self):
43532
+ r"""
43533
+ :param _Ip: 监听IP。
43534
+ 注意:此字段可能返回 null,表示取不到有效值。
43535
+ :type Ip: str
43536
+ :param _Port: 监听端口。
43537
+ 注意:此字段可能返回 null,表示取不到有效值。
43538
+ :type Port: int
43539
+ """
43540
+ self._Ip = None
43541
+ self._Port = None
43542
+
43543
+ @property
43544
+ def Ip(self):
43545
+ """监听IP。
43546
+ 注意:此字段可能返回 null,表示取不到有效值。
43547
+ :rtype: str
43548
+ """
43549
+ return self._Ip
43550
+
43551
+ @Ip.setter
43552
+ def Ip(self, Ip):
43553
+ self._Ip = Ip
43554
+
43555
+ @property
43556
+ def Port(self):
43557
+ """监听端口。
43558
+ 注意:此字段可能返回 null,表示取不到有效值。
43559
+ :rtype: int
43560
+ """
43561
+ return self._Port
43562
+
43563
+ @Port.setter
43564
+ def Port(self, Port):
43565
+ self._Port = Port
43566
+
43567
+
43568
+ def _deserialize(self, params):
43569
+ self._Ip = params.get("Ip")
43570
+ self._Port = params.get("Port")
43571
+ memeber_set = set(params.keys())
43572
+ for name, value in vars(self).items():
43573
+ property_name = name[1:]
43574
+ if property_name in memeber_set:
43575
+ memeber_set.remove(property_name)
43576
+ if len(memeber_set) > 0:
43577
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43578
+
43579
+
43580
+
42918
43581
  class OutputSRTSourceAddressResp(AbstractModel):
42919
43582
  """SRT输出的监听地址。
42920
43583
 
@@ -44867,6 +45530,136 @@ class PornOcrReviewTemplateInfoForUpdate(AbstractModel):
44867
45530
 
44868
45531
 
44869
45532
 
45533
+ class ProcessImageRequest(AbstractModel):
45534
+ """ProcessImage请求参数结构体
45535
+
45536
+ """
45537
+
45538
+ def __init__(self):
45539
+ r"""
45540
+ :param _InputInfo: 图片处理的文件输入信息。
45541
+ :type InputInfo: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
45542
+ :param _OutputStorage: 图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
45543
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
45544
+ :param _OutputDir: 图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
45545
+ :type OutputDir: str
45546
+ :param _ImageTask: 图片处理参数。
45547
+ :type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
45548
+ """
45549
+ self._InputInfo = None
45550
+ self._OutputStorage = None
45551
+ self._OutputDir = None
45552
+ self._ImageTask = None
45553
+
45554
+ @property
45555
+ def InputInfo(self):
45556
+ """图片处理的文件输入信息。
45557
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
45558
+ """
45559
+ return self._InputInfo
45560
+
45561
+ @InputInfo.setter
45562
+ def InputInfo(self, InputInfo):
45563
+ self._InputInfo = InputInfo
45564
+
45565
+ @property
45566
+ def OutputStorage(self):
45567
+ """图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
45568
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
45569
+ """
45570
+ return self._OutputStorage
45571
+
45572
+ @OutputStorage.setter
45573
+ def OutputStorage(self, OutputStorage):
45574
+ self._OutputStorage = OutputStorage
45575
+
45576
+ @property
45577
+ def OutputDir(self):
45578
+ """图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
45579
+ :rtype: str
45580
+ """
45581
+ return self._OutputDir
45582
+
45583
+ @OutputDir.setter
45584
+ def OutputDir(self, OutputDir):
45585
+ self._OutputDir = OutputDir
45586
+
45587
+ @property
45588
+ def ImageTask(self):
45589
+ """图片处理参数。
45590
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
45591
+ """
45592
+ return self._ImageTask
45593
+
45594
+ @ImageTask.setter
45595
+ def ImageTask(self, ImageTask):
45596
+ self._ImageTask = ImageTask
45597
+
45598
+
45599
+ def _deserialize(self, params):
45600
+ if params.get("InputInfo") is not None:
45601
+ self._InputInfo = MediaInputInfo()
45602
+ self._InputInfo._deserialize(params.get("InputInfo"))
45603
+ if params.get("OutputStorage") is not None:
45604
+ self._OutputStorage = TaskOutputStorage()
45605
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
45606
+ self._OutputDir = params.get("OutputDir")
45607
+ if params.get("ImageTask") is not None:
45608
+ self._ImageTask = ImageTaskInput()
45609
+ self._ImageTask._deserialize(params.get("ImageTask"))
45610
+ memeber_set = set(params.keys())
45611
+ for name, value in vars(self).items():
45612
+ property_name = name[1:]
45613
+ if property_name in memeber_set:
45614
+ memeber_set.remove(property_name)
45615
+ if len(memeber_set) > 0:
45616
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
45617
+
45618
+
45619
+
45620
+ class ProcessImageResponse(AbstractModel):
45621
+ """ProcessImage返回参数结构体
45622
+
45623
+ """
45624
+
45625
+ def __init__(self):
45626
+ r"""
45627
+ :param _TaskId: 任务 ID。
45628
+ :type TaskId: str
45629
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45630
+ :type RequestId: str
45631
+ """
45632
+ self._TaskId = None
45633
+ self._RequestId = None
45634
+
45635
+ @property
45636
+ def TaskId(self):
45637
+ """任务 ID。
45638
+ :rtype: str
45639
+ """
45640
+ return self._TaskId
45641
+
45642
+ @TaskId.setter
45643
+ def TaskId(self, TaskId):
45644
+ self._TaskId = TaskId
45645
+
45646
+ @property
45647
+ def RequestId(self):
45648
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45649
+ :rtype: str
45650
+ """
45651
+ return self._RequestId
45652
+
45653
+ @RequestId.setter
45654
+ def RequestId(self, RequestId):
45655
+ self._RequestId = RequestId
45656
+
45657
+
45658
+ def _deserialize(self, params):
45659
+ self._TaskId = params.get("TaskId")
45660
+ self._RequestId = params.get("RequestId")
45661
+
45662
+
44870
45663
  class ProcessLiveStreamRequest(AbstractModel):
44871
45664
  """ProcessLiveStream请求参数结构体
44872
45665
 
@@ -49376,12 +50169,17 @@ class SegmentRecognitionItem(AbstractModel):
49376
50169
  :param _SegmentUrl: 拆条片段URL。
49377
50170
  注意:此字段可能返回 null,表示取不到有效值。
49378
50171
  :type SegmentUrl: str
50172
+ :param _CovImgUrl: 拆条片段封面。
50173
+ 注意:此字段可能返回 null,表示取不到有效值。
50174
+ :type CovImgUrl: str
49379
50175
  :param _Title: 分段标题。
49380
50176
  注意:此字段可能返回 null,表示取不到有效值。
49381
50177
  :type Title: str
49382
50178
  :param _Summary: 分段概要。
49383
50179
  注意:此字段可能返回 null,表示取不到有效值。
49384
50180
  :type Summary: str
50181
+ :param _Keywords: 分段关键词。
50182
+ :type Keywords: list of str
49385
50183
  :param _BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
49386
50184
  注意:此字段可能返回 null,表示取不到有效值。
49387
50185
  :type BeginTime: str
@@ -49393,8 +50191,10 @@ class SegmentRecognitionItem(AbstractModel):
49393
50191
  self._StartTimeOffset = None
49394
50192
  self._EndTimeOffset = None
49395
50193
  self._SegmentUrl = None
50194
+ self._CovImgUrl = None
49396
50195
  self._Title = None
49397
50196
  self._Summary = None
50197
+ self._Keywords = None
49398
50198
  self._BeginTime = None
49399
50199
  self._EndTime = None
49400
50200
 
@@ -49443,6 +50243,18 @@ class SegmentRecognitionItem(AbstractModel):
49443
50243
  def SegmentUrl(self, SegmentUrl):
49444
50244
  self._SegmentUrl = SegmentUrl
49445
50245
 
50246
+ @property
50247
+ def CovImgUrl(self):
50248
+ """拆条片段封面。
50249
+ 注意:此字段可能返回 null,表示取不到有效值。
50250
+ :rtype: str
50251
+ """
50252
+ return self._CovImgUrl
50253
+
50254
+ @CovImgUrl.setter
50255
+ def CovImgUrl(self, CovImgUrl):
50256
+ self._CovImgUrl = CovImgUrl
50257
+
49446
50258
  @property
49447
50259
  def Title(self):
49448
50260
  """分段标题。
@@ -49467,6 +50279,17 @@ class SegmentRecognitionItem(AbstractModel):
49467
50279
  def Summary(self, Summary):
49468
50280
  self._Summary = Summary
49469
50281
 
50282
+ @property
50283
+ def Keywords(self):
50284
+ """分段关键词。
50285
+ :rtype: list of str
50286
+ """
50287
+ return self._Keywords
50288
+
50289
+ @Keywords.setter
50290
+ def Keywords(self, Keywords):
50291
+ self._Keywords = Keywords
50292
+
49470
50293
  @property
49471
50294
  def BeginTime(self):
49472
50295
  """直播切片对应直播起始时间点,采用 ISO 日期格式。
@@ -49497,8 +50320,10 @@ class SegmentRecognitionItem(AbstractModel):
49497
50320
  self._StartTimeOffset = params.get("StartTimeOffset")
49498
50321
  self._EndTimeOffset = params.get("EndTimeOffset")
49499
50322
  self._SegmentUrl = params.get("SegmentUrl")
50323
+ self._CovImgUrl = params.get("CovImgUrl")
49500
50324
  self._Title = params.get("Title")
49501
50325
  self._Summary = params.get("Summary")
50326
+ self._Keywords = params.get("Keywords")
49502
50327
  self._BeginTime = params.get("BeginTime")
49503
50328
  self._EndTime = params.get("EndTime")
49504
50329
  memeber_set = set(params.keys())
@@ -2392,6 +2392,31 @@ class MpsClient(AbstractClient):
2392
2392
  raise TencentCloudSDKException(type(e).__name__, str(e))
2393
2393
 
2394
2394
 
2395
+ def ProcessImage(self, request):
2396
+ """发起图片处理,功能包括:
2397
+ 1. 格式转换;
2398
+ 2. 图像增强;
2399
+
2400
+ :param request: Request instance for ProcessImage.
2401
+ :type request: :class:`tencentcloud.mps.v20190612.models.ProcessImageRequest`
2402
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ProcessImageResponse`
2403
+
2404
+ """
2405
+ try:
2406
+ params = request._serialize()
2407
+ headers = request.headers
2408
+ body = self.call("ProcessImage", params, headers=headers)
2409
+ response = json.loads(body)
2410
+ model = models.ProcessImageResponse()
2411
+ model._deserialize(response["Response"])
2412
+ return model
2413
+ except Exception as e:
2414
+ if isinstance(e, TencentCloudSDKException):
2415
+ raise
2416
+ else:
2417
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2418
+
2419
+
2395
2420
  def ProcessLiveStream(self, request):
2396
2421
  """对直播流媒体发起处理任务,功能包括:
2397
2422
 
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1266
3
+ Version: 3.0.1274
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1274
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1266