tencentcloud-sdk-python-mps 3.0.1490__tar.gz → 3.1.1__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.

Files changed (17) hide show
  1. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/setup.py +2 -1
  3. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/mps/v20190612/models.py +342 -6
  5. tencentcloud_sdk_python_mps-3.1.1/tencentcloud/mps/v20190612/mps_client_async.py +2547 -0
  6. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  7. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +1 -0
  8. tencentcloud_sdk_python_mps-3.1.1/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_mps-3.0.1490/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/README.rst +0 -0
  11. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/mps/__init__.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/mps/v20190612/__init__.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  16. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.0.1490 → tencentcloud_sdk_python_mps-3.1.1}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.1490
3
+ Version: 3.1.1
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,8 @@ 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.1490,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Mps SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1490'
17
+ __version__ = '3.1.1'
@@ -1285,6 +1285,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
1285
1285
  :type Definition: int
1286
1286
  :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
1287
1287
  :type WatermarkSet: list of WatermarkInput
1288
+ :param _BlindWatermark: 数字水印参数
1289
+ 注意:此字段可能返回 null,表示取不到有效值。
1290
+ :type BlindWatermark: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
1288
1291
  :param _OutputStorage: 转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。
1289
1292
  注意:此字段可能返回 null,表示取不到有效值。
1290
1293
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
@@ -1322,6 +1325,7 @@ PureAudio:纯音频类型
1322
1325
  """
1323
1326
  self._Definition = None
1324
1327
  self._WatermarkSet = None
1328
+ self._BlindWatermark = None
1325
1329
  self._OutputStorage = None
1326
1330
  self._OutputObjectPath = None
1327
1331
  self._SubStreamObjectName = None
@@ -1355,6 +1359,18 @@ PureAudio:纯音频类型
1355
1359
  def WatermarkSet(self, WatermarkSet):
1356
1360
  self._WatermarkSet = WatermarkSet
1357
1361
 
1362
+ @property
1363
+ def BlindWatermark(self):
1364
+ r"""数字水印参数
1365
+ 注意:此字段可能返回 null,表示取不到有效值。
1366
+ :rtype: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
1367
+ """
1368
+ return self._BlindWatermark
1369
+
1370
+ @BlindWatermark.setter
1371
+ def BlindWatermark(self, BlindWatermark):
1372
+ self._BlindWatermark = BlindWatermark
1373
+
1358
1374
  @property
1359
1375
  def OutputStorage(self):
1360
1376
  r"""转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。
@@ -1488,6 +1504,9 @@ PureAudio:纯音频类型
1488
1504
  obj = WatermarkInput()
1489
1505
  obj._deserialize(item)
1490
1506
  self._WatermarkSet.append(obj)
1507
+ if params.get("BlindWatermark") is not None:
1508
+ self._BlindWatermark = BlindWatermarkInput()
1509
+ self._BlindWatermark._deserialize(params.get("BlindWatermark"))
1491
1510
  if params.get("OutputStorage") is not None:
1492
1511
  self._OutputStorage = TaskOutputStorage()
1493
1512
  self._OutputStorage._deserialize(params.get("OutputStorage"))
@@ -14291,6 +14310,42 @@ class BlindWatermarkEmbedInfo(AbstractModel):
14291
14310
 
14292
14311
 
14293
14312
 
14313
+ class BlindWatermarkInput(AbstractModel):
14314
+ r"""媒体处理任务中的数字水印参数类型
14315
+
14316
+ """
14317
+
14318
+ def __init__(self):
14319
+ r"""
14320
+ :param _Definition: 数字水印模板ID
14321
+ :type Definition: int
14322
+ """
14323
+ self._Definition = None
14324
+
14325
+ @property
14326
+ def Definition(self):
14327
+ r"""数字水印模板ID
14328
+ :rtype: int
14329
+ """
14330
+ return self._Definition
14331
+
14332
+ @Definition.setter
14333
+ def Definition(self, Definition):
14334
+ self._Definition = Definition
14335
+
14336
+
14337
+ def _deserialize(self, params):
14338
+ self._Definition = params.get("Definition")
14339
+ memeber_set = set(params.keys())
14340
+ for name, value in vars(self).items():
14341
+ property_name = name[1:]
14342
+ if property_name in memeber_set:
14343
+ memeber_set.remove(property_name)
14344
+ if len(memeber_set) > 0:
14345
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14346
+
14347
+
14348
+
14294
14349
  class ClassificationConfigureInfo(AbstractModel):
