tencentcloud-sdk-mps 3.0.651 → 3.0.652

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 +162 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d4b9ae2773ad021f1cf11ffdc9d66b431d3d98b
4
- data.tar.gz: b9987684bcfcf5707ec577fb2f2146533c004ea4
3
+ metadata.gz: acd2b08eb794284a8422eee6389f5f128bd93b35
4
+ data.tar.gz: 519cc676a7da0688e00f42f9f909f097d3574720
5
5
  SHA512:
6
- metadata.gz: 2b88d6f9940d20777f275f1ebb38ae1f45bf6d9883407835040547421d4af3277f0338e80773177c842c6a5f5f2fff8d38ec335bb1d86c47b0c4fedef6bf47e9
7
- data.tar.gz: b15bb4d673707d09de80b2bca54841f0975d854c21c7cfbcb56019c8cd2fad77e5d717ab1f0b23a945290a1c624269da1d84516a18b125ab451fc789d5784f7d
6
+ metadata.gz: e384d0c8b578752cb38625967fbd4d1e8fba92d90e983dacf065b03fd28dabbf44481af78b226beab214f64e4a895202d0ca16cc1d16b3e5dddef11b4e4f4213
7
+ data.tar.gz: 84d81528ffc51e29ae18b4432c04e5a9bc05e6b3a9f223470be9bd7e9139bfcd264e9eeeeaf14667ccdb04d798f3f0b57febb4656a4a0c2168a1b27d21a4b4cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.651
1
+ 3.0.652
@@ -3646,6 +3646,131 @@ module TencentCloud
3646
3646
  end
3647
3647
  end
3648
3648
 
3649
+ # 音量美化配置
3650
+ class AudioBeautifyConfig < TencentCloud::Common::AbstractModel
3651
+ # @param Switch: 能力配置开关,可选值:
3652
+ # <li>ON:开启;</li>
3653
+ # <li>OFF:关闭。</li>
3654
+ # 默认值:ON。
3655
+ # @type Switch: String
3656
+ # @param Types: 类型,可多选,可选值:
3657
+ # <li>declick:杂音去除</li>
3658
+ # <li>deesser:齿音压制</li>
3659
+ # 默认值:declick。
3660
+ # 注意:此字段可能返回 null,表示取不到有效值。
3661
+ # @type Types: Array
3662
+
3663
+ attr_accessor :Switch, :Types
3664
+
3665
+ def initialize(switch=nil, types=nil)
3666
+ @Switch = switch
3667
+ @Types = types
3668
+ end
3669
+
3670
+ def deserialize(params)
3671
+ @Switch = params['Switch']
3672
+ @Types = params['Types']
3673
+ end
3674
+ end
3675
+
3676
+ # 音频降噪配置
3677
+ class AudioDenoiseConfig < TencentCloud::Common::AbstractModel
3678
+ # @param Switch: 能力配置开关,可选值:
3679
+ # <li>ON:开启;</li>
3680
+ # <li>OFF:关闭。</li>
3681
+ # 默认值:ON。
3682
+ # @type Switch: String
3683
+
3684
+ attr_accessor :Switch
3685
+
3686
+ def initialize(switch=nil)
3687
+ @Switch = switch
3688
+ end
3689
+
3690
+ def deserialize(params)
3691
+ @Switch = params['Switch']
3692
+ end
3693
+ end
3694
+
3695
+ # 音频增强配置
3696
+ class AudioEnhanceConfig < TencentCloud::Common::AbstractModel
3697
+ # @param Denoise: 音频降噪配置。
3698
+ # 注意:此字段可能返回 null,表示取不到有效值。
3699
+ # @type Denoise: :class:`Tencentcloud::Mps.v20190612.models.AudioDenoiseConfig`
3700
+ # @param Separate: 音频分离配置。
3701
+ # 注意:此字段可能返回 null,表示取不到有效值。
3702
+ # @type Separate: :class:`Tencentcloud::Mps.v20190612.models.AudioSeparateConfig`
3703
+ # @param VolumeBalance: 音量均衡配置。
3704
+ # 注意:此字段可能返回 null,表示取不到有效值。
3705
+ # @type VolumeBalance: :class:`Tencentcloud::Mps.v20190612.models.VolumeBalanceConfig`
3706
+ # @param Beautify: 音频美化配置。
3707
+ # 注意:此字段可能返回 null,表示取不到有效值。
3708
+ # @type Beautify: :class:`Tencentcloud::Mps.v20190612.models.AudioBeautifyConfig`
3709
+
3710
+ attr_accessor :Denoise, :Separate, :VolumeBalance, :Beautify
3711
+
3712
+ def initialize(denoise=nil, separate=nil, volumebalance=nil, beautify=nil)
3713
+ @Denoise = denoise
3714
+ @Separate = separate
3715
+ @VolumeBalance = volumebalance
3716
+ @Beautify = beautify
3717
+ end
3718
+
3719
+ def deserialize(params)
3720
+ unless params['Denoise'].nil?
3721
+ @Denoise = AudioDenoiseConfig.new
3722
+ @Denoise.deserialize(params['Denoise'])
3723
+ end
3724
+ unless params['Separate'].nil?
3725
+ @Separate = AudioSeparateConfig.new
3726
+ @Separate.deserialize(params['Separate'])
3727
+ end
3728
+ unless params['VolumeBalance'].nil?
3729
+ @VolumeBalance = VolumeBalanceConfig.new
3730
+ @VolumeBalance.deserialize(params['VolumeBalance'])
3731
+ end
3732
+ unless params['Beautify'].nil?
3733
+ @Beautify = AudioBeautifyConfig.new
3734
+ @Beautify.deserialize(params['Beautify'])
3735
+ end
3736
+ end
3737
+ end
3738
+
3739
+ # 音频分离配置
3740
+ class AudioSeparateConfig < TencentCloud::Common::AbstractModel
3741
+ # @param Switch: 能力配置开关,可选值:
3742
+ # <li>ON:开启;</li>
3743
+ # <li>OFF:关闭。</li>
3744
+ # 默认值:ON。
3745
+ # @type Switch: String
3746
+ # @param Type: 场景类型,可选值:
3747
+ # <li>normal:人声背景声场景</li>
3748
+ # <li>music:演唱伴奏场景</li>
3749
+ # 默认值:normal。
3750
+ # 注意:此字段可能返回 null,表示取不到有效值。
3751
+ # @type Type: String
3752
+ # @param Track: 输出音轨,可选值:
3753
+ # <li>vocal:输出人声</li>
3754
+ # <li>background:应用场景为normal时输出背景声,应用场景为music时输出伴奏</li>
3755
+ # 默认值:vocal。
3756
+ # 注意:此字段可能返回 null,表示取不到有效值。
3757
+ # @type Track: String
3758
+
3759
+ attr_accessor :Switch, :Type, :Track
3760
+
3761
+ def initialize(switch=nil, type=nil, track=nil)
3762
+ @Switch = switch
3763
+ @Type = type
3764
+ @Track = track
3765
+ end
3766
+
3767
+ def deserialize(params)
3768
+ @Switch = params['Switch']
3769
+ @Type = params['Type']
3770
+ @Track = params['Track']
3771
+ end
3772
+ end
3773
+
3649
3774
  # 音频流配置参数
