tencentcloud-sdk-python-mps 3.0.957__tar.gz → 3.0.964__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/setup.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/mps/v20190612/models.py +180 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mps-3.0.964/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mps-3.0.957/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/README.rst +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.957 → tencentcloud-sdk-python-mps-3.0.964}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.964"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mps SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -907,6 +907,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
907
907
|
:type SubStreamObjectName: str
|
|
908
908
|
:param _SegmentObjectName: 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。
|
|
909
909
|
:type SegmentObjectName: str
|
|
910
|
+
:param _AddOnSubtitles: 要插入的字幕文件。
|
|
911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
912
|
+
:type AddOnSubtitles: list of AddOnSubtitle
|
|
910
913
|
"""
|
|
911
914
|
self._Definition = None
|
|
912
915
|
self._WatermarkSet = None
|
|
@@ -914,6 +917,7 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
914
917
|
self._OutputObjectPath = None
|
|
915
918
|
self._SubStreamObjectName = None
|
|
916
919
|
self._SegmentObjectName = None
|
|
920
|
+
self._AddOnSubtitles = None
|
|
917
921
|
|
|
918
922
|
@property
|
|
919
923
|
def Definition(self):
|
|
@@ -963,6 +967,14 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
963
967
|
def SegmentObjectName(self, SegmentObjectName):
|
|
964
968
|
self._SegmentObjectName = SegmentObjectName
|
|
965
969
|
|
|
970
|
+
@property
|
|
971
|
+
def AddOnSubtitles(self):
|
|
972
|
+
return self._AddOnSubtitles
|
|
973
|
+
|
|
974
|
+
@AddOnSubtitles.setter
|
|
975
|
+
def AddOnSubtitles(self, AddOnSubtitles):
|
|
976
|
+
self._AddOnSubtitles = AddOnSubtitles
|
|
977
|
+
|
|
966
978
|
|
|
967
979
|
def _deserialize(self, params):
|
|
968
980
|
self._Definition = params.get("Definition")
|
|
@@ -978,6 +990,12 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
978
990
|
self._OutputObjectPath = params.get("OutputObjectPath")
|
|
979
991
|
self._SubStreamObjectName = params.get("SubStreamObjectName")
|
|
980
992
|
self._SegmentObjectName = params.get("SegmentObjectName")
|
|
993
|
+
if params.get("AddOnSubtitles") is not None:
|
|
994
|
+
self._AddOnSubtitles = []
|
|
995
|
+
for item in params.get("AddOnSubtitles"):
|
|
996
|
+
obj = AddOnSubtitle()
|
|
997
|
+
obj._deserialize(item)
|
|
998
|
+
self._AddOnSubtitles.append(obj)
|
|
981
999
|
memeber_set = set(params.keys())
|
|
982
1000
|
for name, value in vars(self).items():
|
|
983
1001
|
property_name = name[1:]
|
|
@@ -1219,6 +1237,58 @@ class AdaptiveStreamTemplate(AbstractModel):
|
|
|
1219
1237
|
|
|
1220
1238
|
|
|
1221
1239
|
|
|
1240
|
+
class AddOnSubtitle(AbstractModel):
|
|
1241
|
+
"""外挂字幕。
|
|
1242
|
+
|
|
1243
|
+
"""
|
|
1244
|
+
|
|
1245
|
+
def __init__(self):
|
|
1246
|
+
r"""
|
|
1247
|
+
:param _Type: 插入形式,可选值:
|
|
1248
|
+
<li>subtitle-stream:插入字幕轨道</li>
|
|
1249
|
+
<li>close-caption-708:CEA-708字幕编码到SEI帧</li>
|
|
1250
|
+
<li>close-caption-608:CEA-608字幕编码到SEI帧</li>
|
|
1251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1252
|
+
:type Type: str
|
|
1253
|
+
:param _Subtitle: 字幕文件。
|
|
1254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1255
|
+
:type Subtitle: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
1256
|
+
"""
|
|
1257
|
+
self._Type = None
|
|
1258
|
+
self._Subtitle = None
|
|
1259
|
+
|
|
1260
|
+
@property
|
|
1261
|
+
def Type(self):
|
|
1262
|
+
return self._Type
|
|
1263
|
+
|
|
1264
|
+
@Type.setter
|
|
1265
|
+
def Type(self, Type):
|
|
1266
|
+
self._Type = Type
|
|
1267
|
+
|
|
1268
|
+
@property
|
|
1269
|
+
def Subtitle(self):
|
|
1270
|
+
return self._Subtitle
|
|
1271
|
+
|
|
1272
|
+
@Subtitle.setter
|
|
1273
|
+
def Subtitle(self, Subtitle):
|
|
1274
|
+
self._Subtitle = Subtitle
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
def _deserialize(self, params):
|
|
1278
|
+
self._Type = params.get("Type")
|
|
1279
|
+
if params.get("Subtitle") is not None:
|
|
1280
|
+
self._Subtitle = MediaInputInfo()
|
|
1281
|
+
self._Subtitle._deserialize(params.get("Subtitle"))
|
|
1282
|
+
memeber_set = set(params.keys())
|
|
1283
|
+
for name, value in vars(self).items():
|
|
1284
|
+
property_name = name[1:]
|
|
1285
|
+
if property_name in memeber_set:
|
|
1286
|
+
memeber_set.remove(property_name)
|
|
1287
|
+
if len(memeber_set) > 0:
|
|
1288
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1222
1292
|
class AiAnalysisResult(AbstractModel):
|
|
1223
1293
|
"""智能分析结果
|
|
1224
1294
|
|
|
@@ -22201,6 +22271,7 @@ class LiveStreamAiRecognitionResultItem(AbstractModel):
|
|
|
22201
22271
|
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
22202
22272
|
<li>OcrFullTextRecognition:文本全文识别。</li>
|
|
22203
22273
|
<li>TransTextRecognition:语音翻译。</li>
|
|
22274
|
+
<li>TagRecognition:精彩打点。</li>
|
|
22204
22275
|
:type Type: str
|
|
22205
22276
|
:param _FaceRecognitionResultSet: 人脸识别结果,当 Type 为
|
|
22206
22277
|
FaceRecognition 时有效。
|
|
@@ -22219,6 +22290,9 @@ OcrFullTextRecognition 时有效。
|
|
|
22219
22290
|
:type OcrFullTextRecognitionResultSet: list of LiveStreamOcrFullTextRecognitionResult
|
|
22220
22291
|
:param _TransTextRecognitionResultSet: 翻译结果,当Type 为 TransTextRecognition 时有效。
|
|
22221
22292
|
:type TransTextRecognitionResultSet: list of LiveStreamTransTextRecognitionResult
|
|
22293
|
+
:param _TagRecognitionResultSet: 打点结果,当Type 为 TagRecognition 时有效。
|
|
22294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22295
|
+
:type TagRecognitionResultSet: list of LiveStreamTagRecognitionResult
|
|
22222
22296
|
"""
|
|
22223
22297
|
self._Type = None
|
|
22224
22298
|
self._FaceRecognitionResultSet = None
|
|
@@ -22227,6 +22301,7 @@ OcrFullTextRecognition 时有效。
|
|
|
22227
22301
|
self._AsrFullTextRecognitionResultSet = None
|
|
22228
22302
|
self._OcrFullTextRecognitionResultSet = None
|
|
22229
22303
|
self._TransTextRecognitionResultSet = None
|
|
22304
|
+
self._TagRecognitionResultSet = None
|
|
22230
22305
|
|
|
22231
22306
|
@property
|
|
22232
22307
|
def Type(self):
|
|
@@ -22284,6 +22359,14 @@ OcrFullTextRecognition 时有效。
|
|
|
22284
22359
|
def TransTextRecognitionResultSet(self, TransTextRecognitionResultSet):
|
|
22285
22360
|
self._TransTextRecognitionResultSet = TransTextRecognitionResultSet
|
|
22286
22361
|
|
|
22362
|
+
@property
|
|
22363
|
+
def TagRecognitionResultSet(self):
|
|
22364
|
+
return self._TagRecognitionResultSet
|
|
22365
|
+
|
|
22366
|
+
@TagRecognitionResultSet.setter
|
|
22367
|
+
def TagRecognitionResultSet(self, TagRecognitionResultSet):
|
|
22368
|
+
self._TagRecognitionResultSet = TagRecognitionResultSet
|
|
22369
|
+
|
|
22287
22370
|
|
|
22288
22371
|
def _deserialize(self, params):
|
|
22289
22372
|
self._Type = params.get("Type")
|
|
@@ -22323,6 +22406,12 @@ OcrFullTextRecognition 时有效。
|
|
|
22323
22406
|
obj = LiveStreamTransTextRecognitionResult()
|
|
22324
22407
|
obj._deserialize(item)
|
|
22325
22408
|
self._TransTextRecognitionResultSet.append(obj)
|
|
22409
|
+
if params.get("TagRecognitionResultSet") is not None:
|
|
22410
|
+
self._TagRecognitionResultSet = []
|
|
22411
|
+
for item in params.get("TagRecognitionResultSet"):
|
|
22412
|
+
obj = LiveStreamTagRecognitionResult()
|
|
22413
|
+
obj._deserialize(item)
|
|
22414
|
+
self._TagRecognitionResultSet.append(obj)
|
|
22326
22415
|
memeber_set = set(params.keys())
|
|
22327
22416
|
for name, value in vars(self).items():
|
|
22328
22417
|
property_name = name[1:]
|
|
@@ -23501,6 +23590,75 @@ class LiveStreamProcessTask(AbstractModel):
|
|
|
23501
23590
|
|
|
23502
23591
|
|
|
23503
23592
|
|
|
23593
|
+
class LiveStreamTagRecognitionResult(AbstractModel):
|
|
23594
|
+
"""直播 AI 打点识别结果
|
|
23595
|
+
|
|
23596
|
+
"""
|
|
23597
|
+
|
|
23598
|
+
def __init__(self):
|
|
23599
|
+
r"""
|
|
23600
|
+
:param _Id: 打点事件。
|
|
23601
|
+
:type Id: str
|
|
23602
|
+
:param _StartPtsTime: 识别片段起始的 PTS 时间,单位:秒。
|
|
23603
|
+
:type StartPtsTime: float
|
|
23604
|
+
:param _EndPtsTime: 识别片段终止的 PTS 时间,单位:秒。
|
|
23605
|
+
:type EndPtsTime: float
|
|
23606
|
+
:param _Confidence: 识别片段置信度。取值:0~100。
|
|
23607
|
+
:type Confidence: float
|
|
23608
|
+
"""
|
|
23609
|
+
self._Id = None
|
|
23610
|
+
self._StartPtsTime = None
|
|
23611
|
+
self._EndPtsTime = None
|
|
23612
|
+
self._Confidence = None
|
|
23613
|
+
|
|
23614
|
+
@property
|
|
23615
|
+
def Id(self):
|
|
23616
|
+
return self._Id
|
|
23617
|
+
|
|
23618
|
+
@Id.setter
|
|
23619
|
+
def Id(self, Id):
|
|
23620
|
+
self._Id = Id
|
|
23621
|
+
|
|
23622
|
+
@property
|
|
23623
|
+
def StartPtsTime(self):
|
|
23624
|
+
return self._StartPtsTime
|
|
23625
|
+
|
|
23626
|
+
@StartPtsTime.setter
|
|
23627
|
+
def StartPtsTime(self, StartPtsTime):
|
|
23628
|
+
self._StartPtsTime = StartPtsTime
|
|
23629
|
+
|
|
23630
|
+
@property
|
|
23631
|
+
def EndPtsTime(self):
|
|
23632
|
+
return self._EndPtsTime
|
|
23633
|
+
|
|
23634
|
+
@EndPtsTime.setter
|
|
23635
|
+
def EndPtsTime(self, EndPtsTime):
|
|
23636
|
+
self._EndPtsTime = EndPtsTime
|
|
23637
|
+
|
|
23638
|
+
@property
|
|
23639
|
+
def Confidence(self):
|
|
23640
|
+
return self._Confidence
|
|
23641
|
+
|
|
23642
|
+
@Confidence.setter
|
|
23643
|
+
def Confidence(self, Confidence):
|
|
23644
|
+
self._Confidence = Confidence
|
|
23645
|
+
|
|
23646
|
+
|
|
23647
|
+
def _deserialize(self, params):
|
|
23648
|
+
self._Id = params.get("Id")
|
|
23649
|
+
self._StartPtsTime = params.get("StartPtsTime")
|
|
23650
|
+
self._EndPtsTime = params.get("EndPtsTime")
|
|
23651
|
+
self._Confidence = params.get("Confidence")
|
|
23652
|
+
memeber_set = set(params.keys())
|
|
23653
|
+
for name, value in vars(self).items():
|
|
23654
|
+
property_name = name[1:]
|
|
23655
|
+
if property_name in memeber_set:
|
|
23656
|
+
memeber_set.remove(property_name)
|
|
23657
|
+
if len(memeber_set) > 0:
|
|
23658
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23659
|
+
|
|
23660
|
+
|
|
23661
|
+
|
|
23504
23662
|
class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
23505
23663
|
"""任务处理的事件通知配置。
|
|
23506
23664
|
|
|
@@ -29968,6 +30126,9 @@ class OverrideTranscodeParameter(AbstractModel):
|
|
|
29968
30126
|
:param _StdExtInfo: 转码扩展字段。
|
|
29969
30127
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29970
30128
|
:type StdExtInfo: str
|
|
30129
|
+
:param _AddOnSubtitles: 要插入的字幕文件。
|
|
30130
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30131
|
+
:type AddOnSubtitles: list of AddOnSubtitle
|
|
29971
30132
|
"""
|
|
29972
30133
|
self._Container = None
|
|
29973
30134
|
self._RemoveVideo = None
|
|
@@ -29978,6 +30139,7 @@ class OverrideTranscodeParameter(AbstractModel):
|
|
|
29978
30139
|
self._SubtitleTemplate = None
|
|
29979
30140
|
self._AddonAudioStream = None
|
|
29980
30141
|
self._StdExtInfo = None
|
|
30142
|
+
self._AddOnSubtitles = None
|
|
29981
30143
|
|
|
29982
30144
|
@property
|
|
29983
30145
|
def Container(self):
|
|
@@ -30051,6 +30213,14 @@ class OverrideTranscodeParameter(AbstractModel):
|
|
|
30051
30213
|
def StdExtInfo(self, StdExtInfo):
|
|
30052
30214
|
self._StdExtInfo = StdExtInfo
|
|
30053
30215
|
|
|
30216
|
+
@property
|
|
30217
|
+
def AddOnSubtitles(self):
|
|
30218
|
+
return self._AddOnSubtitles
|
|
30219
|
+
|
|
30220
|
+
@AddOnSubtitles.setter
|
|
30221
|
+
def AddOnSubtitles(self, AddOnSubtitles):
|
|
30222
|
+
self._AddOnSubtitles = AddOnSubtitles
|
|
30223
|
+
|
|
30054
30224
|
|
|
30055
30225
|
def _deserialize(self, params):
|
|
30056
30226
|
self._Container = params.get("Container")
|
|
@@ -30075,6 +30245,12 @@ class OverrideTranscodeParameter(AbstractModel):
|
|
|
30075
30245
|
obj._deserialize(item)
|
|
30076
30246
|
self._AddonAudioStream.append(obj)
|
|
30077
30247
|
self._StdExtInfo = params.get("StdExtInfo")
|
|
30248
|
+
if params.get("AddOnSubtitles") is not None:
|
|
30249
|
+
self._AddOnSubtitles = []
|
|
30250
|
+
for item in params.get("AddOnSubtitles"):
|
|
30251
|
+
obj = AddOnSubtitle()
|
|
30252
|
+
obj._deserialize(item)
|
|
30253
|
+
self._AddOnSubtitles.append(obj)
|
|
30078
30254
|
memeber_set = set(params.keys())
|
|
30079
30255
|
for name, value in vars(self).items():
|
|
30080
30256
|
property_name = name[1:]
|
|
@@ -33349,12 +33525,16 @@ class S3OutputStorage(AbstractModel):
|
|
|
33349
33525
|
def __init__(self):
|
|
33350
33526
|
r"""
|
|
33351
33527
|
:param _S3Bucket: S3 bucket。
|
|
33528
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33352
33529
|
:type S3Bucket: str
|
|
33353
33530
|
:param _S3Region: S3 bucket 对应的区域。
|
|
33531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33354
33532
|
:type S3Region: str
|
|
33355
33533
|
:param _S3SecretId: AWS 内网上传 媒体资源的秘钥id。
|
|
33534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33356
33535
|
:type S3SecretId: str
|
|
33357
33536
|
:param _S3SecretKey: AWS 内网上传 媒体资源的秘钥key。
|
|
33537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33358
33538
|
:type S3SecretKey: str
|
|
33359
33539
|
"""
|
|
33360
33540
|
self._S3Bucket = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.964
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.957
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|