14295
14350
  r"""智能分类任务控制参数
14296
14351
 
@@ -30459,6 +30514,11 @@ class DescribeSmartEraseTemplatesRequest(AbstractModel):
30459
30514
  * Preset:系统预置模板;
30460
30515
  * Custom:用户自定义模板。
30461
30516
  :type Type: str
30517
+ :param _EraseType: 智能擦除模板擦除类型过滤条件。
30518
+ - subtitle 去字幕
30519
+ - watermark 去水印
30520
+ - privacy 隐私保护
30521
+ :type EraseType: str
30462
30522
  :param _Name: 智能擦除模板名过滤条件,长度限制:64 个字符。
30463
30523
  :type Name: str
30464
30524
  """
@@ -30466,6 +30526,7 @@ class DescribeSmartEraseTemplatesRequest(AbstractModel):
30466
30526
  self._Offset = None
30467
30527
  self._Limit = None
30468
30528
  self._Type = None
30529
+ self._EraseType = None
30469
30530
  self._Name = None
30470
30531
 
30471
30532
  @property
@@ -30514,6 +30575,20 @@ class DescribeSmartEraseTemplatesRequest(AbstractModel):
30514
30575
  def Type(self, Type):
30515
30576
  self._Type = Type
30516
30577
 
30578
+ @property
30579
+ def EraseType(self):
30580
+ r"""智能擦除模板擦除类型过滤条件。
30581
+ - subtitle 去字幕
30582
+ - watermark 去水印
30583
+ - privacy 隐私保护
30584
+ :rtype: str
30585
+ """
30586
+ return self._EraseType
30587
+
30588
+ @EraseType.setter
30589
+ def EraseType(self, EraseType):
30590
+ self._EraseType = EraseType
30591
+
30517
30592
  @property
30518
30593
  def Name(self):
30519
30594
  r"""智能擦除模板名过滤条件,长度限制:64 个字符。
@@ -30531,6 +30606,7 @@ class DescribeSmartEraseTemplatesRequest(AbstractModel):
30531
30606
  self._Offset = params.get("Offset")
30532
30607
  self._Limit = params.get("Limit")
30533
30608
  self._Type = params.get("Type")
30609
+ self._EraseType = params.get("EraseType")
30534
30610
  self._Name = params.get("Name")
30535
30611
  memeber_set = set(params.keys())
30536
30612
  for name, value in vars(self).items():
@@ -39261,19 +39337,22 @@ class ImageAreaBoxInfo(AbstractModel):
39261
39337
  默认值:logo。
39262
39338
  注意:此字段可能返回 null,表示取不到有效值。
39263
39339
  :type Type: str
39264
- :param _AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
39340
+ :param _AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
39265
39341
  示例值:[101, 85, 111, 95]
39266
39342
  注意:此字段可能返回 null,表示取不到有效值。
39267
39343
  :type AreaCoordSet: list of int
39268
- :param _BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。
39344
+ :param _BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
39269
39345
  - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
39270
39346
  - [50, 50, 350, 280] : 表示像素 (数值大于等于1)
39271
39347
  注意:此字段可能返回 null,表示取不到有效值。
39272
39348
  :type BoundingBox: list of float
39349
+ :param _BoundingBoxUnitType: BoundingBox字段单位。设置为0时,按照该字段规则自动选择单位;设置为1时,单位为比例;设置为2时,单位为像素。
39350
+ :type BoundingBoxUnitType: int
39273
39351
  """
