tencentcloud-sdk-mps 3.0.650 → 3.0.652

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +225 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd45059e56638e3a311b79e509f17a9554e757ac
4
- data.tar.gz: 6741b2bcc1fd76a350f506a8dd5391a4126b7cc3
3
+ metadata.gz: acd2b08eb794284a8422eee6389f5f128bd93b35
4
+ data.tar.gz: 519cc676a7da0688e00f42f9f909f097d3574720
5
5
  SHA512:
6
- metadata.gz: 8f1de75e15cf12339f0838adc8b65193e3ae4c03630aac8c5020ee28177041ef700bc2f55bcd450f31af8af0a93b2d327d4c7599fb5b2f742cdce2260f0da0a8
7
- data.tar.gz: b355551cdc71b185f93c714a24931b35317fa4d6c3f2c8b14bbbe4e9e5a54964b7e9680280756489865aaa42376c2bfe699d4ea55283a7d34d1c830f63bcd41b
6
+ metadata.gz: e384d0c8b578752cb38625967fbd4d1e8fba92d90e983dacf065b03fd28dabbf44481af78b226beab214f64e4a895202d0ca16cc1d16b3e5dddef11b4e4f4213
7
+ data.tar.gz: 84d81528ffc51e29ae18b4432c04e5a9bc05e6b3a9f223470be9bd7e9139bfcd264e9eeeeaf14667ccdb04d798f3f0b57febb4656a4a0c2168a1b27d21a4b4cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.650
1
+ 3.0.652
@@ -470,10 +470,13 @@ module TencentCloud
470
470
  # @param AddOnSubtitles: 要插入的字幕文件。
471
471
  # 注意:此字段可能返回 null,表示取不到有效值。
472
472
  # @type AddOnSubtitles: Array
473
+ # @param DrmInfo: Drm信息。
474
+ # 注意:此字段可能返回 null,表示取不到有效值。
475
+ # @type DrmInfo: :class:`Tencentcloud::Mps.v20190612.models.DrmInfo`
473
476
 
474
- attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles
477
+ attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo
475
478
 
476
- def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil)
479
+ def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil)
477
480
  @Definition = definition
478
481
  @WatermarkSet = watermarkset
479
482
  @OutputStorage = outputstorage
@@ -481,6 +484,7 @@ module TencentCloud
481
484
  @SubStreamObjectName = substreamobjectname
482
485
  @SegmentObjectName = segmentobjectname
483
486
  @AddOnSubtitles = addonsubtitles
487
+ @DrmInfo = drminfo
484
488
  end
485
489
 
486
490
  def deserialize(params)
@@ -508,6 +512,10 @@ module TencentCloud
508
512
  @AddOnSubtitles << addonsubtitle_tmp
509
513
  end
510
514
  end
515
+ unless params['DrmInfo'].nil?
516
+ @DrmInfo = DrmInfo.new
517
+ @DrmInfo.deserialize(params['DrmInfo'])
518
+ end
511
519
  end
512
520
  end
513
521
 
@@ -3638,6 +3646,131 @@ module TencentCloud
3638
3646
  end
3639
3647
  end
3640
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
+
3641
3774
  # 音频流配置参数
3642
3775
  class AudioTemplateInfo < TencentCloud::Common::AbstractModel
3643
3776
  # @param Codec: 音频流的编码格式。
@@ -9233,6 +9366,32 @@ module TencentCloud
9233
9366
  end
9234
9367
  end
9235
9368
 
9369
+ # Drm 加密信息。
9370
+ class DrmInfo < TencentCloud::Common::AbstractModel
9371
+ # @param Type: 加密类型:
9372
+ # <li> simpleaes: aes-128 加密</li>
9373
+ # 注意:此字段可能返回 null,表示取不到有效值。
9374
+ # @type Type: String
9375
+ # @param SimpleAesDrm: SimpleAes 加密信息。
9376
+ # 注意:此字段可能返回 null,表示取不到有效值。
9377
+ # @type SimpleAesDrm: :class:`Tencentcloud::Mps.v20190612.models.SimpleAesDrm`
9378
+
9379
+ attr_accessor :Type, :SimpleAesDrm
9380
+
9381
+ def initialize(type=nil, simpleaesdrm=nil)
9382
+ @Type = type
9383
+ @SimpleAesDrm = simpleaesdrm
9384
+ end
9385
+
9386
+ def deserialize(params)
9387
+ @Type = params['Type']
9388
+ unless params['SimpleAesDrm'].nil?
9389
+ @SimpleAesDrm = SimpleAesDrm.new
9390
+ @SimpleAesDrm.deserialize(params['SimpleAesDrm'])
9391
+ end
9392
+ end
9393
+ end
9394
+
9236
9395
  # 编辑点播视频文件信息
