tencentcloud-sdk-python-intl-en 3.0.1094__py2.py3-none-any.whl → 3.0.1096__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

@@ -3638,8 +3638,12 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3638
3638
  r"""
3639
3639
  :param _SegmentSet: Intelligent splitting sub-segment list.
3640
3640
  :type SegmentSet: list of SegmentRecognitionItem
3641
+ :param _Abstract: Video abstract, used for offline scenarios.
3642
+ Note: This field may return null, indicating that no valid value can be obtained.
3643
+ :type Abstract: str
3641
3644
  """
3642
3645
  self._SegmentSet = None
3646
+ self._Abstract = None
3643
3647
 
3644
3648
  @property
3645
3649
  def SegmentSet(self):
@@ -3652,6 +3656,18 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3652
3656
  def SegmentSet(self, SegmentSet):
3653
3657
  self._SegmentSet = SegmentSet
3654
3658
 
3659
+ @property
3660
+ def Abstract(self):
3661
+ """Video abstract, used for offline scenarios.
3662
+ Note: This field may return null, indicating that no valid value can be obtained.
3663
+ :rtype: str
3664
+ """
3665
+ return self._Abstract
3666
+
3667
+ @Abstract.setter
3668
+ def Abstract(self, Abstract):
3669
+ self._Abstract = Abstract
3670
+
3655
3671
 
3656
3672
  def _deserialize(self, params):
3657
3673
  if params.get("SegmentSet") is not None:
@@ -3660,6 +3676,7 @@ class AiAnalysisTaskSegmentOutput(AbstractModel):
3660
3676
  obj = SegmentRecognitionItem()
3661
3677
  obj._deserialize(item)
3662
3678
  self._SegmentSet.append(obj)
3679
+ self._Abstract = params.get("Abstract")
3663
3680
  memeber_set = set(params.keys())
3664
3681
  for name, value in vars(self).items():
3665
3682
  property_name = name[1:]
@@ -4866,11 +4883,14 @@ class AiRecognitionTaskAsrFullTextSegmentItem(AbstractModel):
4866
4883
  :type EndTimeOffset: float
4867
4884
  :param _Text: Recognized text.
4868
4885
  :type Text: str
4886
+ :param _Wordlist: Word timestamp information.
4887
+ :type Wordlist: list of WordResult
4869
4888
  """
4870
4889
  self._Confidence = None
4871
4890
  self._StartTimeOffset = None
4872
4891
  self._EndTimeOffset = None
4873
4892
  self._Text = None
4893
+ self._Wordlist = None
4874
4894
 
4875
4895
  @property
4876
4896
  def Confidence(self):
@@ -4916,12 +4936,29 @@ class AiRecognitionTaskAsrFullTextSegmentItem(AbstractModel):
4916
4936
  def Text(self, Text):
4917
4937
  self._Text = Text
4918
4938
 
4939
+ @property
4940
+ def Wordlist(self):
4941
+ """Word timestamp information.
4942
+ :rtype: list of WordResult
4943
+ """
4944
+ return self._Wordlist
4945
+
4946
+ @Wordlist.setter
4947
+ def Wordlist(self, Wordlist):
4948
+ self._Wordlist = Wordlist
4949
+
4919
4950
 
4920
4951
  def _deserialize(self, params):
4921
4952
  self._Confidence = params.get("Confidence")
4922
4953
  self._StartTimeOffset = params.get("StartTimeOffset")
4923
4954
  self._EndTimeOffset = params.get("EndTimeOffset")
4924
4955
  self._Text = params.get("Text")
4956
+ if params.get("Wordlist") is not None:
4957
+ self._Wordlist = []
4958
+ for item in params.get("Wordlist"):
4959
+ obj = WordResult()
4960
+ obj._deserialize(item)
4961
+ self._Wordlist.append(obj)
4925
4962
  memeber_set = set(params.keys())
4926
4963
  for name, value in vars(self).items():
4927
4964
  property_name = name[1:]
@@ -5787,8 +5824,11 @@ class AiRecognitionTaskInput(AbstractModel):
5787
5824
  r"""
5788
5825
  :param _Definition: Intelligent video recognition template ID.
5789
5826
  :type Definition: int
5827
+ :param _UserExtPara: User extension field, which does not need to be filled in for general scenarios.
5828
+ :type UserExtPara: str
5790
5829
  """
5791
5830
  self._Definition = None
5831
+ self._UserExtPara = None
5792
5832
 
5793
5833
  @property
5794
5834
  def Definition(self):
@@ -5801,9 +5841,21 @@ class AiRecognitionTaskInput(AbstractModel):
5801
5841
  def Definition(self, Definition):
5802
5842
  self._Definition = Definition
5803
5843
 
5844
+ @property
5845
+ def UserExtPara(self):
5846
+ """User extension field, which does not need to be filled in for general scenarios.
5847
+ :rtype: str
5848
+ """
5849
+ return self._UserExtPara
5850
+
5851
+ @UserExtPara.setter
5852
+ def UserExtPara(self, UserExtPara):
5853
+ self._UserExtPara = UserExtPara
5854
+
5804
5855
 
5805
5856
  def _deserialize(self, params):
5806
5857
  self._Definition = params.get("Definition")
5858
+ self._UserExtPara = params.get("UserExtPara")
5807
5859
  memeber_set = set(params.keys())
5808
5860
  for name, value in vars(self).items():
5809
5861
  property_name = name[1:]
@@ -7033,12 +7085,15 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
7033
7085
  :type Text: str
7034
7086
  :param _Trans: The translation.
7035
7087
  :type Trans: str
7088
+ :param _Wordlist: Word timestamp information.
7089
+ :type Wordlist: list of WordResult
7036
7090
  """
7037
7091
  self._Confidence = None
7038
7092
  self._StartTimeOffset = None
7039
7093
  self._EndTimeOffset = None
7040
7094
  self._Text = None
7041
7095
  self._Trans = None
7096
+ self._Wordlist = None
7042
7097
 
7043
7098
  @property
7044
7099
  def Confidence(self):
@@ -7095,6 +7150,17 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
7095
7150
  def Trans(self, Trans):
7096
7151
  self._Trans = Trans
7097
7152
 
7153
+ @property
7154
+ def Wordlist(self):
7155
+ """Word timestamp information.
7156
+ :rtype: list of WordResult
7157
+ """
7158
+ return self._Wordlist
7159
+
7160
+ @Wordlist.setter
7161
+ def Wordlist(self, Wordlist):
7162
+ self._Wordlist = Wordlist
7163
+
7098
7164
 
7099
7165
  def _deserialize(self, params):
7100
7166
  self._Confidence = params.get("Confidence")
@@ -7102,6 +7168,12 @@ class AiRecognitionTaskTransTextSegmentItem(AbstractModel):
7102
7168
  self._EndTimeOffset = params.get("EndTimeOffset")
7103
7169
  self._Text = params.get("Text")
7104
7170
  self._Trans = params.get("Trans")
7171
+ if params.get("Wordlist") is not None:
7172
+ self._Wordlist = []
7173
+ for item in params.get("Wordlist"):
7174
+ obj = WordResult()
7175
+ obj._deserialize(item)
7176
+ self._Wordlist.append(obj)
7105
7177
  memeber_set = set(params.keys())
7106
7178
  for name, value in vars(self).items():
7107
7179
  property_name = name[1:]
@@ -20623,6 +20695,22 @@ This parameter is left empty by default, which indicates to return all types of
20623
20695
  :type TranscodeType: str
20624
20696
  :param _Name: Filter condition for transcoding template identifiers, with a length limit of 64 characters.
20625
20697
  :type Name: str