39274
39352
  self._Type = None
39275
39353
  self._AreaCoordSet = None
39276
39354
  self._BoundingBox = None
39355
+ self._BoundingBoxUnitType = None
39277
39356
 
39278
39357
  @property
39279
39358
  def Type(self):
@@ -39292,7 +39371,7 @@ class ImageAreaBoxInfo(AbstractModel):
39292
39371
 
39293
39372
  @property
39294
39373
  def AreaCoordSet(self):
39295
- r"""图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
39374
+ r"""图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
39296
39375
  示例值:[101, 85, 111, 95]
39297
39376
  注意:此字段可能返回 null,表示取不到有效值。
39298
39377
  :rtype: list of int
@@ -39305,7 +39384,7 @@ class ImageAreaBoxInfo(AbstractModel):
39305
39384
 
39306
39385
  @property
39307
39386
  def BoundingBox(self):
39308
- r"""图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。
39387
+ r"""图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
39309
39388
  - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
39310
39389
  - [50, 50, 350, 280] : 表示像素 (数值大于等于1)
39311
39390
  注意:此字段可能返回 null,表示取不到有效值。
@@ -39317,11 +39396,23 @@ class ImageAreaBoxInfo(AbstractModel):
39317
39396
  def BoundingBox(self, BoundingBox):
39318
39397
  self._BoundingBox = BoundingBox
39319
39398
 
39399
+ @property
39400
+ def BoundingBoxUnitType(self):
39401
+ r"""BoundingBox字段单位。设置为0时,按照该字段规则自动选择单位;设置为1时,单位为比例;设置为2时,单位为像素。
39402
+ :rtype: int
39403
+ """
39404
+ return self._BoundingBoxUnitType
39405
+
39406
+ @BoundingBoxUnitType.setter
39407
+ def BoundingBoxUnitType(self, BoundingBoxUnitType):
39408
+ self._BoundingBoxUnitType = BoundingBoxUnitType
39409
+
39320
39410
 
39321
39411
  def _deserialize(self, params):
39322
39412
  self._Type = params.get("Type")
39323
39413
  self._AreaCoordSet = params.get("AreaCoordSet")
39324
39414
  self._BoundingBox = params.get("BoundingBox")
39415
+ self._BoundingBoxUnitType = params.get("BoundingBoxUnitType")
39325
39416
  memeber_set = set(params.keys())
39326
39417
  for name, value in vars(self).items():
39327
39418
  property_name = name[1:]
@@ -40973,6 +41064,175 @@ class LiveActivityResult(AbstractModel):
40973
41064
 
40974
41065
 
40975
41066
 
