tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1267__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/cvm/v20170312/cvm_client.py +52 -0
- tencentcloud/cvm/v20170312/errorcodes.py +12 -0
- tencentcloud/cvm/v20170312/models.py +226 -0
- tencentcloud/faceid/v20180301/models.py +114 -46
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +265 -6
- tencentcloud/mps/v20190612/models.py +351 -28
- tencentcloud/ocr/v20181119/models.py +1237 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/sqlserver/v20180328/errorcodes.py +9 -0
- tencentcloud/sqlserver/v20180328/models.py +1623 -54
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +184 -0
- tencentcloud/teo/v20220901/models.py +28 -126
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/top_level.txt +0 -0
@@ -16783,11 +16783,14 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
16783
16783
|
:type Name: str
|
16784
16784
|
:param _Comment: Template description, with a length limit of 256 characters.
|
16785
16785
|
:type Comment: str
|
16786
|
+
:param _RecordType: Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection. If it is left blank, the default value video is used.
|
16787
|
+
:type RecordType: str
|
16786
16788
|
"""
|
16787
16789
|
self._HLSConfigure = None
|
16788
16790
|
self._MP4Configure = None
|
16789
16791
|
self._Name = None
|
16790
16792
|
self._Comment = None
|
16793
|
+
self._RecordType = None
|
16791
16794
|
|
16792
16795
|
@property
|
16793
16796
|
def HLSConfigure(self):
|
@@ -16833,6 +16836,17 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
16833
16836
|
def Comment(self, Comment):
|
16834
16837
|
self._Comment = Comment
|
16835
16838
|
|
16839
|
+
@property
|
16840
|
+
def RecordType(self):
|
16841
|
+
"""Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection. If it is left blank, the default value video is used.
|
16842
|
+
:rtype: str
|
16843
|
+
"""
|
16844
|
+
return self._RecordType
|
16845
|
+
|
16846
|
+
@RecordType.setter
|
16847
|
+
def RecordType(self, RecordType):
|
16848
|
+
self._RecordType = RecordType
|
16849
|
+
|
16836
16850
|
|
16837
16851
|
def _deserialize(self, params):
|
16838
16852
|
if params.get("HLSConfigure") is not None:
|
@@ -16843,6 +16857,7 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
16843
16857
|
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
16844
16858
|
self._Name = params.get("Name")
|
16845
16859
|
self._Comment = params.get("Comment")
|
16860
|
+
self._RecordType = params.get("RecordType")
|
16846
16861
|
memeber_set = set(params.keys())
|
16847
16862
|
for name, value in vars(self).items():
|
16848
16863
|
property_name = name[1:]
|
@@ -26740,6 +26755,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
26740
26755
|
:type BeginTime: str
|
26741
26756
|
:param _EndTime: End time of the live streaming segment in ISO date and time format.
|
26742
26757
|
:type EndTime: str
|
26758
|
+
:param _Title: Highlight title.
|
26759
|
+
:type Title: str
|
26760
|
+
:param _Summary: Highlight overview.
|
26761
|
+
:type Summary: str
|
26743
26762
|
"""
|
26744
26763
|
self._Confidence = None
|
26745
26764
|
self._StartTimeOffset = None
|
@@ -26747,6 +26766,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
26747
26766
|
self._SegmentTags = None
|
26748
26767
|
self._BeginTime = None
|
26749
26768
|
self._EndTime = None
|
26769
|
+
self._Title = None
|
26770
|
+
self._Summary = None
|
26750
26771
|
|
26751
26772
|
@property
|
26752
26773
|
def Confidence(self):
|
@@ -26815,6 +26836,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
26815
26836
|
def EndTime(self, EndTime):
|
26816
26837
|
self._EndTime = EndTime
|
26817
26838
|
|
26839
|
+
@property
|
26840
|
+
def Title(self):
|
26841
|
+
"""Highlight title.
|
26842
|
+
:rtype: str
|
26843
|
+
"""
|
26844
|
+
return self._Title
|
26845
|
+
|
26846
|
+
@Title.setter
|
26847
|
+
def Title(self, Title):
|
26848
|
+
self._Title = Title
|
26849
|
+
|
26850
|
+
@property
|
26851
|
+
def Summary(self):
|
26852
|
+
"""Highlight overview.
|
26853
|
+
:rtype: str
|
26854
|
+
"""
|
26855
|
+
return self._Summary
|
26856
|
+
|
26857
|
+
@Summary.setter
|
26858
|
+
def Summary(self, Summary):
|
26859
|
+
self._Summary = Summary
|
26860
|
+
|
26818
26861
|
|
26819
26862
|
def _deserialize(self, params):
|
26820
26863
|
self._Confidence = params.get("Confidence")
|
@@ -26823,6 +26866,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
26823
26866
|
self._SegmentTags = params.get("SegmentTags")
|
26824
26867
|
self._BeginTime = params.get("BeginTime")
|
26825
26868
|
self._EndTime = params.get("EndTime")
|
26869
|
+
self._Title = params.get("Title")
|
26870
|
+
self._Summary = params.get("Summary")
|
26826
26871
|
memeber_set = set(params.keys())
|
26827
26872
|
for name, value in vars(self).items():
|
26828
26873
|
property_name = name[1:]
|
@@ -28653,6 +28698,8 @@ class LiveRecordTemplate(AbstractModel):
|
|
28653
28698
|
:type CreateTime: str
|
28654
28699
|
:param _UpdateTime: Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
28655
28700
|
:type UpdateTime: str
|
28701
|
+
:param _RecordType: Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
|
28702
|
+
:type RecordType: str
|
28656
28703
|
"""
|
28657
28704
|
self._Definition = None
|
28658
28705
|
self._HLSConfigure = None
|
@@ -28662,6 +28709,7 @@ class LiveRecordTemplate(AbstractModel):
|
|
28662
28709
|
self._Type = None
|
28663
28710
|
self._CreateTime = None
|
28664
28711
|
self._UpdateTime = None
|
28712
|
+
self._RecordType = None
|
28665
28713
|
|
28666
28714
|
@property
|
28667
28715
|
def Definition(self):
|
@@ -28754,6 +28802,17 @@ class LiveRecordTemplate(AbstractModel):
|
|
28754
28802
|
def UpdateTime(self, UpdateTime):
|
28755
28803
|
self._UpdateTime = UpdateTime
|
28756
28804
|
|
28805
|
+
@property
|
28806
|
+
def RecordType(self):
|
28807
|
+
"""Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
|
28808
|
+
:rtype: str
|
28809
|
+
"""
|
28810
|
+
return self._RecordType
|
28811
|
+
|
28812
|
+
@RecordType.setter
|
28813
|
+
def RecordType(self, RecordType):
|
28814
|
+
self._RecordType = RecordType
|
28815
|
+
|
28757
28816
|
|
28758
28817
|
def _deserialize(self, params):
|
28759
28818
|
self._Definition = params.get("Definition")
|
@@ -28768,6 +28827,7 @@ class LiveRecordTemplate(AbstractModel):
|
|
28768
28827
|
self._Type = params.get("Type")
|
28769
28828
|
self._CreateTime = params.get("CreateTime")
|
28770
28829
|
self._UpdateTime = params.get("UpdateTime")
|
28830
|
+
self._RecordType = params.get("RecordType")
|
28771
28831
|
memeber_set = set(params.keys())
|
28772
28832
|
for name, value in vars(self).items():
|
28773
28833
|
property_name = name[1:]
|
@@ -29107,17 +29167,25 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
|
|
29107
29167
|
|
29108
29168
|
def __init__(self):
|
29109
29169
|
r"""
|
29110
|
-
:param _Type:
|
29170
|
+
:param _Type: Result type. Valid values:
|
29171
|
+
<li>SegmentRecognition: video splitting.</li>
|
29172
|
+
<li>Highlight: highlight.</li>
|
29111
29173
|
:type Type: str
|
29112
29174
|
:param _SegmentResultSet:
|
29113
29175
|
:type SegmentResultSet: list of SegmentRecognitionItem
|
29176
|
+
:param _HighlightResultSet: Highlight result. This field is valid when Type is set to Highlight.
|
29177
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
29178
|
+
:type HighlightResultSet: list of MediaAiAnalysisHighlightItem
|
29114
29179
|
"""
|
29115
29180
|
self._Type = None
|
29116
29181
|
self._SegmentResultSet = None
|
29182
|
+
self._HighlightResultSet = None
|
29117
29183
|
|
29118
29184
|
@property
|
29119
29185
|
def Type(self):
|
29120
|
-
"""
|
29186
|
+
"""Result type. Valid values:
|
29187
|
+
<li>SegmentRecognition: video splitting.</li>
|
29188
|
+
<li>Highlight: highlight.</li>
|
29121
29189
|
:rtype: str
|
29122
29190
|
"""
|
29123
29191
|
return self._Type
|
@@ -29137,6 +29205,18 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
|
|
29137
29205
|
def SegmentResultSet(self, SegmentResultSet):
|
29138
29206
|
self._SegmentResultSet = SegmentResultSet
|
29139
29207
|
|
29208
|
+
@property
|
29209
|
+
def HighlightResultSet(self):
|
29210
|
+
"""Highlight result. This field is valid when Type is set to Highlight.
|
29211
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
29212
|
+
:rtype: list of MediaAiAnalysisHighlightItem
|
29213
|
+
"""
|
29214
|
+
return self._HighlightResultSet
|
29215
|
+
|
29216
|
+
@HighlightResultSet.setter
|
29217
|
+
def HighlightResultSet(self, HighlightResultSet):
|
29218
|
+
self._HighlightResultSet = HighlightResultSet
|
29219
|
+
|
29140
29220
|
|
29141
29221
|
def _deserialize(self, params):
|
29142
29222
|
self._Type = params.get("Type")
|
@@ -29146,6 +29226,12 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
|
|
29146
29226
|
obj = SegmentRecognitionItem()
|
29147
29227
|
obj._deserialize(item)
|
29148
29228
|
self._SegmentResultSet.append(obj)
|
29229
|
+
if params.get("HighlightResultSet") is not None:
|
29230
|
+
self._HighlightResultSet = []
|
29231
|
+
for item in params.get("HighlightResultSet"):
|
29232
|
+
obj = MediaAiAnalysisHighlightItem()
|
29233
|
+
obj._deserialize(item)
|
29234
|
+
self._HighlightResultSet.append(obj)
|
29149
29235
|
memeber_set = set(params.keys())
|
29150
29236
|
for name, value in vars(self).items():
|
29151
29237
|
property_name = name[1:]
|
@@ -31229,22 +31315,21 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
31229
31315
|
|
31230
31316
|
def __init__(self):
|
31231
31317
|
r"""
|
31232
|
-
:param _NotifyType: Notification
|
31233
|
-
|
31234
|
-
"
|
31235
|
-
"URL": When a URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl. The callback protocol is http+json. The content of the packet body is the same as the output parameters of the [ParseLiveStreamProcessNotification API](https://intl.cloud.tencent.com/document/product/862/39229?from_cn_redirect=1).
|
31318
|
+
:param _NotifyType: Notification Type:
|
31319
|
+
TDMQ-CMQ: TDMQ for CMQ.
|
31320
|
+
"URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.comom/document/product/862/39229?from_cn_redirect=1).
|
31236
31321
|
|
31237
|
-
<font color="red">Note: If left blank,
|
31322
|
+
<font color="red">Note: If it is left blank, TDMQ-CMQ is used by default. To use other types, fill in the corresponding type value.</font>
|
31238
31323
|
:type NotifyType: str
|
31239
31324
|
:param _NotifyUrl: HTTP callback URL, required if `NotifyType` is set to `URL`
|
31240
31325
|
:type NotifyUrl: str
|
31241
|
-
:param _CmqModel:
|
31326
|
+
:param _CmqModel: Queue and Topic models are provided.
|
31242
31327
|
:type CmqModel: str
|
31243
|
-
:param _CmqRegion: CMQ
|
31328
|
+
:param _CmqRegion: Region when NotifyType is set to TDMQ-CMQ. For example, sh or bj.
|
31244
31329
|
:type CmqRegion: str
|
31245
|
-
:param _QueueName: This
|
31330
|
+
:param _QueueName: This field is valid when the model is Queue. It indicates the name of the TDMQ for CMQ queue for receiving event notifications.
|
31246
31331
|
:type QueueName: str
|
31247
|
-
:param _TopicName: This
|
31332
|
+
:param _TopicName: This field is valid when the model is Topic. It indicates the name of the TDMQ for CMQ topic for receiving event notifications.
|
31248
31333
|
:type TopicName: str
|
31249
31334
|
:param _NotifyKey: Key used to generate a callback signature.
|
31250
31335
|
Note: This field may return null, indicating that no valid values can be obtained.
|
@@ -31260,12 +31345,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
31260
31345
|
|
31261
31346
|
@property
|
31262
31347
|
def NotifyType(self):
|
31263
|
-
"""Notification
|
31348
|
+
"""Notification Type:
|
31349
|
+
TDMQ-CMQ: TDMQ for CMQ.
|
31350
|
+
"URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.comom/document/product/862/39229?from_cn_redirect=1).
|
31264
31351
|
|
31265
|
-
"
|
31266
|
-
"URL": When a URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl. The callback protocol is http+json. The content of the packet body is the same as the output parameters of the [ParseLiveStreamProcessNotification API](https://intl.cloud.tencent.com/document/product/862/39229?from_cn_redirect=1).
|
31267
|
-
|
31268
|
-
<font color="red">Note: If left blank, it is CMQ by default. To use the other type, you need to fill in the corresponding type value.</font>
|
31352
|
+
<font color="red">Note: If it is left blank, TDMQ-CMQ is used by default. To use other types, fill in the corresponding type value.</font>
|
31269
31353
|
:rtype: str
|
31270
31354
|
"""
|
31271
31355
|
return self._NotifyType
|
@@ -31287,7 +31371,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
31287
31371
|
|
31288
31372
|
@property
|
31289
31373
|
def CmqModel(self):
|
31290
|
-
"""
|
31374
|
+
"""Queue and Topic models are provided.
|
31291
31375
|
:rtype: str
|
31292
31376
|
"""
|
31293
31377
|
return self._CmqModel
|
@@ -31298,7 +31382,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
31298
31382
|
|
31299
31383
|
@property
|
31300
31384
|
def CmqRegion(self):
|
31301
|
-
"""CMQ
|
31385
|
+
"""Region when NotifyType is set to TDMQ-CMQ. For example, sh or bj.
|
31302
31386
|
:rtype: str
|
31303
31387
|
"""
|
31304
31388
|
return self._CmqRegion
|
@@ -31309,7 +31393,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
31309
31393
|
|
31310
31394
|
@property
|
31311
31395
|
def QueueName(self):
|
31312
|
-
"""This
|
31396
|
+
"""This field is valid when the model is Queue. It indicates the name of the TDMQ for CMQ queue for receiving event notifications.
|
31313
31397
|
:rtype: str
|
31314
31398
|
"""
|
31315
31399
|
return self._QueueName
|
@@ -31320,7 +31404,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
31320
31404
|
|
31321
31405
|
@property
|
31322
31406
|
def TopicName(self):
|
31323
|
-
"""This
|
31407
|
+
"""This field is valid when the model is Topic. It indicates the name of the TDMQ for CMQ topic for receiving event notifications.
|
31324
31408
|
:rtype: str
|
31325
31409
|
"""
|
31326
31410
|
return self._TopicName
|
@@ -32082,12 +32166,20 @@ class MediaAiAnalysisHighlightItem(AbstractModel):
|
|
32082
32166
|
:type Duration: float
|
32083
32167
|
:param _SegmentSet: A list of the highlight segments.
|
32084
32168
|
:type SegmentSet: list of HighlightSegmentItem
|
32169
|
+
:param _HighlightUrl: Intelligent highlight address.
|
32170
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
32171
|
+
:type HighlightUrl: str
|
32172
|
+
:param _CovImgUrl: Intelligent highlight cover address.
|
32173
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
32174
|
+
:type CovImgUrl: str
|
32085
32175
|
"""
|
32086
32176
|
self._HighlightPath = None
|
32087
32177
|
self._CovImgPath = None
|
32088
32178
|
self._Confidence = None
|
32089
32179
|
self._Duration = None
|
32090
32180
|
self._SegmentSet = None
|
32181
|
+
self._HighlightUrl = None
|
32182
|
+
self._CovImgUrl = None
|
32091
32183
|
|
32092
32184
|
@property
|
32093
32185
|
def HighlightPath(self):
|
@@ -32144,6 +32236,30 @@ class MediaAiAnalysisHighlightItem(AbstractModel):
|
|
32144
32236
|
def SegmentSet(self, SegmentSet):
|
32145
32237
|
self._SegmentSet = SegmentSet
|
32146
32238
|
|
32239
|
+
@property
|
32240
|
+
def HighlightUrl(self):
|
32241
|
+
"""Intelligent highlight address.
|
32242
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
32243
|
+
:rtype: str
|
32244
|
+
"""
|
32245
|
+
return self._HighlightUrl
|
32246
|
+
|
32247
|
+
@HighlightUrl.setter
|
32248
|
+
def HighlightUrl(self, HighlightUrl):
|
32249
|
+
self._HighlightUrl = HighlightUrl
|
32250
|
+
|
32251
|
+
@property
|
32252
|
+
def CovImgUrl(self):
|
32253
|
+
"""Intelligent highlight cover address.
|
32254
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
32255
|
+
:rtype: str
|
32256
|
+
"""
|
32257
|
+
return self._CovImgUrl
|
32258
|
+
|
32259
|
+
@CovImgUrl.setter
|
32260
|
+
def CovImgUrl(self, CovImgUrl):
|
32261
|
+
self._CovImgUrl = CovImgUrl
|
32262
|
+
|
32147
32263
|
|
32148
32264
|
def _deserialize(self, params):
|
32149
32265
|
self._HighlightPath = params.get("HighlightPath")
|
@@ -32156,6 +32272,8 @@ class MediaAiAnalysisHighlightItem(AbstractModel):
|
|
32156
32272
|
obj = HighlightSegmentItem()
|
32157
32273
|
obj._deserialize(item)
|
32158
32274
|
self._SegmentSet.append(obj)
|
32275
|
+
self._HighlightUrl = params.get("HighlightUrl")
|
32276
|
+
self._CovImgUrl = params.get("CovImgUrl")
|
32159
32277
|
memeber_set = set(params.keys())
|
32160
32278
|
for name, value in vars(self).items():
|
32161
32279
|
property_name = name[1:]
|
@@ -36775,12 +36893,15 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
36775
36893
|
:type Name: str
|
36776
36894
|
:param _Comment: Template description, with a length limit of 256 characters.
|
36777
36895
|
:type Comment: str
|
36896
|
+
:param _RecordType: Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
|
36897
|
+
:type RecordType: str
|
36778
36898
|
"""
|
36779
36899
|
self._Definition = None
|
36780
36900
|
self._HLSConfigure = None
|
36781
36901
|
self._MP4Configure = None
|
36782
36902
|
self._Name = None
|
36783
36903
|
self._Comment = None
|
36904
|
+
self._RecordType = None
|
36784
36905
|
|
36785
36906
|
@property
|
36786
36907
|
def Definition(self):
|
@@ -36837,6 +36958,17 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
36837
36958
|
def Comment(self, Comment):
|
36838
36959
|
self._Comment = Comment
|
36839
36960
|
|
36961
|
+
@property
|
36962
|
+
def RecordType(self):
|
36963
|
+
"""Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
|
36964
|
+
:rtype: str
|
36965
|
+
"""
|
36966
|
+
return self._RecordType
|
36967
|
+
|
36968
|
+
@RecordType.setter
|
36969
|
+
def RecordType(self, RecordType):
|
36970
|
+
self._RecordType = RecordType
|
36971
|
+
|
36840
36972
|
|
36841
36973
|
def _deserialize(self, params):
|
36842
36974
|
self._Definition = params.get("Definition")
|
@@ -36848,6 +36980,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
36848
36980
|
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
36849
36981
|
self._Name = params.get("Name")
|
36850
36982
|
self._Comment = params.get("Comment")
|
36983
|
+
self._RecordType = params.get("RecordType")
|
36851
36984
|
memeber_set = set(params.keys())
|
36852
36985
|
for name, value in vars(self).items():
|
36853
36986
|
property_name = name[1:]
|
@@ -43297,6 +43430,9 @@ Default value: 0.
|
|
43297
43430
|
:param _EnhanceConfig: Audio/Video enhancement configuration.
|
43298
43431
|
Note: This field may return null, indicating that no valid value can be obtained.
|
43299
43432
|
:type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
|
43433
|
+
:param _SubtitleTemplate: Subtitle parameter.
|
43434
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
43435
|
+
:type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
43300
43436
|
"""
|
43301
43437
|
self._Container = None
|
43302
43438
|
self._RemoveVideo = None
|
@@ -43306,6 +43442,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
43306
43442
|
self._TEHDConfig = None
|
43307
43443
|
self._StdExtInfo = None
|
43308
43444
|
self._EnhanceConfig = None
|
43445
|
+
self._SubtitleTemplate = None
|
43309
43446
|
|
43310
43447
|
@property
|
43311
43448
|
def Container(self):
|
@@ -43402,6 +43539,18 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
43402
43539
|
def EnhanceConfig(self, EnhanceConfig):
|
43403
43540
|
self._EnhanceConfig = EnhanceConfig
|
43404
43541
|
|
43542
|
+
@property
|
43543
|
+
def SubtitleTemplate(self):
|
43544
|
+
"""Subtitle parameter.
|
43545
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
43546
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
43547
|
+
"""
|
43548
|
+
return self._SubtitleTemplate
|
43549
|
+
|
43550
|
+
@SubtitleTemplate.setter
|
43551
|
+
def SubtitleTemplate(self, SubtitleTemplate):
|
43552
|
+
self._SubtitleTemplate = SubtitleTemplate
|
43553
|
+
|
43405
43554
|
|
43406
43555
|
def _deserialize(self, params):
|
43407
43556
|
self._Container = params.get("Container")
|
@@ -43420,6 +43569,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
43420
43569
|
if params.get("EnhanceConfig") is not None:
|
43421
43570
|
self._EnhanceConfig = EnhanceConfig()
|
43422
43571
|
self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
|
43572
|
+
if params.get("SubtitleTemplate") is not None:
|
43573
|
+
self._SubtitleTemplate = SubtitleTemplate()
|
43574
|
+
self._SubtitleTemplate._deserialize(params.get("SubtitleTemplate"))
|
43423
43575
|
memeber_set = set(params.keys())
|
43424
43576
|
for name, value in vars(self).items():
|
43425
43577
|
property_name = name[1:]
|
@@ -48130,6 +48282,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
48130
48282
|
|
48131
48283
|
Note: This field may return null, indicating that no valid value can be obtained.
|
48132
48284
|
:type StreamIndex: int
|
48285
|
+
:param _SubtitleFileInput: Input information on the subtitle file to be embedded into the video. Currently, only subtitle files stored in COS are supported.
|
48286
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48287
|
+
:type SubtitleFileInput: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
48133
48288
|
:param _FontType: Font type. valid values:.
|
48134
48289
|
<li>hei.ttf: simhei.</li>.
|
48135
48290
|
<li>song.ttf: simsun.</li>.
|
@@ -48205,9 +48360,34 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
48205
48360
|
Default value: 0.8.
|
48206
48361
|
Note: This field may return null, indicating that no valid value can be obtained.
|
48207
48362
|
:type BoardAlpha: float
|
48363
|
+
:param _OutlineWidth: Stroke width.
|
48364
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48365
|
+
:type OutlineWidth: float
|
48366
|
+
:param _OutlineColor: Stroke color. The value should be a 6-digit hexadecimal RGB value.
|
48367
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48368
|
+
:type OutlineColor: str
|
48369
|
+
:param _OutlineAlpha: Stroke transparency. The value should be a positive floating-point number in the range of (0, 1].
|
48370
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48371
|
+
:type OutlineAlpha: float
|
48372
|
+
:param _ShadowWidth: Shadow width. The value should be a floating-point number in the range of [0, 1000].
|
48373
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48374
|
+
:type ShadowWidth: float
|
48375
|
+
:param _ShadowColor: Shadow color. The value should be a 6-digit hexadecimal RGB value.
|
48376
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48377
|
+
:type ShadowColor: str
|
48378
|
+
:param _ShadowAlpha: Shadow transparency. The value should be a positive floating-point number in the range of (0, 1].
|
48379
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48380
|
+
:type ShadowAlpha: float
|
48381
|
+
:param _LineSpacing: Line spacing. The value should be a positive integer in the range of [0, 1000].
|
48382
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48383
|
+
:type LineSpacing: int
|
48384
|
+
:param _Alignment: Alignment mode. Valid values: top alignment. The top position of subtitles is fixed, while the bottom position changes according to the number of lines. bottom: bottom alignment. The bottom position of subtitles is fixed, while the top position changes according to the number of lines.
|
48385
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48386
|
+
:type Alignment: str
|
48208
48387
|
"""
|
48209
48388
|
self._Path = None
|
48210
48389
|
self._StreamIndex = None
|
48390
|
+
self._SubtitleFileInput = None
|
48211
48391
|
self._FontType = None
|
48212
48392
|
self._FontSize = None
|
48213
48393
|
self._FontColor = None
|
@@ -48218,6 +48398,14 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
48218
48398
|
self._BoardHeight = None
|
48219
48399
|
self._BoardColor = None
|
48220
48400
|
self._BoardAlpha = None
|
48401
|
+
self._OutlineWidth = None
|
48402
|
+
self._OutlineColor = None
|
48403
|
+
self._OutlineAlpha = None
|
48404
|
+
self._ShadowWidth = None
|
48405
|
+
self._ShadowColor = None
|
48406
|
+
self._ShadowAlpha = None
|
48407
|
+
self._LineSpacing = None
|
48408
|
+
self._Alignment = None
|
48221
48409
|
|
48222
48410
|
@property
|
48223
48411
|
def Path(self):
|
@@ -48247,6 +48435,18 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
48247
48435
|
def StreamIndex(self, StreamIndex):
|
48248
48436
|
self._StreamIndex = StreamIndex
|
48249
48437
|
|
48438
|
+
@property
|
48439
|
+
def SubtitleFileInput(self):
|
48440
|
+
"""Input information on the subtitle file to be embedded into the video. Currently, only subtitle files stored in COS are supported.
|
48441
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48442
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
48443
|
+
"""
|
48444
|
+
return self._SubtitleFileInput
|
48445
|
+
|
48446
|
+
@SubtitleFileInput.setter
|
48447
|
+
def SubtitleFileInput(self, SubtitleFileInput):
|
48448
|
+
self._SubtitleFileInput = SubtitleFileInput
|
48449
|
+
|
48250
48450
|
@property
|
48251
48451
|
def FontType(self):
|
48252
48452
|
"""Font type. valid values:.
|
@@ -48412,10 +48612,109 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
48412
48612
|
def BoardAlpha(self, BoardAlpha):
|
48413
48613
|
self._BoardAlpha = BoardAlpha
|
48414
48614
|
|
48615
|
+
@property
|
48616
|
+
def OutlineWidth(self):
|
48617
|
+
"""Stroke width.
|
48618
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48619
|
+
:rtype: float
|
48620
|
+
"""
|
48621
|
+
return self._OutlineWidth
|
48622
|
+
|
48623
|
+
@OutlineWidth.setter
|
48624
|
+
def OutlineWidth(self, OutlineWidth):
|
48625
|
+
self._OutlineWidth = OutlineWidth
|
48626
|
+
|
48627
|
+
@property
|
48628
|
+
def OutlineColor(self):
|
48629
|
+
"""Stroke color. The value should be a 6-digit hexadecimal RGB value.
|
48630
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48631
|
+
:rtype: str
|
48632
|
+
"""
|
48633
|
+
return self._OutlineColor
|
48634
|
+
|
48635
|
+
@OutlineColor.setter
|
48636
|
+
def OutlineColor(self, OutlineColor):
|
48637
|
+
self._OutlineColor = OutlineColor
|
48638
|
+
|
48639
|
+
@property
|
48640
|
+
def OutlineAlpha(self):
|
48641
|
+
"""Stroke transparency. The value should be a positive floating-point number in the range of (0, 1].
|
48642
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48643
|
+
:rtype: float
|
48644
|
+
"""
|
48645
|
+
return self._OutlineAlpha
|
48646
|
+
|
48647
|
+
@OutlineAlpha.setter
|
48648
|
+
def OutlineAlpha(self, OutlineAlpha):
|
48649
|
+
self._OutlineAlpha = OutlineAlpha
|
48650
|
+
|
48651
|
+
@property
|
48652
|
+
def ShadowWidth(self):
|
48653
|
+
"""Shadow width. The value should be a floating-point number in the range of [0, 1000].
|
48654
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48655
|
+
:rtype: float
|
48656
|
+
"""
|
48657
|
+
return self._ShadowWidth
|
48658
|
+
|
48659
|
+
@ShadowWidth.setter
|
48660
|
+
def ShadowWidth(self, ShadowWidth):
|
48661
|
+
self._ShadowWidth = ShadowWidth
|
48662
|
+
|
48663
|
+
@property
|
48664
|
+
def ShadowColor(self):
|
48665
|
+
"""Shadow color. The value should be a 6-digit hexadecimal RGB value.
|
48666
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48667
|
+
:rtype: str
|
48668
|
+
"""
|
48669
|
+
return self._ShadowColor
|
48670
|
+
|
48671
|
+
@ShadowColor.setter
|
48672
|
+
def ShadowColor(self, ShadowColor):
|
48673
|
+
self._ShadowColor = ShadowColor
|
48674
|
+
|
48675
|
+
@property
|
48676
|
+
def ShadowAlpha(self):
|
48677
|
+
"""Shadow transparency. The value should be a positive floating-point number in the range of (0, 1].
|
48678
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48679
|
+
:rtype: float
|
48680
|
+
"""
|
48681
|
+
return self._ShadowAlpha
|
48682
|
+
|
48683
|
+
@ShadowAlpha.setter
|
48684
|
+
def ShadowAlpha(self, ShadowAlpha):
|
48685
|
+
self._ShadowAlpha = ShadowAlpha
|
48686
|
+
|
48687
|
+
@property
|
48688
|
+
def LineSpacing(self):
|
48689
|
+
"""Line spacing. The value should be a positive integer in the range of [0, 1000].
|
48690
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48691
|
+
:rtype: int
|
48692
|
+
"""
|
48693
|
+
return self._LineSpacing
|
48694
|
+
|
48695
|
+
@LineSpacing.setter
|
48696
|
+
def LineSpacing(self, LineSpacing):
|
48697
|
+
self._LineSpacing = LineSpacing
|
48698
|
+
|
48699
|
+
@property
|
48700
|
+
def Alignment(self):
|
48701
|
+
"""Alignment mode. Valid values: top alignment. The top position of subtitles is fixed, while the bottom position changes according to the number of lines. bottom: bottom alignment. The bottom position of subtitles is fixed, while the top position changes according to the number of lines.
|
48702
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
48703
|
+
:rtype: str
|
48704
|
+
"""
|
48705
|
+
return self._Alignment
|
48706
|
+
|
48707
|
+
@Alignment.setter
|
48708
|
+
def Alignment(self, Alignment):
|
48709
|
+
self._Alignment = Alignment
|
48710
|
+
|
48415
48711
|
|
48416
48712
|
def _deserialize(self, params):
|
48417
48713
|
self._Path = params.get("Path")
|
48418
48714
|
self._StreamIndex = params.get("StreamIndex")
|
48715
|
+
if params.get("SubtitleFileInput") is not None:
|
48716
|
+
self._SubtitleFileInput = MediaInputInfo()
|
48717
|
+
self._SubtitleFileInput._deserialize(params.get("SubtitleFileInput"))
|
48419
48718
|
self._FontType = params.get("FontType")
|
48420
48719
|
self._FontSize = params.get("FontSize")
|
48421
48720
|
self._FontColor = params.get("FontColor")
|
@@ -48426,6 +48725,14 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
48426
48725
|
self._BoardHeight = params.get("BoardHeight")
|
48427
48726
|
self._BoardColor = params.get("BoardColor")
|
48428
48727
|
self._BoardAlpha = params.get("BoardAlpha")
|
48728
|
+
self._OutlineWidth = params.get("OutlineWidth")
|
48729
|
+
self._OutlineColor = params.get("OutlineColor")
|
48730
|
+
self._OutlineAlpha = params.get("OutlineAlpha")
|
48731
|
+
self._ShadowWidth = params.get("ShadowWidth")
|
48732
|
+
self._ShadowColor = params.get("ShadowColor")
|
48733
|
+
self._ShadowAlpha = params.get("ShadowAlpha")
|
48734
|
+
self._LineSpacing = params.get("LineSpacing")
|
48735
|
+
self._Alignment = params.get("Alignment")
|
48429
48736
|
memeber_set = set(params.keys())
|
48430
48737
|
for name, value in vars(self).items():
|
48431
48738
|
property_name = name[1:]
|
@@ -49924,17 +50231,25 @@ class TimeSpotCheck(AbstractModel):
|
|
49924
50231
|
|
49925
50232
|
def __init__(self):
|
49926
50233
|
r"""
|
49927
|
-
:param _CheckDuration: Duration of each loop detection
|
50234
|
+
:param _CheckDuration: Duration of each loop detection, in seconds. Value range:
|
49928
50235
|
|
49929
50236
|
- Minimum value: 10.
|
49930
50237
|
- Maximum value: 86400.
|
49931
50238
|
|
49932
50239
|
:type CheckDuration: int
|
49933
|
-
:param _CheckInterval: Detection interval
|
50240
|
+
:param _CheckInterval: Detection interval, in seconds. It indicates the duration after a detection is completed and before the next detection is conducted. Value range:
|
50241
|
+
- Minimum value: 10.
|
50242
|
+
- Maximum value: 3600.
|
49934
50243
|
:type CheckInterval: int
|
49935
|
-
:param _SkipDuration:
|
50244
|
+
:param _SkipDuration: Skipped opening duration, in seconds. Value range:
|
50245
|
+
- Minimum value: 1.
|
50246
|
+
- Maximum value: 1800.
|
49936
50247
|
:type SkipDuration: int
|
49937
|
-
:param _CirclesNumber: Number of loops.
|
50248
|
+
:param _CirclesNumber: Number of loops. Value range:
|
50249
|
+
- Minimum value: 0.
|
50250
|
+
- Maximum value: 1000.
|
50251
|
+
|
50252
|
+
If the value is 0 or not specified, it indicates that loops are executed until the video ends.
|
49938
50253
|
:type CirclesNumber: int
|
49939
50254
|
"""
|
49940
50255
|
self._CheckDuration = None
|
@@ -49944,7 +50259,7 @@ class TimeSpotCheck(AbstractModel):
|
|
49944
50259
|
|
49945
50260
|
@property
|
49946
50261
|
def CheckDuration(self):
|
49947
|
-
"""Duration of each loop detection
|
50262
|
+
"""Duration of each loop detection, in seconds. Value range:
|
49948
50263
|
|
49949
50264
|
- Minimum value: 10.
|
49950
50265
|
- Maximum value: 86400.
|
@@ -49959,7 +50274,9 @@ class TimeSpotCheck(AbstractModel):
|
|
49959
50274
|
|
49960
50275
|
@property
|
49961
50276
|
def CheckInterval(self):
|
49962
|
-
"""Detection interval
|
50277
|
+
"""Detection interval, in seconds. It indicates the duration after a detection is completed and before the next detection is conducted. Value range:
|
50278
|
+
- Minimum value: 10.
|
50279
|
+
- Maximum value: 3600.
|
49963
50280
|
:rtype: int
|
49964
50281
|
"""
|
49965
50282
|
return self._CheckInterval
|
@@ -49970,7 +50287,9 @@ class TimeSpotCheck(AbstractModel):
|
|
49970
50287
|
|
49971
50288
|
@property
|
49972
50289
|
def SkipDuration(self):
|
49973
|
-
"""
|
50290
|
+
"""Skipped opening duration, in seconds. Value range:
|
50291
|
+
- Minimum value: 1.
|
50292
|
+
- Maximum value: 1800.
|
49974
50293
|
:rtype: int
|
49975
50294
|
"""
|
49976
50295
|
return self._SkipDuration
|
@@ -49981,7 +50300,11 @@ class TimeSpotCheck(AbstractModel):
|
|
49981
50300
|
|
49982
50301
|
@property
|
49983
50302
|
def CirclesNumber(self):
|
49984
|
-
"""Number of loops.
|
50303
|
+
"""Number of loops. Value range:
|
50304
|
+
- Minimum value: 0.
|
50305
|
+
- Maximum value: 1000.
|
50306
|
+
|
50307
|
+
If the value is 0 or not specified, it indicates that loops are executed until the video ends.
|
49985
50308
|
:rtype: int
|
49986
50309
|
"""
|
49987
50310
|
return self._CirclesNumber
|