20698
+ :param _SceneType: Video scenario. Optional values:
20699
+ normal: General transcoding scenario: General transcoding and compression scenario.
20700
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
20701
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
20702
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
20703
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
20704
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
20705
+ no_config: Not configured.
20706
+ :type SceneType: str
20707
+ :param _CompressType: Transcoding policy. Optional values:
20708
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
20709
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
20710
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
20711
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
20712
+ no_config: Not configured.
20713
+ :type CompressType: str
20626
20714
  """
20627
20715
  self._Definitions = None
20628
20716
  self._Type = None
@@ -20632,6 +20720,8 @@ This parameter is left empty by default, which indicates to return all types of
20632
20720
  self._Limit = None
20633
20721
  self._TranscodeType = None
20634
20722
  self._Name = None
20723
+ self._SceneType = None
20724
+ self._CompressType = None
20635
20725
 
20636
20726
  @property
20637
20727
  def Definitions(self):
@@ -20731,6 +20821,40 @@ This parameter is left empty by default, which indicates to return all types of
20731
20821
  def Name(self, Name):
20732
20822
  self._Name = Name
20733
20823
 
20824
+ @property
20825
+ def SceneType(self):
20826
+ """Video scenario. Optional values:
20827
+ normal: General transcoding scenario: General transcoding and compression scenario.
20828
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
20829
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
20830
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
20831
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
20832
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
20833
+ no_config: Not configured.
20834
+ :rtype: str
20835
+ """
20836
+ return self._SceneType
20837
+
20838
+ @SceneType.setter
20839
+ def SceneType(self, SceneType):
20840
+ self._SceneType = SceneType
20841
+
20842
+ @property
20843
+ def CompressType(self):
20844
+ """Transcoding policy. Optional values:
20845
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
20846
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
20847
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
20848
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
20849
+ no_config: Not configured.
20850
+ :rtype: str
20851
+ """
20852
+ return self._CompressType
20853
+
20854
+ @CompressType.setter
20855
+ def CompressType(self, CompressType):
20856
+ self._CompressType = CompressType
20857
+
20734
20858
 
20735
20859
  def _deserialize(self, params):
20736
20860
  self._Definitions = params.get("Definitions")
@@ -20741,6 +20865,8 @@ This parameter is left empty by default, which indicates to return all types of
20741
20865
  self._Limit = params.get("Limit")
20742
20866
  self._TranscodeType = params.get("TranscodeType")
20743
20867
  self._Name = params.get("Name")
20868
+ self._SceneType = params.get("SceneType")
20869
+ self._CompressType = params.get("CompressType")
20744
20870
  memeber_set = set(params.keys())
20745
20871
  for name, value in vars(self).items():
20746
20872
  property_name = name[1:]
@@ -21819,8 +21945,11 @@ class EditMediaOutputConfig(AbstractModel):
21819
21945
  :param _Container: The container. Valid values: `mp4` (default), `hls`, `mov`, `flv`, `avi`.
21820
21946
  Note: This field may return·null, indicating that no valid values can be obtained.
21821
21947
  :type Container: str
21822
- :param _Type: The clip mode. Valid values: `normal` (default), `fast`.
21823
- Note: This field may return·null, indicating that no valid values can be obtained.
21948
+ :param _Type: Editing mode. Optional values:
21949
+ normal (default): Precise editing
21950
+ fast: Fast editing, with faster processing speed but lower precision to some extent
21951
+ Note: fast only supports individual files, and the default output transcoding format of normal is h264.
21952
+ Note: This field may return null, indicating that no valid value can be obtained.
21824
21953
  :type Type: str
21825
21954
  """
21826
21955
  self._Container = None
@@ -21840,8 +21969,11 @@ Note: This field may return·null, indicating that no valid values can be obtain
21840
21969
 
21841
21970
  @property
21842
21971
  def Type(self):
21843
- """The clip mode. Valid values: `normal` (default), `fast`.
21844
- Note: This field may return·null, indicating that no valid values can be obtained.
21972
+ """Editing mode. Optional values:
21973
+ normal (default): Precise editing
21974
+ fast: Fast editing, with faster processing speed but lower precision to some extent
21975
+ Note: fast only supports individual files, and the default output transcoding format of normal is h264.
21976
+ Note: This field may return null, indicating that no valid value can be obtained.
21845
21977
  :rtype: str
21846
21978
  """
21847
21979
  return self._Type
@@ -23235,6 +23367,152 @@ Note: This field may return null, indicating that no valid values can be obtaine
23235
23367
 
23236
23368
 
23237
23369
 
23370
+ class ImageEncodeConfig(AbstractModel):
23371
+ """Image encoding format parameters
23372
+
23373
+ """
23374
+
23375
+ def __init__(self):
23376
+ r"""
23377
+ :param _Format: Image format. Valid values: JPG, BMP, GIF, PNG, and WebP. The default is the original image format.
23378
+ Note: This field may return null, indicating that no valid value can be obtained.
23379
+ :type Format: str
23380
+ :param _Quality: Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality.
23381
+ Note: This field may return null, indicating that no valid value can be obtained.
23382
+ :type Quality: int
23383
+ """
23384
+ self._Format = None
23385
+ self._Quality = None
23386
+
23387
+ @property
23388
+ def Format(self):
23389
+ """Image format. Valid values: JPG, BMP, GIF, PNG, and WebP. The default is the original image format.
23390
+ Note: This field may return null, indicating that no valid value can be obtained.
23391
+ :rtype: str
23392
+ """
23393
+ return self._Format
23394
+
23395
+ @Format.setter
23396
+ def Format(self, Format):
23397
+ self._Format = Format
23398
+
23399
+ @property
23400
+ def Quality(self):
23401
+ """Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality.
23402
+ Note: This field may return null, indicating that no valid value can be obtained.
23403
+ :rtype: int
23404
+ """
23405
+ return self._Quality
23406
+
23407
+ @Quality.setter
23408
+ def Quality(self, Quality):
23409
+ self._Quality = Quality
23410
+
23411
+
23412
+ def _deserialize(self, params):
23413
+ self._Format = params.get("Format")
23414
+ self._Quality = params.get("Quality")
23415
+ memeber_set = set(params.keys())
23416
+ for name, value in vars(self).items():
23417
+ property_name = name[1:]
23418
+ if property_name in memeber_set:
23419
+ memeber_set.remove(property_name)
23420
+ if len(memeber_set) > 0:
23421
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23422
+
23423
+
23424
+
23425
+ class ImageEnhanceConfig(AbstractModel):
23426
+ """Image enhancement parameters
23427
+
23428
+ """
23429
+
23430
+ def __init__(self):
23431
+ r"""
23432
+ :param _SuperResolution: Super-resolution configuration.
23433
+ Note: This field may return null, indicating that no valid value can be obtained.
23434
+ :type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
23435
+ :param _ColorEnhance:
23436
+ :type ColorEnhance: :class:`tencentcloud.mps.v20190612.models.ColorEnhanceConfig`
23437
+ :param _SharpEnhance:
23438
+ :type SharpEnhance: :class:`tencentcloud.mps.v20190612.models.SharpEnhanceConfig`
23439
+ :param _FaceEnhance:
23440
+ :type FaceEnhance: :class:`tencentcloud.mps.v20190612.models.FaceEnhanceConfig`
23441
+ """
23442
+ self._SuperResolution = None
23443
+ self._ColorEnhance = None
23444
+ self._SharpEnhance = None
23445
+ self._FaceEnhance = None
23446
+
23447
+ @property
23448
+ def SuperResolution(self):
23449
+ """Super-resolution configuration.
23450
+ Note: This field may return null, indicating that no valid value can be obtained.
23451
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
23452
+ """
23453
+ return self._SuperResolution
23454
+
23455
+ @SuperResolution.setter
23456
+ def SuperResolution(self, SuperResolution):
23457
+ self._SuperResolution = SuperResolution
23458
+
23459
+ @property
23460
+ def ColorEnhance(self):
23461
+ """
23462
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ColorEnhanceConfig`
23463
+ """
23464
+ return self._ColorEnhance
23465
+
23466
+ @ColorEnhance.setter
23467
+ def ColorEnhance(self, ColorEnhance):
23468
+ self._ColorEnhance = ColorEnhance
23469
+
23470
+ @property
23471
+ def SharpEnhance(self):
23472
+ """
23473
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SharpEnhanceConfig`
23474
+ """
23475
+ return self._SharpEnhance
23476
+
23477
+ @SharpEnhance.setter
23478
+ def SharpEnhance(self, SharpEnhance):
23479
+ self._SharpEnhance = SharpEnhance
23480
+
23481
+ @property
23482
+ def FaceEnhance(self):
23483
+ """
23484
+ :rtype: :class:`tencentcloud.mps.v20190612.models.FaceEnhanceConfig`
23485
+ """
23486
+ return self._FaceEnhance
23487
+
23488
+ @FaceEnhance.setter
23489
+ def FaceEnhance(self, FaceEnhance):
23490
+ self._FaceEnhance = FaceEnhance
23491
+
23492
+
23493
+ def _deserialize(self, params):
23494
+ if params.get("SuperResolution") is not None:
23495
+ self._SuperResolution = SuperResolutionConfig()
23496
+ self._SuperResolution._deserialize(params.get("SuperResolution"))
23497
+ if params.get("ColorEnhance") is not None:
23498
+ self._ColorEnhance = ColorEnhanceConfig()
23499
+ self._ColorEnhance._deserialize(params.get("ColorEnhance"))
23500
+ if params.get("SharpEnhance") is not None:
23501
+ self._SharpEnhance = SharpEnhanceConfig()
23502
+ self._SharpEnhance._deserialize(params.get("SharpEnhance"))
23503
+ if params.get("FaceEnhance") is not None:
23504
+ self._FaceEnhance = FaceEnhanceConfig()
23505
+ self._FaceEnhance._deserialize(params.get("FaceEnhance"))
23506
+ memeber_set = set(params.keys())
23507
+ for name, value in vars(self).items():
23508
+ property_name = name[1:]
23509
+ if property_name in memeber_set:
23510
+ memeber_set.remove(property_name)
23511
+ if len(memeber_set) > 0:
23512
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23513
+
23514
+
23515
+
23238
23516
  class ImageQualityEnhanceConfig(AbstractModel):
23239
23517
  """Overall enhancement configuration.