41067
+ class LiveAiAnalysisDescriptionItem(AbstractModel):
41068
+ r"""直播摘要结果信息。
41069
+
41070
+ """
41071
+
41072
+ def __init__(self):
41073
+ r"""
41074
+ :param _Paragraphs: 分段结果。
41075
+ 注意:此字段可能返回 null,表示取不到有效值。
41076
+ :type Paragraphs: list of LiveAiParagraphInfo
41077
+ """
41078
+ self._Paragraphs = None
41079
+
41080
+ @property
41081
+ def Paragraphs(self):
41082
+ r"""分段结果。
41083
+ 注意:此字段可能返回 null,表示取不到有效值。
41084
+ :rtype: list of LiveAiParagraphInfo
41085
+ """
41086
+ return self._Paragraphs
41087
+
41088
+ @Paragraphs.setter
41089
+ def Paragraphs(self, Paragraphs):
41090
+ self._Paragraphs = Paragraphs
41091
+
41092
+
41093
+ def _deserialize(self, params):
41094
+ if params.get("Paragraphs") is not None:
41095
+ self._Paragraphs = []
41096
+ for item in params.get("Paragraphs"):
41097
+ obj = LiveAiParagraphInfo()
41098
+ obj._deserialize(item)
41099
+ self._Paragraphs.append(obj)
41100
+ memeber_set = set(params.keys())
41101
+ for name, value in vars(self).items():
41102
+ property_name = name[1:]
41103
+ if property_name in memeber_set:
41104
+ memeber_set.remove(property_name)
41105
+ if len(memeber_set) > 0:
41106
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41107
+
41108
+
41109
+
41110
+ class LiveAiParagraphInfo(AbstractModel):
41111
+ r"""分段信息。
41112
+
41113
+ """
41114
+
41115
+ def __init__(self):
41116
+ r"""
41117
+ :param _Summary: 分段摘要
41118
+ :type Summary: str
41119
+ :param _Title: 分段标题
41120
+ :type Title: str
41121
+ :param _Keywords: 分段关键词
41122
+ :type Keywords: list of str
41123
+ :param _StartTimeOffset: 分段起始时间点,秒
41124
+ :type StartTimeOffset: float
41125
+ :param _EndTimeOffset: 分段结束时间点,秒
41126
+ :type EndTimeOffset: float
41127
+ :param _BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
41128
+ :type BeginTime: str
41129
+ :param _EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
41130
+ :type EndTime: str
41131
+ """
41132
+ self._Summary = None
41133
+ self._Title = None
41134
+ self._Keywords = None
41135
+ self._StartTimeOffset = None
41136
+ self._EndTimeOffset = None
41137
+ self._BeginTime = None
41138
+ self._EndTime = None
41139
+
41140
+ @property
41141
+ def Summary(self):
41142
+ r"""分段摘要
41143
+ :rtype: str
41144
+ """
41145
+ return self._Summary
41146
+
41147
+ @Summary.setter
41148
+ def Summary(self, Summary):
41149
+ self._Summary = Summary
41150
+
41151
+ @property
41152
+ def Title(self):
41153
+ r"""分段标题
41154
+ :rtype: str
41155
+ """
41156
+ return self._Title
41157
+
41158
+ @Title.setter
41159
+ def Title(self, Title):
41160
+ self._Title = Title
41161
+
41162
+ @property
41163
+ def Keywords(self):
41164
+ r"""分段关键词
41165
+ :rtype: list of str
41166
+ """
41167
+ return self._Keywords
41168
+
41169
+ @Keywords.setter
41170
+ def Keywords(self, Keywords):
41171
+ self._Keywords = Keywords
41172
+
41173
+ @property
41174
+ def StartTimeOffset(self):
41175
+ r"""分段起始时间点,秒
41176
+ :rtype: float
41177
+ """
41178
+ return self._StartTimeOffset
41179
+
41180
+ @StartTimeOffset.setter
41181
+ def StartTimeOffset(self, StartTimeOffset):
41182
+ self._StartTimeOffset = StartTimeOffset
41183
+
41184
+ @property
41185
+ def EndTimeOffset(self):
41186
+ r"""分段结束时间点,秒
41187
+ :rtype: float
41188
+ """
41189
+ return self._EndTimeOffset
41190
+
41191
+ @EndTimeOffset.setter
41192
+ def EndTimeOffset(self, EndTimeOffset):
41193
+ self._EndTimeOffset = EndTimeOffset
41194
+
41195
+ @property
41196
+ def BeginTime(self):
41197
+ r"""直播切片对应直播起始时间点,采用 ISO 日期格式。
41198
+ :rtype: str
41199
+ """
41200
+ return self._BeginTime
41201
+
41202
+ @BeginTime.setter
41203
+ def BeginTime(self, BeginTime):
41204
+ self._BeginTime = BeginTime
41205
+
41206
+ @property
41207
+ def EndTime(self):
41208
+ r"""直播切片对应直播结束时间点,采用 ISO 日期格式。
41209
+ :rtype: str
41210
+ """
41211
+ return self._EndTime
41212
+
41213
+ @EndTime.setter
41214
+ def EndTime(self, EndTime):
41215
+ self._EndTime = EndTime
41216
+
41217
+
41218
+ def _deserialize(self, params):
41219
+ self._Summary = params.get("Summary")
41220
+ self._Title = params.get("Title")
41221
+ self._Keywords = params.get("Keywords")
41222
+ self._StartTimeOffset = params.get("StartTimeOffset")
41223
+ self._EndTimeOffset = params.get("EndTimeOffset")
41224
+ self._BeginTime = params.get("BeginTime")
41225
+ self._EndTime = params.get("EndTime")
41226
+ memeber_set = set(params.keys())
41227
+ for name, value in vars(self).items():
41228
+ property_name = name[1:]
41229
+ if property_name in memeber_set:
41230
+ memeber_set.remove(property_name)
41231
+ if len(memeber_set) > 0:
41232
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41233
+
41234
+
41235
+
40976
41236
  class LiveRecordFile(AbstractModel):
