tencentcloud-sdk-python-mps 3.1.3__tar.gz → 3.1.4__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/v20190612/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/v20190612/models.py +559 -0
  6. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/v20190612/mps_client.py +25 -0
  7. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/v20190612/mps_client_async.py +20 -0
  8. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_mps-3.1.4/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_mps-3.1.3/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/README.rst +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/__init__.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud/mps/v20190612/__init__.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.3 → tencentcloud_sdk_python_mps-3.1.4}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.3
3
+ Version: 3.1.4
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.3
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.3,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Mps SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.3'
17
+ __version__ = '3.1.4'
@@ -35,6 +35,9 @@ FAILEDOPERATION_INVALIDMPSUSER = 'FailedOperation.InvalidMpsUser'
35
35
  # 操作失败:无效用户。
36
36
  FAILEDOPERATION_INVALIDUSER = 'FailedOperation.InvalidUser'
37
37
 
38
+ # 操作失败:网络错误。
39
+ FAILEDOPERATION_NETWORKERROR = 'FailedOperation.NetWorkError'
40
+
38
41
  # 操作失败:设置源通知错误。
39
42
  FAILEDOPERATION_SETSOURCENOTIFY = 'FailedOperation.SetSourceNotify'
40
43
 
@@ -344,6 +347,9 @@ INVALIDPARAMETERVALUE_SAMPLERATE = 'InvalidParameterValue.SampleRate'
344
347
  # 参数值错误:SampleType。
345
348
  INVALIDPARAMETERVALUE_SAMPLETYPE = 'InvalidParameterValue.SampleType'
346
349
 
350
+ # Service参数值错误
351
+ INVALIDPARAMETERVALUE_SERVICE = 'InvalidParameterValue.Service'
352
+
347
353
  # SessionContext 过长。
348
354
  INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = 'InvalidParameterValue.SessionContextTooLong'
349
355
 
@@ -34487,6 +34487,193 @@ class DescribeTranscodeTemplatesResponse(AbstractModel):
34487
34487
  self._RequestId = params.get("RequestId")
34488
34488
 
34489
34489
 
