tencentcloud-sdk-mps 3.0.445 → 3.0.447

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +43 -6
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5392e67e3e376ce27723be5167e995a67327409
4
- data.tar.gz: 13c7b466d2237ad0710bee8f546e5c8033609216
3
+ metadata.gz: b69c4f2f31e6a69719353657a161a1268164dc89
4
+ data.tar.gz: b647a280b7f295cf7a95687508e638afa7dc757b
5
5
  SHA512:
6
- metadata.gz: 0f8216dfcebb3a0106b963d00918c608eeaa06eebf28bda9dbaf3e7525fc8615588b3c2b1751f2680fac43cdd68f435427c16469f90bc97a962f04efa9579c31
7
- data.tar.gz: 18ce3ee3b2ff8396877fc7a5734ab3c08447ca1d85c9b0c8064aeeb1c3e2ce47348d36e58f5d78091e189319588e05fe131112edd607605536911715c760d261
6
+ metadata.gz: 61a51e706d7869a9f4bea6e9e6a96ade34cf982cb17e180abfae37eb878e590650c75861a1797f1a99f5c0c8b0d2504f8e3afac4506c20ba05e0a5e4be19153b
7
+ data.tar.gz: 20ea2b85caad9a24ea3c5a59dc2eeb7faaedd30be71d88f95918e80f49ac74a399b6a03b4437a32904ea1589ee30d923711f85d05abe240e1da6dedda6b3f48f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.445
1
+ 3.0.447
@@ -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
 
@@ -12807,17 +12811,17 @@ module TencentCloud
12807
12811
  # <li>EditMediaTask:视频编辑任务。</li>
12808
12812
  # <li>ScheduleTask:编排任务。</li>
12809
12813
  # @type EventType: String
12810
- # @param WorkflowTaskEvent: 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
12814
+ # @param WorkflowTaskEvent: 视频处理任务信息,仅当 EventType 为 WorkflowTask,该字段有值。
12811
12815
  # 注意:此字段可能返回 null,表示取不到有效值。
12812
12816
  # @type WorkflowTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTask`
12813
- # @param EditMediaTaskEvent: 视频编辑任务信息,仅当 TaskType 为 EditMediaTask,该字段有值。
12817
+ # @param EditMediaTaskEvent: 视频编辑任务信息,仅当 EventType 为 EditMediaTask,该字段有值。
12814
12818
  # 注意:此字段可能返回 null,表示取不到有效值。
12815
12819
  # @type EditMediaTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.EditMediaTask`
12816
12820
  # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
12817
12821
  # @type SessionId: String
12818
12822
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
12819
12823
  # @type SessionContext: String
12820
- # @param ScheduleTaskEvent: 编排任务信息,仅当 TaskType 为 ScheduleTask,该字段有值。
12824
+ # @param ScheduleTaskEvent: 编排任务信息,仅当 EventType 为 ScheduleTask,该字段有值。
12821
12825
  # 注意:此字段可能返回 null,表示取不到有效值。
12822
12826
  # @type ScheduleTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.ScheduleTask`
12823
12827
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -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.445
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-06 00:00:00.000000000 Z
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
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '3.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
28
28
  allows Ruby developers to write software that makes use of Tencent Cloud service
29
29
  MPS.