40977
41237
  r"""直播录制输出文件信息
40978
41238
 
@@ -41665,7 +41925,10 @@ class LiveStreamAiAnalysisResultInfo(AbstractModel):
41665
41925
 
41666
41926
  def __init__(self):
41667
41927
  r"""
41668
- :param _ResultSet: 直播分析子任务结果,暂时只支持直播拆条。
41928
+ :param _ResultSet: 直播分析子任务结果,支持:
41929
+ <li>直播拆条</li>
41930
+ <li>直播高光集锦</li>
41931
+ <li>直播摘要</li>
41669
41932
  注意:此字段可能返回 null,表示取不到有效值。
41670
41933
  :type ResultSet: list of LiveStreamAiAnalysisResultItem
41671
41934
  """
@@ -41673,7 +41936,10 @@ class LiveStreamAiAnalysisResultInfo(AbstractModel):
41673
41936
 
41674
41937
  @property
41675
41938
  def ResultSet(self):
41676
- r"""直播分析子任务结果,暂时只支持直播拆条。
41939
+ r"""直播分析子任务结果,支持:
41940
+ <li>直播拆条</li>
41941
+ <li>直播高光集锦</li>
41942
+ <li>直播摘要</li>
41677
41943
  注意:此字段可能返回 null,表示取不到有效值。
41678
41944
  :rtype: list of LiveStreamAiAnalysisResultItem
41679
41945
  """
@@ -41711,6 +41977,7 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
41711
41977
  :param _Type: 结果的类型,取值范围:
41712
41978
  <li>SegmentRecognition:拆条。</li>
41713
41979
  <li>Highlight :集锦。</li>
41980
+ <li> Description:摘要。</li>
41714
41981
  :type Type: str
41715
41982
  :param _SegmentResultSet: 拆条结果,当 Type 为
41716
41983
  SegmentRecognition 时有效。
@@ -41719,16 +41986,20 @@ SegmentRecognition 时有效。
41719
41986
  :param _HighlightResultSet: 集锦结果,当Type 为 Highlight 时有效。
41720
41987
  注意:此字段可能返回 null,表示取不到有效值。
41721
41988
  :type HighlightResultSet: list of MediaAiAnalysisHighlightItem
41989
+ :param _DescriptionResult: 摘要结果,当Type 为 Description 时有效。
41990
+ :type DescriptionResult: :class:`tencentcloud.mps.v20190612.models.LiveAiAnalysisDescriptionItem`
41722
41991
  """
41723
41992
  self._Type = None
41724
41993
  self._SegmentResultSet = None
41725
41994
  self._HighlightResultSet = None
41995
+ self._DescriptionResult = None
41726
41996
 
41727
41997
  @property
41728
41998
  def Type(self):
41729
41999
  r"""结果的类型,取值范围:
41730
42000
  <li>SegmentRecognition:拆条。</li>
41731
42001
  <li>Highlight :集锦。</li>
42002
+ <li> Description:摘要。</li>
41732
42003
  :rtype: str