23240
23518
 
@@ -23680,6 +23958,65 @@ Default value: black.
23680
23958
 
23681
23959
 
23682
23960
 
23961
+ class ImageTaskInput(AbstractModel):
23962
+ """Image task input parameters
23963
+
23964
+ """
23965
+
23966
+ def __init__(self):
23967
+ r"""
23968
+ :param _EncodeConfig: Image encoding configuration.
23969
+ Note: This field may return null, indicating that no valid value can be obtained.
23970
+ :type EncodeConfig: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
23971
+ :param _EnhanceConfig: Image enhancement configuration.
23972
+ Note: This field may return null, indicating that no valid value can be obtained.
23973
+ :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
23974
+ """
23975
+ self._EncodeConfig = None
23976
+ self._EnhanceConfig = None
23977
+
23978
+ @property
23979
+ def EncodeConfig(self):
23980
+ """Image encoding configuration.
23981
+ Note: This field may return null, indicating that no valid value can be obtained.
23982
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEncodeConfig`
23983
+ """
23984
+ return self._EncodeConfig
23985
+
23986
+ @EncodeConfig.setter
23987
+ def EncodeConfig(self, EncodeConfig):
23988
+ self._EncodeConfig = EncodeConfig
23989
+
23990
+ @property
23991
+ def EnhanceConfig(self):
23992
+ """Image enhancement configuration.
23993
+ Note: This field may return null, indicating that no valid value can be obtained.
23994
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageEnhanceConfig`
23995
+ """
23996
+ return self._EnhanceConfig
23997
+
23998
+ @EnhanceConfig.setter
23999
+ def EnhanceConfig(self, EnhanceConfig):
24000
+ self._EnhanceConfig = EnhanceConfig
24001
+
24002
+
24003
+ def _deserialize(self, params):
24004
+ if params.get("EncodeConfig") is not None:
24005
+ self._EncodeConfig = ImageEncodeConfig()
24006
+ self._EncodeConfig._deserialize(params.get("EncodeConfig"))
24007
+ if params.get("EnhanceConfig") is not None:
24008
+ self._EnhanceConfig = ImageEnhanceConfig()
24009
+ self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
24010
+ memeber_set = set(params.keys())
24011
+ for name, value in vars(self).items():
24012
+ property_name = name[1:]
24013
+ if property_name in memeber_set:
24014
+ memeber_set.remove(property_name)
24015
+ if len(memeber_set) > 0:
24016
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
24017
+
24018
+
24019
+
23683
24020
  class ImageWatermarkInput(AbstractModel):
23684
24021
  """Input parameter of an image watermarking template
23685
24022
 
@@ -26738,10 +27075,15 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
26738
27075
 
26739
27076
  def __init__(self):
26740
27077
  r"""
26741
- :param _NotifyType: The notification type, `CMQ` by default. If this parameter is set to `URL`, HTTP callbacks are sent to the URL specified by `NotifyUrl`.
27078
+ :param _NotifyType: Notification type:
26742
27079
 
26743
- <font color="red">Note: If you do not pass this parameter or pass in an empty string, `CMQ` will be used. To use a different notification type, specify this parameter accordingly.</font>
27080
+ "CMQ": Callback messages are written to the CMQ queue;
27081
+ "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).
27082
+
27083
+ <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>
26744
27084
  :type NotifyType: str
27085
+ :param _NotifyUrl: HTTP callback URL, required if `NotifyType` is set to `URL`
27086
+ :type NotifyUrl: str
26745
27087
  :param _CmqModel: CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported.
26746
27088
  :type CmqModel: str
26747
27089
  :param _CmqRegion: CMQ region, such as `sh` and `bj`.
@@ -26750,25 +27092,26 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
26750
27092
  :type QueueName: str
26751
27093
  :param _TopicName: This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications.
26752
27094
  :type TopicName: str
26753
- :param _NotifyUrl: HTTP callback URL, required if `NotifyType` is set to `URL`
26754
- :type NotifyUrl: str
26755
27095
  :param _NotifyKey: Key used to generate a callback signature.
26756
27096
  Note: This field may return null, indicating that no valid values can be obtained.
26757
27097
  :type NotifyKey: str
26758
27098
  """
26759
27099
  self._NotifyType = None
27100
+ self._NotifyUrl = None
26760
27101
  self._CmqModel = None
26761
27102
  self._CmqRegion = None
26762
27103
  self._QueueName = None
26763
27104
  self._TopicName = None
26764
- self._NotifyUrl = None
26765
27105
  self._NotifyKey = None
26766
27106
 
26767
27107
  @property
26768
27108
  def NotifyType(self):
26769
- """The notification type, `CMQ` by default. If this parameter is set to `URL`, HTTP callbacks are sent to the URL specified by `NotifyUrl`.
27109
+ """Notification type:
26770
27110
 
26771
- <font color="red">Note: If you do not pass this parameter or pass in an empty string, `CMQ` will be used. To use a different notification type, specify this parameter accordingly.</font>
27111
+ "CMQ": Callback messages are written to the CMQ queue;
27112
+ "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).
27113
+
27114
+ <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>
26772
27115
  :rtype: str
26773
27116
  """
26774
27117
  return self._NotifyType
@@ -26777,6 +27120,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
26777
27120
  def NotifyType(self, NotifyType):
26778
27121
  self._NotifyType = NotifyType
26779
27122
 
27123
+ @property
27124
+ def NotifyUrl(self):
27125
+ """HTTP callback URL, required if `NotifyType` is set to `URL`
27126
+ :rtype: str
27127
+ """
27128
+ return self._NotifyUrl
27129
+
27130
+ @NotifyUrl.setter
27131
+ def NotifyUrl(self, NotifyUrl):
27132
+ self._NotifyUrl = NotifyUrl
27133
+
26780
27134
  @property
26781
27135
  def CmqModel(self):
26782
27136
  """CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported.
@@ -26821,17 +27175,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
26821
27175
  def TopicName(self, TopicName):
26822
27176
  self._TopicName = TopicName
26823
27177
 
26824
- @property
26825
- def NotifyUrl(self):
26826
- """HTTP callback URL, required if `NotifyType` is set to `URL`
26827
- :rtype: str
26828
- """
26829
- return self._NotifyUrl
26830
-
26831
- @NotifyUrl.setter
26832
- def NotifyUrl(self, NotifyUrl):
26833
- self._NotifyUrl = NotifyUrl
26834
-
26835
27178
  @property
26836
27179
  def NotifyKey(self):
26837
27180
  """Key used to generate a callback signature.
@@ -26847,11 +27190,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
26847
27190
 
26848
27191
  def _deserialize(self, params):
26849
27192
  self._NotifyType = params.get("NotifyType")
27193
+ self._NotifyUrl = params.get("NotifyUrl")
26850
27194
  self._CmqModel = params.get("CmqModel")
26851
27195
  self._CmqRegion = params.get("CmqRegion")
26852
27196
  self._QueueName = params.get("QueueName")
26853
27197
  self._TopicName = params.get("TopicName")
26854
- self._NotifyUrl = params.get("NotifyUrl")
26855
27198
  self._NotifyKey = params.get("NotifyKey")
26856
27199
  memeber_set = set(params.keys())
26857
27200
  for name, value in vars(self).items():
@@ -35602,6 +35945,136 @@ class PornOcrReviewTemplateInfoForUpdate(AbstractModel):
35602
35945
 
35603
35946
 
35604
35947
 
