tencentcloud-sdk-mps 3.0.446 → 3.0.447
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.
- 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: b69c4f2f31e6a69719353657a161a1268164dc89
|
4
|
+
data.tar.gz: b647a280b7f295cf7a95687508e638afa7dc757b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61a51e706d7869a9f4bea6e9e6a96ade34cf982cb17e180abfae37eb878e590650c75861a1797f1a99f5c0c8b0d2504f8e3afac4506c20ba05e0a5e4be19153b
|
7
|
+
data.tar.gz: 20ea2b85caad9a24ea3c5a59dc2eeb7faaedd30be71d88f95918e80f49ac74a399b6a03b4437a32904ea1589ee30d923711f85d05abe240e1da6dedda6b3f48f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.447
|
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.447
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|