tencentcloud-sdk-python-intl-en 3.0.1248__py2.py3-none-any.whl → 3.0.1249__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/vod/v20180717/models.py +513 -2
- tencentcloud/vod/v20180717/vod_client.py +29 -0
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1249.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -32222,7 +32222,7 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
32222
32222
|
<li> `ReviewAudioVideo`: Moderation</li>
|
32223
32223
|
<li>`ExtractTraceWatermark`: Digital watermark extraction</li>
|
32224
32224
|
<li>`QualityEnhance`: Enhance audio/video</li>
|
32225
|
-
<li>`ComplexAdaptiveDynamicStreaming`: Complex adaptive bitrate streaming processing task</li>
|
32225
|
+
<li>`ComplexAdaptiveDynamicStreaming`: Complex adaptive bitrate streaming processing task</li><li>`ProcessMediaByMPS`: Process media by MPS.</li>
|
32226
32226
|
:type TaskType: str
|
32227
32227
|
:param _Status: Task status. Valid values:
|
32228
32228
|
<li>WAITING: waiting;</li>
|
@@ -32301,6 +32301,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
32301
32301
|
:param _ComplexAdaptiveDynamicStreamingTask: Complex adaptive bitrate streaming processing task information. This field has a value only when TaskType is ComplexAdaptiveDynamicStreaming.
|
32302
32302
|
Note: This field may return null, indicating that no valid value can be obtained.
|
32303
32303
|
:type ComplexAdaptiveDynamicStreamingTask: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
|
32304
|
+
:param _ProcessMediaByMPSTask: Media processing by MPS task information. This field contains a value only when TaskType is ProcessMediaByMPS.
|
32305
|
+
:type ProcessMediaByMPSTask: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
32304
32306
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
32305
32307
|
:type RequestId: str
|
32306
32308
|
"""
|
@@ -32331,6 +32333,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
32331
32333
|
self._QualityInspectTask = None
|
32332
32334
|
self._QualityEnhanceTask = None
|
32333
32335
|
self._ComplexAdaptiveDynamicStreamingTask = None
|
32336
|
+
self._ProcessMediaByMPSTask = None
|
32334
32337
|
self._RequestId = None
|
32335
32338
|
|
32336
32339
|
@property
|
@@ -32349,7 +32352,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
32349
32352
|
<li> `ReviewAudioVideo`: Moderation</li>
|
32350
32353
|
<li>`ExtractTraceWatermark`: Digital watermark extraction</li>
|
32351
32354
|
<li>`QualityEnhance`: Enhance audio/video</li>
|
32352
|
-
<li>`ComplexAdaptiveDynamicStreaming`: Complex adaptive bitrate streaming processing task</li>
|
32355
|
+
<li>`ComplexAdaptiveDynamicStreaming`: Complex adaptive bitrate streaming processing task</li><li>`ProcessMediaByMPS`: Process media by MPS.</li>
|
32353
32356
|
:rtype: str
|
32354
32357
|
"""
|
32355
32358
|
return self._TaskType
|
@@ -32669,6 +32672,17 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
32669
32672
|
def ComplexAdaptiveDynamicStreamingTask(self, ComplexAdaptiveDynamicStreamingTask):
|
32670
32673
|
self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask
|
32671
32674
|
|
32675
|
+
@property
|
32676
|
+
def ProcessMediaByMPSTask(self):
|
32677
|
+
"""Media processing by MPS task information. This field contains a value only when TaskType is ProcessMediaByMPS.
|
32678
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
32679
|
+
"""
|
32680
|
+
return self._ProcessMediaByMPSTask
|
32681
|
+
|
32682
|
+
@ProcessMediaByMPSTask.setter
|
32683
|
+
def ProcessMediaByMPSTask(self, ProcessMediaByMPSTask):
|
32684
|
+
self._ProcessMediaByMPSTask = ProcessMediaByMPSTask
|
32685
|
+
|
32672
32686
|
@property
|
32673
32687
|
def RequestId(self):
|
32674
32688
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -32753,6 +32767,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
32753
32767
|
if params.get("ComplexAdaptiveDynamicStreamingTask") is not None:
|
32754
32768
|
self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask()
|
32755
32769
|
self._ComplexAdaptiveDynamicStreamingTask._deserialize(params.get("ComplexAdaptiveDynamicStreamingTask"))
|
32770
|
+
if params.get("ProcessMediaByMPSTask") is not None:
|
32771
|
+
self._ProcessMediaByMPSTask = ProcessMediaByMPS()
|
32772
|
+
self._ProcessMediaByMPSTask._deserialize(params.get("ProcessMediaByMPSTask"))
|
32756
32773
|
self._RequestId = params.get("RequestId")
|
32757
32774
|
|
32758
32775
|
|
@@ -37313,6 +37330,8 @@ class ExtractTraceWatermarkTaskOutput(AbstractModel):
|
|
37313
37330
|
|
37314
37331
|
@property
|
37315
37332
|
def Uid(self):
|
37333
|
+
warnings.warn("parameter `Uid` is deprecated", DeprecationWarning)
|
37334
|
+
|
37316
37335
|
"""This parameter has been deprecated.
|
37317
37336
|
:rtype: str
|
37318
37337
|
"""
|
@@ -37320,6 +37339,8 @@ class ExtractTraceWatermarkTaskOutput(AbstractModel):
|
|
37320
37339
|
|
37321
37340
|
@Uid.setter
|
37322
37341
|
def Uid(self, Uid):
|
37342
|
+
warnings.warn("parameter `Uid` is deprecated", DeprecationWarning)
|
37343
|
+
|
37323
37344
|
self._Uid = Uid
|
37324
37345
|
|
37325
37346
|
|
@@ -42037,6 +42058,256 @@ Default value: `normal`.
|
|
42037
42058
|
|
42038
42059
|
|
42039
42060
|
|
42061
|
+
class MPSOutputFile(AbstractModel):
|
42062
|
+
"""
|
42063
|
+
|
42064
|
+
"""
|
42065
|
+
|
42066
|
+
def __init__(self):
|
42067
|
+
r"""
|
42068
|
+
:param _FileType:
|
42069
|
+
:type FileType: str
|
42070
|
+
:param _StorageMode:
|
42071
|
+
:type StorageMode: str
|
42072
|
+
:param _FileId:
|
42073
|
+
:type FileId: str
|
42074
|
+
:param _Url:
|
42075
|
+
:type Url: str
|
42076
|
+
:param _ExpiredTime:
|
42077
|
+
:type ExpiredTime: int
|
42078
|
+
"""
|
42079
|
+
self._FileType = None
|
42080
|
+
self._StorageMode = None
|
42081
|
+
self._FileId = None
|
42082
|
+
self._Url = None
|
42083
|
+
self._ExpiredTime = None
|
42084
|
+
|
42085
|
+
@property
|
42086
|
+
def FileType(self):
|
42087
|
+
"""
|
42088
|
+
:rtype: str
|
42089
|
+
"""
|
42090
|
+
return self._FileType
|
42091
|
+
|
42092
|
+
@FileType.setter
|
42093
|
+
def FileType(self, FileType):
|
42094
|
+
self._FileType = FileType
|
42095
|
+
|
42096
|
+
@property
|
42097
|
+
def StorageMode(self):
|
42098
|
+
"""
|
42099
|
+
:rtype: str
|
42100
|
+
"""
|
42101
|
+
return self._StorageMode
|
42102
|
+
|
42103
|
+
@StorageMode.setter
|
42104
|
+
def StorageMode(self, StorageMode):
|
42105
|
+
self._StorageMode = StorageMode
|
42106
|
+
|
42107
|
+
@property
|
42108
|
+
def FileId(self):
|
42109
|
+
"""
|
42110
|
+
:rtype: str
|
42111
|
+
"""
|
42112
|
+
return self._FileId
|
42113
|
+
|
42114
|
+
@FileId.setter
|
42115
|
+
def FileId(self, FileId):
|
42116
|
+
self._FileId = FileId
|
42117
|
+
|
42118
|
+
@property
|
42119
|
+
def Url(self):
|
42120
|
+
"""
|
42121
|
+
:rtype: str
|
42122
|
+
"""
|
42123
|
+
return self._Url
|
42124
|
+
|
42125
|
+
@Url.setter
|
42126
|
+
def Url(self, Url):
|
42127
|
+
self._Url = Url
|
42128
|
+
|
42129
|
+
@property
|
42130
|
+
def ExpiredTime(self):
|
42131
|
+
"""
|
42132
|
+
:rtype: int
|
42133
|
+
"""
|
42134
|
+
return self._ExpiredTime
|
42135
|
+
|
42136
|
+
@ExpiredTime.setter
|
42137
|
+
def ExpiredTime(self, ExpiredTime):
|
42138
|
+
self._ExpiredTime = ExpiredTime
|
42139
|
+
|
42140
|
+
|
42141
|
+
def _deserialize(self, params):
|
42142
|
+
self._FileType = params.get("FileType")
|
42143
|
+
self._StorageMode = params.get("StorageMode")
|
42144
|
+
self._FileId = params.get("FileId")
|
42145
|
+
self._Url = params.get("Url")
|
42146
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
42147
|
+
memeber_set = set(params.keys())
|
42148
|
+
for name, value in vars(self).items():
|
42149
|
+
property_name = name[1:]
|
42150
|
+
if property_name in memeber_set:
|
42151
|
+
memeber_set.remove(property_name)
|
42152
|
+
if len(memeber_set) > 0:
|
42153
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
42154
|
+
|
42155
|
+
|
42156
|
+
|
42157
|
+
class MPSSubTaskResult(AbstractModel):
|
42158
|
+
"""
|
42159
|
+
|
42160
|
+
"""
|
42161
|
+
|
42162
|
+
def __init__(self):
|
42163
|
+
r"""
|
42164
|
+
:param _TaskType:
|
42165
|
+
:type TaskType: str
|
42166
|
+
:param _Status:
|
42167
|
+
:type Status: str
|
42168
|
+
:param _ErrCode:
|
42169
|
+
:type ErrCode: str
|
42170
|
+
:param _Message:
|
42171
|
+
:type Message: str
|
42172
|
+
:param _Input:
|
42173
|
+
:type Input: str
|
42174
|
+
:param _Output:
|
42175
|
+
:type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
42176
|
+
"""
|
42177
|
+
self._TaskType = None
|
42178
|
+
self._Status = None
|
42179
|
+
self._ErrCode = None
|
42180
|
+
self._Message = None
|
42181
|
+
self._Input = None
|
42182
|
+
self._Output = None
|
42183
|
+
|
42184
|
+
@property
|
42185
|
+
def TaskType(self):
|
42186
|
+
"""
|
42187
|
+
:rtype: str
|
42188
|
+
"""
|
42189
|
+
return self._TaskType
|
42190
|
+
|
42191
|
+
@TaskType.setter
|
42192
|
+
def TaskType(self, TaskType):
|
42193
|
+
self._TaskType = TaskType
|
42194
|
+
|
42195
|
+
@property
|
42196
|
+
def Status(self):
|
42197
|
+
"""
|
42198
|
+
:rtype: str
|
42199
|
+
"""
|
42200
|
+
return self._Status
|
42201
|
+
|
42202
|
+
@Status.setter
|
42203
|
+
def Status(self, Status):
|
42204
|
+
self._Status = Status
|
42205
|
+
|
42206
|
+
@property
|
42207
|
+
def ErrCode(self):
|
42208
|
+
"""
|
42209
|
+
:rtype: str
|
42210
|
+
"""
|
42211
|
+
return self._ErrCode
|
42212
|
+
|
42213
|
+
@ErrCode.setter
|
42214
|
+
def ErrCode(self, ErrCode):
|
42215
|
+
self._ErrCode = ErrCode
|
42216
|
+
|
42217
|
+
@property
|
42218
|
+
def Message(self):
|
42219
|
+
"""
|
42220
|
+
:rtype: str
|
42221
|
+
"""
|
42222
|
+
return self._Message
|
42223
|
+
|
42224
|
+
@Message.setter
|
42225
|
+
def Message(self, Message):
|
42226
|
+
self._Message = Message
|
42227
|
+
|
42228
|
+
@property
|
42229
|
+
def Input(self):
|
42230
|
+
"""
|
42231
|
+
:rtype: str
|
42232
|
+
"""
|
42233
|
+
return self._Input
|
42234
|
+
|
42235
|
+
@Input.setter
|
42236
|
+
def Input(self, Input):
|
42237
|
+
self._Input = Input
|
42238
|
+
|
42239
|
+
@property
|
42240
|
+
def Output(self):
|
42241
|
+
"""
|
42242
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
42243
|
+
"""
|
42244
|
+
return self._Output
|
42245
|
+
|
42246
|
+
@Output.setter
|
42247
|
+
def Output(self, Output):
|
42248
|
+
self._Output = Output
|
42249
|
+
|
42250
|
+
|
42251
|
+
def _deserialize(self, params):
|
42252
|
+
self._TaskType = params.get("TaskType")
|
42253
|
+
self._Status = params.get("Status")
|
42254
|
+
self._ErrCode = params.get("ErrCode")
|
42255
|
+
self._Message = params.get("Message")
|
42256
|
+
self._Input = params.get("Input")
|
42257
|
+
if params.get("Output") is not None:
|
42258
|
+
self._Output = MPSTaskOutput()
|
42259
|
+
self._Output._deserialize(params.get("Output"))
|
42260
|
+
memeber_set = set(params.keys())
|
42261
|
+
for name, value in vars(self).items():
|
42262
|
+
property_name = name[1:]
|
42263
|
+
if property_name in memeber_set:
|
42264
|
+
memeber_set.remove(property_name)
|
42265
|
+
if len(memeber_set) > 0:
|
42266
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
42267
|
+
|
42268
|
+
|
42269
|
+
|
42270
|
+
class MPSTaskOutput(AbstractModel):
|
42271
|
+
"""
|
42272
|
+
|
42273
|
+
"""
|
42274
|
+
|
42275
|
+
def __init__(self):
|
42276
|
+
r"""
|
42277
|
+
:param _OutputFiles:
|
42278
|
+
:type OutputFiles: list of MPSOutputFile
|
42279
|
+
"""
|
42280
|
+
self._OutputFiles = None
|
42281
|
+
|
42282
|
+
@property
|
42283
|
+
def OutputFiles(self):
|
42284
|
+
"""
|
42285
|
+
:rtype: list of MPSOutputFile
|
42286
|
+
"""
|
42287
|
+
return self._OutputFiles
|
42288
|
+
|
42289
|
+
@OutputFiles.setter
|
42290
|
+
def OutputFiles(self, OutputFiles):
|
42291
|
+
self._OutputFiles = OutputFiles
|
42292
|
+
|
42293
|
+
|
42294
|
+
def _deserialize(self, params):
|
42295
|
+
if params.get("OutputFiles") is not None:
|
42296
|
+
self._OutputFiles = []
|
42297
|
+
for item in params.get("OutputFiles"):
|
42298
|
+
obj = MPSOutputFile()
|
42299
|
+
obj._deserialize(item)
|
42300
|
+
self._OutputFiles.append(obj)
|
42301
|
+
memeber_set = set(params.keys())
|
42302
|
+
for name, value in vars(self).items():
|
42303
|
+
property_name = name[1:]
|
42304
|
+
if property_name in memeber_set:
|
42305
|
+
memeber_set.remove(property_name)
|
42306
|
+
if len(memeber_set) > 0:
|
42307
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
42308
|
+
|
42309
|
+
|
42310
|
+
|
42040
42311
|
class ManageTaskRequest(AbstractModel):
|
42041
42312
|
"""ManageTask request structure.
|
42042
42313
|
|
@@ -43944,6 +44215,8 @@ military:
|
|
43944
44215
|
|
43945
44216
|
@property
|
43946
44217
|
def PicUrlExpireTimeStamp(self):
|
44218
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
44219
|
+
|
43947
44220
|
"""This field has been disused. Please use `PicUrlExpireTime`.
|
43948
44221
|
:rtype: int
|
43949
44222
|
"""
|
@@ -43951,6 +44224,8 @@ military:
|
|
43951
44224
|
|
43952
44225
|
@PicUrlExpireTimeStamp.setter
|
43953
44226
|
def PicUrlExpireTimeStamp(self, PicUrlExpireTimeStamp):
|
44227
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
44228
|
+
|
43954
44229
|
self._PicUrlExpireTimeStamp = PicUrlExpireTimeStamp
|
43955
44230
|
|
43956
44231
|
@property
|
@@ -44095,6 +44370,8 @@ class MediaContentReviewSegmentItem(AbstractModel):
|
|
44095
44370
|
|
44096
44371
|
@property
|
44097
44372
|
def PicUrlExpireTimeStamp(self):
|
44373
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
44374
|
+
|
44098
44375
|
"""This field has been disused. Please use `PicUrlExpireTime`.
|
44099
44376
|
:rtype: int
|
44100
44377
|
"""
|
@@ -44102,6 +44379,8 @@ class MediaContentReviewSegmentItem(AbstractModel):
|
|
44102
44379
|
|
44103
44380
|
@PicUrlExpireTimeStamp.setter
|
44104
44381
|
def PicUrlExpireTimeStamp(self, PicUrlExpireTimeStamp):
|
44382
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
44383
|
+
|
44105
44384
|
self._PicUrlExpireTimeStamp = PicUrlExpireTimeStamp
|
44106
44385
|
|
44107
44386
|
@property
|
@@ -57298,6 +57577,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
57298
57577
|
|
57299
57578
|
@property
|
57300
57579
|
def ErrCode(self):
|
57580
|
+
warnings.warn("parameter `ErrCode` is deprecated", DeprecationWarning)
|
57581
|
+
|
57301
57582
|
"""Disused. Please use `ErrCode` of each specific task.
|
57302
57583
|
Note: this field may return null, indicating that no valid values can be obtained.
|
57303
57584
|
:rtype: int
|
@@ -57306,10 +57587,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
57306
57587
|
|
57307
57588
|
@ErrCode.setter
|
57308
57589
|
def ErrCode(self, ErrCode):
|
57590
|
+
warnings.warn("parameter `ErrCode` is deprecated", DeprecationWarning)
|
57591
|
+
|
57309
57592
|
self._ErrCode = ErrCode
|
57310
57593
|
|
57311
57594
|
@property
|
57312
57595
|
def Message(self):
|
57596
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
57597
|
+
|
57313
57598
|
"""Disused. Please use `Message` of each specific task.
|
57314
57599
|
Note: this field may return null, indicating that no valid values can be obtained.
|
57315
57600
|
:rtype: str
|
@@ -57318,6 +57603,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
57318
57603
|
|
57319
57604
|
@Message.setter
|
57320
57605
|
def Message(self, Message):
|
57606
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
57607
|
+
|
57321
57608
|
self._Message = Message
|
57322
57609
|
|
57323
57610
|
@property
|
@@ -57762,6 +58049,226 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
57762
58049
|
|
57763
58050
|
|
57764
58051
|
|
58052
|
+
class ProcessMediaByMPS(AbstractModel):
|
58053
|
+
"""
|
58054
|
+
|
58055
|
+
"""
|
58056
|
+
|
58057
|
+
def __init__(self):
|
58058
|
+
r"""
|
58059
|
+
:param _TaskId:
|
58060
|
+
:type TaskId: str
|
58061
|
+
:param _Status:
|
58062
|
+
:type Status: str
|
58063
|
+
:param _ErrCode:
|
58064
|
+
:type ErrCode: int
|
58065
|
+
:param _Message:
|
58066
|
+
:type Message: str
|
58067
|
+
:param _SubTaskSet:
|
58068
|
+
:type SubTaskSet: list of MPSSubTaskResult
|
58069
|
+
"""
|
58070
|
+
self._TaskId = None
|
58071
|
+
self._Status = None
|
58072
|
+
self._ErrCode = None
|
58073
|
+
self._Message = None
|
58074
|
+
self._SubTaskSet = None
|
58075
|
+
|
58076
|
+
@property
|
58077
|
+
def TaskId(self):
|
58078
|
+
"""
|
58079
|
+
:rtype: str
|
58080
|
+
"""
|
58081
|
+
return self._TaskId
|
58082
|
+
|
58083
|
+
@TaskId.setter
|
58084
|
+
def TaskId(self, TaskId):
|
58085
|
+
self._TaskId = TaskId
|
58086
|
+
|
58087
|
+
@property
|
58088
|
+
def Status(self):
|
58089
|
+
"""
|
58090
|
+
:rtype: str
|
58091
|
+
"""
|
58092
|
+
return self._Status
|
58093
|
+
|
58094
|
+
@Status.setter
|
58095
|
+
def Status(self, Status):
|
58096
|
+
self._Status = Status
|
58097
|
+
|
58098
|
+
@property
|
58099
|
+
def ErrCode(self):
|
58100
|
+
"""
|
58101
|
+
:rtype: int
|
58102
|
+
"""
|
58103
|
+
return self._ErrCode
|
58104
|
+
|
58105
|
+
@ErrCode.setter
|
58106
|
+
def ErrCode(self, ErrCode):
|
58107
|
+
self._ErrCode = ErrCode
|
58108
|
+
|
58109
|
+
@property
|
58110
|
+
def Message(self):
|
58111
|
+
"""
|
58112
|
+
:rtype: str
|
58113
|
+
"""
|
58114
|
+
return self._Message
|
58115
|
+
|
58116
|
+
@Message.setter
|
58117
|
+
def Message(self, Message):
|
58118
|
+
self._Message = Message
|
58119
|
+
|
58120
|
+
@property
|
58121
|
+
def SubTaskSet(self):
|
58122
|
+
"""
|
58123
|
+
:rtype: list of MPSSubTaskResult
|
58124
|
+
"""
|
58125
|
+
return self._SubTaskSet
|
58126
|
+
|
58127
|
+
@SubTaskSet.setter
|
58128
|
+
def SubTaskSet(self, SubTaskSet):
|
58129
|
+
self._SubTaskSet = SubTaskSet
|
58130
|
+
|
58131
|
+
|
58132
|
+
def _deserialize(self, params):
|
58133
|
+
self._TaskId = params.get("TaskId")
|
58134
|
+
self._Status = params.get("Status")
|
58135
|
+
self._ErrCode = params.get("ErrCode")
|
58136
|
+
self._Message = params.get("Message")
|
58137
|
+
if params.get("SubTaskSet") is not None:
|
58138
|
+
self._SubTaskSet = []
|
58139
|
+
for item in params.get("SubTaskSet"):
|
58140
|
+
obj = MPSSubTaskResult()
|
58141
|
+
obj._deserialize(item)
|
58142
|
+
self._SubTaskSet.append(obj)
|
58143
|
+
memeber_set = set(params.keys())
|
58144
|
+
for name, value in vars(self).items():
|
58145
|
+
property_name = name[1:]
|
58146
|
+
if property_name in memeber_set:
|
58147
|
+
memeber_set.remove(property_name)
|
58148
|
+
if len(memeber_set) > 0:
|
58149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
58150
|
+
|
58151
|
+
|
58152
|
+
|
58153
|
+
class ProcessMediaByMPSRequest(AbstractModel):
|
58154
|
+
"""ProcessMediaByMPS request structure.
|
58155
|
+
|
58156
|
+
"""
|
58157
|
+
|
58158
|
+
def __init__(self):
|
58159
|
+
r"""
|
58160
|
+
:param _FileId: Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media).
|
58161
|
+
:type FileId: str
|
58162
|
+
:param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.</b>
|
58163
|
+
:type SubAppId: int
|
58164
|
+
:param _MPSProcessMediaParams: This parameter is used for passing through to media processing service (MPS) so that video processing tasks can be triggered from VOD.
|
58165
|
+
For detailed information on video processing parameters, please refer to [MPS Initiate Media Processing](https://www.tencentcloud.com/document/product/1041/33640).
|
58166
|
+
Instructions:
|
58167
|
+
1. Currently, only the AiAnalysisTask parameter in the MPS "ProcessMedia" API needs to be configured. Other parameters are not required. If other parameters are included, the system will automatically ignore them.
|
58168
|
+
2. Currently, this is the only method used to initiate Smart Erase tasks. If parameters related to other task types are configured, the system will automatically ignore them.
|
58169
|
+
|
58170
|
+
:type MPSProcessMediaParams: str
|
58171
|
+
"""
|
58172
|
+
self._FileId = None
|
58173
|
+
self._SubAppId = None
|
58174
|
+
self._MPSProcessMediaParams = None
|
58175
|
+
|
58176
|
+
@property
|
58177
|
+
def FileId(self):
|
58178
|
+
"""Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media).
|
58179
|
+
:rtype: str
|
58180
|
+
"""
|
58181
|
+
return self._FileId
|
58182
|
+
|
58183
|
+
@FileId.setter
|
58184
|
+
def FileId(self, FileId):
|
58185
|
+
self._FileId = FileId
|
58186
|
+
|
58187
|
+
@property
|
58188
|
+
def SubAppId(self):
|
58189
|
+
"""<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.</b>
|
58190
|
+
:rtype: int
|
58191
|
+
"""
|
58192
|
+
return self._SubAppId
|
58193
|
+
|
58194
|
+
@SubAppId.setter
|
58195
|
+
def SubAppId(self, SubAppId):
|
58196
|
+
self._SubAppId = SubAppId
|
58197
|
+
|
58198
|
+
@property
|
58199
|
+
def MPSProcessMediaParams(self):
|
58200
|
+
"""This parameter is used for passing through to media processing service (MPS) so that video processing tasks can be triggered from VOD.
|
58201
|
+
For detailed information on video processing parameters, please refer to [MPS Initiate Media Processing](https://www.tencentcloud.com/document/product/1041/33640).
|
58202
|
+
Instructions:
|
58203
|
+
1. Currently, only the AiAnalysisTask parameter in the MPS "ProcessMedia" API needs to be configured. Other parameters are not required. If other parameters are included, the system will automatically ignore them.
|
58204
|
+
2. Currently, this is the only method used to initiate Smart Erase tasks. If parameters related to other task types are configured, the system will automatically ignore them.
|
58205
|
+
|
58206
|
+
:rtype: str
|
58207
|
+
"""
|
58208
|
+
return self._MPSProcessMediaParams
|
58209
|
+
|
58210
|
+
@MPSProcessMediaParams.setter
|
58211
|
+
def MPSProcessMediaParams(self, MPSProcessMediaParams):
|
58212
|
+
self._MPSProcessMediaParams = MPSProcessMediaParams
|
58213
|
+
|
58214
|
+
|
58215
|
+
def _deserialize(self, params):
|
58216
|
+
self._FileId = params.get("FileId")
|
58217
|
+
self._SubAppId = params.get("SubAppId")
|
58218
|
+
self._MPSProcessMediaParams = params.get("MPSProcessMediaParams")
|
58219
|
+
memeber_set = set(params.keys())
|
58220
|
+
for name, value in vars(self).items():
|
58221
|
+
property_name = name[1:]
|
58222
|
+
if property_name in memeber_set:
|
58223
|
+
memeber_set.remove(property_name)
|
58224
|
+
if len(memeber_set) > 0:
|
58225
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
58226
|
+
|
58227
|
+
|
58228
|
+
|
58229
|
+
class ProcessMediaByMPSResponse(AbstractModel):
|
58230
|
+
"""ProcessMediaByMPS response structure.
|
58231
|
+
|
58232
|
+
"""
|
58233
|
+
|
58234
|
+
def __init__(self):
|
58235
|
+
r"""
|
58236
|
+
:param _TaskId: Task ID.
|
58237
|
+
:type TaskId: str
|
58238
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
58239
|
+
:type RequestId: str
|
58240
|
+
"""
|
58241
|
+
self._TaskId = None
|
58242
|
+
self._RequestId = None
|
58243
|
+
|
58244
|
+
@property
|
58245
|
+
def TaskId(self):
|
58246
|
+
"""Task ID.
|
58247
|
+
:rtype: str
|
58248
|
+
"""
|
58249
|
+
return self._TaskId
|
58250
|
+
|
58251
|
+
@TaskId.setter
|
58252
|
+
def TaskId(self, TaskId):
|
58253
|
+
self._TaskId = TaskId
|
58254
|
+
|
58255
|
+
@property
|
58256
|
+
def RequestId(self):
|
58257
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
58258
|
+
:rtype: str
|
58259
|
+
"""
|
58260
|
+
return self._RequestId
|
58261
|
+
|
58262
|
+
@RequestId.setter
|
58263
|
+
def RequestId(self, RequestId):
|
58264
|
+
self._RequestId = RequestId
|
58265
|
+
|
58266
|
+
|
58267
|
+
def _deserialize(self, params):
|
58268
|
+
self._TaskId = params.get("TaskId")
|
58269
|
+
self._RequestId = params.get("RequestId")
|
58270
|
+
|
58271
|
+
|
57765
58272
|
class ProcessMediaByProcedureRequest(AbstractModel):
|
57766
58273
|
"""ProcessMediaByProcedure request structure.
|
57767
58274
|
|
@@ -72913,6 +73420,8 @@ class TraceWatermarkInput(AbstractModel):
|
|
72913
73420
|
|
72914
73421
|
@property
|
72915
73422
|
def Definition(self):
|
73423
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
73424
|
+
|
72916
73425
|
"""This parameter has been deprecated.
|
72917
73426
|
:rtype: int
|
72918
73427
|
"""
|
@@ -72920,6 +73429,8 @@ class TraceWatermarkInput(AbstractModel):
|
|
72920
73429
|
|
72921
73430
|
@Definition.setter
|
72922
73431
|
def Definition(self, Definition):
|
73432
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
73433
|
+
|
72923
73434
|
self._Definition = Definition
|
72924
73435
|
|
72925
73436
|
|
@@ -3681,6 +3681,35 @@ class VodClient(AbstractClient):
|
|
3681
3681
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3682
3682
|
|
3683
3683
|
|
3684
|
+
def ProcessMediaByMPS(self, request):
|
3685
|
+
"""This API is used to utilize the media processing capability of Media Processing Service (MPS) to initiate media processing for videos on VOD. When the task is initiated, relevant MPS parameters must be filled in the MPSProcessMediaParams parameter in JSON format. For detailed task parameter configuration, please refer to the [ProcessMedia API](https://www.tencentcloud.com/document/product/1041/33640).
|
3686
|
+
Currently supported MPS features:
|
3687
|
+
1. [Smart Erase](https://www.tencentcloud.com/document/product/1041/58269): This function blurs, de-blurs, or removes traces of logos, subtitles, faces, and license plates in the video, facilitating content dissemination and sharing. The new media generated by this task will be stored in a new FileId within the sub-application of VOD.
|
3688
|
+
> Media processing tasks initiated in this way:
|
3689
|
+
> 1. Task status and results are still queried on the on-demand platform. Use [DescribeTaskDetail](https://www.tencentcloud.com/document/product/266/34129) or [DescribeTasks](https://www.tencentcloud.com/document/product/266/37559) to query the task.
|
3690
|
+
> 2. Usage and billing for related functions will be provided on the MPS platform. Therefore, you must activate MPS service before using this feature.
|
3691
|
+
> 3. This feature is currently in internal testing. If you would like to test it, please contact us for support.
|
3692
|
+
|
3693
|
+
:param request: Request instance for ProcessMediaByMPS.
|
3694
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPSRequest`
|
3695
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPSResponse`
|
3696
|
+
|
3697
|
+
"""
|
3698
|
+
try:
|
3699
|
+
params = request._serialize()
|
3700
|
+
headers = request.headers
|
3701
|
+
body = self.call("ProcessMediaByMPS", params, headers=headers)
|
3702
|
+
response = json.loads(body)
|
3703
|
+
model = models.ProcessMediaByMPSResponse()
|
3704
|
+
model._deserialize(response["Response"])
|
3705
|
+
return model
|
3706
|
+
except Exception as e:
|
3707
|
+
if isinstance(e, TencentCloudSDKException):
|
3708
|
+
raise
|
3709
|
+
else:
|
3710
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3711
|
+
|
3712
|
+
|
3684
3713
|
def ProcessMediaByProcedure(self, request):
|
3685
3714
|
"""This API is used to start a task flow on a video.
|
3686
3715
|
There are two ways to create a task flow template:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
1
|
+
tencentcloud/__init__.py,sha256=vp4CiaLLbnYERRRdUaaLdz2x4zvGhhPQKG5KJwxnrKA,630
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=fiBV7Nao68T0UJdOUt5BxEABWr7mG_J9NPJT2lXDdyw,2897
|
@@ -647,8 +647,8 @@ tencentcloud/vm/v20210922/vm_client.py,sha256=YUFZCnTs-TSRz76yXh3kvr74xM9N2DdxFW
|
|
647
647
|
tencentcloud/vod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
648
648
|
tencentcloud/vod/v20180717/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
649
649
|
tencentcloud/vod/v20180717/errorcodes.py,sha256=d4VsvfK47UcdqQkXhni982GOIRimYW0cY4ZXMlrcifM,27953
|
650
|
-
tencentcloud/vod/v20180717/models.py,sha256=
|
651
|
-
tencentcloud/vod/v20180717/vod_client.py,sha256=
|
650
|
+
tencentcloud/vod/v20180717/models.py,sha256=WQOlMeQdNdUuee1Xxsmh60BcCOlo-0k3__uj-3-L0kg,2947308
|
651
|
+
tencentcloud/vod/v20180717/vod_client.py,sha256=MRi8rxe7M8mdR6GHDLKwS8ZF2ul7NzL7jOyKH2G88JE,203479
|
652
652
|
tencentcloud/vod/v20240718/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
653
653
|
tencentcloud/vod/v20240718/errorcodes.py,sha256=HeeqhhlsJMXMZo-4bF6Kdzm4VySgiMKy2-2cTOYT4pY,1934
|
654
654
|
tencentcloud/vod/v20240718/models.py,sha256=1gqPwvylljkj6KaMQ3wMEe8JhMm5fC2_W7cLagMo7_s,71970
|
@@ -673,7 +673,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
673
673
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
674
674
|
tencentcloud/yunjing/v20180228/models.py,sha256=vFpNnPGWiOLdTut0XPTpRRF5lobWUTkFUO1EHc9RkBk,330643
|
675
675
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=PqtaJz4gQ-rIxKXVMNtOKx7kFBQdUn-zKVuH2NcMFcA,67362
|
676
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
677
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
678
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
679
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
676
|
+
tencentcloud_sdk_python_intl_en-3.0.1249.dist-info/METADATA,sha256=CTyO93Iv18jpkiy5VRoFVAvR2wZDWGFkP061lavWHD8,1628
|
677
|
+
tencentcloud_sdk_python_intl_en-3.0.1249.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
678
|
+
tencentcloud_sdk_python_intl_en-3.0.1249.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
679
|
+
tencentcloud_sdk_python_intl_en-3.0.1249.dist-info/RECORD,,
|
File without changes
|