35948
+ class ProcessImageRequest(AbstractModel):
35949
+ """ProcessImage request structure.
35950
+
35951
+ """
35952
+
35953
+ def __init__(self):
35954
+ r"""
35955
+ :param _InputInfo: File input information for image processing.
35956
+ :type InputInfo: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
35957
+ :param _OutputStorage: Target storage for image processing output files. If left blank, it inherits the storage location in InputInfo.
35958
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
35959
+ :param _OutputDir: Output file path for image processing. If left blank, it is the directory of the file in InputInfo. If it is a directory, such as `/image/201907/`, it means inheriting the original filename and outputting to this directory.
35960
+ :type OutputDir: str
35961
+ :param _ImageTask: Image processing parameter.
35962
+ :type ImageTask: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
35963
+ """
35964
+ self._InputInfo = None
35965
+ self._OutputStorage = None
35966
+ self._OutputDir = None
35967
+ self._ImageTask = None
35968
+
35969
+ @property
35970
+ def InputInfo(self):
35971
+ """File input information for image processing.
35972
+ :rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
35973
+ """
35974
+ return self._InputInfo
35975
+
35976
+ @InputInfo.setter
35977
+ def InputInfo(self, InputInfo):
35978
+ self._InputInfo = InputInfo
35979
+
35980
+ @property
35981
+ def OutputStorage(self):
35982
+ """Target storage for image processing output files. If left blank, it inherits the storage location in InputInfo.
35983
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
35984
+ """
35985
+ return self._OutputStorage
35986
+
35987
+ @OutputStorage.setter
35988
+ def OutputStorage(self, OutputStorage):
35989
+ self._OutputStorage = OutputStorage
35990
+
35991
+ @property
35992
+ def OutputDir(self):
35993
+ """Output file path for image processing. If left blank, it is the directory of the file in InputInfo. If it is a directory, such as `/image/201907/`, it means inheriting the original filename and outputting to this directory.
35994
+ :rtype: str
35995
+ """
35996
+ return self._OutputDir
35997
+
35998
+ @OutputDir.setter
35999
+ def OutputDir(self, OutputDir):
36000
+ self._OutputDir = OutputDir
36001
+
36002
+ @property
36003
+ def ImageTask(self):
36004
+ """Image processing parameter.
36005
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageTaskInput`
36006
+ """
36007
+ return self._ImageTask
36008
+
36009
+ @ImageTask.setter
36010
+ def ImageTask(self, ImageTask):
36011
+ self._ImageTask = ImageTask
36012
+
36013
+
36014
+ def _deserialize(self, params):
36015
+ if params.get("InputInfo") is not None:
36016
+ self._InputInfo = MediaInputInfo()
36017
+ self._InputInfo._deserialize(params.get("InputInfo"))
36018
+ if params.get("OutputStorage") is not None:
36019
+ self._OutputStorage = TaskOutputStorage()
36020
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
36021
+ self._OutputDir = params.get("OutputDir")
36022
+ if params.get("ImageTask") is not None:
36023
+ self._ImageTask = ImageTaskInput()
36024
+ self._ImageTask._deserialize(params.get("ImageTask"))
36025
+ memeber_set = set(params.keys())
36026
+ for name, value in vars(self).items():
36027
+ property_name = name[1:]
36028
+ if property_name in memeber_set:
36029
+ memeber_set.remove(property_name)
36030
+ if len(memeber_set) > 0:
36031
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
36032
+
36033
+
36034
+
36035
+ class ProcessImageResponse(AbstractModel):
36036
+ """ProcessImage response structure.
36037
+
36038
+ """
36039
+
36040
+ def __init__(self):
36041
+ r"""
36042
+ :param _TaskId: Task ID.
36043
+ :type TaskId: str
36044
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
36045
+ :type RequestId: str
36046
+ """
36047
+ self._TaskId = None
36048
+ self._RequestId = None
36049
+
36050
+ @property
36051
+ def TaskId(self):
36052
+ """Task ID.
36053
+ :rtype: str
36054
+ """
36055
+ return self._TaskId
36056
+
36057
+ @TaskId.setter
36058
+ def TaskId(self, TaskId):
36059
+ self._TaskId = TaskId
36060
+
36061
+ @property
36062
+ def RequestId(self):
36063
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
36064
+ :rtype: str
36065
+ """
36066
+ return self._RequestId
36067
+
36068
+ @RequestId.setter
36069
+ def RequestId(self, RequestId):
36070
+ self._RequestId = RequestId
36071
+
36072
+
36073
+ def _deserialize(self, params):
36074
+ self._TaskId = params.get("TaskId")
36075
+ self._RequestId = params.get("RequestId")
36076
+
36077
+
35605
36078
  class ProcessLiveStreamRequest(AbstractModel):
35606
36079
  """ProcessLiveStream request structure.
35607
36080
 
@@ -36763,69 +37236,68 @@ class QualityControlItemConfig(AbstractModel):
36763
37236
 
36764
37237
  def __init__(self):