34490
+ class DescribeUsageDataRequest(AbstractModel):
34491
+ r"""DescribeUsageData请求参数结构体
34492
+
34493
+ """
34494
+
34495
+ def __init__(self):
34496
+ r"""
34497
+ :param _StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
34498
+ :type StartTime: str
34499
+ :param _EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
34500
+ :type EndTime: str
34501
+ :param _Types: 查询媒体处理任务类型,默认查询转码。
34502
+ <li>Transcode:转码</li>
34503
+ <li>Enhance:增强</li>
34504
+ <li>AIAnalysis:智能分析</li>
34505
+ <li>AIRecognition:智能识别</li>
34506
+ <li>AIReview:内容审核</li>
34507
+ <li>Snapshot:截图</li>
34508
+ <li>AnimatedGraphics:转动图</li>
34509
+ <li>AiQualityControl:质检</li>
34510
+ <li>Evaluation:视频评测</li>
34511
+ <li>ImageProcess: 图片处理</li>
34512
+ <li>AddBlindWatermark: 添加基础版权数字水印</li>
34513
+ <li>AddNagraWatermark: 添加NAGRA数字水印</li>
34514
+ <li>ExtractBlindWatermark: 提取基础版权数字水印</li>
34515
+ :type Types: list of str
34516
+ :param _ProcessRegions: 媒体处理园区,默认返回 ap-guangzhou 园区。
34517
+ <li>ap-guangzhou:广州</li>
34518
+ <li>ap-hongkong:中国香港</li>
34519
+ <li>ap-taipei:中国台北</li>
34520
+ <li>ap-singapore:新加坡</li>
34521
+ <li>ap-mumbai:印度</li>
34522
+ <li>ap-jakarta:雅加达</li>
34523
+ <li>ap-seoul:首尔</li>
34524
+ <li>ap-bangkok:泰国</li>
34525
+ <li>ap-tokyo:日本</li>
34526
+ <li>na-siliconvalley:美国硅谷</li>
34527
+ <li>na-ashburn:弗吉尼亚</li>
34528
+ <li>na-toronto:多伦多</li>
34529
+ <li>sa-saopaulo:圣保罗</li>
34530
+ <li>eu-frankfurt:法兰克福</li>
34531
+ <li>eu-moscow:俄罗斯</li>
34532
+ <li>aws:AWS</li>
34533
+ :type ProcessRegions: list of str
34534
+ """
34535
+ self._StartTime = None
34536
+ self._EndTime = None
34537
+ self._Types = None
34538
+ self._ProcessRegions = None
34539
+
34540
+ @property
34541
+ def StartTime(self):
34542
+ r"""起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
34543
+ :rtype: str
34544
+ """
34545
+ return self._StartTime
34546
+
34547
+ @StartTime.setter
34548
+ def StartTime(self, StartTime):
34549
+ self._StartTime = StartTime
34550
+
34551
+ @property
34552
+ def EndTime(self):
34553
+ r"""结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
34554
+ :rtype: str
34555
+ """
34556
+ return self._EndTime
34557
+
34558
+ @EndTime.setter
34559
+ def EndTime(self, EndTime):
34560
+ self._EndTime = EndTime
34561
+
34562
+ @property
34563
+ def Types(self):
34564
+ r"""查询媒体处理任务类型,默认查询转码。
34565
+ <li>Transcode:转码</li>
34566
+ <li>Enhance:增强</li>
34567
+ <li>AIAnalysis:智能分析</li>
34568
+ <li>AIRecognition:智能识别</li>
34569
+ <li>AIReview:内容审核</li>
34570
+ <li>Snapshot:截图</li>
34571
+ <li>AnimatedGraphics:转动图</li>
34572
+ <li>AiQualityControl:质检</li>
34573
+ <li>Evaluation:视频评测</li>
34574
+ <li>ImageProcess: 图片处理</li>
34575
+ <li>AddBlindWatermark: 添加基础版权数字水印</li>
34576
+ <li>AddNagraWatermark: 添加NAGRA数字水印</li>
34577
+ <li>ExtractBlindWatermark: 提取基础版权数字水印</li>
34578
+ :rtype: list of str
34579
+ """
34580
+ return self._Types
34581
+
34582
+ @Types.setter
34583
+ def Types(self, Types):
34584
+ self._Types = Types
34585
+
34586
+ @property
34587
+ def ProcessRegions(self):
34588
+ r"""媒体处理园区,默认返回 ap-guangzhou 园区。
34589
+ <li>ap-guangzhou:广州</li>
34590
+ <li>ap-hongkong:中国香港</li>
34591
+ <li>ap-taipei:中国台北</li>
34592
+ <li>ap-singapore:新加坡</li>
34593
+ <li>ap-mumbai:印度</li>
34594
+ <li>ap-jakarta:雅加达</li>
34595
+ <li>ap-seoul:首尔</li>
34596
+ <li>ap-bangkok:泰国</li>
34597
+ <li>ap-tokyo:日本</li>
34598
+ <li>na-siliconvalley:美国硅谷</li>
34599
+ <li>na-ashburn:弗吉尼亚</li>
34600
+ <li>na-toronto:多伦多</li>
34601
+ <li>sa-saopaulo:圣保罗</li>
34602
+ <li>eu-frankfurt:法兰克福</li>
34603
+ <li>eu-moscow:俄罗斯</li>
34604
+ <li>aws:AWS</li>
34605
+ :rtype: list of str
34606
+ """
34607
+ return self._ProcessRegions
34608
+
34609
+ @ProcessRegions.setter
34610
+ def ProcessRegions(self, ProcessRegions):
34611
+ self._ProcessRegions = ProcessRegions
34612
+
34613
+
34614
+ def _deserialize(self, params):
34615
+ self._StartTime = params.get("StartTime")
34616
+ self._EndTime = params.get("EndTime")
34617
+ self._Types = params.get("Types")
34618
+ self._ProcessRegions = params.get("ProcessRegions")
34619
+ memeber_set = set(params.keys())
34620
+ for name, value in vars(self).items():
34621
+ property_name = name[1:]
34622
+ if property_name in memeber_set:
34623
+ memeber_set.remove(property_name)
34624
+ if len(memeber_set) > 0:
34625
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
34626
+
34627
+
34628
+
34629
+ class DescribeUsageDataResponse(AbstractModel):
34630
+ r"""DescribeUsageData返回参数结构体
34631
+
34632
+ """
34633
+
34634
+ def __init__(self):
34635
+ r"""
34636
+ :param _Data: 媒体处理统计数据概览,展示所查询任务的概览以及详细数据。
34637
+ :type Data: list of TaskStatData
34638
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34639
+ :type RequestId: str
34640
+ """
34641
+ self._Data = None
34642
+ self._RequestId = None
34643
+
34644
+ @property
34645
+ def Data(self):
34646
+ r"""媒体处理统计数据概览,展示所查询任务的概览以及详细数据。
34647
+ :rtype: list of TaskStatData
34648
+ """
34649
+ return self._Data
34650
+
34651
+ @Data.setter
34652
+ def Data(self, Data):
34653
+ self._Data = Data
34654
+
34655
+ @property
34656
+ def RequestId(self):
34657
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34658
+ :rtype: str
34659
+ """
34660
+ return self._RequestId
34661
+
34662
+ @RequestId.setter
34663
+ def RequestId(self, RequestId):
34664
+ self._RequestId = RequestId
34665
+
34666
+
34667
+ def _deserialize(self, params):
34668
+ if params.get("Data") is not None:
34669
+ self._Data = []
34670
+ for item in params.get("Data"):
34671
+ obj = TaskStatData()
34672
+ obj._deserialize(item)
34673
+ self._Data.append(obj)
34674
+ self._RequestId = params.get("RequestId")
34675
+
34676
+
34490
34677
  class DescribeVideoDatabaseEntryTaskDetailRequest(AbstractModel):
34491
34678
  r"""DescribeVideoDatabaseEntryTaskDetail请求参数结构体
