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

@@ -12778,6 +12778,428 @@ class CommitUploadResponse(AbstractModel):
12778
12778
  self._RequestId = params.get("RequestId")
12779
12779
 
12780
12780
 
12781
+ class ComplexAdaptiveDynamicStreamingTask(AbstractModel):
12782
+ """Execution information of the adaptive bitrate streaming task.
12783
+
12784
+ """
12785
+
12786
+ def __init__(self):
12787
+ r"""
12788
+ :param _TaskId: Task ID.
12789
+ :type TaskId: str
12790
+ :param _Status: Task status. Valid values:
12791
+ <li>PROCESSING: processing;</li>
12792
+ <li>FINISH: completed.</li>
12793
+ :type Status: str
12794
+ :param _ComplexAdaptiveDynamicStreamingTaskResultSet: Execution status and result of the complex adaptive bitrate streaming task. Each array element corresponds to an adaptive bitrate streaming template specified when initiating the task.
12795
+ :type ComplexAdaptiveDynamicStreamingTaskResultSet: list of ComplexAdaptiveDynamicStreamingTaskResult
12796
+ """
12797
+ self._TaskId = None
12798
+ self._Status = None
12799
+ self._ComplexAdaptiveDynamicStreamingTaskResultSet = None
12800
+
12801
+ @property
12802
+ def TaskId(self):
12803
+ return self._TaskId
12804
+
12805
+ @TaskId.setter
12806
+ def TaskId(self, TaskId):
12807
+ self._TaskId = TaskId
12808
+
12809
+ @property
12810
+ def Status(self):
12811
+ return self._Status
12812
+
12813
+ @Status.setter
12814
+ def Status(self, Status):
12815
+ self._Status = Status
12816
+
12817
+ @property
12818
+ def ComplexAdaptiveDynamicStreamingTaskResultSet(self):
12819
+ return self._ComplexAdaptiveDynamicStreamingTaskResultSet
12820
+
12821
+ @ComplexAdaptiveDynamicStreamingTaskResultSet.setter
12822
+ def ComplexAdaptiveDynamicStreamingTaskResultSet(self, ComplexAdaptiveDynamicStreamingTaskResultSet):
12823
+ self._ComplexAdaptiveDynamicStreamingTaskResultSet = ComplexAdaptiveDynamicStreamingTaskResultSet
12824
+
12825
+
12826
+ def _deserialize(self, params):
12827
+ self._TaskId = params.get("TaskId")
12828
+ self._Status = params.get("Status")
12829
+ if params.get("ComplexAdaptiveDynamicStreamingTaskResultSet") is not None:
12830
+ self._ComplexAdaptiveDynamicStreamingTaskResultSet = []
12831
+ for item in params.get("ComplexAdaptiveDynamicStreamingTaskResultSet"):
12832
+ obj = ComplexAdaptiveDynamicStreamingTaskResult()
12833
+ obj._deserialize(item)
12834
+ self._ComplexAdaptiveDynamicStreamingTaskResultSet.append(obj)
12835
+ memeber_set = set(params.keys())
12836
+ for name, value in vars(self).items():
12837
+ property_name = name[1:]
12838
+ if property_name in memeber_set:
12839
+ memeber_set.remove(property_name)
12840
+ if len(memeber_set) > 0:
12841
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12842
+
12843
+
12844
+
12845
+ class ComplexAdaptiveDynamicStreamingTaskAudioInput(AbstractModel):
12846
+ """Input parameters for audio streams in the adaptive bitrate streaming task.
12847
+
12848
+ """
12849
+
12850
+ def __init__(self):
12851
+ r"""
12852
+ :param _FileId: Media ID of the input audio file. The first audio stream in the media will be fixed, while video streams and other audio streams (if any) will be ignored.
12853
+ :type FileId: str
12854
+ :param _Name: Audio stream name in the output, supporting up to 16 characters.
12855
+ :type Name: str
12856
+ :param _Language: The language of the audio stream in the output, supporting up to 16 characters. It must comply with the RFC5646 specification.
12857
+ :type Language: str
12858
+ :param _Default: Whether to set as the default audio for adaptive bitrate streaming.
12859
+ <li>YES: Set as the default audio;</li>
12860
+ <li>NO: Not set as the default audio (default value).</li>
12861
+ :type Default: str
12862
+ """
12863
+ self._FileId = None
12864
+ self._Name = None
12865
+ self._Language = None
12866
+ self._Default = None
12867
+
12868
+ @property
12869
+ def FileId(self):
12870
+ return self._FileId
12871
+
12872
+ @FileId.setter
12873
+ def FileId(self, FileId):
12874
+ self._FileId = FileId
12875
+
12876
+ @property
12877
+ def Name(self):
12878
+ return self._Name
12879
+
12880
+ @Name.setter
12881
+ def Name(self, Name):
12882
+ self._Name = Name
12883
+
12884
+ @property
12885
+ def Language(self):
12886
+ return self._Language
12887
+
12888
+ @Language.setter
12889
+ def Language(self, Language):
12890
+ self._Language = Language
12891
+
12892
+ @property
12893
+ def Default(self):
12894
+ return self._Default
12895
+
12896
+ @Default.setter
12897
+ def Default(self, Default):
12898
+ self._Default = Default
12899
+
12900
+
12901
+ def _deserialize(self, params):
12902
+ self._FileId = params.get("FileId")
12903
+ self._Name = params.get("Name")
12904
+ self._Language = params.get("Language")
12905
+ self._Default = params.get("Default")
12906
+ memeber_set = set(params.keys())
12907
+ for name, value in vars(self).items():
12908
+ property_name = name[1:]
12909
+ if property_name in memeber_set:
12910
+ memeber_set.remove(property_name)
12911
+ if len(memeber_set) > 0:
12912
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12913
+
12914
+
12915
+
12916
+ class ComplexAdaptiveDynamicStreamingTaskInput(AbstractModel):
12917
+ """Input parameters for the adaptive bitrate streaming task.
12918
+
12919
+ """
12920
+
12921
+ def __init__(self):
12922
+ r"""
12923
+ :param _StreamPara: Adaptive bitrate streaming parameters.
12924
+ :type StreamPara: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskStreamPara`
12925
+ """
12926
+ self._StreamPara = None
12927
+
12928
+ @property
12929
+ def StreamPara(self):
12930
+ return self._StreamPara
12931
+
12932
+ @StreamPara.setter
12933
+ def StreamPara(self, StreamPara):
12934
+ self._StreamPara = StreamPara
12935
+
12936
+
12937
+ def _deserialize(self, params):
12938
+ if params.get("StreamPara") is not None:
12939
+ self._StreamPara = ComplexAdaptiveDynamicStreamingTaskStreamPara()
12940
+ self._StreamPara._deserialize(params.get("StreamPara"))
12941
+ memeber_set = set(params.keys())
12942
+ for name, value in vars(self).items():
12943
+ property_name = name[1:]
12944
+ if property_name in memeber_set:
12945
+ memeber_set.remove(property_name)
12946
+ if len(memeber_set) > 0:
12947
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12948
+
12949
+
12950
+
12951
+ class ComplexAdaptiveDynamicStreamingTaskOutput(AbstractModel):
12952
+ """Output of the adaptive bitrate streaming task.
12953
+
12954
+ """
12955
+
12956
+ def __init__(self):
12957
+ r"""
12958
+ :param _Definition: Adaptive bitrate streaming template ID.
12959
+ :type Definition: int
12960
+ :param _Format: The adaptive bitrate streaming format. Valid values:
12961
+ <li>HLS;</li>
12962
+ <li>MPEG-DASH.</li>
12963
+
12964
+ :type Format: str
12965
+ :param _DrmType: DRM scheme type, value range:
12966
+ <li>Widevine;</li>
12967
+ <li>FairPlay.</li>
12968
+ The default value is an empty string, indicating that the video will not be DRM protected.
12969
+ :type DrmType: str
12970
+ :param _Url: Playback address of the output manifest.
12971
+ :type Url: str
12972
+ """
12973
+ self._Definition = None
12974
+ self._Format = None
12975
+ self._DrmType = None
12976
+ self._Url = None
12977
+
12978
+ @property
12979
+ def Definition(self):
12980
+ return self._Definition
12981
+
12982
+ @Definition.setter
12983
+ def Definition(self, Definition):
12984
+ self._Definition = Definition
12985
+
12986
+ @property
12987
+ def Format(self):
12988
+ return self._Format
12989
+
12990
+ @Format.setter
12991
+ def Format(self, Format):
12992
+ self._Format = Format
12993
+
12994
+ @property
12995
+ def DrmType(self):
12996
+ return self._DrmType
12997
+
12998
+ @DrmType.setter
12999
+ def DrmType(self, DrmType):
13000
+ self._DrmType = DrmType
13001
+
13002
+ @property
13003
+ def Url(self):
13004
+ return self._Url
13005
+
13006
+ @Url.setter
13007
+ def Url(self, Url):
13008
+ self._Url = Url
13009
+
13010
+
13011
+ def _deserialize(self, params):
13012
+ self._Definition = params.get("Definition")
13013
+ self._Format = params.get("Format")
13014
+ self._DrmType = params.get("DrmType")
13015
+ self._Url = params.get("Url")
13016
+ memeber_set = set(params.keys())
13017
+ for name, value in vars(self).items():
13018
+ property_name = name[1:]
13019
+ if property_name in memeber_set:
13020
+ memeber_set.remove(property_name)
13021
+ if len(memeber_set) > 0:
13022
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13023
+
13024
+
13025
+
13026
+ class ComplexAdaptiveDynamicStreamingTaskResult(AbstractModel):
13027
+ """Execution information of a single adaptive bitrate stream in a complex adaptive bitrate streaming task.
13028
+
13029
+ """
13030
+
13031
+ def __init__(self):
13032
+ r"""
13033
+ :param _Status: Task status of a single adaptive bitrate stream. Valid values: PROCESSING, SUCCESS, FAIL.
13034
+ :type Status: str
13035
+ :param _ErrCodeExt: Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
13036
+ :type ErrCodeExt: str
13037
+ :param _Message: Error message.
13038
+ :type Message: str
13039
+ :param _Progress: The execution progress of a single adaptive bitrate stream. Value range: 0-100.
13040
+ :type Progress: int
13041
+ :param _Input: Input of a single adaptive bitrate stream.
13042
+ :type Input: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskInput`
13043
+ :param _Output: Output of a single adaptive bitrate stream.
13044
+ :type Output: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTaskOutput`
13045
+ """
13046
+ self._Status = None
13047
+ self._ErrCodeExt = None
13048
+ self._Message = None
13049
+ self._Progress = None
13050
+ self._Input = None
13051
+ self._Output = None
13052
+
13053
+ @property
13054
+ def Status(self):
13055
+ return self._Status
13056
+
13057
+ @Status.setter
13058
+ def Status(self, Status):
13059
+ self._Status = Status
13060
+
13061
+ @property
13062
+ def ErrCodeExt(self):
13063
+ return self._ErrCodeExt
13064
+
13065
+ @ErrCodeExt.setter
13066
+ def ErrCodeExt(self, ErrCodeExt):
13067
+ self._ErrCodeExt = ErrCodeExt
13068
+
13069
+ @property
13070
+ def Message(self):
13071
+ return self._Message
13072
+
13073
+ @Message.setter
13074
+ def Message(self, Message):
13075
+ self._Message = Message
13076
+
13077
+ @property
13078
+ def Progress(self):
13079
+ return self._Progress
13080
+
13081
+ @Progress.setter
13082
+ def Progress(self, Progress):
13083
+ self._Progress = Progress
13084
+
13085
+ @property
13086
+ def Input(self):
13087
+ return self._Input
13088
+
13089
+ @Input.setter
13090
+ def Input(self, Input):
13091
+ self._Input = Input
13092
+
13093
+ @property
13094
+ def Output(self):
13095
+ return self._Output
13096
+
13097
+ @Output.setter
13098
+ def Output(self, Output):
13099
+ self._Output = Output
13100
+
13101
+
13102
+ def _deserialize(self, params):
13103
+ self._Status = params.get("Status")
13104
+ self._ErrCodeExt = params.get("ErrCodeExt")
13105
+ self._Message = params.get("Message")
13106
+ self._Progress = params.get("Progress")
13107
+ if params.get("Input") is not None:
13108
+ self._Input = ComplexAdaptiveDynamicStreamingTaskInput()
13109
+ self._Input._deserialize(params.get("Input"))
13110
+ if params.get("Output") is not None:
13111
+ self._Output = ComplexAdaptiveDynamicStreamingTaskOutput()
13112
+ self._Output._deserialize(params.get("Output"))
13113
+ memeber_set = set(params.keys())
13114
+ for name, value in vars(self).items():
13115
+ property_name = name[1:]
13116
+ if property_name in memeber_set:
13117
+ memeber_set.remove(property_name)
13118
+ if len(memeber_set) > 0:
13119
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13120
+
13121
+
13122
+
13123
+ class ComplexAdaptiveDynamicStreamingTaskStreamPara(AbstractModel):
13124
+ """Input parameters related to the adaptive bitrate streaming template.
13125
+
13126
+ """
13127
+
13128
+ def __init__(self):
13129
+ r"""
13130
+ :param _Definition: Adaptive bitrate streaming template ID.
13131
+ :type Definition: int
13132
+ """
13133
+ self._Definition = None
13134
+
13135
+ @property
13136
+ def Definition(self):
13137
+ return self._Definition
13138
+
13139
+ @Definition.setter
13140
+ def Definition(self, Definition):
13141
+ self._Definition = Definition
13142
+
13143
+
13144
+ def _deserialize(self, params):
13145
+ self._Definition = params.get("Definition")
13146
+ memeber_set = set(params.keys())
13147
+ for name, value in vars(self).items():
13148
+ property_name = name[1:]
13149
+ if property_name in memeber_set:
13150
+ memeber_set.remove(property_name)
13151
+ if len(memeber_set) > 0:
13152
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13153
+
13154
+
13155
+
13156
+ class ComplexAdaptiveDynamicStreamingTaskSubtitleInput(AbstractModel):
13157
+ """Input parameters for subtitles in the complex adaptive bitrate streaming task.
13158
+
13159
+ """
13160
+
13161
+ def __init__(self):
13162
+ r"""
13163
+ :param _Id: Subtitle ID, which must belongs to the main media.
13164
+ :type Id: str
13165
+ :param _Default: Whether to set as the default subtitle for adaptive bitrate streaming.
13166
+ <li>YES: Set as the default subtitle;</li>
13167
+ <li>NO: Not set as the default subtitle (default value).</li>
13168
+ :type Default: str
13169
+ """
13170
+ self._Id = None
13171
+ self._Default = None
13172
+
13173
+ @property
13174
+ def Id(self):
13175
+ return self._Id
13176
+
13177
+ @Id.setter
13178
+ def Id(self, Id):
13179
+ self._Id = Id
13180
+
13181
+ @property
13182
+ def Default(self):
13183
+ return self._Default
13184
+
13185
+ @Default.setter
13186
+ def Default(self, Default):
13187
+ self._Default = Default
13188
+
13189
+
13190
+ def _deserialize(self, params):
13191
+ self._Id = params.get("Id")
13192
+ self._Default = params.get("Default")
13193
+ memeber_set = set(params.keys())
13194
+ for name, value in vars(self).items():
13195
+ property_name = name[1:]
13196
+ if property_name in memeber_set:
13197
+ memeber_set.remove(property_name)
13198
+ if len(memeber_set) > 0:
13199
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13200
+
13201
+
13202
+
12781
13203
  class ComposeMediaOutput(AbstractModel):