36765
37238
  r"""
36766
- :param _Type: Quality inspection item name. Valid values:
36767
- <li>LowEvaluation: no-reference scoring.</li>
36768
- <li>Mosaic: mosaic detection.</li>
36769
- <li>CrashScreen: screen glitch detection.</li>
36770
- <li>VideoFreezedFrame: video freezing.</li>
36771
- <li>Blur: blur detection.</li>
36772
- <li>BlackWhiteEdge: black and white edges detection.</li>
36773
- <li>SolidColorScreen: solid color screen detection.</li>
36774
- <li>LowLighting: low light.</li>
36775
- <li>HighLighting: overexposure.</li>
36776
- <li>NoVoice: no voice detection.</li>
36777
- <li>LowVoice: low voice detection.</li>
36778
- <li>HighVoice: high voice detection.</li>
36779
- <li>Jitter: jitter detection.</li>
36780
- <li>Noise: noise detection.</li>
37239
+ :param _Type: Quality control item name. The quality control item values are as follows:
37240
+ <li>LowEvaluation: No reference score.</li>
37241
+ <li>Mosaic: Mosaic detection.</li>
37242
+ <li>CrashScreen: Screen crash detection.</li>
37243
+ <li>Blur: Blur detection.</li>
37244
+ <li>BlackWhiteEdge: Black and white edge detection.</li>
37245
+ <li>SolidColorScreen: Solid color screen detection.</li>
37246
+ <li>LowLighting: Low lighting.</li>
37247
+ <li>HighLighting: Overexposure.</li>
37248
+ <li>NoVoice: Silence detection.</li>
37249
+ <li>LowVoice: Low voice detection.</li>
37250
+ <li>HighVoice: High voice detection.</li>
37251
+ <li>Jitter: Jitter detection.</li>
37252
+ <li>Noise: Noise detection.</li>
36781
37253
  <li>QRCode: QR code detection.</li>
36782
- <li>BarCode: barcode detection.</li>
36783
- <li>AppletCode: mini program code detection.</li>
36784
- <li>VideoResolutionChanged: video resolution change.</li>
36785
- <li>AudioSampleRateChanged: audio sample rate change.</li>
36786
- <li>AudioChannelsChanged: audio channel quantity change.</li>
36787
- <li>ParameterSetsChanged: stream parameter set information change.</li>
36788
- <li>DarOrSarInvalid: video aspect ratio exception.</li>
36789
- <li>TimestampFallback: DTS timestamp rollback.</li>
36790
- <li>DtsJitter: DTS jitter too high.</li>
36791
- <li>PtsJitter: PTS jitter too high.</li>
36792
- <li>AACDurationDeviation: improper AAC frame timestamp interval.</li>
36793
- <li>AudioDroppingFrames: audio frame dropping.</li>
36794
- <li>VideoDroppingFrames: video frame dropping.</li>
36795
- <li>AVTimestampInterleave: improper audio-video interleaving.</li>
36796
- <li>PtsLessThanDts: PTS less than DTS for media streams.</li>
36797
- <li>ReceiveFpsJitter: significant jitter in the network receive frame rate.</li>
36798
- <li>ReceiveFpsTooSmall: network receive video frame rate too low.</li>
36799
- <li>FpsJitter: significant jitter in the stream frame rate calculated via PTS.</li>
36800
- <li>StreamOpenFailed: stream open failure.</li>
36801
- <li>StreamEnd: stream end.</li>
36802
- <li>StreamParseFailed: stream parsing failure.</li>
36803
- <li>VideoFirstFrameNotIdr: first frame not an IDR frame.</li>
37254
+ <li>BarCode: Barcode detection.</li>
37255
+ <li>AppletCode: Applet code detection.</li>
37256
+ <li>VideoResolutionChanged: The video resolution changed.</li>
37257
+ <li>AudioSampleRateChanged: The audio sampling rate changed.</li>
37258
+ <li>AudioChannelsChanged: The audio channel count changed.</li>
37259
+ <li>ParameterSetsChanged: The stream parameter set information changed.</li>
37260
+ <li>DarOrSarInvalid: Abnormal video aspect ratio.</li>
37261
+ <li>TimestampFallback: DTS timestamp fallback.</li>
37262
+ <li>DtsJitter: Excessive DTS jitter.</li>
37263
+ <li>PtsJitter: Excessive PTS jitter.</li>
37264
+ <li>AACDurationDeviation: Unreasonable AAC frame timestamp interval.</li>
37265
+ <li>AudioDroppingFrames: Audio frame loss.</li>
37266
+ <li>VideoDroppingFrames: Video frame loss.</li>
37267
+ <li>AVTimestampInterleave: Unreasonable audio and video interleaving.</li>
37268
+ <li>PtsLessThanDts: The PTS of media streams is less than DTS.</li>
37269
+ <li>ReceiveFpsJitter: Excessive jitter of the frame rate received by the network.</li>
37270
+ <li>ReceiveFpsTooSmall: Too low video frame rate received by the network.</li>
37271
+ <li>FpsJitter: Excessive stream frame rate jitter calculated through PTS.</li>
37272
+ <li>StreamOpenFailed: Stream opening failed.</li>
37273
+ <li>StreamEnd: The stream ended.</li>
37274
+ <li>StreamParseFailed: Stream parsing failed.</li>
37275
+ <li>VideoFirstFrameNotIdr: The first frame is not an IDR frame.</li>
36804
37276
  <li>StreamNALUError: NALU start code error.</li>
36805
- <li>TsStreamNoAud: no AUD NALU in the H26x stream of MPEG-TS.</li>
36806
- <li>AudioStreamLack: no audio stream.</li>
36807
- <li>VideoStreamLack: no video stream.</li>
36808
- <li>LackAudioRecover: missing audio stream recovery.</li>
36809
- <li>LackVideoRecover: missing video stream recovery.</li>
36810
- <li>VideoBitrateOutofRange: video stream bitrate (kbps) out of range.</li>
36811
- <li>AudioBitrateOutofRange: audio stream bitrate (kbps) out of range.</li>
36812
- <li>VideoDecodeFailed: video decoding error.</li>
36813
- <li>AudioDecodeFailed: audio decoding error.</li>
36814
- <li>AudioOutOfPhase: opposite phase in dual-channel audio.</li>
36815
- <li>VideoDuplicatedFrame: duplicate frames in video streams.</li>
36816
- <li>AudioDuplicatedFrame: duplicate frames in audio streams.</li>
36817
- <li>VideoRotation: video rotation.</li>
36818
- <li>TsMultiPrograms: multiple programs in MPEG2-TS streams.</li>
36819
- <li>Mp4InvalidCodecFourcc: codec FourCC in MP4 not meeting Apple HLS requirements.</li>
36820
- <li>HLSBadM3u8Format: invalid M3U8 file.</li>
36821
- <li>HLSInvalidMasterM3u8: invalid main M3U8 file.</li>
36822
- <li>HLSInvalidMediaM3u8: invalid media M3U8 file.</li>
36823
- <li>HLSMasterM3u8Recommended: parameters recommended by standards missing in main M3U8.</li>
36824
- <li>HLSMediaM3u8Recommended: parameters recommended by standards missing in media M3U8.</li>
36825
- <li>HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY in media M3U8.</li>
36826
- <li>HLSMediaSegmentsStreamNumChange: changed number of streams in segments.</li>
36827
- <li>HLSMediaSegmentsPTSJitterDeviation: PTS jumps between segments without EXT-X-DISCONTINUITY.</li>
36828
- <li>HLSMediaSegmentsDTSJitterDeviation: DTS jumps between segments without EXT-X-DISCONTINUITY.</li>
37277
+ <li>TsStreamNoAud: The H26x stream of MPEGTS lacks AUD NALU.</li>
37278
+ <li>AudioStreamLack: No audio stream.</li>
37279
+ <li>VideoStreamLack: No video stream.</li>
37280
+ <li>LackAudioRecover: Lack of audio stream recovery.</li>
37281
+ <li>LackVideoRecover: Lack of video stream recovery.</li>
37282
+ <li>VideoBitrateOutofRange: Out-of-range video stream bitrate (kbps).</li>
37283
+ <li>AudioBitrateOutofRange: Out-of-range audio stream bitrate (kbps).</li>
37284
+ <li>VideoDecodeFailed: Video decoding error.</li>
37285
+ <li>AudioDecodeFailed: Audio decoding error.</li>
37286
+ <li>AudioOutOfPhase: Opposite phase in Dual-channel audio.</li>
37287
+ <li>VideoDuplicatedFrame: Duplicate frames in the video stream.</li>
37288
+ <li>AudioDuplicatedFrame: Duplicate frames in the audio stream.</li>
37289
+ <li>VideoRotation: Video image rotation.</li>
37290
+ <li>TsMultiPrograms: The MPEG2-TS stream has multiple programs.</li>
37291
+ <li>Mp4InvalidCodecFourcc: The codec fourcc in MP4 does not meet Apple HLS requirements.</li>
37292
+ <li>HLSBadM3u8Format: Invalid m3u8 file.</li>
37293
+ <li>HLSInvalidMasterM3u8: Invalid main m3u8 file.</li>
37294
+ <li>HLSInvalidMediaM3u8: Invalid media m3u8 file.</li>
37295
+ <li>HLSMasterM3u8Recommended: The main m3u8 file lacks parameters recommended by the standard.</li>
37296
+ <li>HLSMediaM3u8Recommended: The media m3u8 file lacks parameters recommended by the standard.</li>
37297
+ <li>HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY exists in the media m3u8 file.</li>
37298
+ <li>HLSMediaSegmentsStreamNumChange: The number of streams in the segment has changed.</li>
37299
+ <li>HLSMediaSegmentsPTSJitterDeviation: PTS jitter between segments without EXT-X-DISCONTINUITY.</li>
37300
+ <li>HLSMediaSegmentsDTSJitterDeviation: DTS jitter between segments without EXT-X-DISCONTINUITY.</li>
36829
37301
  <li>TimecodeTrackExist: TMCD track in MP4.</li>
36830
37302
  :type Type: str
36831
37303
  :param _Switch: Capability configuration switch. Valid values:
@@ -36859,69 +37331,68 @@ Note: This field may return null, indicating that no valid values can be obtaine
36859
37331
 
36860
37332
  @property
36861
37333
  def Type(self):
36862
- """Quality inspection item name. Valid values:
36863
- <li>LowEvaluation: no-reference scoring.</li>
36864
- <li>Mosaic: mosaic detection.</li>
36865
- <li>CrashScreen: screen glitch detection.</li>
36866
- <li>VideoFreezedFrame: video freezing.</li>
36867
- <li>Blur: blur detection.</li>
36868
- <li>BlackWhiteEdge: black and white edges detection.</li>
36869
- <li>SolidColorScreen: solid color screen detection.</li>
36870
- <li>LowLighting: low light.</li>
36871
- <li>HighLighting: overexposure.</li>
36872
- <li>NoVoice: no voice detection.</li>
36873
- <li>LowVoice: low voice detection.</li>
36874
- <li>HighVoice: high voice detection.</li>
36875
- <li>Jitter: jitter detection.</li>
36876
- <li>Noise: noise detection.</li>
37334
+ """Quality control item name. The quality control item values are as follows:
37335
+ <li>LowEvaluation: No reference score.</li>
37336
+ <li>Mosaic: Mosaic detection.</li>
37337
+ <li>CrashScreen: Screen crash detection.</li>
37338
+ <li>Blur: Blur detection.</li>
37339
+ <li>BlackWhiteEdge: Black and white edge detection.</li>
37340
+ <li>SolidColorScreen: Solid color screen detection.</li>
37341
+ <li>LowLighting: Low lighting.</li>
37342
+ <li>HighLighting: Overexposure.</li>
37343
+ <li>NoVoice: Silence detection.</li>
37344
+ <li>LowVoice: Low voice detection.</li>
37345
+ <li>HighVoice: High voice detection.</li>
37346
+ <li>Jitter: Jitter detection.</li>
37347
+ <li>Noise: Noise detection.</li>
36877
37348
  <li>QRCode: QR code detection.</li>
36878
- <li>BarCode: barcode detection.</li>
36879
- <li>AppletCode: mini program code detection.</li>
36880
- <li>VideoResolutionChanged: video resolution change.</li>
36881
- <li>AudioSampleRateChanged: audio sample rate change.</li>
36882
- <li>AudioChannelsChanged: audio channel quantity change.</li>
36883
- <li>ParameterSetsChanged: stream parameter set information change.</li>
36884
- <li>DarOrSarInvalid: video aspect ratio exception.</li>
36885
- <li>TimestampFallback: DTS timestamp rollback.</li>
36886
- <li>DtsJitter: DTS jitter too high.</li>
36887
- <li>PtsJitter: PTS jitter too high.</li>
36888
- <li>AACDurationDeviation: improper AAC frame timestamp interval.</li>
36889
- <li>AudioDroppingFrames: audio frame dropping.</li>
36890
- <li>VideoDroppingFrames: video frame dropping.</li>
36891
- <li>AVTimestampInterleave: improper audio-video interleaving.</li>
36892
- <li>PtsLessThanDts: PTS less than DTS for media streams.</li>
36893
- <li>ReceiveFpsJitter: significant jitter in the network receive frame rate.</li>
36894
- <li>ReceiveFpsTooSmall: network receive video frame rate too low.</li>
36895
- <li>FpsJitter: significant jitter in the stream frame rate calculated via PTS.</li>
36896
- <li>StreamOpenFailed: stream open failure.</li>
36897
- <li>StreamEnd: stream end.</li>
36898
- <li>StreamParseFailed: stream parsing failure.</li>
36899
- <li>VideoFirstFrameNotIdr: first frame not an IDR frame.</li>
37349
+ <li>BarCode: Barcode detection.</li>
37350
+ <li>AppletCode: Applet code detection.</li>
37351
+ <li>VideoResolutionChanged: The video resolution changed.</li>
37352
+ <li>AudioSampleRateChanged: The audio sampling rate changed.</li>
37353
+ <li>AudioChannelsChanged: The audio channel count changed.</li>
37354
+ <li>ParameterSetsChanged: The stream parameter set information changed.</li>
37355
+ <li>DarOrSarInvalid: Abnormal video aspect ratio.</li>
37356
+ <li>TimestampFallback: DTS timestamp fallback.</li>
37357
+ <li>DtsJitter: Excessive DTS jitter.</li>
37358
+ <li>PtsJitter: Excessive PTS jitter.</li>
37359
+ <li>AACDurationDeviation: Unreasonable AAC frame timestamp interval.</li>
37360
+ <li>AudioDroppingFrames: Audio frame loss.</li>
37361
+ <li>VideoDroppingFrames: Video frame loss.</li>
37362
+ <li>AVTimestampInterleave: Unreasonable audio and video interleaving.</li>
37363
+ <li>PtsLessThanDts: The PTS of media streams is less than DTS.</li>
37364
+ <li>ReceiveFpsJitter: Excessive jitter of the frame rate received by the network.</li>
37365
+ <li>ReceiveFpsTooSmall: Too low video frame rate received by the network.</li>
37366
+ <li>FpsJitter: Excessive stream frame rate jitter calculated through PTS.</li>
37367
+ <li>StreamOpenFailed: Stream opening failed.</li>
37368
+ <li>StreamEnd: The stream ended.</li>
37369
+ <li>StreamParseFailed: Stream parsing failed.</li>
37370
+ <li>VideoFirstFrameNotIdr: The first frame is not an IDR frame.</li>
36900
37371
  <li>StreamNALUError: NALU start code error.</li>
36901
- <li>TsStreamNoAud: no AUD NALU in the H26x stream of MPEG-TS.</li>
36902
- <li>AudioStreamLack: no audio stream.</li>
36903
- <li>VideoStreamLack: no video stream.</li>
36904
- <li>LackAudioRecover: missing audio stream recovery.</li>
36905
- <li>LackVideoRecover: missing video stream recovery.</li>
36906
- <li>VideoBitrateOutofRange: video stream bitrate (kbps) out of range.</li>
36907
- <li>AudioBitrateOutofRange: audio stream bitrate (kbps) out of range.</li>
36908
- <li>VideoDecodeFailed: video decoding error.</li>
36909
- <li>AudioDecodeFailed: audio decoding error.</li>
36910
- <li>AudioOutOfPhase: opposite phase in dual-channel audio.</li>
36911
- <li>VideoDuplicatedFrame: duplicate frames in video streams.</li>
36912
- <li>AudioDuplicatedFrame: duplicate frames in audio streams.</li>
36913
- <li>VideoRotation: video rotation.</li>
36914
- <li>TsMultiPrograms: multiple programs in MPEG2-TS streams.</li>
36915
- <li>Mp4InvalidCodecFourcc: codec FourCC in MP4 not meeting Apple HLS requirements.</li>
36916
- <li>HLSBadM3u8Format: invalid M3U8 file.</li>
36917
- <li>HLSInvalidMasterM3u8: invalid main M3U8 file.</li>
36918
- <li>HLSInvalidMediaM3u8: invalid media M3U8 file.</li>
36919
- <li>HLSMasterM3u8Recommended: parameters recommended by standards missing in main M3U8.</li>
36920
- <li>HLSMediaM3u8Recommended: parameters recommended by standards missing in media M3U8.</li>
36921
- <li>HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY in media M3U8.</li>
36922
- <li>HLSMediaSegmentsStreamNumChange: changed number of streams in segments.</li>
36923
- <li>HLSMediaSegmentsPTSJitterDeviation: PTS jumps between segments without EXT-X-DISCONTINUITY.</li>
36924
- <li>HLSMediaSegmentsDTSJitterDeviation: DTS jumps between segments without EXT-X-DISCONTINUITY.</li>
37372
+ <li>TsStreamNoAud: The H26x stream of MPEGTS lacks AUD NALU.</li>
37373
+ <li>AudioStreamLack: No audio stream.</li>
37374
+ <li>VideoStreamLack: No video stream.</li>
37375
+ <li>LackAudioRecover: Lack of audio stream recovery.</li>
37376
+ <li>LackVideoRecover: Lack of video stream recovery.</li>
37377
+ <li>VideoBitrateOutofRange: Out-of-range video stream bitrate (kbps).</li>
37378
+ <li>AudioBitrateOutofRange: Out-of-range audio stream bitrate (kbps).</li>
37379
+ <li>VideoDecodeFailed: Video decoding error.</li>
37380
+ <li>AudioDecodeFailed: Audio decoding error.</li>
37381
+ <li>AudioOutOfPhase: Opposite phase in Dual-channel audio.</li>
37382
+ <li>VideoDuplicatedFrame: Duplicate frames in the video stream.</li>
37383
+ <li>AudioDuplicatedFrame: Duplicate frames in the audio stream.</li>
37384
+ <li>VideoRotation: Video image rotation.</li>
37385
+ <li>TsMultiPrograms: The MPEG2-TS stream has multiple programs.</li>
37386
+ <li>Mp4InvalidCodecFourcc: The codec fourcc in MP4 does not meet Apple HLS requirements.</li>
37387
+ <li>HLSBadM3u8Format: Invalid m3u8 file.</li>
37388
+ <li>HLSInvalidMasterM3u8: Invalid main m3u8 file.</li>
37389
+ <li>HLSInvalidMediaM3u8: Invalid media m3u8 file.</li>
37390
+ <li>HLSMasterM3u8Recommended: The main m3u8 file lacks parameters recommended by the standard.</li>
37391
+ <li>HLSMediaM3u8Recommended: The media m3u8 file lacks parameters recommended by the standard.</li>
37392
+ <li>HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY exists in the media m3u8 file.</li>
37393
+ <li>HLSMediaSegmentsStreamNumChange: The number of streams in the segment has changed.</li>
37394
+ <li>HLSMediaSegmentsPTSJitterDeviation: PTS jitter between segments without EXT-X-DISCONTINUITY.</li>
37395
+ <li>HLSMediaSegmentsDTSJitterDeviation: DTS jitter between segments without EXT-X-DISCONTINUITY.</li>
36925
37396
  <li>TimecodeTrackExist: TMCD track in MP4.</li>
36926
37397
  :rtype: str
36927
37398
  """