34492
34679
 
@@ -66533,6 +66720,62 @@ class SnapshotByTimeOffsetTemplate(AbstractModel):
66533
66720
 
66534
66721
 
66535
66722
 
66723
+ class SpecificationDataItem(AbstractModel):
66724
+ r"""指定规格任务统计数据。
66725
+
66726
+ """
66727
+
66728
+ def __init__(self):
66729
+ r"""
66730
+ :param _Specification: 任务规格。
66731
+ :type Specification: str
66732
+ :param _Data: 统计数据。
66733
+ :type Data: list of TaskStatDataItem
66734
+ """
66735
+ self._Specification = None
66736
+ self._Data = None
66737
+
66738
+ @property
66739
+ def Specification(self):
66740
+ r"""任务规格。
66741
+ :rtype: str
66742
+ """
66743
+ return self._Specification
66744
+
66745
+ @Specification.setter
66746
+ def Specification(self, Specification):
66747
+ self._Specification = Specification
66748
+
66749
+ @property
66750
+ def Data(self):
66751
+ r"""统计数据。
66752
+ :rtype: list of TaskStatDataItem
66753
+ """
66754
+ return self._Data
66755
+
66756
+ @Data.setter
66757
+ def Data(self, Data):
66758
+ self._Data = Data
66759
+
66760
+
66761
+ def _deserialize(self, params):
66762
+ self._Specification = params.get("Specification")
66763
+ if params.get("Data") is not None:
66764
+ self._Data = []
66765
+ for item in params.get("Data"):
66766
+ obj = TaskStatDataItem()
66767
+ obj._deserialize(item)
66768
+ self._Data.append(obj)
66769
+ memeber_set = set(params.keys())
66770
+ for name, value in vars(self).items():
66771
+ property_name = name[1:]
66772
+ if property_name in memeber_set:
66773
+ memeber_set.remove(property_name)
66774
+ if len(memeber_set) > 0:
66775
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
66776
+
66777
+
66778
+
66536
66779
  class SpekeDrm(AbstractModel):