12782
13204
  """Information of output media file.
12783
13205
 
@@ -15223,6 +15645,156 @@ class CreateClassResponse(AbstractModel):
15223
15645
  self._RequestId = params.get("RequestId")
15224
15646
 
15225
15647
 
15648
+ class CreateComplexAdaptiveDynamicStreamingTaskRequest(AbstractModel):
15649
+ """CreateComplexAdaptiveDynamicStreamingTask request structure.
15650
+
15651
+ """
15652
+
15653
+ def __init__(self):
15654
+ r"""
15655
+ :param _SubAppId: The VOD application ID.
15656
+ :type SubAppId: int
15657
+ :param _FileId: Media ID of the main media.
15658
+ :type FileId: str
15659
+ :param _StreamParaSet: Adaptive bitrate streaming parameters, supporting up to 8 entries.
15660
+ :type StreamParaSet: list of ComplexAdaptiveDynamicStreamingTaskStreamPara
15661
+ :param _HeadTailSet: List of video opening/closing credits configuration template IDs, supporting up to 4 entries. If this field is filled in, the start times of the media specified in AudioSet and SubtitleSet will be automatically adjusted to stay in sync with the main media.
15662
+ :type HeadTailSet: list of HeadTailTaskInput
15663
+ :param _AudioSet: Audio media parameters, supporting up to 16 entries. Each array element corresponds to an audio stream in the output. If you want to add the audio stream from the main media file to the output, you also need to specify it here. The order of elements in the array will determine the order of audio streams in the output. If the input media file contains both video and audio streams, the video stream will be ignored.
15664
+ :type AudioSet: list of ComplexAdaptiveDynamicStreamingTaskAudioInput
15665
+ :param _SubtitleSet: List of subtitle IDs, supporting up to 16 entries. Each array element corresponds to an subtitle stream in the output. The order of elements in the array will determine the order of subtitles in the output.
15666
+ :type SubtitleSet: list of ComplexAdaptiveDynamicStreamingTaskSubtitleInput
15667
+ """
15668
+ self._SubAppId = None
15669
+ self._FileId = None
15670
+ self._StreamParaSet = None
15671
+ self._HeadTailSet = None
15672
+ self._AudioSet = None
15673
+ self._SubtitleSet = None
15674
+
15675
+ @property
15676
+ def SubAppId(self):
15677
+ return self._SubAppId
15678
+
15679
+ @SubAppId.setter
15680
+ def SubAppId(self, SubAppId):
15681
+ self._SubAppId = SubAppId
15682
+
15683
+ @property
15684
+ def FileId(self):
15685
+ return self._FileId
15686
+
15687
+ @FileId.setter
15688
+ def FileId(self, FileId):
15689
+ self._FileId = FileId
15690
+
15691
+ @property
15692
+ def StreamParaSet(self):
15693
+ return self._StreamParaSet
15694
+
15695
+ @StreamParaSet.setter
15696
+ def StreamParaSet(self, StreamParaSet):
15697
+ self._StreamParaSet = StreamParaSet
15698
+
15699
+ @property
15700
+ def HeadTailSet(self):
15701
+ return self._HeadTailSet
15702
+
15703
+ @HeadTailSet.setter
15704
+ def HeadTailSet(self, HeadTailSet):
15705
+ self._HeadTailSet = HeadTailSet
15706
+
15707
+ @property
15708
+ def AudioSet(self):
15709
+ return self._AudioSet
15710
+
15711
+ @AudioSet.setter
15712
+ def AudioSet(self, AudioSet):
15713
+ self._AudioSet = AudioSet
15714
+
15715
+ @property
15716
+ def SubtitleSet(self):
15717
+ return self._SubtitleSet
15718
+
15719
+ @SubtitleSet.setter
15720
+ def SubtitleSet(self, SubtitleSet):
15721
+ self._SubtitleSet = SubtitleSet
15722
+
15723
+
15724
+ def _deserialize(self, params):
15725
+ self._SubAppId = params.get("SubAppId")
15726
+ self._FileId = params.get("FileId")
15727
+ if params.get("StreamParaSet") is not None:
15728
+ self._StreamParaSet = []
15729
+ for item in params.get("StreamParaSet"):
15730
+ obj = ComplexAdaptiveDynamicStreamingTaskStreamPara()
15731
+ obj._deserialize(item)
15732
+ self._StreamParaSet.append(obj)
15733
+ if params.get("HeadTailSet") is not None:
15734
+ self._HeadTailSet = []
15735
+ for item in params.get("HeadTailSet"):
15736
+ obj = HeadTailTaskInput()
15737
+ obj._deserialize(item)
15738
+ self._HeadTailSet.append(obj)
15739
+ if params.get("AudioSet") is not None:
15740
+ self._AudioSet = []
15741
+ for item in params.get("AudioSet"):
15742
+ obj = ComplexAdaptiveDynamicStreamingTaskAudioInput()
15743
+ obj._deserialize(item)
15744
+ self._AudioSet.append(obj)
15745
+ if params.get("SubtitleSet") is not None:
15746
+ self._SubtitleSet = []
15747
+ for item in params.get("SubtitleSet"):
15748
+ obj = ComplexAdaptiveDynamicStreamingTaskSubtitleInput()
15749
+ obj._deserialize(item)
15750
+ self._SubtitleSet.append(obj)
15751
+ memeber_set = set(params.keys())
15752
+ for name, value in vars(self).items():
15753
+ property_name = name[1:]
15754
+ if property_name in memeber_set:
15755
+ memeber_set.remove(property_name)
15756
+ if len(memeber_set) > 0:
15757
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15758
+
15759
+
15760
+
15761
+ class CreateComplexAdaptiveDynamicStreamingTaskResponse(AbstractModel):
15762
+ """CreateComplexAdaptiveDynamicStreamingTask response structure.
15763
+
15764
+ """
15765
+
15766
+ def __init__(self):
15767
+ r"""
15768
+ :param _TaskId: Task ID.
15769
+ :type TaskId: str
15770
+ :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.
15771
+ :type RequestId: str
15772
+ """
15773
+ self._TaskId = None
15774
+ self._RequestId = None
15775
+
15776
+ @property
15777
+ def TaskId(self):
15778
+ return self._TaskId
15779
+
15780
+ @TaskId.setter
15781
+ def TaskId(self, TaskId):
15782
+ self._TaskId = TaskId
15783
+
15784
+ @property
15785
+ def RequestId(self):
15786
+ return self._RequestId
15787
+
15788
+ @RequestId.setter
15789
+ def RequestId(self, RequestId):
15790
+ self._RequestId = RequestId
15791
+
15792
+
15793
+ def _deserialize(self, params):
15794
+ self._TaskId = params.get("TaskId")
15795
+ self._RequestId = params.get("RequestId")
15796
+
15797
+
15226
15798
  class CreateContentReviewTemplateRequest(AbstractModel):
15227
15799
  """CreateContentReviewTemplate request structure.
