tencentcloud-sdk-python-intl-en 3.0.1176__py2.py3-none-any.whl → 3.0.1178__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +0 -1
- tencentcloud/mdl/v20200326/mdl_client.py +0 -23
- tencentcloud/mdl/v20200326/models.py +23 -353
- tencentcloud/mdp/v20200527/models.py +30 -0
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +166 -140
- tencentcloud/ocr/v20181119/ocr_client.py +0 -1
- tencentcloud/rum/v20210622/models.py +32 -2
- tencentcloud/wedata/v20210820/models.py +4274 -1634
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1176.dist-info → tencentcloud_sdk_python_intl_en-3.0.1178.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1176.dist-info → tencentcloud_sdk_python_intl_en-3.0.1178.dist-info}/RECORD +15 -15
- {tencentcloud_sdk_python_intl_en-3.0.1176.dist-info → tencentcloud_sdk_python_intl_en-3.0.1178.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1176.dist-info → tencentcloud_sdk_python_intl_en-3.0.1178.dist-info}/top_level.txt +0 -0
|
@@ -1597,8 +1597,9 @@ class AdaptiveStreamTemplate(AbstractModel):
|
|
|
1597
1597
|
<li>0: no,</li>
|
|
1598
1598
|
<li>1: yes.</li>
|
|
1599
1599
|
:type RemoveVideo: int
|
|
1600
|
-
:param _AudioList:
|
|
1601
|
-
The parameter
|
|
1600
|
+
:param _AudioList: Audio parameter information list.
|
|
1601
|
+
The parameter is only used when merging multiple audio tracks in adaptive bitrate transcoding. the maximum length of the parameter array is 64.
|
|
1602
|
+
|
|
1602
1603
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1603
1604
|
:type AudioList: list of AudioTemplateInfo
|
|
1604
1605
|
"""
|
|
@@ -1658,8 +1659,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
1658
1659
|
|
|
1659
1660
|
@property
|
|
1660
1661
|
def AudioList(self):
|
|
1661
|
-
"""
|
|
1662
|
-
The parameter
|
|
1662
|
+
"""Audio parameter information list.
|
|
1663
|
+
The parameter is only used when merging multiple audio tracks in adaptive bitrate transcoding. the maximum length of the parameter array is 64.
|
|
1664
|
+
|
|
1663
1665
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1664
1666
|
:rtype: list of AudioTemplateInfo
|
|
1665
1667
|
"""
|
|
@@ -11474,42 +11476,49 @@ class AudioTemplateInfo(AbstractModel):
|
|
|
11474
11476
|
|
|
11475
11477
|
def __init__(self):
|
|
11476
11478
|
r"""
|
|
11477
|
-
:param _Codec:
|
|
11478
|
-
When audio transcoding is not needed, the
|
|
11479
|
+
:param _Codec: Specifies the encoding format of the audio stream.
|
|
11480
|
+
When audio transcoding is not needed, the optional values are:.
|
|
11479
11481
|
<li>copy.</li>
|
|
11480
|
-
When the outer parameter Container is mp3, the
|
|
11482
|
+
When the outer parameter Container is mp3, the valid values are:.
|
|
11481
11483
|
<li>mp3.</li>
|
|
11482
|
-
When the outer parameter Container is ogg or flac, the
|
|
11484
|
+
When the outer parameter Container is ogg or flac, the valid values are:.
|
|
11483
11485
|
<li>flac.</li>
|
|
11484
|
-
When the outer parameter Container is m4a, valid values are
|
|
11486
|
+
When the outer parameter Container is m4a, valid values are:.
|
|
11485
11487
|
<li>aac;</li>
|
|
11486
11488
|
<li>ac3.</li>
|
|
11487
|
-
When the outer parameter Container is mp4 or flv, valid values are
|
|
11488
|
-
<li>aac: more suitable for mp4;</li
|
|
11489
|
-
<li>mp3: more suitable for flv;</li
|
|
11489
|
+
When the outer parameter Container is mp4 or flv, valid values are:.
|
|
11490
|
+
<li>aac: more suitable for mp4;</li>.
|
|
11491
|
+
<li>mp3: more suitable for flv;</li>.
|
|
11490
11492
|
<li>mp2.</li>
|
|
11491
|
-
When the outer parameter Container is hls, valid values are
|
|
11493
|
+
When the outer parameter Container is hls, valid values are:.
|
|
11492
11494
|
<li>aac;</li>
|
|
11493
|
-
<li>mp3
|
|
11495
|
+
<li>mp3;</li>
|
|
11496
|
+
<li>eac3: used when merging adaptive transcoding audio tracks.</li>.
|
|
11494
11497
|
:type Codec: str
|
|
11495
|
-
:param _Bitrate:
|
|
11496
|
-
If the value is 0, the
|
|
11498
|
+
:param _Bitrate: The bitrate of the audio stream. value ranges from 0 to 26 and in the range of [26, 256]. measurement unit: kbps.
|
|
11499
|
+
If the value is 0, the audio bitrate will be the same as that of the original audio.
|
|
11500
|
+
Specifies that when using the TrackChannelInfo parameter for adaptive transcoding audio track merging, the valid values are:.
|
|
11501
|
+
Cannot be set to 0.
|
|
11502
|
+
2). when Codec is aac, valid values: [26, 256].
|
|
11503
|
+
3). when Codec is ac3, valid values: [26, 640].
|
|
11504
|
+
4) when Codec is eac3, value range: [26, 6144]. remark: when SampleRate is 44100HZ, maximum value: 5644. when SampleRate is 48000HZ, maximum value: 6144.
|
|
11505
|
+
|
|
11506
|
+
|
|
11497
11507
|
:type Bitrate: int
|
|
11498
|
-
:param _SampleRate:
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
<li>48,000</li>
|
|
11502
|
-
In Hz.
|
|
11508
|
+
:param _SampleRate: The sampling rate of the audio stream. the supported sampling rate options vary for different encoding standards. for details, see audio sampling rate support scope document https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53.
|
|
11509
|
+
Unit: Hz.
|
|
11510
|
+
Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
|
|
11503
11511
|
:type SampleRate: int
|
|
11504
11512
|
:param _AudioChannel: Audio channel mode. Valid values:
|
|
11505
|
-
<li>1:
|
|
11506
|
-
<li>2: dual
|
|
11507
|
-
<li>6: 5.1 surround sound
|
|
11508
|
-
|
|
11509
|
-
|
|
11513
|
+
<li>1: mono-channel.</li>
|
|
11514
|
+
<li>2: dual-channel.</li>
|
|
11515
|
+
<li>6: 5.1 surround sound.
|
|
11516
|
+
<li>Default value: 2.
|
|
11517
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11510
11518
|
:type AudioChannel: int
|
|
11511
11519
|
:param _TrackChannelInfo: Merge audio track information.
|
|
11512
|
-
This field only takes
|
|
11520
|
+
This field only takes effect in adaptive bitrate transcoding.
|
|
11521
|
+
|
|
11513
11522
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11514
11523
|
:type TrackChannelInfo: :class:`tencentcloud.mps.v20190612.models.AudioTrackChannelInfo`
|
|
11515
11524
|
"""
|
|
@@ -11521,23 +11530,24 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11521
11530
|
|
|
11522
11531
|
@property
|
|
11523
11532
|
def Codec(self):
|
|
11524
|
-
"""
|
|
11525
|
-
When audio transcoding is not needed, the
|
|
11533
|
+
"""Specifies the encoding format of the audio stream.
|
|
11534
|
+
When audio transcoding is not needed, the optional values are:.
|
|
11526
11535
|
<li>copy.</li>
|
|
11527
|
-
When the outer parameter Container is mp3, the
|
|
11536
|
+
When the outer parameter Container is mp3, the valid values are:.
|
|
11528
11537
|
<li>mp3.</li>
|
|
11529
|
-
When the outer parameter Container is ogg or flac, the
|
|
11538
|
+
When the outer parameter Container is ogg or flac, the valid values are:.
|
|
11530
11539
|
<li>flac.</li>
|
|
11531
|
-
When the outer parameter Container is m4a, valid values are
|
|
11540
|
+
When the outer parameter Container is m4a, valid values are:.
|
|
11532
11541
|
<li>aac;</li>
|
|
11533
11542
|
<li>ac3.</li>
|
|
11534
|
-
When the outer parameter Container is mp4 or flv, valid values are
|
|
11535
|
-
<li>aac: more suitable for mp4;</li
|
|
11536
|
-
<li>mp3: more suitable for flv;</li
|
|
11543
|
+
When the outer parameter Container is mp4 or flv, valid values are:.
|
|
11544
|
+
<li>aac: more suitable for mp4;</li>.
|
|
11545
|
+
<li>mp3: more suitable for flv;</li>.
|
|
11537
11546
|
<li>mp2.</li>
|
|
11538
|
-
When the outer parameter Container is hls, valid values are
|
|
11547
|
+
When the outer parameter Container is hls, valid values are:.
|
|
11539
11548
|
<li>aac;</li>
|
|
11540
|
-
<li>mp3
|
|
11549
|
+
<li>mp3;</li>
|
|
11550
|
+
<li>eac3: used when merging adaptive transcoding audio tracks.</li>.
|
|
11541
11551
|
:rtype: str
|
|
11542
11552
|
"""
|
|
11543
11553
|
return self._Codec
|
|
@@ -11548,8 +11558,15 @@ When the outer parameter Container is hls, valid values are:
|
|
|
11548
11558
|
|
|
11549
11559
|
@property
|
|
11550
11560
|
def Bitrate(self):
|
|
11551
|
-
"""
|
|
11552
|
-
If the value is 0, the
|
|
11561
|
+
"""The bitrate of the audio stream. value ranges from 0 to 26 and in the range of [26, 256]. measurement unit: kbps.
|
|
11562
|
+
If the value is 0, the audio bitrate will be the same as that of the original audio.
|
|
11563
|
+
Specifies that when using the TrackChannelInfo parameter for adaptive transcoding audio track merging, the valid values are:.
|
|
11564
|
+
Cannot be set to 0.
|
|
11565
|
+
2). when Codec is aac, valid values: [26, 256].
|
|
11566
|
+
3). when Codec is ac3, valid values: [26, 640].
|
|
11567
|
+
4) when Codec is eac3, value range: [26, 6144]. remark: when SampleRate is 44100HZ, maximum value: 5644. when SampleRate is 48000HZ, maximum value: 6144.
|
|
11568
|
+
|
|
11569
|
+
|
|
11553
11570
|
:rtype: int
|
|
11554
11571
|
"""
|
|
11555
11572
|
return self._Bitrate
|
|
@@ -11560,11 +11577,9 @@ If the value is 0, the bitrate of the audio stream will be the same as that of t
|
|
|
11560
11577
|
|
|
11561
11578
|
@property
|
|
11562
11579
|
def SampleRate(self):
|
|
11563
|
-
"""
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
<li>48,000</li>
|
|
11567
|
-
In Hz.
|
|
11580
|
+
"""The sampling rate of the audio stream. the supported sampling rate options vary for different encoding standards. for details, see audio sampling rate support scope document https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53.
|
|
11581
|
+
Unit: Hz.
|
|
11582
|
+
Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
|
|
11568
11583
|
:rtype: int
|
|
11569
11584
|
"""
|
|
11570
11585
|
return self._SampleRate
|
|
@@ -11576,11 +11591,11 @@ In Hz.
|
|
|
11576
11591
|
@property
|
|
11577
11592
|
def AudioChannel(self):
|
|
11578
11593
|
"""Audio channel mode. Valid values:
|
|
11579
|
-
<li>1:
|
|
11580
|
-
<li>2: dual
|
|
11581
|
-
<li>6: 5.1 surround sound
|
|
11582
|
-
|
|
11583
|
-
|
|
11594
|
+
<li>1: mono-channel.</li>
|
|
11595
|
+
<li>2: dual-channel.</li>
|
|
11596
|
+
<li>6: 5.1 surround sound.
|
|
11597
|
+
<li>Default value: 2.
|
|
11598
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11584
11599
|
:rtype: int
|
|
11585
11600
|
"""
|
|
11586
11601
|
return self._AudioChannel
|
|
@@ -11592,7 +11607,8 @@ Default value: 2.
|
|
|
11592
11607
|
@property
|
|
11593
11608
|
def TrackChannelInfo(self):
|
|
11594
11609
|
"""Merge audio track information.
|
|
11595
|
-
This field only takes
|
|
11610
|
+
This field only takes effect in adaptive bitrate transcoding.
|
|
11611
|
+
|
|
11596
11612
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11597
11613
|
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioTrackChannelInfo`
|
|
11598
11614
|
"""
|
|
@@ -11649,17 +11665,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
11649
11665
|
:type Codec: str
|
|
11650
11666
|
:param _Bitrate: Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
|
|
11651
11667
|
:type Bitrate: int
|
|
11652
|
-
:param _SampleRate:
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
In Hz.
|
|
11668
|
+
:param _SampleRate: The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
|
|
11669
|
+
Unit: Hz.
|
|
11670
|
+
Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
|
|
11671
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11657
11672
|
:type SampleRate: int
|
|
11658
11673
|
:param _AudioChannel: Audio channel mode. Valid values:
|
|
11659
|
-
<li>1:
|
|
11660
|
-
<li>2: dual
|
|
11661
|
-
<li>6: 5.1 surround sound
|
|
11662
|
-
When the
|
|
11674
|
+
<li>1: mono-channel.</li>
|
|
11675
|
+
<li>2: dual-channel.</li>
|
|
11676
|
+
<li>6: 5.1 surround sound.
|
|
11677
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11678
|
+
|
|
11663
11679
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11664
11680
|
:type AudioChannel: int
|
|
11665
11681
|
:param _StreamSelects: The audio tracks to retain. All audio tracks are retained by default.
|
|
@@ -11712,11 +11728,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
11712
11728
|
|
|
11713
11729
|
@property
|
|
11714
11730
|
def SampleRate(self):
|
|
11715
|
-
"""
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
In Hz.
|
|
11731
|
+
"""The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
|
|
11732
|
+
Unit: Hz.
|
|
11733
|
+
Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
|
|
11734
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11720
11735
|
:rtype: int
|
|
11721
11736
|
"""
|
|
11722
11737
|
return self._SampleRate
|
|
@@ -11728,10 +11743,11 @@ In Hz.
|
|
|
11728
11743
|
@property
|
|
11729
11744
|
def AudioChannel(self):
|
|
11730
11745
|
"""Audio channel mode. Valid values:
|
|
11731
|
-
<li>1:
|
|
11732
|
-
<li>2: dual
|
|
11733
|
-
<li>6: 5.1 surround sound
|
|
11734
|
-
When the
|
|
11746
|
+
<li>1: mono-channel.</li>
|
|
11747
|
+
<li>2: dual-channel.</li>
|
|
11748
|
+
<li>6: 5.1 surround sound.
|
|
11749
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11750
|
+
|
|
11735
11751
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11736
11752
|
:rtype: int
|
|
11737
11753
|
"""
|
|
@@ -11776,21 +11792,23 @@ class AudioTrackChannelInfo(AbstractModel):
|
|
|
11776
11792
|
|
|
11777
11793
|
def __init__(self):
|
|
11778
11794
|
r"""
|
|
11779
|
-
:param _ChannelsRemix: Whether to enable audio
|
|
11780
|
-
0:
|
|
11781
|
-
1:
|
|
11782
|
-
Default value: 0
|
|
11795
|
+
:param _ChannelsRemix: Whether to enable the feature of multi-audio track mixing. Valid values:
|
|
11796
|
+
<li>0: To disable the multi-audio track mixing feature.
|
|
11797
|
+
<li>1: To enable the multi-audio track mixing feature.
|
|
11798
|
+
<li>Default value: 0.
|
|
11783
11799
|
|
|
11784
11800
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11785
11801
|
:type ChannelsRemix: int
|
|
11786
|
-
:param _SelectType:
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
Default:
|
|
11790
|
-
If the original
|
|
11802
|
+
:param _SelectType: Set the selector type for the input audio track. Valid values:
|
|
11803
|
+
<li>track: indicates the usage of audio track id to identify the track to be used.
|
|
11804
|
+
<li>track_channel: indicates the usage of both the audio track id and sound channel id to identify the track and channel to be used.
|
|
11805
|
+
<li>Default value: track.
|
|
11806
|
+
If the original audio track has multiple sound channels, please use track_channel.
|
|
11807
|
+
|
|
11791
11808
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11792
11809
|
:type SelectType: str
|
|
11793
11810
|
:param _InputTrackInfo: Audio track information.
|
|
11811
|
+
|
|
11794
11812
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11795
11813
|
:type InputTrackInfo: list of TrackInfo
|
|
11796
11814
|
"""
|
|
@@ -11800,10 +11818,10 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11800
11818
|
|
|
11801
11819
|
@property
|
|
11802
11820
|
def ChannelsRemix(self):
|
|
11803
|
-
"""Whether to enable audio
|
|
11804
|
-
0:
|
|
11805
|
-
1:
|
|
11806
|
-
Default value: 0
|
|
11821
|
+
"""Whether to enable the feature of multi-audio track mixing. Valid values:
|
|
11822
|
+
<li>0: To disable the multi-audio track mixing feature.
|
|
11823
|
+
<li>1: To enable the multi-audio track mixing feature.
|
|
11824
|
+
<li>Default value: 0.
|
|
11807
11825
|
|
|
11808
11826
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11809
11827
|
:rtype: int
|
|
@@ -11816,11 +11834,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11816
11834
|
|
|
11817
11835
|
@property
|
|
11818
11836
|
def SelectType(self):
|
|
11819
|
-
"""
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
Default:
|
|
11823
|
-
If the original
|
|
11837
|
+
"""Set the selector type for the input audio track. Valid values:
|
|
11838
|
+
<li>track: indicates the usage of audio track id to identify the track to be used.
|
|
11839
|
+
<li>track_channel: indicates the usage of both the audio track id and sound channel id to identify the track and channel to be used.
|
|
11840
|
+
<li>Default value: track.
|
|
11841
|
+
If the original audio track has multiple sound channels, please use track_channel.
|
|
11842
|
+
|
|
11824
11843
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11825
11844
|
:rtype: str
|
|
11826
11845
|
"""
|
|
@@ -11833,6 +11852,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11833
11852
|
@property
|
|
11834
11853
|
def InputTrackInfo(self):
|
|
11835
11854
|
"""Audio track information.
|
|
11855
|
+
|
|
11836
11856
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11837
11857
|
:rtype: list of TrackInfo
|
|
11838
11858
|
"""
|
|
@@ -45518,14 +45538,14 @@ class SpekeDrm(AbstractModel):
|
|
|
45518
45538
|
|
|
45519
45539
|
def __init__(self):
|
|
45520
45540
|
r"""
|
|
45521
|
-
:param _ResourceId: Resource
|
|
45541
|
+
:param _ResourceId: Resource tagging. the field content is user-customized.
|
|
45522
45542
|
It supports 1 to 128 characters consisting of digits, letters, underscores (_), and hyphens (-).
|
|
45523
45543
|
:type ResourceId: str
|
|
45524
|
-
:param _KeyServerUrl:
|
|
45544
|
+
:param _KeyServerUrl: DRM manufacturer access address. the field content is obtained from the drm manufacturer.
|
|
45525
45545
|
|
|
45526
|
-
Note:
|
|
45546
|
+
Note: different DRM manufacturers have different limitations on the number of substreams. for example, PallyCon limits the number of substreams to no more than 5, and DRMtoday only supports encryption of up to 9 substreams.
|
|
45527
45547
|
:type KeyServerUrl: str
|
|
45528
|
-
:param _Vector:
|
|
45548
|
+
:param _Vector: Encryption initialization vector (32-byte string). the field content is user-customized.
|
|
45529
45549
|
:type Vector: str
|
|
45530
45550
|
:param _EncryptionMethod: Encryption method. cbcs: default method of FairPlay; cenc: default method of PlayReady and Widevine.
|
|
45531
45551
|
|
|
@@ -45546,7 +45566,7 @@ preset1: use different keys for each substream
|
|
|
45546
45566
|
|
|
45547
45567
|
@property
|
|
45548
45568
|
def ResourceId(self):
|
|
45549
|
-
"""Resource
|
|
45569
|
+
"""Resource tagging. the field content is user-customized.
|
|
45550
45570
|
It supports 1 to 128 characters consisting of digits, letters, underscores (_), and hyphens (-).
|
|
45551
45571
|
:rtype: str
|
|
45552
45572
|
"""
|
|
@@ -45558,9 +45578,9 @@ It supports 1 to 128 characters consisting of digits, letters, underscores (_),
|
|
|
45558
45578
|
|
|
45559
45579
|
@property
|
|
45560
45580
|
def KeyServerUrl(self):
|
|
45561
|
-
"""
|
|
45581
|
+
"""DRM manufacturer access address. the field content is obtained from the drm manufacturer.
|
|
45562
45582
|
|
|
45563
|
-
Note:
|
|
45583
|
+
Note: different DRM manufacturers have different limitations on the number of substreams. for example, PallyCon limits the number of substreams to no more than 5, and DRMtoday only supports encryption of up to 9 substreams.
|
|
45564
45584
|
:rtype: str
|
|
45565
45585
|
"""
|
|
45566
45586
|
return self._KeyServerUrl
|
|
@@ -45571,7 +45591,7 @@ Note: Different DRM vendors have different limits on the number of substreams. F
|
|
|
45571
45591
|
|
|
45572
45592
|
@property
|
|
45573
45593
|
def Vector(self):
|
|
45574
|
-
"""
|
|
45594
|
+
"""Encryption initialization vector (32-byte string). the field content is user-customized.
|
|
45575
45595
|
:rtype: str
|
|
45576
45596
|
"""
|
|
45577
45597
|
return self._Vector
|
|
@@ -45950,15 +45970,15 @@ class SvgWatermarkInputForUpdate(AbstractModel):
|
|
|
45950
45970
|
<li>If the string ends in %, the meaning is the same as `W%`.</li>
|
|
45951
45971
|
Default value: 10W%.
|
|
45952
45972
|
:type Width: str
|
|
45953
|
-
:param _Height: Watermark
|
|
45973
|
+
:param _Height: Watermark Height, which supports six formats of px, %, W%, H%, S%, and L%:
|
|
45954
45974
|
<li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered
|
|
45955
|
-
and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark
|
|
45975
|
+
and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark size will be the size of the source SVG image;</li>
|
|
45956
45976
|
<li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li>
|
|
45957
45977
|
<li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li>
|
|
45958
45978
|
<li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li>
|
|
45959
45979
|
<li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li>
|
|
45960
|
-
<li>If the string ends in %, the meaning is the same as `
|
|
45961
|
-
Default value:
|
|
45980
|
+
<li>If the string ends in %, the meaning is the same as `W%`.</li>
|
|
45981
|
+
Default value: 0px.
|
|
45962
45982
|
:type Height: str
|
|
45963
45983
|
"""
|
|
45964
45984
|
self._Width = None
|
|
@@ -45985,15 +46005,15 @@ Default value: 10W%.
|
|
|
45985
46005
|
|
|
45986
46006
|
@property
|
|
45987
46007
|
def Height(self):
|
|
45988
|
-
"""Watermark
|
|
46008
|
+
"""Watermark Height, which supports six formats of px, %, W%, H%, S%, and L%:
|
|
45989
46009
|
<li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered
|
|
45990
|
-
and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark
|
|
46010
|
+
and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark size will be the size of the source SVG image;</li>
|
|
45991
46011
|
<li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li>
|
|
45992
46012
|
<li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li>
|
|
45993
46013
|
<li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li>
|
|
45994
46014
|
<li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li>
|
|
45995
|
-
<li>If the string ends in %, the meaning is the same as `
|
|
45996
|
-
Default value:
|
|
46015
|
+
<li>If the string ends in %, the meaning is the same as `W%`.</li>
|
|
46016
|
+
Default value: 0px.
|
|
45997
46017
|
:rtype: str
|
|
45998
46018
|
"""
|
|
45999
46019
|
return self._Height
|
|
@@ -47254,19 +47274,20 @@ class TrackInfo(AbstractModel):
|
|
|
47254
47274
|
|
|
47255
47275
|
def __init__(self):
|
|
47256
47276
|
r"""
|
|
47257
|
-
:param _TrackNum:
|
|
47258
|
-
When the SelectType
|
|
47259
|
-
When the SelectType
|
|
47260
|
-
Default value:
|
|
47261
|
-
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track,
|
|
47277
|
+
:param _TrackNum: The serial number of the audio track and sound channel.
|
|
47278
|
+
<li>When the value of SelectType is track, this value is an integer, for example: 1.
|
|
47279
|
+
<li>When the value of SelectType is track_channel, this value is a decimal, for example: 1.0.
|
|
47280
|
+
<li>Default value: 1.0.
|
|
47281
|
+
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index value of the audio track, which can be 0 or a positive integer. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index value of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
|
|
47282
|
+
|
|
47262
47283
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47263
47284
|
:type TrackNum: str
|
|
47264
|
-
:param _ChannelVolume:
|
|
47265
|
-
When the value of AudioChannel is 1, the
|
|
47266
|
-
When the value of AudioChannel is 2, the
|
|
47267
|
-
When the value of AudioChannel is 6, the length of this
|
|
47268
|
-
|
|
47269
|
-
|
|
47285
|
+
:param _ChannelVolume: The volume of the sound channel.
|
|
47286
|
+
<li>When the value of AudioChannel is 1, the length of this array is 1. For example: [6].
|
|
47287
|
+
<li>When the value of AudioChannel is 2, the length of this array is 2. For example: [0,6].
|
|
47288
|
+
<li>When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16. For example: [-60,0,0,6].
|
|
47289
|
+
|
|
47290
|
+
Please specify the value array for this parameter. The value range is between -60 and 6, where -60 indicates mute, 0 maintains the original volume, and 6 doubles the original volume. The default value is -60. Please note: This field supports up to 3 decimal places.
|
|
47270
47291
|
|
|
47271
47292
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47272
47293
|
:type ChannelVolume: list of float
|
|
@@ -47276,11 +47297,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
47276
47297
|
|
|
47277
47298
|
@property
|
|
47278
47299
|
def TrackNum(self):
|
|
47279
|
-
"""
|
|
47280
|
-
When the SelectType
|
|
47281
|
-
When the SelectType
|
|
47282
|
-
Default value:
|
|
47283
|
-
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track,
|
|
47300
|
+
"""The serial number of the audio track and sound channel.
|
|
47301
|
+
<li>When the value of SelectType is track, this value is an integer, for example: 1.
|
|
47302
|
+
<li>When the value of SelectType is track_channel, this value is a decimal, for example: 1.0.
|
|
47303
|
+
<li>Default value: 1.0.
|
|
47304
|
+
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index value of the audio track, which can be 0 or a positive integer. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index value of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
|
|
47305
|
+
|
|
47284
47306
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47285
47307
|
:rtype: str
|
|
47286
47308
|
"""
|
|
@@ -47292,12 +47314,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
47292
47314
|
|
|
47293
47315
|
@property
|
|
47294
47316
|
def ChannelVolume(self):
|
|
47295
|
-
"""
|
|
47296
|
-
When the value of AudioChannel is 1, the
|
|
47297
|
-
When the value of AudioChannel is 2, the
|
|
47298
|
-
When the value of AudioChannel is 6, the length of this
|
|
47299
|
-
|
|
47300
|
-
|
|
47317
|
+
"""The volume of the sound channel.
|
|
47318
|
+
<li>When the value of AudioChannel is 1, the length of this array is 1. For example: [6].
|
|
47319
|
+
<li>When the value of AudioChannel is 2, the length of this array is 2. For example: [0,6].
|
|
47320
|
+
<li>When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16. For example: [-60,0,0,6].
|
|
47321
|
+
|
|
47322
|
+
Please specify the value array for this parameter. The value range is between -60 and 6, where -60 indicates mute, 0 maintains the original volume, and 6 doubles the original volume. The default value is -60. Please note: This field supports up to 3 decimal places.
|
|
47301
47323
|
|
|
47302
47324
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47303
47325
|
:rtype: list of float
|
|
@@ -49057,11 +49079,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
49057
49079
|
Note: The value must be greater than 0.
|
|
49058
49080
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
49059
49081
|
:type FpsDenominator: int
|
|
49060
|
-
:param _Stereo3dType: 3D video splicing mode,
|
|
49061
|
-
<
|
|
49062
|
-
<li>top_bottom:
|
|
49082
|
+
:param _Stereo3dType: 3D video splicing mode, applicable only to mv-hevc and effective for 3d videos. valid values:.
|
|
49083
|
+
<Li>Side_by_side: the original video content is arranged in a left-right layout.</li>.
|
|
49084
|
+
<li>top_bottom: vertical layout arrangement of original video content.</li>.
|
|
49085
|
+
Submit the amount and cost based on the segmented resolution size.
|
|
49063
49086
|
Default value: side_by_side.
|
|
49064
|
-
Note: This field may return null, indicating that no valid
|
|
49087
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
49065
49088
|
:type Stereo3dType: str
|
|
49066
49089
|
:param _VideoProfile: Profile, suitable for different scenarios.
|
|
49067
49090
|
baseline: It only supports I/P-frames and non-interlaced scenarios, and is suitable for scenarios such as video calls and mobile videos.
|
|
@@ -49383,11 +49406,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
49383
49406
|
|
|
49384
49407
|
@property
|
|
49385
49408
|
def Stereo3dType(self):
|
|
49386
|
-
"""3D video splicing mode,
|
|
49387
|
-
<
|
|
49388
|
-
<li>top_bottom:
|
|
49409
|
+
"""3D video splicing mode, applicable only to mv-hevc and effective for 3d videos. valid values:.
|
|
49410
|
+
<Li>Side_by_side: the original video content is arranged in a left-right layout.</li>.
|
|
49411
|
+
<li>top_bottom: vertical layout arrangement of original video content.</li>.
|
|
49412
|
+
Submit the amount and cost based on the segmented resolution size.
|
|
49389
49413
|
Default value: side_by_side.
|
|
49390
|
-
Note: This field may return null, indicating that no valid
|
|
49414
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
49391
49415
|
:rtype: str
|
|
49392
49416
|
"""
|
|
49393
49417
|
return self._Stereo3dType
|
|
@@ -49741,11 +49765,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
49741
49765
|
Note: The value must be greater than 0.
|
|
49742
49766
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
49743
49767
|
:type FpsDenominator: int
|
|
49744
|
-
:param _Stereo3dType: 3D video splicing mode,
|
|
49745
|
-
<
|
|
49746
|
-
<
|
|
49768
|
+
:param _Stereo3dType: 3D video splicing mode, applicable only to mv-hevc and effective for 3d videos. valid values:.
|
|
49769
|
+
<Li>Side_by_side: the original video content is arranged in a left-right layout.</li>.
|
|
49770
|
+
<Li>Top_bottom: layout arrangement of the original video content from top to bottom.</li>.
|
|
49771
|
+
The usage and charges will be reported based on the segmented resolution dimensions.
|
|
49747
49772
|
Default value: side_by_side.
|
|
49748
|
-
Note: This field may return null, indicating that no valid
|
|
49773
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
49749
49774
|
:type Stereo3dType: str
|
|
49750
49775
|
:param _VideoProfile: Profile, suitable for different scenarios.
|
|
49751
49776
|
baseline: It only supports I/P-frames and non-interlaced scenarios, and is suitable for scenarios such as video calls and mobile videos.
|
|
@@ -50086,11 +50111,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
50086
50111
|
|
|
50087
50112
|
@property
|
|
50088
50113
|
def Stereo3dType(self):
|
|
50089
|
-
"""3D video splicing mode,
|
|
50090
|
-
<
|
|
50091
|
-
<
|
|
50114
|
+
"""3D video splicing mode, applicable only to mv-hevc and effective for 3d videos. valid values:.
|
|
50115
|
+
<Li>Side_by_side: the original video content is arranged in a left-right layout.</li>.
|
|
50116
|
+
<Li>Top_bottom: layout arrangement of the original video content from top to bottom.</li>.
|
|
50117
|
+
The usage and charges will be reported based on the segmented resolution dimensions.
|
|
50092
50118
|
Default value: side_by_side.
|
|
50093
|
-
Note: This field may return null, indicating that no valid
|
|
50119
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
50094
50120
|
:rtype: str
|
|
50095
50121
|
"""
|
|
50096
50122
|
return self._Stereo3dType
|
|
@@ -836,7 +836,6 @@ class OcrClient(AbstractClient):
|
|
|
836
836
|
|
|
837
837
|
def RecognizeThaiIDCardOCR(self, request):
|
|
838
838
|
"""This API is used to recognize the fields on a Thai identity card, including name in Thai, name in English, address, date of birth, identification number, date of issue, and date of expiry.
|
|
839
|
-
Currently, this API is not generally available. For more information, please [contact your sales rep](https://intl.cloud.tencent.com/about/connect?from_cn_redirect=1).
|
|
840
839
|
|
|
841
840
|
A maximum of 10 requests can be initiated per second for this API.
|
|
842
841
|
|