66537
66780
  r"""FairPlay,WideVine,PlayReady 等Drm加密方式。
66538
66781
 
@@ -68407,6 +68650,322 @@ class TaskSimpleInfo(AbstractModel):
68407
68650
 
68408
68651
 
68409
68652
 
68653
+ class TaskStatData(AbstractModel):
68654
+ r"""任务统计数据。
68655
+
68656
+ """
68657
+
68658
+ def __init__(self):
68659
+ r"""
68660
+ :param _TaskType: 任务类型。
68661
+ <li>Transcode: 转码</li>
68662
+ <li>Enhance: 增强</li>
68663
+ <li>AIAnalysis: 智能分析</li>
68664
+ <li>AIRecognition: 智能识别</li>
68665
+ <li>AIReview: 内容审核</li>
68666
+ <li>Snapshot: 截图</li>
68667
+ <li>AnimatedGraphics: 转动图</li>
68668
+ <li>ImageProcess: 图片处理</li>
68669
+ :type TaskType: str
68670
+ :param _Summary: 任务数统计数据概览。
68671
+ <li>Transcode:用量单位为秒</li>
68672
+ <li>Enhance:用量单位为秒</li>
68673
+ <li>AIAnalysis:用量单位为秒</li>
68674
+ <li>AIRecognition:用量单位为秒</li>
68675
+ <li>AIReview:用量单位为秒</li>
68676
+ <li>Snapshot:用量单位为张</li>
68677
+ <li>AnimatedGraphics: 用量单位为秒</li>
68678
+ <li>ImageProcess: 用量单位为张</li>
68679
+ :type Summary: list of TaskStatDataItem
68680
+ :param _Details: 不同规格任务统计数据详情。
68681
+
68682
+ 1、转码规格:
68683
+ <li>Audio:纯音频</li>
68684
+ <li>Remuxing:转封装</li>
68685
+ <li>其他转码规格:{TYPE}.{CODEC}.{SPECIFICATION}</li>  其中 TYPE 取值
68686
+     Standard:普通转码
68687
+     TESHD-10:视频极速高清
68688
+     TESHD-20:音频极速高清
68689
+     TESHD-30:音视频极速高清
68690
+     TESHD-30-SDK:音视频极速高清SDK按时长计费
68691
+     TESHD-30-SDKCores:音视频极速高清SDK按核心数计费
68692
+     Edit:视频编辑
68693
+   其中 CODEC 取值
68694
+     H264:H.264 编码
68695
+     H265:H.265 编码
68696
+     AV1:AV1 编码
68697
+     MV-HEVC:MV-HEVC 编码
68698
+   其中 SPECIFICATION 取值
68699
+     SD:标清
68700
+     HD:高清
68701
+     FHD:全高清
68702
+     2K:2K
68703
+     4K:4K
68704
+ 例如 TESHD-10.H265.HD 表示 H.265 编码方式高清极速高清转码
68705
+
68706
+ 2、增强规格:视频增强格式:{TYPE}.{CODEC}.{SPECIFICATION}.{FPS},其中 CODEC 和 SPECIFICATION 同转码,FPS在原子类型时才存在;音频增强格式:{TYPE}。
68707
+ 增强TYPE 取值:
68708
+ <li>Enhance:通用增强类型,可能是任意一种原子增强类型</li>
68709
+ <li>原子增强类型</li>  视频原子增强类型取值:
68710
+     Sdr2hdr:SDR2HDR
68711
+     SuperResolution:超分
68712
+     InsertFrame:插帧
68713
+     ComprehensiveEnhancement:综合增强
68714
+     NoiseReduction:视频降噪
68715
+     ColorEnhancement:色彩增强
68716
+     RemoveScratches:去划痕
68717
+     Deburr:去毛刺
68718
+     DetailEnhancement:细节增强
68719
+     LightEnhancement:低光照增强
68720
+     FaceEnhancement:人脸增强
68721
+   音频原子增强类型取值:
68722
+     AudioNoiseReduction
68723
+     VolumeBalance
68724
+     AudioBeautify
68725
+     AudioSeparation
68726
+
68727
+ 3、截图规格:
68728
+ <li>ImageSprite:雪碧图</li>
68729
+ <li>SampleSnapshot:采样截图</li>
68730
+ <li>SnapshotByTime:时间点截图</li>
68731
+ 4、图片处理规格:{TYPE}.{CODEC}.{SPECIFICATION}
68732
+ <li> ImageCompression:图片编码</li>
68733
+ <li> ImageSuperResolution:图片超分</li>
68734
+ <li> EnhanceImageColor:图片色彩增强</li>
68735
+ 5、智能分析规格:
68736
+ <li>AIAnalysis:分析大类,对于未拆分的</li>
68737
+ <li>VideoTag:视频标签</li>
68738
+ <li>VideoClassification:视频分类</li>
68739
+ <li>SmartCover:智能封面</li>
68740
+ <li>FrameLabel:帧标签</li>
68741
+ <li>VideoSplit:视频拆条</li>
68742
+ <li>Highlights:精彩集锦</li>
68743
+ <li>OpeningAndEnding:片头片尾</li>
68744
+ 6、智能识别规格:
68745
+ <li>AIRecognition:识别大类,对于未拆分的</li>
68746
+ <li>FaceRecognition:人脸识别</li>
68747
+ <li>TextRecognition:文字识别</li>
68748
+ <li>ObjectRecognition:物体识别</li>
68749
+ <li>VoiceRecognition:语音识别</li>
68750
+ <li>VoiceTranslation:语音翻译</li>
68751
+ 7、内容审核、转动图无细分规格。
68752
+ :type Details: list of SpecificationDataItem
68753
+ """
68754
+ self._TaskType = None
68755
+ self._Summary = None
68756
+ self._Details = None
68757
+
68758
+ @property
68759
+ def TaskType(self):
68760
+ r"""任务类型。
68761
+ <li>Transcode: 转码</li>
68762
+ <li>Enhance: 增强</li>
68763
+ <li>AIAnalysis: 智能分析</li>
68764
+ <li>AIRecognition: 智能识别</li>
68765
+ <li>AIReview: 内容审核</li>
68766
+ <li>Snapshot: 截图</li>
68767
+ <li>AnimatedGraphics: 转动图</li>
68768
+ <li>ImageProcess: 图片处理</li>
68769
+ :rtype: str
68770
+ """
68771
+ return self._TaskType
68772
+
68773
+ @TaskType.setter
68774
+ def TaskType(self, TaskType):
68775
+ self._TaskType = TaskType
68776
+
68777
+ @property
68778
+ def Summary(self):
68779
+ r"""任务数统计数据概览。
68780
+ <li>Transcode:用量单位为秒</li>
68781
+ <li>Enhance:用量单位为秒</li>
68782
+ <li>AIAnalysis:用量单位为秒</li>
68783
+ <li>AIRecognition:用量单位为秒</li>
68784
+ <li>AIReview:用量单位为秒</li>
68785
+ <li>Snapshot:用量单位为张</li>
68786
+ <li>AnimatedGraphics: 用量单位为秒</li>
68787
+ <li>ImageProcess: 用量单位为张</li>
68788
+ :rtype: list of TaskStatDataItem
68789
+ """
68790
+ return self._Summary
68791
+
68792
+ @Summary.setter
68793
+ def Summary(self, Summary):
68794
+ self._Summary = Summary
68795
+
68796
+ @property
68797
+ def Details(self):
68798
+ r"""不同规格任务统计数据详情。
68799
+
68800
+ 1、转码规格:
68801
+ <li>Audio:纯音频</li>
68802
+ <li>Remuxing:转封装</li>
68803
+ <li>其他转码规格:{TYPE}.{CODEC}.{SPECIFICATION}</li>  其中 TYPE 取值
68804
+     Standard:普通转码
68805
+     TESHD-10:视频极速高清
68806
+     TESHD-20:音频极速高清
68807
+     TESHD-30:音视频极速高清
68808
+     TESHD-30-SDK:音视频极速高清SDK按时长计费
68809
+     TESHD-30-SDKCores:音视频极速高清SDK按核心数计费
68810
+     Edit:视频编辑
68811
+   其中 CODEC 取值
68812
+     H264:H.264 编码
68813
+     H265:H.265 编码
68814
+     AV1:AV1 编码
68815
+     MV-HEVC:MV-HEVC 编码
68816
+   其中 SPECIFICATION 取值
68817
+     SD:标清
68818
+     HD:高清
68819
+     FHD:全高清
68820
+     2K:2K
68821
+     4K:4K
68822
+ 例如 TESHD-10.H265.HD 表示 H.265 编码方式高清极速高清转码
68823
+
68824
+ 2、增强规格:视频增强格式:{TYPE}.{CODEC}.{SPECIFICATION}.{FPS},其中 CODEC 和 SPECIFICATION 同转码,FPS在原子类型时才存在;音频增强格式:{TYPE}。
68825
+ 增强TYPE 取值:
68826
+ <li>Enhance:通用增强类型,可能是任意一种原子增强类型</li>
68827
+ <li>原子增强类型</li>  视频原子增强类型取值:
68828
+     Sdr2hdr:SDR2HDR
68829
+     SuperResolution:超分
68830
+     InsertFrame:插帧
68831
+     ComprehensiveEnhancement:综合增强
68832
+     NoiseReduction:视频降噪
68833
+     ColorEnhancement:色彩增强
68834
+     RemoveScratches:去划痕
68835
+     Deburr:去毛刺
68836
+     DetailEnhancement:细节增强
68837
+     LightEnhancement:低光照增强
68838
+     FaceEnhancement:人脸增强
68839
+   音频原子增强类型取值:
68840
+     AudioNoiseReduction
68841
+     VolumeBalance
68842
+     AudioBeautify
68843
+     AudioSeparation
68844
+
68845
+ 3、截图规格:
68846
+ <li>ImageSprite:雪碧图</li>
68847
+ <li>SampleSnapshot:采样截图</li>
68848
+ <li>SnapshotByTime:时间点截图</li>
68849
+ 4、图片处理规格:{TYPE}.{CODEC}.{SPECIFICATION}
68850
+ <li> ImageCompression:图片编码</li>
68851
+ <li> ImageSuperResolution:图片超分</li>
68852
+ <li> EnhanceImageColor:图片色彩增强</li>
68853
+ 5、智能分析规格:
68854
+ <li>AIAnalysis:分析大类,对于未拆分的</li>
68855
+ <li>VideoTag:视频标签</li>
68856
+ <li>VideoClassification:视频分类</li>
68857
+ <li>SmartCover:智能封面</li>
68858
+ <li>FrameLabel:帧标签</li>
68859
+ <li>VideoSplit:视频拆条</li>
68860
+ <li>Highlights:精彩集锦</li>
68861
+ <li>OpeningAndEnding:片头片尾</li>
68862
+ 6、智能识别规格:
68863
+ <li>AIRecognition:识别大类,对于未拆分的</li>
68864
+ <li>FaceRecognition:人脸识别</li>
68865
+ <li>TextRecognition:文字识别</li>
68866
+ <li>ObjectRecognition:物体识别</li>
68867
+ <li>VoiceRecognition:语音识别</li>
68868
+ <li>VoiceTranslation:语音翻译</li>
68869
+ 7、内容审核、转动图无细分规格。
68870
+ :rtype: list of SpecificationDataItem
68871
+ """
68872
+ return self._Details
68873
+
68874
+ @Details.setter
68875
+ def Details(self, Details):
68876
+ self._Details = Details
68877
+
68878
+
68879
+ def _deserialize(self, params):
68880
+ self._TaskType = params.get("TaskType")
68881
+ if params.get("Summary") is not None:
68882
+ self._Summary = []
68883
+ for item in params.get("Summary"):
68884
+ obj = TaskStatDataItem()
68885
+ obj._deserialize(item)
68886
+ self._Summary.append(obj)
68887
+ if params.get("Details") is not None:
68888
+ self._Details = []
68889
+ for item in params.get("Details"):
68890
+ obj = SpecificationDataItem()
68891
+ obj._deserialize(item)
68892
+ self._Details.append(obj)
68893
+ memeber_set = set(params.keys())
68894
+ for name, value in vars(self).items():
68895
+ property_name = name[1:]
68896
+ if property_name in memeber_set:
68897
+ memeber_set.remove(property_name)
68898
+ if len(memeber_set) > 0:
68899
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
68900
+
68901
+
68902
+
68903
+ class TaskStatDataItem(AbstractModel):
68904
+ r"""任务统计数据,包括任务数和用量。
68905
+
68906
+ """
68907
+
68908
+ def __init__(self):
68909
+ r"""
68910
+ :param _Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
68911
+ :type Time: str
68912
+ :param _Count: 任务数。
68913
+ :type Count: int
68914
+ :param _Usage: 任务用量。
68915
+ :type Usage: int
68916
+ """
68917
+ self._Time = None
68918
+ self._Count = None
68919
+ self._Usage = None
68920
+
68921
+ @property
68922
+ def Time(self):
68923
+ r"""数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
68924
+ :rtype: str
68925
+ """
68926
+ return self._Time
68927
+
68928
+ @Time.setter
68929
+ def Time(self, Time):
68930
+ self._Time = Time
68931
+
68932
+ @property
68933
+ def Count(self):
68934
+ r"""任务数。
68935
+ :rtype: int
68936
+ """
68937
+ return self._Count
68938
+
68939
+ @Count.setter
68940
+ def Count(self, Count):
68941
+ self._Count = Count
68942
+
68943
+ @property
68944
+ def Usage(self):
68945
+ r"""任务用量。
68946
+ :rtype: int
68947
+ """
68948
+ return self._Usage
68949
+
68950
+ @Usage.setter
68951
+ def Usage(self, Usage):
68952
+ self._Usage = Usage
68953
+
68954
+
68955
+ def _deserialize(self, params):
68956
+ self._Time = params.get("Time")
68957
+ self._Count = params.get("Count")
68958
+ self._Usage = params.get("Usage")
68959
+ memeber_set = set(params.keys())
68960
+ for name, value in vars(self).items():
68961
+ property_name = name[1:]
68962
+ if property_name in memeber_set:
68963
+ memeber_set.remove(property_name)
68964
+ if len(memeber_set) > 0:
68965
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
68966
+
68967
+
68968
+
68410
68969
  class TerrorismConfigureInfo(AbstractModel):
68411
68970
  r"""涉敏任务控制参数