41733
42004
  """
41734
42005
  return self._Type
@@ -41762,6 +42033,17 @@ SegmentRecognition 时有效。
41762
42033
  def HighlightResultSet(self, HighlightResultSet):
41763
42034
  self._HighlightResultSet = HighlightResultSet
41764
42035
 
42036
+ @property
42037
+ def DescriptionResult(self):
42038
+ r"""摘要结果,当Type 为 Description 时有效。
42039
+ :rtype: :class:`tencentcloud.mps.v20190612.models.LiveAiAnalysisDescriptionItem`
42040
+ """
42041
+ return self._DescriptionResult
42042
+
42043
+ @DescriptionResult.setter
42044
+ def DescriptionResult(self, DescriptionResult):
42045
+ self._DescriptionResult = DescriptionResult
42046
+
41765
42047
 
41766
42048
  def _deserialize(self, params):
41767
42049
  self._Type = params.get("Type")
@@ -41777,6 +42059,9 @@ SegmentRecognition 时有效。
41777
42059
  obj = MediaAiAnalysisHighlightItem()
41778
42060
  obj._deserialize(item)
41779
42061
  self._HighlightResultSet.append(obj)
42062
+ if params.get("DescriptionResult") is not None:
42063
+ self._DescriptionResult = LiveAiAnalysisDescriptionItem()
42064
+ self._DescriptionResult._deserialize(params.get("DescriptionResult"))
41780
42065
  memeber_set = set(params.keys())
41781
42066
  for name, value in vars(self).items():
41782
42067
  property_name = name[1:]
@@ -53696,6 +53981,7 @@ class ParseLiveStreamProcessNotificationResponse(AbstractModel):
53696
53981
  <li>AiRecognitionResult:内容识别结果;</li>
53697
53982
  <li>LiveRecordResult:直播录制结果;</li>
53698
53983
  <li>AiQualityControlResult:媒体质检结果;</li>
53984
+ <li>AiAnalysisResult:内容分析结果;</li>
53699
53985
  <li>ProcessEof:直播流处理结束。</li>
53700
53986
  :type NotificationType: str
53701
53987
  :param _TaskId: 视频处理任务 ID。
@@ -53750,6 +54036,7 @@ class ParseLiveStreamProcessNotificationResponse(AbstractModel):
53750
54036
  <li>AiRecognitionResult:内容识别结果;</li>
53751
54037
  <li>LiveRecordResult:直播录制结果;</li>
53752
54038
  <li>AiQualityControlResult:媒体质检结果;</li>
54039
+ <li>AiAnalysisResult:内容分析结果;</li>
53753
54040
  <li>ProcessEof:直播流处理结束。</li>
53754
54041
  :rtype: str
53755
54042
  """
@@ -55466,6 +55753,10 @@ class ProcessImageRequest(AbstractModel):
55466
55753
  <li>/自定义路径/文件名_{变量名}.{format}</li>
55467
55754
  如果不填,则默认为相对路径:{inputName}.{format}。
55468
55755
  :type OutputPath: str
55756
+ :param _Definition: 图片处理模板唯一标识。
55757
+ :type Definition: int
55758
+ :param _ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
55759
+ :type ResourceId: str
55469
55760
  :param _ImageTask: 图片处理参数。
55470
55761
  :type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
