tencentcloud-sdk-python-mps 3.0.1491__tar.gz → 3.1.2__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.
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/setup.py +2 -1
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/mps/v20190612/models.py +142 -4
- tencentcloud_sdk_python_mps-3.1.2/tencentcloud/mps/v20190612/mps_client_async.py +2547 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.2/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.0.1491/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.0.1491 → tencentcloud_sdk_python_mps-3.1.2}/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.
|
|
3
|
+
Version: 3.1.2
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.2
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.2,<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(),
|
|
@@ -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
|
|
|
@@ -39282,19 +39337,22 @@ class ImageAreaBoxInfo(AbstractModel):
|
|
|
39282
39337
|
默认值:logo。
|
|
39283
39338
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39284
39339
|
:type Type: str
|
|
39285
|
-
:param _AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2]
|
|
39340
|
+
:param _AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
|
|
39286
39341
|
示例值:[101, 85, 111, 95]
|
|
39287
39342
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39288
39343
|
:type AreaCoordSet: list of int
|
|
39289
|
-
:param _BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet
|
|
39344
|
+
:param _BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
|
|
39290
39345
|
- [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
|
|
39291
39346
|
- [50, 50, 350, 280] : 表示像素 (数值大于等于1)
|
|
39292
39347
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39293
39348
|
:type BoundingBox: list of float
|
|
39349
|
+
:param _BoundingBoxUnitType: BoundingBox字段单位。设置为0时,按照该字段规则自动选择单位;设置为1时,单位为比例;设置为2时,单位为像素。
|
|
39350
|
+
:type BoundingBoxUnitType: int
|
|
39294
39351
|
"""
|
|
39295
39352
|
self._Type = None
|
|
39296
39353
|
self._AreaCoordSet = None
|
|
39297
39354
|
self._BoundingBox = None
|
|
39355
|
+
self._BoundingBoxUnitType = None
|
|
39298
39356
|
|
|
39299
39357
|
@property
|
|
39300
39358
|
def Type(self):
|
|
@@ -39313,7 +39371,7 @@ class ImageAreaBoxInfo(AbstractModel):
|
|
|
39313
39371
|
|
|
39314
39372
|
@property
|
|
39315
39373
|
def AreaCoordSet(self):
|
|
39316
|
-
r"""图片框选区域坐标 (像素级),[x1, y1, x2, y2]
|
|
39374
|
+
r"""图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
|
|
39317
39375
|
示例值:[101, 85, 111, 95]
|
|
39318
39376
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39319
39377
|
:rtype: list of int
|
|
@@ -39326,7 +39384,7 @@ class ImageAreaBoxInfo(AbstractModel):
|
|
|
39326
39384
|
|
|
39327
39385
|
@property
|
|
39328
39386
|
def BoundingBox(self):
|
|
39329
|
-
r"""图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet
|
|
39387
|
+
r"""图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
|
|
39330
39388
|
- [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
|
|
39331
39389
|
- [50, 50, 350, 280] : 表示像素 (数值大于等于1)
|
|
39332
39390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -39338,11 +39396,23 @@ class ImageAreaBoxInfo(AbstractModel):
|
|
|
39338
39396
|
def BoundingBox(self, BoundingBox):
|
|
39339
39397
|
self._BoundingBox = BoundingBox
|
|
39340
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
|
+
|
|
39341
39410
|
|
|
39342
39411
|
def _deserialize(self, params):
|
|
39343
39412
|
self._Type = params.get("Type")
|
|
39344
39413
|
self._AreaCoordSet = params.get("AreaCoordSet")
|
|
39345
39414
|
self._BoundingBox = params.get("BoundingBox")
|
|
39415
|
+
self._BoundingBoxUnitType = params.get("BoundingBoxUnitType")
|
|
39346
39416
|
memeber_set = set(params.keys())
|
|
39347
39417
|
for name, value in vars(self).items():
|
|
39348
39418
|
property_name = name[1:]
|
|
@@ -54214,6 +54284,9 @@ class ParseNotificationResponse(AbstractModel):
|
|
|
54214
54284
|
:param _BatchTaskEvent: 批量处理任务信息,仅当 EventType 为 BatchTask,该字段有值。
|
|
54215
54285
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
54216
54286
|
:type BatchTaskEvent: :class:`tencentcloud.mps.v20190612.models.BatchSubTaskResult`
|
|
54287
|
+
:param _ExtractBlindWatermarkTask: 数字水印提取任务信息,仅当 EventType 为 ExtractBlindWatermark,该字段有值。
|
|
54288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54289
|
+
:type ExtractBlindWatermarkTask: :class:`tencentcloud.mps.v20190612.models.ExtractBlindWatermarkTask`
|
|
54217
54290
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
54218
54291
|
:type RequestId: str
|
|
54219
54292
|
"""
|
|
@@ -54226,6 +54299,7 @@ class ParseNotificationResponse(AbstractModel):
|
|
|
54226
54299
|
self._Timestamp = None
|
|
54227
54300
|
self._Sign = None
|
|
54228
54301
|
self._BatchTaskEvent = None
|
|
54302
|
+
self._ExtractBlindWatermarkTask = None
|
|
54229
54303
|
self._RequestId = None
|
|
54230
54304
|
|
|
54231
54305
|
@property
|
|
@@ -54337,6 +54411,18 @@ class ParseNotificationResponse(AbstractModel):
|
|
|
54337
54411
|
def BatchTaskEvent(self, BatchTaskEvent):
|
|
54338
54412
|
self._BatchTaskEvent = BatchTaskEvent
|
|
54339
54413
|
|
|
54414
|
+
@property
|
|
54415
|
+
def ExtractBlindWatermarkTask(self):
|
|
54416
|
+
r"""数字水印提取任务信息,仅当 EventType 为 ExtractBlindWatermark,该字段有值。
|
|
54417
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54418
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ExtractBlindWatermarkTask`
|
|
54419
|
+
"""
|
|
54420
|
+
return self._ExtractBlindWatermarkTask
|
|
54421
|
+
|
|
54422
|
+
@ExtractBlindWatermarkTask.setter
|
|
54423
|
+
def ExtractBlindWatermarkTask(self, ExtractBlindWatermarkTask):
|
|
54424
|
+
self._ExtractBlindWatermarkTask = ExtractBlindWatermarkTask
|
|
54425
|
+
|
|
54340
54426
|
@property
|
|
54341
54427
|
def RequestId(self):
|
|
54342
54428
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -54367,6 +54453,9 @@ class ParseNotificationResponse(AbstractModel):
|
|
|
54367
54453
|
if params.get("BatchTaskEvent") is not None:
|
|
54368
54454
|
self._BatchTaskEvent = BatchSubTaskResult()
|
|
54369
54455
|
self._BatchTaskEvent._deserialize(params.get("BatchTaskEvent"))
|
|
54456
|
+
if params.get("ExtractBlindWatermarkTask") is not None:
|
|
54457
|
+
self._ExtractBlindWatermarkTask = ExtractBlindWatermarkTask()
|
|
54458
|
+
self._ExtractBlindWatermarkTask._deserialize(params.get("ExtractBlindWatermarkTask"))
|
|
54370
54459
|
self._RequestId = params.get("RequestId")
|
|
54371
54460
|
|
|
54372
54461
|
|
|
@@ -55683,6 +55772,10 @@ class ProcessImageRequest(AbstractModel):
|
|
|
55683
55772
|
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
55684
55773
|
如果不填,则默认为相对路径:{inputName}.{format}。
|
|
55685
55774
|
:type OutputPath: str
|
|
55775
|
+
:param _Definition: 图片处理模板唯一标识。
|
|
55776
|
+
:type Definition: int
|
|
55777
|
+
:param _ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
|
55778
|
+
:type ResourceId: str
|
|
55686
55779
|
:param _ImageTask: 图片处理参数。
|
|
55687
55780
|
:type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
|
|
55688
55781
|
"""
|
|
@@ -55690,6 +55783,8 @@ class ProcessImageRequest(AbstractModel):
|
|
|
55690
55783
|
self._OutputStorage = None
|
|
55691
55784
|
self._OutputDir = None
|
|
55692
55785
|
self._OutputPath = None
|
|
55786
|
+
self._Definition = None
|
|
55787
|
+
self._ResourceId = None
|
|
55693
55788
|
self._ImageTask = None
|
|
55694
55789
|
|
|
55695
55790
|
@property
|
|
@@ -55743,6 +55838,28 @@ class ProcessImageRequest(AbstractModel):
|
|
|
55743
55838
|
def OutputPath(self, OutputPath):
|
|
55744
55839
|
self._OutputPath = OutputPath
|
|
55745
55840
|
|
|
55841
|
+
@property
|
|
55842
|
+
def Definition(self):
|
|
55843
|
+
r"""图片处理模板唯一标识。
|
|
55844
|
+
:rtype: int
|
|
55845
|
+
"""
|
|
55846
|
+
return self._Definition
|
|
55847
|
+
|
|
55848
|
+
@Definition.setter
|
|
55849
|
+
def Definition(self, Definition):
|
|
55850
|
+
self._Definition = Definition
|
|
55851
|
+
|
|
55852
|
+
@property
|
|
55853
|
+
def ResourceId(self):
|
|
55854
|
+
r"""资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
|
55855
|
+
:rtype: str
|
|
55856
|
+
"""
|
|
55857
|
+
return self._ResourceId
|
|
55858
|
+
|
|
55859
|
+
@ResourceId.setter
|
|
55860
|
+
def ResourceId(self, ResourceId):
|
|
55861
|
+
self._ResourceId = ResourceId
|
|
55862
|
+
|
|
55746
55863
|
@property
|
|
55747
55864
|
def ImageTask(self):
|
|
55748
55865
|
r"""图片处理参数。
|
|
@@ -55764,6 +55881,8 @@ class ProcessImageRequest(AbstractModel):
|
|
|
55764
55881
|
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
55765
55882
|
self._OutputDir = params.get("OutputDir")
|
|
55766
55883
|
self._OutputPath = params.get("OutputPath")
|
|
55884
|
+
self._Definition = params.get("Definition")
|
|
55885
|
+
self._ResourceId = params.get("ResourceId")
|
|
55767
55886
|
if params.get("ImageTask") is not None:
|
|
55768
55887
|
self._ImageTask = ImageTaskInput()
|
|
55769
55888
|
self._ImageTask._deserialize(params.get("ImageTask"))
|
|
@@ -67864,6 +67983,9 @@ class TranscodeTaskInput(AbstractModel):
|
|
|
67864
67983
|
:type OverrideParameter: :class:`tencentcloud.mps.v20190612.models.OverrideTranscodeParameter`
|
|
67865
67984
|
:param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
|
|
67866
67985
|
:type WatermarkSet: list of WatermarkInput
|
|
67986
|
+
:param _BlindWatermark: 数字水印参数。
|
|
67987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
67988
|
+
:type BlindWatermark: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
|
|
67867
67989
|
:param _MosaicSet: 马赛克列表,最大可支持 10 张。
|
|
67868
67990
|
:type MosaicSet: list of MosaicInput
|
|
67869
67991
|
:param _StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
|
|
@@ -67902,6 +68024,7 @@ class TranscodeTaskInput(AbstractModel):
|
|
|
67902
68024
|
self._RawParameter = None
|
|
67903
68025
|
self._OverrideParameter = None
|
|
67904
68026
|
self._WatermarkSet = None
|
|
68027
|
+
self._BlindWatermark = None
|
|
67905
68028
|
self._MosaicSet = None
|
|
67906
68029
|
self._StartTimeOffset = None
|
|
67907
68030
|
self._EndTimeOffset = None
|
|
@@ -67959,6 +68082,18 @@ class TranscodeTaskInput(AbstractModel):
|
|
|
67959
68082
|
def WatermarkSet(self, WatermarkSet):
|
|
67960
68083
|
self._WatermarkSet = WatermarkSet
|
|
67961
68084
|
|
|
68085
|
+
@property
|
|
68086
|
+
def BlindWatermark(self):
|
|
68087
|
+
r"""数字水印参数。
|
|
68088
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
68089
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.BlindWatermarkInput`
|
|
68090
|
+
"""
|
|
68091
|
+
return self._BlindWatermark
|
|
68092
|
+
|
|
68093
|
+
@BlindWatermark.setter
|
|
68094
|
+
def BlindWatermark(self, BlindWatermark):
|
|
68095
|
+
self._BlindWatermark = BlindWatermark
|
|
68096
|
+
|
|
67962
68097
|
@property
|
|
67963
68098
|
def MosaicSet(self):
|
|
67964
68099
|
r"""马赛克列表,最大可支持 10 张。
|
|
@@ -68079,6 +68214,9 @@ class TranscodeTaskInput(AbstractModel):
|
|
|
68079
68214
|
obj = WatermarkInput()
|
|
68080
68215
|
obj._deserialize(item)
|
|
68081
68216
|
self._WatermarkSet.append(obj)
|
|
68217
|
+
if params.get("BlindWatermark") is not None:
|
|
68218
|
+
self._BlindWatermark = BlindWatermarkInput()
|
|
68219
|
+
self._BlindWatermark._deserialize(params.get("BlindWatermark"))
|
|
68082
68220
|
if params.get("MosaicSet") is not None:
|
|
68083
68221
|
self._MosaicSet = []
|
|
68084
68222
|
for item in params.get("MosaicSet"):
|