@@ -39330,19 +39801,34 @@ class SegmentRecognitionItem(AbstractModel):
39330
39801
  :type EndTimeOffset: float
39331
39802
  :param _SegmentUrl:
39332
39803
  :type SegmentUrl: str
39804
+ :param _CovImgUrl: Segment cover.
39805
+ Note: This field may return null, indicating that no valid value can be obtained.
39806
+ :type CovImgUrl: str
39333
39807
  :param _Title: Segment title.
39334
39808
  Note: This field may return null, indicating that no valid values can be obtained.
39335
39809
  :type Title: str
39336
39810
  :param _Summary: Segment summary.
39337
39811
  Note: This field may return null, indicating that no valid values can be obtained.
39338
39812
  :type Summary: str
39813
+ :param _Keywords: Segmentation keywords.
39814
+ :type Keywords: list of str
39815
+ :param _BeginTime: The start time of a live streaming segment, in the ISO date format.
39816
+ Note: This field may return null, indicating that no valid value can be obtained.
39817
+ :type BeginTime: str
39818
+ :param _EndTime: The end time of a live streaming segment, in the ISO date format.
39819
+ Note: This field may return null, indicating that no valid value can be obtained.
39820
+ :type EndTime: str
39339
39821
  """
39340
39822
  self._Confidence = None
39341
39823
  self._StartTimeOffset = None
39342
39824
  self._EndTimeOffset = None
39343
39825
  self._SegmentUrl = None
39826
+ self._CovImgUrl = None
39344
39827
  self._Title = None
39345
39828
  self._Summary = None
39829
+ self._Keywords = None
39830
+ self._BeginTime = None
39831
+ self._EndTime = None
39346
39832
 
39347
39833
  @property
39348
39834
  def Confidence(self):
@@ -39388,6 +39874,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
39388
39874
  def SegmentUrl(self, SegmentUrl):
39389
39875
  self._SegmentUrl = SegmentUrl
39390
39876
 
39877
+ @property
39878
+ def CovImgUrl(self):
39879
+ """Segment cover.
39880
+ Note: This field may return null, indicating that no valid value can be obtained.
39881
+ :rtype: str
39882
+ """
39883
+ return self._CovImgUrl
39884
+
39885
+ @CovImgUrl.setter
39886
+ def CovImgUrl(self, CovImgUrl):
39887
+ self._CovImgUrl = CovImgUrl
39888
+
39391
39889
  @property
39392
39890
  def Title(self):
39393
39891
  """Segment title.