68412
68971
 
@@ -2268,6 +2268,31 @@ class MpsClient(AbstractClient):
2268
2268
  raise TencentCloudSDKException(type(e).__name__, str(e))
2269
2269
 
2270
2270
 
2271
+ def DescribeUsageData(self, request):
2272
+ r"""该接口返回查询时间范围内每天使用的媒体处理用量信息。
2273
+ 1. 可以查询最近365天内的媒体处理统计数据。
2274
+ 2. 查询时间跨度不超过90天。
2275
+
2276
+ :param request: Request instance for DescribeUsageData.
2277
+ :type request: :class:`tencentcloud.mps.v20190612.models.DescribeUsageDataRequest`
2278
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeUsageDataResponse`
2279
+
2280
+ """
2281
+ try:
2282
+ params = request._serialize()
2283
+ headers = request.headers
2284
+ body = self.call("DescribeUsageData", params, headers=headers)
2285
+ response = json.loads(body)
2286
+ model = models.DescribeUsageDataResponse()
2287
+ model._deserialize(response["Response"])
2288
+ return model
2289
+ except Exception as e:
2290
+ if isinstance(e, TencentCloudSDKException):
2291
+ raise
2292
+ else:
2293
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2294
+
2295
+
2271
2296
  def DescribeVideoDatabaseEntryTaskDetail(self, request):
