tencentcloud-sdk-mps 3.0.446 → 3.0.448
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +40 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a3c1c857ebc3d2076078c18cab70de609de0874
|
4
|
+
data.tar.gz: a5990ed1fe3f050bb06995d16fea7d80460ad145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d25670b68ba1adb3130fab23cd3dd7b1e5ca0922c48e3816ab4556b5a13d34e09d1d25a5a83fef5f47a0f0f1305631ed4dd6324618e6c7a4583cc6f960c0bbb5
|
7
|
+
data.tar.gz: d563a039e0bfb160c839645e7503503a65e53e43d2a4ef1969515bb11ed453ddc082ecb26c161b30f4cb4ad30c81afbcaadcb1fd8775d38c2d1c2ecc78bd778e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.448
|
data/lib/v20190612/models.rb
CHANGED
@@ -3428,14 +3428,17 @@ module TencentCloud
|
|
3428
3428
|
# <li>6:立体声</li>
|
3429
3429
|
# 当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
|
3430
3430
|
# @type AudioChannel: Integer
|
3431
|
+
# @param StreamSelects: 指定输出要保留的音频轨道。默认是全部保留源的。
|
3432
|
+
# @type StreamSelects: Array
|
3431
3433
|
|
3432
|
-
attr_accessor :Codec, :Bitrate, :SampleRate, :AudioChannel
|
3434
|
+
attr_accessor :Codec, :Bitrate, :SampleRate, :AudioChannel, :StreamSelects
|
3433
3435
|
|
3434
|
-
def initialize(codec=nil, bitrate=nil, samplerate=nil, audiochannel=nil)
|
3436
|
+
def initialize(codec=nil, bitrate=nil, samplerate=nil, audiochannel=nil, streamselects=nil)
|
3435
3437
|
@Codec = codec
|
3436
3438
|
@Bitrate = bitrate
|
3437
3439
|
@SampleRate = samplerate
|
3438
3440
|
@AudioChannel = audiochannel
|
3441
|
+
@StreamSelects = streamselects
|
3439
3442
|
end
|
3440
3443
|
|
3441
3444
|
def deserialize(params)
|
@@ -3443,6 +3446,7 @@ module TencentCloud
|
|
3443
3446
|
@Bitrate = params['Bitrate']
|
3444
3447
|
@SampleRate = params['SampleRate']
|
3445
3448
|
@AudioChannel = params['AudioChannel']
|
3449
|
+
@StreamSelects = params['StreamSelects']
|
3446
3450
|
end
|
3447
3451
|
end
|
3448
3452
|
|
@@ -14707,12 +14711,45 @@ module TencentCloud
|
|
14707
14711
|
|
14708
14712
|
# 字幕流配置参数。
|
14709
14713
|
class SubtitleTemplate < TencentCloud::Common::AbstractModel
|
14714
|
+
# @param Path: 要压制到视频中的字幕文件地址。
|
14715
|
+
# @type Path: String
|
14716
|
+
# @param StreamIndex: 指定要压制到视频中的字幕轨道,如果有指定Path,则Path 优先级更高。Path 和 StreamIndex 至少指定一个。
|
14717
|
+
# @type StreamIndex: Integer
|
14718
|
+
# @param FontType: 字体类型,
|
14719
|
+
# <li>hei.ttf:黑体</li>
|
14720
|
+
# <li>song.ttf:宋体</li>
|
14721
|
+
# <li>simkai.ttf:楷体</li>
|
14722
|
+
# <li>arial.ttf:仅支持英文</li>
|
14723
|
+
# 默认hei.ttf
|
14724
|
+
# @type FontType: String
|
14725
|
+
# @param FontSize: 字体大小,格式:Npx,N 为数值,不指定则以字幕文件中为准。
|
14726
|
+
# @type FontSize: String
|
14727
|
+
# @param FontColor: 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)
|
14728
|
+
# @type FontColor: String
|
14729
|
+
# @param FontAlpha: 文字透明度,取值范围:(0, 1]
|
14730
|
+
# <li>0:完全透明</li>
|
14731
|
+
# <li>1:完全不透明</li>
|
14732
|
+
# 默认值:1。
|
14733
|
+
# @type FontAlpha: Float
|
14710
14734
|
|
14735
|
+
attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha
|
14711
14736
|
|
14712
|
-
def initialize()
|
14737
|
+
def initialize(path=nil, streamindex=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil)
|
14738
|
+
@Path = path
|
14739
|
+
@StreamIndex = streamindex
|
14740
|
+
@FontType = fonttype
|
14741
|
+
@FontSize = fontsize
|
14742
|
+
@FontColor = fontcolor
|
14743
|
+
@FontAlpha = fontalpha
|
14713
14744
|
end
|
14714
14745
|
|
14715
14746
|
def deserialize(params)
|
14747
|
+
@Path = params['Path']
|
14748
|
+
@StreamIndex = params['StreamIndex']
|
14749
|
+
@FontType = params['FontType']
|
14750
|
+
@FontSize = params['FontSize']
|
14751
|
+
@FontColor = params['FontColor']
|
14752
|
+
@FontAlpha = params['FontAlpha']
|
14716
14753
|
end
|
14717
14754
|
end
|
14718
14755
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.448
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|