15228
15800
 
@@ -25950,6 +26522,7 @@ class DescribeTaskDetailResponse(AbstractModel):
25950
26522
  <li> `ReviewAudioVideo`: Moderation</li>
25951
26523
  <li>`ExtractTraceWatermark`: Digital watermark extraction</li>
25952
26524
  <li>`QualityEnhance`: Enhance audio/video</li>
26525
+ <li>`ComplexAdaptiveDynamicStreaming`: Complex adaptive bitrate streaming processing task</li>
25953
26526
  :type TaskType: str
25954
26527
  :param _Status: Task status. Valid values:
25955
26528
  <li>WAITING: waiting;</li>
@@ -26025,6 +26598,9 @@ Note: This field may return null, indicating that no valid value can be obtained
26025
26598
  :param _QualityEnhanceTask: Media Quality Enhance task information. This field has a value only when TaskType is QualityEnhance.
26026
26599
  Note: This field may return null, indicating that no valid value can be obtained.
26027
26600
  :type QualityEnhanceTask: :class:`tencentcloud.vod.v20180717.models.QualityEnhanceTask`
26601
+ :param _ComplexAdaptiveDynamicStreamingTask: Complex adaptive bitrate streaming processing task information. This field has a value only when TaskType is ComplexAdaptiveDynamicStreaming.
26602
+ Note: This field may return null, indicating that no valid value can be obtained.
26603
+ :type ComplexAdaptiveDynamicStreamingTask: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
26028
26604
  :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.