@@ -39412,14 +39910,53 @@ Note: This field may return null, indicating that no valid values can be obtaine
39412
39910
  def Summary(self, Summary):
39413
39911
  self._Summary = Summary
39414
39912
 
39913
+ @property
39914
+ def Keywords(self):
39915
+ """Segmentation keywords.
39916
+ :rtype: list of str
39917
+ """
39918
+ return self._Keywords
39919
+
39920
+ @Keywords.setter
39921
+ def Keywords(self, Keywords):
39922
+ self._Keywords = Keywords
39923
+
39924
+ @property
39925
+ def BeginTime(self):
39926
+ """The start time of a live streaming segment, in the ISO date format.
39927
+ Note: This field may return null, indicating that no valid value can be obtained.
39928
+ :rtype: str
39929
+ """
39930
+ return self._BeginTime
39931
+
39932
+ @BeginTime.setter
39933
+ def BeginTime(self, BeginTime):
39934
+ self._BeginTime = BeginTime
39935
+
39936
+ @property
39937
+ def EndTime(self):
39938
+ """The end time of a live streaming segment, in the ISO date format.
39939
+ Note: This field may return null, indicating that no valid value can be obtained.
39940
+ :rtype: str
39941
+ """
39942
+ return self._EndTime
39943
+
39944
+ @EndTime.setter
39945
+ def EndTime(self, EndTime):
39946
+ self._EndTime = EndTime
39947
+
39415
39948
 
39416
39949
  def _deserialize(self, params):
39417
39950
  self._Confidence = params.get("Confidence")
39418
39951
  self._StartTimeOffset = params.get("StartTimeOffset")
39419
39952
  self._EndTimeOffset = params.get("EndTimeOffset")
39420
39953
  self._SegmentUrl = params.get("SegmentUrl")
39954
+ self._CovImgUrl = params.get("CovImgUrl")
39421
39955
  self._Title = params.get("Title")
39422
39956
  self._Summary = params.get("Summary")
39957
+ self._Keywords = params.get("Keywords")
39958
+ self._BeginTime = params.get("BeginTime")
39959
+ self._EndTime = params.get("EndTime")
39423
39960
  memeber_set = set(params.keys())
39424
39961
  for name, value in vars(self).items():
39425
39962
  property_name = name[1:]
@@ -41958,6 +42495,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
41958
42495
  :param _EnhanceConfig: Audio/Video enhancement configuration.
41959
42496
  Note: This field may return null, indicating that no valid values can be obtained.
41960
42497
  :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
42498
+ :param _AliasName: Transcoding template alias.
42499
+ Note: This field may return null, indicating that no valid value can be obtained.
42500
+ :type AliasName: str
41961
42501
  """
41962
42502
  self._Definition = None
41963
42503
  self._Container = None
@@ -41973,6 +42513,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
41973
42513
  self._CreateTime = None
41974
42514
  self._UpdateTime = None
41975
42515
  self._EnhanceConfig = None
42516
+ self._AliasName = None
41976
42517
 
41977
42518
  @property
41978
42519
  def Definition(self):
@@ -42142,6 +42683,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
42142
42683
  def EnhanceConfig(self, EnhanceConfig):
42143
42684
  self._EnhanceConfig = EnhanceConfig
42144
42685
 
42686
+ @property
42687
+ def AliasName(self):
42688
+ """Transcoding template alias.
42689
+ Note: This field may return null, indicating that no valid value can be obtained.
42690
+ :rtype: str
42691
+ """
42692
+ return self._AliasName
42693
+
42694
+ @AliasName.setter
42695
+ def AliasName(self, AliasName):
42696
+ self._AliasName = AliasName
42697
+
42145
42698
 
42146
42699
  def _deserialize(self, params):
42147
42700
  self._Definition = params.get("Definition")
@@ -42166,6 +42719,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
42166
42719
  if params.get("EnhanceConfig") is not None:
42167
42720
  self._EnhanceConfig = EnhanceConfig()
42168
42721
  self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
42722
+ self._AliasName = params.get("AliasName")
42169
42723
  memeber_set = set(params.keys())
42170
42724
  for name, value in vars(self).items():
42171
42725
  property_name = name[1:]
@@ -43426,6 +43980,33 @@ Note: This field may return null, indicating that no valid value can be obtained
43426
43980
  :param _SegmentSpecificInfo: Special segment configuration
43427
43981
  Note: This field may return null, indicating that no valid value can be obtained.
43428
43982
  :type SegmentSpecificInfo: :class:`tencentcloud.mps.v20190612.models.SegmentSpecificInfo`
43983
+ :param _ScenarioBased: Whether to enable scenario-based settings for the template
43984
+ 0: disable
43985
+ 1: enable
43986
+
43987
+ Default value: 0
43988
+
43989
+ Note: This field may return null, indicating that no valid value can be obtained.
43990
+ :type ScenarioBased: int
43991
+ :param _SceneType: Video scenario. Optional values:
43992
+ normal: General transcoding scenario: General transcoding and compression scenario.
43993
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
43994
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
43995
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
43996
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
43997
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
43998
+ Default value: normal
43999
+ Note: This field may return null, indicating that no valid value can be obtained.
44000
+ :type SceneType: str
44001
+ :param _CompressType: Transcoding policy. Optional values:
44002
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
44003
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
44004
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
44005
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
44006
+ Default value: standard_compress
44007
+ Note: If you need to watch videos on TV, it is recommended no to use the ultra_compress policy. The billing standard for the ultra_compress policy is TSC transcoding + audio and video enhancement - artifacts removal.
44008
+ Note: This field may return null, indicating that no valid value can be obtained.
44009
+ :type CompressType: str
43429
44010
  """
43430
44011
  self._Codec = None
43431
44012
  self._Fps = None
@@ -43451,6 +44032,9 @@ Note: This field may return null, indicating that no valid value can be obtained
43451
44032
  self._RawPts = None
43452
44033
  self._Compress = None
43453
44034
  self._SegmentSpecificInfo = None
44035
+ self._ScenarioBased = None
44036
+ self._SceneType = None
44037
+ self._CompressType = None
43454
44038
 
43455
44039
  @property
43456
44040
  def Codec(self):
@@ -43817,6 +44401,60 @@ Note: This field may return null, indicating that no valid value can be obtained
43817
44401
  def SegmentSpecificInfo(self, SegmentSpecificInfo):
43818
44402
  self._SegmentSpecificInfo = SegmentSpecificInfo
43819
44403
 
44404
+ @property
44405
+ def ScenarioBased(self):
44406
+ """Whether to enable scenario-based settings for the template
44407
+ 0: disable
44408
+ 1: enable
44409
+
44410
+ Default value: 0
44411
+
44412
+ Note: This field may return null, indicating that no valid value can be obtained.
44413
+ :rtype: int
44414
+ """
44415
+ return self._ScenarioBased
44416
+
44417
+ @ScenarioBased.setter
44418
+ def ScenarioBased(self, ScenarioBased):
44419
+ self._ScenarioBased = ScenarioBased
44420
+
44421
+ @property
44422
+ def SceneType(self):
44423
+ """Video scenario. Optional values:
44424
+ normal: General transcoding scenario: General transcoding and compression scenario.
44425
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
44426
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
44427
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
44428
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
44429
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
44430
+ Default value: normal
44431
+ Note: This field may return null, indicating that no valid value can be obtained.
44432
+ :rtype: str
44433
+ """
44434
+ return self._SceneType
44435
+
44436
+ @SceneType.setter
44437
+ def SceneType(self, SceneType):
44438
+ self._SceneType = SceneType
44439
+
44440
+ @property
44441
+ def CompressType(self):
44442
+ """Transcoding policy. Optional values:
44443
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
44444
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
44445
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
44446
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
44447
+ Default value: standard_compress
44448
+ Note: If you need to watch videos on TV, it is recommended no to use the ultra_compress policy. The billing standard for the ultra_compress policy is TSC transcoding + audio and video enhancement - artifacts removal.
44449
+ Note: This field may return null, indicating that no valid value can be obtained.
44450
+ :rtype: str
44451
+ """
44452
+ return self._CompressType
44453
+
44454
+ @CompressType.setter
44455
+ def CompressType(self, CompressType):
44456
+ self._CompressType = CompressType
44457
+
43820
44458
 
43821
44459
  def _deserialize(self, params):
43822
44460
  self._Codec = params.get("Codec")
@@ -43845,6 +44483,9 @@ Note: This field may return null, indicating that no valid value can be obtained
43845
44483
  if params.get("SegmentSpecificInfo") is not None:
43846
44484
  self._SegmentSpecificInfo = SegmentSpecificInfo()
43847
44485
  self._SegmentSpecificInfo._deserialize(params.get("SegmentSpecificInfo"))