9237
9396
  class EditMediaFileInfo < TencentCloud::Common::AbstractModel
9238
9397
  # @param InputInfo: 视频的输入信息。
@@ -9530,11 +9689,15 @@ module TencentCloud
9530
9689
  # @param VideoEnhance: 视频增强配置。
9531
9690
  # 注意:此字段可能返回 null,表示取不到有效值。
9532
9691
  # @type VideoEnhance: :class:`Tencentcloud::Mps.v20190612.models.VideoEnhanceConfig`
9692
+ # @param AudioEnhance: 音频增强配置。
9693
+ # 注意:此字段可能返回 null,表示取不到有效值。
9694
+ # @type AudioEnhance: :class:`Tencentcloud::Mps.v20190612.models.AudioEnhanceConfig`
9533
9695
 
9534
- attr_accessor :VideoEnhance
9696
+ attr_accessor :VideoEnhance, :AudioEnhance
9535
9697
 
9536
- def initialize(videoenhance=nil)
9698
+ def initialize(videoenhance=nil, audioenhance=nil)
9537
9699
  @VideoEnhance = videoenhance
9700
+ @AudioEnhance = audioenhance
9538
9701
  end
9539
9702
 
9540
9703
  def deserialize(params)
@@ -9542,6 +9705,10 @@ module TencentCloud
9542
9705
  @VideoEnhance = VideoEnhanceConfig.new
9543
9706
  @VideoEnhance.deserialize(params['VideoEnhance'])
9544
9707
  end
9708
+ unless params['AudioEnhance'].nil?
9709
+ @AudioEnhance = AudioEnhanceConfig.new
9710
+ @AudioEnhance.deserialize(params['AudioEnhance'])
9711
+ end
9545
9712
  end
9546
9713
  end
9547
9714
 
@@ -16708,6 +16875,33 @@ module TencentCloud
16708
16875
  end
16709
16876
  end
16710
16877
 
16878
+ # SimpleAes 加密信息。
16879
+ class SimpleAesDrm < TencentCloud::Common::AbstractModel
16880
+ # @param Uri: 请求解密秘钥uri地址。
16881
+ # 注意:此字段可能返回 null,表示取不到有效值。
16882
+ # @type Uri: String
16883
+ # @param Key: 加密key(32字节字符串)。
16884
+ # 注意:此字段可能返回 null,表示取不到有效值。
16885
+ # @type Key: String
16886
+ # @param Vector: 加密初始化向量(32字节字符串)。
16887
+ # 注意:此字段可能返回 null,表示取不到有效值。
16888
+ # @type Vector: String
16889
+
16890
+ attr_accessor :Uri, :Key, :Vector
16891
+
16892
+ def initialize(uri=nil, key=nil, vector=nil)
16893
+ @Uri = uri
16894
+ @Key = key
16895
+ @Vector = vector
16896
+ end
16897
+
16898
+ def deserialize(params)
16899
+ @Uri = params['Uri']
16900
+ @Key = params['Key']
16901
+ @Vector = params['Vector']
16902
+ end
16903
+ end
16904
+
16711
16905
  # 对视频按指定时间点截图任务输入参数类型
16712
16906
  class SnapshotByTimeOffsetTaskInput < TencentCloud::Common::AbstractModel
16713
16907
  # @param Definition: 指定时间点截图模板 ID。
@@ -18348,6 +18542,33 @@ module TencentCloud
18348
18542
  end
18349
18543
  end
18350
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
+
18351
18572
  # 媒体处理任务中的水印参数类型
18352
18573
  class WatermarkInput < TencentCloud::Common::AbstractModel
18353
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.650
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-08-31 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