2272
2297
  r"""根据任务ID查询视频入库任务的状态。
2273
2298
 
@@ -1787,6 +1787,26 @@ class MpsClient(AbstractClient):
1787
1787
 
1788
1788
  return await self.call_and_deserialize(**kwargs)
1789
1789
 
1790
+ async def DescribeUsageData(
1791
+ self,
1792
+ request: models.DescribeUsageDataRequest,
1793
+ opts: Dict = None,
1794
+ ) -> models.DescribeUsageDataResponse:
1795
+ """
1796
+ 该接口返回查询时间范围内每天使用的媒体处理用量信息。
1797
+ 1. 可以查询最近365天内的媒体处理统计数据。
1798
+ 2. 查询时间跨度不超过90天。
1799
+ """
1800
+
1801
+ kwargs = {}
1802
+ kwargs["action"] = "DescribeUsageData"
1803
+ kwargs["params"] = request._serialize()
1804
+ kwargs["resp_cls"] = models.DescribeUsageDataResponse
1805
+ kwargs["headers"] = request.headers
1806
+ kwargs["opts"] = opts or {}
1807
+
1808
+ return await self.call_and_deserialize(**kwargs)
1809
+
1790
1810
  async def DescribeVideoDatabaseEntryTaskDetail(
1791
1811
  self,
1792
1812
  request: models.DescribeVideoDatabaseEntryTaskDetailRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.3
3
+ Version: 3.1.4
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.3
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.4
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.3