44486
+ self._ScenarioBased = params.get("ScenarioBased")
44487
+ self._SceneType = params.get("SceneType")
44488
+ self._CompressType = params.get("CompressType")
43848
44489
  memeber_set = set(params.keys())
43849
44490
  for name, value in vars(self).items():
43850
44491
  property_name = name[1:]
@@ -44017,6 +44658,33 @@ Note: This field may return null, indicating that no valid value can be obtained
44017
44658
  :param _SegmentSpecificInfo: Special segment configuration
44018
44659
  Note: This field may return null, indicating that no valid value can be obtained.
44019
44660
  :type SegmentSpecificInfo: :class:`tencentcloud.mps.v20190612.models.SegmentSpecificInfo`
44661
+ :param _ScenarioBased: Whether to enable scenario-based settings for the template
44662
+ 0: disable
44663
+ 1: enable
44664
+
44665
+ Default value: 0
44666
+
44667
+ Note: This field may return null, indicating that no valid value can be obtained.
44668
+ :type ScenarioBased: int
44669
+ :param _SceneType: Video scenario. Optional values:
44670
+ normal: General transcoding scenario: General transcoding and compression scenario
44671
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
44672
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
44673
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
44674
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
44675
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
44676
+ Default value: normal
44677
+ Note: This field may return null, indicating that no valid value can be obtained.
44678
+ :type SceneType: str
44679
+ :param _CompressType: Transcoding policy. Optional values:
44680
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
44681
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
44682
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
44683
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
44684
+ Default value: standard_compress
44685
+ Note: If you need to watch videos on TV, it is recommended no to use the ultra_compress policy. The billing standard for the ultra_compress policy is TSC transcoding + audio and video enhancement - artifacts removal.
44686
+ Note: This field may return null, indicating that no valid value can be obtained.
44687
+ :type CompressType: str
44020
44688
  """
44021
44689
  self._Codec = None
44022
44690
  self._Fps = None
@@ -44043,6 +44711,9 @@ Note: This field may return null, indicating that no valid value can be obtained
44043
44711
  self._RawPts = None
44044
44712
  self._Compress = None
44045
44713
  self._SegmentSpecificInfo = None
44714
+ self._ScenarioBased = None
44715
+ self._SceneType = None
44716
+ self._CompressType = None
44046
44717
 
44047
44718
  @property
44048
44719
  def Codec(self):
@@ -44424,6 +45095,60 @@ Note: This field may return null, indicating that no valid value can be obtained
44424
45095
  def SegmentSpecificInfo(self, SegmentSpecificInfo):
44425
45096
  self._SegmentSpecificInfo = SegmentSpecificInfo
44426
45097
 
45098
+ @property
45099
+ def ScenarioBased(self):
45100
+ """Whether to enable scenario-based settings for the template
45101
+ 0: disable
45102
+ 1: enable
45103
+
45104
+ Default value: 0
45105
+
45106
+ Note: This field may return null, indicating that no valid value can be obtained.
45107
+ :rtype: int
45108
+ """
45109
+ return self._ScenarioBased
45110
+
45111
+ @ScenarioBased.setter
45112
+ def ScenarioBased(self, ScenarioBased):
45113
+ self._ScenarioBased = ScenarioBased
45114
+
45115
+ @property
45116
+ def SceneType(self):
45117
+ """Video scenario. Optional values:
45118
+ normal: General transcoding scenario: General transcoding and compression scenario
45119
+ pgc: PGC HD TV shows and movies: At the time of compression, focus is placed on the viewing experience of TV shows and movies and ROI encoding is performed according to their characteristics, while high-quality contents of videos and audio are retained.
45120
+ materials_video: HD materials: Scenario involving material resources, where requirements for image quality are extremely high and there are many transparent images, with almost no visual loss during compression.
45121
+ ugc: UGC content: It is suitable for a wide range of UGC/short video scenarios, with an optimized encoding bitrate for short video characteristics, improved image quality, and enhanced business QOS/QOE metrics.
45122
+ e-commerce_video: Fashion show/e-commerce: At the time of compression, emphasis is placed on detail clarity and ROI enhancement, with a particular focus on maintaining the image quality of the face region.
45123
+ educational_video: Education: At the time of compression, emphasis is placed on the clarity and readability of text and images to help students better understand the content, ensuring that the teaching content is clearly conveyed.
45124
+ Default value: normal
45125
+ Note: This field may return null, indicating that no valid value can be obtained.
45126
+ :rtype: str
45127
+ """
45128
+ return self._SceneType
45129
+
45130
+ @SceneType.setter
45131
+ def SceneType(self, SceneType):
45132
+ self._SceneType = SceneType
45133
+
45134
+ @property
45135
+ def CompressType(self):
45136
+ """Transcoding policy. Optional values:
45137
+ ultra_compress: Extreme compression: Compared to standard compression, this policy can maximize bitrate compression while ensuring a certain level of image quality, thus greatly saving bandwidth and storage costs.
45138
+ standard_compress: Comprehensively optimal: The compression ratio and image quality are balanced, and files are compressed as much as possible without a noticeable reduction in subjective image quality. Only audio and video TSC transcoding fees are charged for this policy.
45139
+ high_compress: Bitrate priority: Priority is given to reducing file size, which may result in certain image quality loss. Only audio and video TSC transcoding fees are charged for this policy.
45140
+ low_compress: Image quality priority: Priority is given to ensuring image quality, and the size of compressed files may be relatively large. Only audio and video TSC transcoding fees are charged for this policy.
45141
+ Default value: standard_compress
45142
+ Note: If you need to watch videos on TV, it is recommended no to use the ultra_compress policy. The billing standard for the ultra_compress policy is TSC transcoding + audio and video enhancement - artifacts removal.
45143
+ Note: This field may return null, indicating that no valid value can be obtained.
45144
+ :rtype: str
45145
+ """
45146
+ return self._CompressType
45147
+
45148
+ @CompressType.setter
45149
+ def CompressType(self, CompressType):
45150
+ self._CompressType = CompressType
45151
+
44427
45152
 
44428
45153
  def _deserialize(self, params):
44429
45154
  self._Codec = params.get("Codec")
@@ -44453,6 +45178,9 @@ Note: This field may return null, indicating that no valid value can be obtained
44453
45178
  if params.get("SegmentSpecificInfo") is not None:
44454
45179
  self._SegmentSpecificInfo = SegmentSpecificInfo()
44455
45180
  self._SegmentSpecificInfo._deserialize(params.get("SegmentSpecificInfo"))
45181
+ self._ScenarioBased = params.get("ScenarioBased")
45182
+ self._SceneType = params.get("SceneType")
45183
+ self._CompressType = params.get("CompressType")
44456
45184
  memeber_set = set(params.keys())
44457
45185
  for name, value in vars(self).items():
44458
45186
  property_name = name[1:]
@@ -44902,6 +45630,72 @@ Note: This field may return null, indicating that no valid values can be obtaine
44902
45630
 
44903
45631
 
44904
45632
 
45633
+ class WordResult(AbstractModel):
45634
+ """Word information.
45635
+
45636
+ """
45637
+
45638
+ def __init__(self):
45639
+ r"""
45640
+ :param _Word: Word text.
45641
+ :type Word: str
45642
+ :param _Start: Word start timestamp, in seconds.
45643
+ :type Start: float
45644
+ :param _End: Word end timestamp, in seconds.
45645
+ :type End: float
45646
+ """
45647
+ self._Word = None
45648
+ self._Start = None
45649
+ self._End = None
45650
+
45651
+ @property
45652
+ def Word(self):
45653
+ """Word text.
45654
+ :rtype: str
45655
+ """
45656
+ return self._Word
45657
+
45658
+ @Word.setter
45659
+ def Word(self, Word):
45660
+ self._Word = Word
45661
+
45662
+ @property
45663
+ def Start(self):
45664
+ """Word start timestamp, in seconds.
45665
+ :rtype: float
45666
+ """
45667
+ return self._Start
45668
+
45669
+ @Start.setter
45670
+ def Start(self, Start):
45671
+ self._Start = Start
45672
+
45673
+ @property
45674
+ def End(self):
45675
+ """Word end timestamp, in seconds.
45676
+ :rtype: float
45677
+ """
45678
+ return self._End
45679
+
45680
+ @End.setter
45681
+ def End(self, End):
45682
+ self._End = End
45683
+
45684
+
45685
+ def _deserialize(self, params):
45686
+ self._Word = params.get("Word")
45687
+ self._Start = params.get("Start")
45688
+ self._End = params.get("End")
45689
+ memeber_set = set(params.keys())
45690
+ for name, value in vars(self).items():
45691
+ property_name = name[1:]
45692
+ if property_name in memeber_set:
45693
+ memeber_set.remove(property_name)
45694
+ if len(memeber_set) > 0:
45695
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
45696
+
45697
+
45698
+
44905
45699
  class WorkflowInfo(AbstractModel):
44906
45700
  """Workflow information details.
44907
45701