3650
3775
  class AudioTemplateInfo < TencentCloud::Common::AbstractModel
3651
3776
  # @param Codec: 音频流的编码格式。
@@ -9564,11 +9689,15 @@ module TencentCloud
9564
9689
  # @param VideoEnhance: 视频增强配置。
9565
9690
  # 注意:此字段可能返回 null,表示取不到有效值。
9566
9691
  # @type VideoEnhance: :class:`Tencentcloud::Mps.v20190612.models.VideoEnhanceConfig`
9692
+ # @param AudioEnhance: 音频增强配置。
9693
+ # 注意:此字段可能返回 null,表示取不到有效值。
9694
+ # @type AudioEnhance: :class:`Tencentcloud::Mps.v20190612.models.AudioEnhanceConfig`
9567
9695
 
9568
- attr_accessor :VideoEnhance
9696
+ attr_accessor :VideoEnhance, :AudioEnhance
9569
9697
 
9570
- def initialize(videoenhance=nil)
9698
+ def initialize(videoenhance=nil, audioenhance=nil)
9571
9699
  @VideoEnhance = videoenhance
9700
+ @AudioEnhance = audioenhance
9572
9701
  end
9573
9702
 
9574
9703
  def deserialize(params)
@@ -9576,6 +9705,10 @@ module TencentCloud
9576
9705
  @VideoEnhance = VideoEnhanceConfig.new
9577
9706
  @VideoEnhance.deserialize(params['VideoEnhance'])
9578
9707
  end
9708
+ unless params['AudioEnhance'].nil?
9709
+ @AudioEnhance = AudioEnhanceConfig.new
9710
+ @AudioEnhance.deserialize(params['AudioEnhance'])
9711
+ end
9579
9712
  end
9580
9713
  end
9581
9714
 
@@ -18409,6 +18542,33 @@ module TencentCloud
18409
18542
  end
18410
18543
  end
18411
18544
 
18545
+ # 音量均衡配置
18546
+ class VolumeBalanceConfig < TencentCloud::Common::AbstractModel
18547
+ # @param Switch: 能力配置开关,可选值:
18548
+ # <li>ON:开启;</li>
18549
+ # <li>OFF:关闭。</li>
18550
+ # 默认值:ON。
18551
+ # @type Switch: String
18552
+ # @param Type: 类型,可选值:
18553
+ # <li>loudNorm:响度标准化</li>
18554
+ # <li>gainControl:减小突变</li>
18555
+ # 默认值:loudNorm。
18556
+ # 注意:此字段可能返回 null,表示取不到有效值。
18557
+ # @type Type: String
18558
+
18559
+ attr_accessor :Switch, :Type
18560
+
18561
+ def initialize(switch=nil, type=nil)
18562
+ @Switch = switch
18563
+ @Type = type
18564
+ end
18565
+
18566
+ def deserialize(params)
18567
+ @Switch = params['Switch']
18568
+ @Type = params['Type']
18569
+ end
18570
+ end
18571
+
18412
18572
  # 媒体处理任务中的水印参数类型
18413
18573
  class WatermarkInput < TencentCloud::Common::AbstractModel
18414
18574
  # @param Definition: 水印模板 ID。
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.651
4
+ version: 3.0.652
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-01 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common