55471
55762
  """
@@ -55473,6 +55764,8 @@ class ProcessImageRequest(AbstractModel):
55473
55764
  self._OutputStorage = None
55474
55765
  self._OutputDir = None
55475
55766
  self._OutputPath = None
55767
+ self._Definition = None
55768
+ self._ResourceId = None
55476
55769
  self._ImageTask = None
55477
55770
 
55478
55771
  @property
@@ -55526,6 +55819,28 @@ class ProcessImageRequest(AbstractModel):
55526
55819
  def OutputPath(self, OutputPath):
55527
55820
  self._OutputPath = OutputPath
55528
55821
 
55822
+ @property
55823
+ def Definition(self):
55824
+ r"""图片处理模板唯一标识。
55825
+ :rtype: int
55826
+ """
55827
+ return self._Definition
55828
+
55829
+ @Definition.setter
55830
+ def Definition(self, Definition):
55831
+ self._Definition = Definition
55832
+
55833
+ @property
55834
+ def ResourceId(self):
55835
+ r"""资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
55836
+ :rtype: str
55837
+ """
55838
+ return self._ResourceId
55839
+
55840
+ @ResourceId.setter
55841
+ def ResourceId(self, ResourceId):
55842
+ self._ResourceId = ResourceId
55843
+
55529
55844
  @property
55530
55845
  def ImageTask(self):
55531
55846
  r"""图片处理参数。
@@ -55547,6 +55862,8 @@ class ProcessImageRequest(AbstractModel):
55547
55862
  self._OutputStorage._deserialize(params.get("OutputStorage"))
55548
55863
  self._OutputDir = params.get("OutputDir")
55549
55864
  self._OutputPath = params.get("OutputPath")
55865
+ self._Definition = params.get("Definition")
55866
+ self._ResourceId = params.get("ResourceId")
55550
55867
  if params.get("ImageTask") is not None:
55551
55868
  self._ImageTask = ImageTaskInput()
55552
55869
  self._ImageTask._deserialize(params.get("ImageTask"))
@@ -67647,6 +67964,9 @@ class TranscodeTaskInput(AbstractModel):
67647
67964
  :type OverrideParameter: :class:`tencentcloud.mps.v20190612.models.OverrideTranscodeParameter`
67648
67965
  :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
67649
67966
  :type WatermarkSet: list of WatermarkInput
67967
+ :param _BlindWatermark: 数字水印参数。
67968
+ 注意:此字段可能返回 null,表示取不到有效值。
67969
+ :type BlindWatermark: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
67650
67970
  :param _MosaicSet: 马赛克列表,最大可支持 10 张。
67651
67971
  :type MosaicSet: list of MosaicInput
67652
67972
  :param _StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
@@ -67685,6 +68005,7 @@ class TranscodeTaskInput(AbstractModel):
67685
68005
  self._RawParameter = None
67686
68006
  self._OverrideParameter = None
67687
68007
  self._WatermarkSet = None
68008
+ self._BlindWatermark = None
67688
68009
  self._MosaicSet = None
67689
68010
  self._StartTimeOffset = None
67690
68011
  self._EndTimeOffset = None
@@ -67742,6 +68063,18 @@ class TranscodeTaskInput(AbstractModel):
67742
68063
  def WatermarkSet(self, WatermarkSet):
67743
68064
  self._WatermarkSet = WatermarkSet
67744
68065
 
68066
+ @property
68067
+ def BlindWatermark(self):
68068
+ r"""数字水印参数。
68069
+ 注意:此字段可能返回 null,表示取不到有效值。
68070
+ :rtype: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
68071
+ """
68072
+ return self._BlindWatermark
68073
+
68074
+ @BlindWatermark.setter
68075
+ def BlindWatermark(self, BlindWatermark):
68076
+ self._BlindWatermark = BlindWatermark
68077
+
67745
68078
  @property
67746
68079
  def MosaicSet(self):
67747
68080
  r"""马赛克列表,最大可支持 10 张。
@@ -67862,6 +68195,9 @@ class TranscodeTaskInput(AbstractModel):
67862
68195
  obj = WatermarkInput()
67863
68196
  obj._deserialize(item)
67864
68197
  self._WatermarkSet.append(obj)
68198
+ if params.get("BlindWatermark") is not None:
68199
+ self._BlindWatermark = BlindWatermarkInput()
68200
+ self._BlindWatermark._deserialize(params.get("BlindWatermark"))
67865
68201
  if params.get("MosaicSet") is not None:
67866
68202
  self._MosaicSet = []
67867
68203
  for item in params.get("MosaicSet"):