26029
26605
  :type RequestId: str
26030
26606
  """
@@ -26054,6 +26630,7 @@ Note: This field may return null, indicating that no valid value can be obtained
26054
26630
  self._DescribeFileAttributesTask = None
26055
26631
  self._QualityInspectTask = None
26056
26632
  self._QualityEnhanceTask = None
26633
+ self._ComplexAdaptiveDynamicStreamingTask = None
26057
26634
  self._RequestId = None
26058
26635
 
26059
26636
  @property
@@ -26264,6 +26841,14 @@ Note: This field may return null, indicating that no valid value can be obtained
26264
26841
  def QualityEnhanceTask(self, QualityEnhanceTask):
26265
26842
  self._QualityEnhanceTask = QualityEnhanceTask
26266
26843
 
26844
+ @property
26845
+ def ComplexAdaptiveDynamicStreamingTask(self):
26846
+ return self._ComplexAdaptiveDynamicStreamingTask
26847
+
26848
+ @ComplexAdaptiveDynamicStreamingTask.setter
26849
+ def ComplexAdaptiveDynamicStreamingTask(self, ComplexAdaptiveDynamicStreamingTask):
26850
+ self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask
26851
+
26267
26852
  @property
26268
26853
  def RequestId(self):
26269
26854
  return self._RequestId
@@ -26342,6 +26927,9 @@ Note: This field may return null, indicating that no valid value can be obtained
26342
26927
  if params.get("QualityEnhanceTask") is not None:
26343
26928
  self._QualityEnhanceTask = QualityEnhanceTask()
26344
26929
  self._QualityEnhanceTask._deserialize(params.get("QualityEnhanceTask"))
26930
+ if params.get("ComplexAdaptiveDynamicStreamingTask") is not None:
26931
+ self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask()
26932
+ self._ComplexAdaptiveDynamicStreamingTask._deserialize(params.get("ComplexAdaptiveDynamicStreamingTask"))
26345
26933
  self._RequestId = params.get("RequestId")
26346
26934
 
26347
26935
 
@@ -319,6 +319,39 @@ class VodClient(AbstractClient):
319
319
  raise TencentCloudSDKException(type(e).__name__, str(e))
320
320
 
321
321
 
322
+ def CreateComplexAdaptiveDynamicStreamingTask(self, request):
323
+ """Initiate an adaptive bitrate streaming processing task, with the following features:
324
+ 1. Output HLS and MPEG-DASH adaptive streams based on the specified templates;
325
+ 2. DRM options for the adaptive bitrate streaming include no encryption, Widevine, or FairPlay.
326
+ 3. The output adaptive bitrate streaming can include multiple audio streams in different languages, with each language sourced from different media files.
327
+ 4. The output adaptive stream can also include multiple subtitle streams in different languages.
328
+
329
+ **Notes:**
330
+ 1. When using opening/closing credits, the video stream in the opening credit must be synchronized with the audio stream; otherwise, it will result in audio and video desynchronization in the output content.
331
+ 2. If the output adaptive bitrate streaming needs to include audio from the main media, the FileId of the main media must be specified in the AudioSet parameter.
332
+ 3. Subtitles must be added to the main media beforehand, which can be done through the ModifyMediaInfo API interface or the Video Management page in the console.
333
+ 4. Support for TESHD transcoding and watermarking is currently not available.
334
+
335
+ :param request: Request instance for CreateComplexAdaptiveDynamicStreamingTask.
336
+ :type request: :class:`tencentcloud.vod.v20180717.models.CreateComplexAdaptiveDynamicStreamingTaskRequest`
337
+ :rtype: :class:`tencentcloud.vod.v20180717.models.CreateComplexAdaptiveDynamicStreamingTaskResponse`
338
+
339
+ """
340
+ try:
341
+ params = request._serialize()
342
+ headers = request.headers
343
+ body = self.call("CreateComplexAdaptiveDynamicStreamingTask", params, headers=headers)
344
+ response = json.loads(body)
345
+ model = models.CreateComplexAdaptiveDynamicStreamingTaskResponse()
346
+ model._deserialize(response["Response"])
347
+ return model
348
+ except Exception as e:
349
+ if isinstance(e, TencentCloudSDKException):
350
+ raise
351
+ else:
352
+ raise TencentCloudSDKException(type(e).__name__, str(e))
353
+
354
+
322
355
  def CreateContentReviewTemplate(self, request):
323
356
  """We have <font color=red>stopped updating</font> this API. Our new moderation templates can moderate audio/video as well as images. For details, see [CreateReviewTemplate](https://intl.cloud.tencent.com/document/api/266/84391?from_cn_redirect=1).
324
357
  This API is used to create a custom audio/video moderation template. Up to 50 templates can be created in total.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1074
3
+ Version: 3.0.1075
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud