tencentcloud-sdk-python 3.0.1275__py2.py3-none-any.whl → 3.0.1276__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/autoscaling/v20180419/models.py +15 -0
- tencentcloud/batch/v20170312/models.py +48 -68
- tencentcloud/billing/v20180709/models.py +45 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +732 -48
- tencentcloud/cdwdoris/v20211228/models.py +2 -2
- tencentcloud/cfs/v20190719/models.py +30 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +490 -324
- tencentcloud/cloudapp/v20220530/models.py +4 -4
- tencentcloud/cvm/v20170312/models.py +48 -68
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/models.py +226 -4
- tencentcloud/dts/v20211206/models.py +30 -0
- tencentcloud/emr/v20190103/models.py +33 -16
- tencentcloud/ess/v20201111/models.py +242 -0
- tencentcloud/essbasic/v20210526/models.py +241 -6
- tencentcloud/faceid/v20180301/models.py +0 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +591 -0
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +286 -6
- tencentcloud/ivld/v20210903/ivld_client.py +0 -1
- tencentcloud/ivld/v20210903/models.py +133 -15
- tencentcloud/lcic/v20220817/models.py +2 -8
- tencentcloud/live/v20180801/errorcodes.py +18 -0
- tencentcloud/live/v20180801/live_client.py +208 -0
- tencentcloud/live/v20180801/models.py +1649 -255
- tencentcloud/lke/v20231130/lke_client.py +161 -0
- tencentcloud/lke/v20231130/models.py +1517 -187
- tencentcloud/mps/v20190612/errorcodes.py +2 -173
- tencentcloud/mps/v20190612/models.py +377 -17
- tencentcloud/mrs/v20200910/models.py +0 -2652
- tencentcloud/ocr/v20181119/models.py +0 -273
- tencentcloud/ocr/v20181119/ocr_client.py +0 -23
- tencentcloud/organization/v20210331/models.py +2 -24
- tencentcloud/privatedns/v20201028/models.py +47 -0
- tencentcloud/rce/v20201103/models.py +2 -2
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +366 -18
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- tencentcloud/tke/v20220501/models.py +200 -0
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +24 -24
- tencentcloud/trtc/v20190722/models.py +230 -0
- tencentcloud/tsf/v20180326/models.py +2405 -334
- tencentcloud/tsf/v20180326/tsf_client.py +3 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vclm/v20240523/models.py +156 -10
- tencentcloud/vclm/v20240523/vclm_client.py +23 -0
- tencentcloud/vcube/__init__.py +0 -0
- tencentcloud/vcube/v20220410/__init__.py +0 -0
- tencentcloud/vcube/v20220410/errorcodes.py +72 -0
- tencentcloud/vcube/v20220410/models.py +7325 -0
- tencentcloud/vcube/v20220410/vcube_client.py +808 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vod/v20180717/errorcodes.py +6 -0
- tencentcloud/vod/v20180717/models.py +62 -2
- tencentcloud/vod/v20180717/vod_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +272 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/RECORD +71 -66
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/top_level.txt +0 -0
@@ -4961,11 +4961,14 @@ class AiRecognitionTaskAsrFullTextSegmentItem(AbstractModel):
|
|
4961
4961
|
:type EndTimeOffset: float
|
4962
4962
|
:param _Text: 识别文本。
|
4963
4963
|
:type Text: str
|
4964
|
+
:param _Wordlist: 字词时间戳信息。
|
4965
|
+
:type Wordlist: list of WordResult
|
4964
4966
|
"""
|
4965
4967
|
self._Confidence = None
|
4966
4968
|
self._StartTimeOffset = None
|
4967
4969
|
self._EndTimeOffset = None
|
4968
4970
|
self._Text = None
|
4971
|
+
self._Wordlist = None
|
4969
4972
|
|
4970
4973
|
@property
|
4971
4974
|
def Confidence(self):
|
@@ -5011,12 +5014,29 @@ class AiRecognitionTaskAsrFullTextSegmentItem(AbstractModel):
|
|
5011
5014
|
def Text(self, Text):
|
5012
5015
|
self._Text = Text
|
5013
5016
|
|
5017
|
+
@property
|
5018
|
+
def Wordlist(self):
|
5019
|
+
"""字词时间戳信息。
|
5020
|
+
:rtype: list of WordResult
|
5021
|
+
"""
|
5022
|
+
return self._Wordlist
|
5023
|
+
|
5024
|
+
@Wordlist.setter
|
5025
|
+
def Wordlist(self, Wordlist):
|
5026
|
+
self._Wordlist = Wordlist
|
5027
|
+
|
5014
5028
|
|
5015
5029
|
def _deserialize(self, params):
|
5016
5030
|
self._Confidence = params.get("Confidence")
|
5017
5031
|
self._StartTimeOffset = params.get("StartTimeOffset")
|
5018
5032
|
self._EndTimeOffset = params.get("EndTimeOffset")
|
5019
5033
|
self._Text = params.get("Text")
|
5034
|
+
if params.get("Wordlist") is not None:
|
5035
|
+
self._Wordlist = []
|
5036
|
+
for item in params.get("Wordlist"):
|
5037
|
+
obj = WordResult()
|
5038
|
+
obj._deserialize(item)
|
5039
|
+
self._Wordlist.append(obj)
|
5020
5040
|
memeber_set = set(params.keys())
|
5021
5041
|
for name, value in vars(self).items():
|
5022
5042
|
property_name = name[1:]
|
@@ -5882,8 +5902,11 @@ class AiRecognitionTaskInput(AbstractModel):
|
|
5882
5902
|
r"""
|
5883
5903
|
:param _Definition: 视频智能识别模板 ID 。
|
5884
5904
|
:type Definition: int
|
5905
|
+
:param _UserExtPara: 用户扩展字段,一般场景不用填。
|
5906
|
+
:type UserExtPara: str
|
5885
5907
|
"""
|
5886
5908
|
self._Definition = None
|
5909
|
+
self._UserExtPara = None
|
5887
5910
|
|
5888
5911
|
@property
|
5889
5912
|
def Definition(self):
|
@@ -5896,9 +5919,21 @@ class AiRecognitionTaskInput(AbstractModel):
|
|
5896
5919
|
def Definition(self, Definition):
|
5897
5920
|
self._Definition = Definition
|
5898
5921
|
|
5922
|
+
@property
|
5923
|
+
def UserExtPara(self):
|
5924
|
+
"""用户扩展字段,一般场景不用填。
|
5925
|
+
:rtype: str
|
5926
|
+
"""
|
5927
|
+
return self._UserExtPara
|
5928
|
+
|
5929
|
+
@UserExtPara.setter
|
5930
|
+
def UserExtPara(self, UserExtPara):
|
5931
|
+
self._UserExtPara = UserExtPara
|
5932
|
+
|
5899
5933
|
|
5900
5934
|
def _deserialize(self, params):
|
5901
5935
|
self._Definition = params.get("Definition")
|
5936
|
+
self._UserExtPara = params.get("UserExtPara")
|
5902
5937
|
memeber_set = set(params.keys())
|
5903
5938
|
for name, value in vars(self).items():
|
5904
5939
|
property_name = name[1:]
|
@@ -7130,12 +7165,15 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
|
|
7130
7165
|
:type Text: str
|
7131
7166
|
:param _Trans: 翻译文本。
|
7132
7167
|
:type Trans: str
|
7168
|
+
:param _Wordlist: 字词时间戳信息。
|
7169
|
+
:type Wordlist: list of WordResult
|
7133
7170
|
"""
|
7134
7171
|
self._Confidence = None
|
7135
7172
|
self._StartTimeOffset = None
|
7136
7173
|
self._EndTimeOffset = None
|
7137
7174
|
self._Text = None
|
7138
7175
|
self._Trans = None
|
7176
|
+
self._Wordlist = None
|
7139
7177
|
|
7140
7178
|
@property
|
7141
7179
|
def Confidence(self):
|
@@ -7192,6 +7230,17 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
|
|
7192
7230
|
def Trans(self, Trans):
|
7193
7231
|
self._Trans = Trans
|
7194
7232
|
|
7233
|
+
@property
|
7234
|
+
def Wordlist(self):
|
7235
|
+
"""字词时间戳信息。
|
7236
|
+
:rtype: list of WordResult
|
7237
|
+
"""
|
7238
|
+
return self._Wordlist
|
7239
|
+
|
7240
|
+
@Wordlist.setter
|
7241
|
+
def Wordlist(self, Wordlist):
|
7242
|
+
self._Wordlist = Wordlist
|
7243
|
+
|
7195
7244
|
|
7196
7245
|
def _deserialize(self, params):
|
7197
7246
|
self._Confidence = params.get("Confidence")
|
@@ -7199,6 +7248,12 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
|
|
7199
7248
|
self._EndTimeOffset = params.get("EndTimeOffset")
|
7200
7249
|
self._Text = params.get("Text")
|
7201
7250
|
self._Trans = params.get("Trans")
|
7251
|
+
if params.get("Wordlist") is not None:
|
7252
|
+
self._Wordlist = []
|
7253
|
+
for item in params.get("Wordlist"):
|
7254
|
+
obj = WordResult()
|
7255
|
+
obj._deserialize(item)
|
7256
|
+
self._Wordlist.append(obj)
|
7202
7257
|
memeber_set = set(params.keys())
|
7203
7258
|
for name, value in vars(self).items():
|
7204
7259
|
property_name = name[1:]
|
@@ -27204,6 +27259,22 @@ class DescribeTranscodeTemplatesRequest(AbstractModel):
|
|
27204
27259
|
:type TranscodeType: str
|
27205
27260
|
:param _Name: 转码模板标识过滤条件,长度限制:64 个字符。
|
27206
27261
|
:type Name: str
|
27262
|
+
:param _SceneType: 视频场景化,可选值:
|
27263
|
+
normal:通用转码场景:通用转码压缩场景。
|
27264
|
+
pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
27265
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
27266
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
27267
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
27268
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
27269
|
+
no_config:未配置。
|
27270
|
+
:type SceneType: str
|
27271
|
+
:param _CompressType: 转码策略,可选值:
|
27272
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
27273
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
27274
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
27275
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
27276
|
+
no_config:未配置。
|
27277
|
+
:type CompressType: str
|
27207
27278
|
"""
|
27208
27279
|
self._Definitions = None
|
27209
27280
|
self._Type = None
|
@@ -27213,6 +27284,8 @@ class DescribeTranscodeTemplatesRequest(AbstractModel):
|
|
27213
27284
|
self._Limit = None
|
27214
27285
|
self._TranscodeType = None
|
27215
27286
|
self._Name = None
|
27287
|
+
self._SceneType = None
|
27288
|
+
self._CompressType = None
|
27216
27289
|
|
27217
27290
|
@property
|
27218
27291
|
def Definitions(self):
|
@@ -27315,6 +27388,40 @@ class DescribeTranscodeTemplatesRequest(AbstractModel):
|
|
27315
27388
|
def Name(self, Name):
|
27316
27389
|
self._Name = Name
|
27317
27390
|
|
27391
|
+
@property
|
27392
|
+
def SceneType(self):
|
27393
|
+
"""视频场景化,可选值:
|
27394
|
+
normal:通用转码场景:通用转码压缩场景。
|
27395
|
+
pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
27396
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
27397
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
27398
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
27399
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
27400
|
+
no_config:未配置。
|
27401
|
+
:rtype: str
|
27402
|
+
"""
|
27403
|
+
return self._SceneType
|
27404
|
+
|
27405
|
+
@SceneType.setter
|
27406
|
+
def SceneType(self, SceneType):
|
27407
|
+
self._SceneType = SceneType
|
27408
|
+
|
27409
|
+
@property
|
27410
|
+
def CompressType(self):
|
27411
|
+
"""转码策略,可选值:
|
27412
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
27413
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
27414
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
27415
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
27416
|
+
no_config:未配置。
|
27417
|
+
:rtype: str
|
27418
|
+
"""
|
27419
|
+
return self._CompressType
|
27420
|
+
|
27421
|
+
@CompressType.setter
|
27422
|
+
def CompressType(self, CompressType):
|
27423
|
+
self._CompressType = CompressType
|
27424
|
+
|
27318
27425
|
|
27319
27426
|
def _deserialize(self, params):
|
27320
27427
|
self._Definitions = params.get("Definitions")
|
@@ -27325,6 +27432,8 @@ class DescribeTranscodeTemplatesRequest(AbstractModel):
|
|
27325
27432
|
self._Limit = params.get("Limit")
|
27326
27433
|
self._TranscodeType = params.get("TranscodeType")
|
27327
27434
|
self._Name = params.get("Name")
|
27435
|
+
self._SceneType = params.get("SceneType")
|
27436
|
+
self._CompressType = params.get("CompressType")
|
27328
27437
|
memeber_set = set(params.keys())
|
27329
27438
|
for name, value in vars(self).items():
|
27330
27439
|
property_name = name[1:]
|
@@ -35365,10 +35474,14 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
35365
35474
|
|
35366
35475
|
def __init__(self):
|
35367
35476
|
r"""
|
35368
|
-
:param _NotifyType:
|
35477
|
+
:param _NotifyType: 通知类型:
|
35478
|
+
"CMQ":回调消息写入cmq队列;
|
35479
|
+
"URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
35369
35480
|
|
35370
35481
|
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
35371
35482
|
:type NotifyType: str
|
35483
|
+
:param _NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
35484
|
+
:type NotifyUrl: str
|
35372
35485
|
:param _CmqModel: CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
|
35373
35486
|
:type CmqModel: str
|
35374
35487
|
:param _CmqRegion: CMQ 的园区,如 sh,bj 等。
|
@@ -35377,23 +35490,23 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
35377
35490
|
:type QueueName: str
|
35378
35491
|
:param _TopicName: 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
|
35379
35492
|
:type TopicName: str
|
35380
|
-
:param _NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
35381
|
-
:type NotifyUrl: str
|
35382
35493
|
:param _NotifyKey: 用于生成回调签名的 Key。
|
35383
35494
|
注意:此字段可能返回 null,表示取不到有效值。
|
35384
35495
|
:type NotifyKey: str
|
35385
35496
|
"""
|
35386
35497
|
self._NotifyType = None
|
35498
|
+
self._NotifyUrl = None
|
35387
35499
|
self._CmqModel = None
|
35388
35500
|
self._CmqRegion = None
|
35389
35501
|
self._QueueName = None
|
35390
35502
|
self._TopicName = None
|
35391
|
-
self._NotifyUrl = None
|
35392
35503
|
self._NotifyKey = None
|
35393
35504
|
|
35394
35505
|
@property
|
35395
35506
|
def NotifyType(self):
|
35396
|
-
"""
|
35507
|
+
"""通知类型:
|
35508
|
+
"CMQ":回调消息写入cmq队列;
|
35509
|
+
"URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
35397
35510
|
|
35398
35511
|
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
35399
35512
|
:rtype: str
|
@@ -35404,6 +35517,17 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
35404
35517
|
def NotifyType(self, NotifyType):
|
35405
35518
|
self._NotifyType = NotifyType
|
35406
35519
|
|
35520
|
+
@property
|
35521
|
+
def NotifyUrl(self):
|
35522
|
+
"""HTTP回调地址,NotifyType为URL时必填。
|
35523
|
+
:rtype: str
|
35524
|
+
"""
|
35525
|
+
return self._NotifyUrl
|
35526
|
+
|
35527
|
+
@NotifyUrl.setter
|
35528
|
+
def NotifyUrl(self, NotifyUrl):
|
35529
|
+
self._NotifyUrl = NotifyUrl
|
35530
|
+
|
35407
35531
|
@property
|
35408
35532
|
def CmqModel(self):
|
35409
35533
|
"""CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
|
@@ -35448,17 +35572,6 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
35448
35572
|
def TopicName(self, TopicName):
|
35449
35573
|
self._TopicName = TopicName
|
35450
35574
|
|
35451
|
-
@property
|
35452
|
-
def NotifyUrl(self):
|
35453
|
-
"""HTTP回调地址,NotifyType为URL时必填。
|
35454
|
-
:rtype: str
|
35455
|
-
"""
|
35456
|
-
return self._NotifyUrl
|
35457
|
-
|
35458
|
-
@NotifyUrl.setter
|
35459
|
-
def NotifyUrl(self, NotifyUrl):
|
35460
|
-
self._NotifyUrl = NotifyUrl
|
35461
|
-
|
35462
35575
|
@property
|
35463
35576
|
def NotifyKey(self):
|
35464
35577
|
"""用于生成回调签名的 Key。
|
@@ -35474,11 +35587,11 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
35474
35587
|
|
35475
35588
|
def _deserialize(self, params):
|
35476
35589
|
self._NotifyType = params.get("NotifyType")
|
35590
|
+
self._NotifyUrl = params.get("NotifyUrl")
|
35477
35591
|
self._CmqModel = params.get("CmqModel")
|
35478
35592
|
self._CmqRegion = params.get("CmqRegion")
|
35479
35593
|
self._QueueName = params.get("QueueName")
|
35480
35594
|
self._TopicName = params.get("TopicName")
|
35481
|
-
self._NotifyUrl = params.get("NotifyUrl")
|
35482
35595
|
self._NotifyKey = params.get("NotifyKey")
|
35483
35596
|
memeber_set = set(params.keys())
|
35484
35597
|
for name, value in vars(self).items():
|
@@ -53035,6 +53148,9 @@ class TranscodeTemplate(AbstractModel):
|
|
53035
53148
|
:param _EnhanceConfig: 音视频增强配置。
|
53036
53149
|
注意:此字段可能返回 null,表示取不到有效值。
|
53037
53150
|
:type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
|
53151
|
+
:param _AliasName: 转码模板别名称。
|
53152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
53153
|
+
:type AliasName: str
|
53038
53154
|
"""
|
53039
53155
|
self._Definition = None
|
53040
53156
|
self._Container = None
|
@@ -53050,6 +53166,7 @@ class TranscodeTemplate(AbstractModel):
|
|
53050
53166
|
self._CreateTime = None
|
53051
53167
|
self._UpdateTime = None
|
53052
53168
|
self._EnhanceConfig = None
|
53169
|
+
self._AliasName = None
|
53053
53170
|
|
53054
53171
|
@property
|
53055
53172
|
def Definition(self):
|
@@ -53215,6 +53332,18 @@ class TranscodeTemplate(AbstractModel):
|
|
53215
53332
|
def EnhanceConfig(self, EnhanceConfig):
|
53216
53333
|
self._EnhanceConfig = EnhanceConfig
|
53217
53334
|
|
53335
|
+
@property
|
53336
|
+
def AliasName(self):
|
53337
|
+
"""转码模板别名称。
|
53338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
53339
|
+
:rtype: str
|
53340
|
+
"""
|
53341
|
+
return self._AliasName
|
53342
|
+
|
53343
|
+
@AliasName.setter
|
53344
|
+
def AliasName(self, AliasName):
|
53345
|
+
self._AliasName = AliasName
|
53346
|
+
|
53218
53347
|
|
53219
53348
|
def _deserialize(self, params):
|
53220
53349
|
self._Definition = params.get("Definition")
|
@@ -53239,6 +53368,7 @@ class TranscodeTemplate(AbstractModel):
|
|
53239
53368
|
if params.get("EnhanceConfig") is not None:
|
53240
53369
|
self._EnhanceConfig = EnhanceConfig()
|
53241
53370
|
self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
|
53371
|
+
self._AliasName = params.get("AliasName")
|
53242
53372
|
memeber_set = set(params.keys())
|
53243
53373
|
for name, value in vars(self).items():
|
53244
53374
|
property_name = name[1:]
|
@@ -54613,6 +54743,31 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
54613
54743
|
:param _SegmentSpecificInfo: 切片特殊配置
|
54614
54744
|
注意:此字段可能返回 null,表示取不到有效值。
|
54615
54745
|
:type SegmentSpecificInfo: :class:`tencentcloud.mps.v20190612.models.SegmentSpecificInfo`
|
54746
|
+
:param _ScenarioBased: 模版是否开启场景化
|
54747
|
+
0:不开启
|
54748
|
+
1:开启
|
54749
|
+
默认值:0
|
54750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54751
|
+
:type ScenarioBased: int
|
54752
|
+
:param _SceneType: 视频场景化,可选值:
|
54753
|
+
normal:通用转码场景:通用转码压缩场景。
|
54754
|
+
pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
54755
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
54756
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
54757
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
54758
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
54759
|
+
默认值:normal
|
54760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54761
|
+
:type SceneType: str
|
54762
|
+
:param _CompressType: 转码策略,可选值:
|
54763
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
54764
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
54765
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
54766
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
54767
|
+
默认值:standard_compress
|
54768
|
+
注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
54769
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54770
|
+
:type CompressType: str
|
54616
54771
|
"""
|
54617
54772
|
self._Codec = None
|
54618
54773
|
self._Fps = None
|
@@ -54638,6 +54793,9 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
54638
54793
|
self._RawPts = None
|
54639
54794
|
self._Compress = None
|
54640
54795
|
self._SegmentSpecificInfo = None
|
54796
|
+
self._ScenarioBased = None
|
54797
|
+
self._SceneType = None
|
54798
|
+
self._CompressType = None
|
54641
54799
|
|
54642
54800
|
@property
|
54643
54801
|
def Codec(self):
|
@@ -55001,6 +55159,58 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55001
55159
|
def SegmentSpecificInfo(self, SegmentSpecificInfo):
|
55002
55160
|
self._SegmentSpecificInfo = SegmentSpecificInfo
|
55003
55161
|
|
55162
|
+
@property
|
55163
|
+
def ScenarioBased(self):
|
55164
|
+
"""模版是否开启场景化
|
55165
|
+
0:不开启
|
55166
|
+
1:开启
|
55167
|
+
默认值:0
|
55168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55169
|
+
:rtype: int
|
55170
|
+
"""
|
55171
|
+
return self._ScenarioBased
|
55172
|
+
|
55173
|
+
@ScenarioBased.setter
|
55174
|
+
def ScenarioBased(self, ScenarioBased):
|
55175
|
+
self._ScenarioBased = ScenarioBased
|
55176
|
+
|
55177
|
+
@property
|
55178
|
+
def SceneType(self):
|
55179
|
+
"""视频场景化,可选值:
|
55180
|
+
normal:通用转码场景:通用转码压缩场景。
|
55181
|
+
pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
55182
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
55183
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
55184
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
55185
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
55186
|
+
默认值:normal
|
55187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55188
|
+
:rtype: str
|
55189
|
+
"""
|
55190
|
+
return self._SceneType
|
55191
|
+
|
55192
|
+
@SceneType.setter
|
55193
|
+
def SceneType(self, SceneType):
|
55194
|
+
self._SceneType = SceneType
|
55195
|
+
|
55196
|
+
@property
|
55197
|
+
def CompressType(self):
|
55198
|
+
"""转码策略,可选值:
|
55199
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
55200
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
55201
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
55202
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
55203
|
+
默认值:standard_compress
|
55204
|
+
注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
55205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55206
|
+
:rtype: str
|
55207
|
+
"""
|
55208
|
+
return self._CompressType
|
55209
|
+
|
55210
|
+
@CompressType.setter
|
55211
|
+
def CompressType(self, CompressType):
|
55212
|
+
self._CompressType = CompressType
|
55213
|
+
|
55004
55214
|
|
55005
55215
|
def _deserialize(self, params):
|
55006
55216
|
self._Codec = params.get("Codec")
|
@@ -55029,6 +55239,9 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55029
55239
|
if params.get("SegmentSpecificInfo") is not None:
|
55030
55240
|
self._SegmentSpecificInfo = SegmentSpecificInfo()
|
55031
55241
|
self._SegmentSpecificInfo._deserialize(params.get("SegmentSpecificInfo"))
|
55242
|
+
self._ScenarioBased = params.get("ScenarioBased")
|
55243
|
+
self._SceneType = params.get("SceneType")
|
55244
|
+
self._CompressType = params.get("CompressType")
|
55032
55245
|
memeber_set = set(params.keys())
|
55033
55246
|
for name, value in vars(self).items():
|
55034
55247
|
property_name = name[1:]
|
@@ -55200,6 +55413,30 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55200
55413
|
:param _SegmentSpecificInfo: 切片特殊配置
|
55201
55414
|
注意:此字段可能返回 null,表示取不到有效值。
|
55202
55415
|
:type SegmentSpecificInfo: :class:`tencentcloud.mps.v20190612.models.SegmentSpecificInfo`
|
55416
|
+
:param _ScenarioBased: 模版是否开启场景化
|
55417
|
+
0:不开启
|
55418
|
+
1:开启
|
55419
|
+
默认值:0
|
55420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55421
|
+
:type ScenarioBased: int
|
55422
|
+
:param _SceneType: 视频场景化,可选值:
|
55423
|
+
normal:通用转码场景:通用转码压缩场景 pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
55424
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
55425
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
55426
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
55427
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
55428
|
+
默认值:normal
|
55429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55430
|
+
:type SceneType: str
|
55431
|
+
:param _CompressType: 转码策略,可选值:
|
55432
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
55433
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
55434
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
55435
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
55436
|
+
默认值:standard_compress
|
55437
|
+
注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
55438
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55439
|
+
:type CompressType: str
|
55203
55440
|
"""
|
55204
55441
|
self._Codec = None
|
55205
55442
|
self._Fps = None
|
@@ -55226,6 +55463,9 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55226
55463
|
self._RawPts = None
|
55227
55464
|
self._Compress = None
|
55228
55465
|
self._SegmentSpecificInfo = None
|
55466
|
+
self._ScenarioBased = None
|
55467
|
+
self._SceneType = None
|
55468
|
+
self._CompressType = None
|
55229
55469
|
|
55230
55470
|
@property
|
55231
55471
|
def Codec(self):
|
@@ -55606,6 +55846,57 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55606
55846
|
def SegmentSpecificInfo(self, SegmentSpecificInfo):
|
55607
55847
|
self._SegmentSpecificInfo = SegmentSpecificInfo
|
55608
55848
|
|
55849
|
+
@property
|
55850
|
+
def ScenarioBased(self):
|
55851
|
+
"""模版是否开启场景化
|
55852
|
+
0:不开启
|
55853
|
+
1:开启
|
55854
|
+
默认值:0
|
55855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55856
|
+
:rtype: int
|
55857
|
+
"""
|
55858
|
+
return self._ScenarioBased
|
55859
|
+
|
55860
|
+
@ScenarioBased.setter
|
55861
|
+
def ScenarioBased(self, ScenarioBased):
|
55862
|
+
self._ScenarioBased = ScenarioBased
|
55863
|
+
|
55864
|
+
@property
|
55865
|
+
def SceneType(self):
|
55866
|
+
"""视频场景化,可选值:
|
55867
|
+
normal:通用转码场景:通用转码压缩场景 pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
55868
|
+
materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
55869
|
+
ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
55870
|
+
e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
55871
|
+
educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
55872
|
+
默认值:normal
|
55873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55874
|
+
:rtype: str
|
55875
|
+
"""
|
55876
|
+
return self._SceneType
|
55877
|
+
|
55878
|
+
@SceneType.setter
|
55879
|
+
def SceneType(self, SceneType):
|
55880
|
+
self._SceneType = SceneType
|
55881
|
+
|
55882
|
+
@property
|
55883
|
+
def CompressType(self):
|
55884
|
+
"""转码策略,可选值:
|
55885
|
+
ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
55886
|
+
standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
55887
|
+
high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
55888
|
+
low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
55889
|
+
默认值:standard_compress
|
55890
|
+
注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
55891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
55892
|
+
:rtype: str
|
55893
|
+
"""
|
55894
|
+
return self._CompressType
|
55895
|
+
|
55896
|
+
@CompressType.setter
|
55897
|
+
def CompressType(self, CompressType):
|
55898
|
+
self._CompressType = CompressType
|
55899
|
+
|
55609
55900
|
|
55610
55901
|
def _deserialize(self, params):
|
55611
55902
|
self._Codec = params.get("Codec")
|
@@ -55635,6 +55926,9 @@ VCRF(Constant Rate Factor):恒定质量因子,通过设定一个质量
|
|
55635
55926
|
if params.get("SegmentSpecificInfo") is not None:
|
55636
55927
|
self._SegmentSpecificInfo = SegmentSpecificInfo()
|
55637
55928
|
self._SegmentSpecificInfo._deserialize(params.get("SegmentSpecificInfo"))
|
55929
|
+
self._ScenarioBased = params.get("ScenarioBased")
|
55930
|
+
self._SceneType = params.get("SceneType")
|
55931
|
+
self._CompressType = params.get("CompressType")
|
55638
55932
|
memeber_set = set(params.keys())
|
55639
55933
|
for name, value in vars(self).items():
|
55640
55934
|
property_name = name[1:]
|
@@ -56193,6 +56487,72 @@ class WithdrawsWatermarkResponse(AbstractModel):
|
|
56193
56487
|
self._RequestId = params.get("RequestId")
|
56194
56488
|
|
56195
56489
|
|
56490
|
+
class WordResult(AbstractModel):
|
56491
|
+
"""字词信息。
|
56492
|
+
|
56493
|
+
"""
|
56494
|
+
|
56495
|
+
def __init__(self):
|
56496
|
+
r"""
|
56497
|
+
:param _Word: 字词文本。
|
56498
|
+
:type Word: str
|
56499
|
+
:param _Start: 字词起始时间戳,单位秒。
|
56500
|
+
:type Start: float
|
56501
|
+
:param _End: 字词结束时间戳,单位秒。
|
56502
|
+
:type End: float
|
56503
|
+
"""
|
56504
|
+
self._Word = None
|
56505
|
+
self._Start = None
|
56506
|
+
self._End = None
|
56507
|
+
|
56508
|
+
@property
|
56509
|
+
def Word(self):
|
56510
|
+
"""字词文本。
|
56511
|
+
:rtype: str
|
56512
|
+
"""
|
56513
|
+
return self._Word
|
56514
|
+
|
56515
|
+
@Word.setter
|
56516
|
+
def Word(self, Word):
|
56517
|
+
self._Word = Word
|
56518
|
+
|
56519
|
+
@property
|
56520
|
+
def Start(self):
|
56521
|
+
"""字词起始时间戳,单位秒。
|
56522
|
+
:rtype: float
|
56523
|
+
"""
|
56524
|
+
return self._Start
|
56525
|
+
|
56526
|
+
@Start.setter
|
56527
|
+
def Start(self, Start):
|
56528
|
+
self._Start = Start
|
56529
|
+
|
56530
|
+
@property
|
56531
|
+
def End(self):
|
56532
|
+
"""字词结束时间戳,单位秒。
|
56533
|
+
:rtype: float
|
56534
|
+
"""
|
56535
|
+
return self._End
|
56536
|
+
|
56537
|
+
@End.setter
|
56538
|
+
def End(self, End):
|
56539
|
+
self._End = End
|
56540
|
+
|
56541
|
+
|
56542
|
+
def _deserialize(self, params):
|
56543
|
+
self._Word = params.get("Word")
|
56544
|
+
self._Start = params.get("Start")
|
56545
|
+
self._End = params.get("End")
|
56546
|
+
memeber_set = set(params.keys())
|
56547
|
+
for name, value in vars(self).items():
|
56548
|
+
property_name = name[1:]
|
56549
|
+
if property_name in memeber_set:
|
56550
|
+
memeber_set.remove(property_name)
|
56551
|
+
if len(memeber_set) > 0:
|
56552
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
56553
|
+
|
56554
|
+
|
56555
|
+
|
56196
56556
|
class WorkflowInfo(AbstractModel):
|
56197
56557
|
"""工作流信息详情。
|
56198
56558
|
|