tencentcloud-sdk-vod 3.0.1199 → 3.0.1201
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/tencentcloud-sdk-vod.rb +3 -3
- data/lib/v20180717/models.rb +426 -36
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 700ef2d3824d89ec62cacf6dfb84cf5cc9e9e00d
|
|
4
|
+
data.tar.gz: 312184b74a25e4d68cddb0f1d75792225976e1d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7154a170d1c0e5a1fffac5bf380acaddfb064030e5fe6797508cf75afc7c50d76e2cb2eb7a82fa6dc81e88e1a1d445b19607b17be22ef673c9d8de145c5a6999
|
|
7
|
+
data.tar.gz: 4ede23f0a6f8f1a8cec6505d06e23e348b73fb05146b8b9e58fa836c675dbe7a20b4b6699088952a68949c7488562414993ca551857cf78d75560d1c4da47c43
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1201
|
data/lib/tencentcloud-sdk-vod.rb
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
|
4
4
|
|
|
5
|
-
require_relative 'v20180717/client'
|
|
6
|
-
require_relative 'v20180717/models'
|
|
7
|
-
|
|
8
5
|
require_relative 'v20240718/client'
|
|
9
6
|
require_relative 'v20240718/models'
|
|
10
7
|
|
|
8
|
+
require_relative 'v20180717/client'
|
|
9
|
+
require_relative 'v20180717/models'
|
|
10
|
+
|
|
11
11
|
module TencentCloud
|
|
12
12
|
module Vod
|
|
13
13
|
end
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -475,15 +475,19 @@ module TencentCloud
|
|
|
475
475
|
# @param TEHDConfig: 极速高清转码参数。
|
|
476
476
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
477
477
|
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
|
|
478
|
+
# @param EnhanceConfig: 音视频增强配置。
|
|
479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
480
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfig`
|
|
478
481
|
|
|
479
|
-
attr_accessor :Video, :Audio, :RemoveAudio, :RemoveVideo, :TEHDConfig
|
|
482
|
+
attr_accessor :Video, :Audio, :RemoveAudio, :RemoveVideo, :TEHDConfig, :EnhanceConfig
|
|
480
483
|
|
|
481
|
-
def initialize(video=nil, audio=nil, removeaudio=nil, removevideo=nil, tehdconfig=nil)
|
|
484
|
+
def initialize(video=nil, audio=nil, removeaudio=nil, removevideo=nil, tehdconfig=nil, enhanceconfig=nil)
|
|
482
485
|
@Video = video
|
|
483
486
|
@Audio = audio
|
|
484
487
|
@RemoveAudio = removeaudio
|
|
485
488
|
@RemoveVideo = removevideo
|
|
486
489
|
@TEHDConfig = tehdconfig
|
|
490
|
+
@EnhanceConfig = enhanceconfig
|
|
487
491
|
end
|
|
488
492
|
|
|
489
493
|
def deserialize(params)
|
|
@@ -501,6 +505,10 @@ module TencentCloud
|
|
|
501
505
|
@TEHDConfig = TEHDConfig.new
|
|
502
506
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
|
503
507
|
end
|
|
508
|
+
unless params['EnhanceConfig'].nil?
|
|
509
|
+
@EnhanceConfig = EnhanceConfig.new
|
|
510
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
|
511
|
+
end
|
|
504
512
|
end
|
|
505
513
|
end
|
|
506
514
|
|
|
@@ -5397,6 +5405,31 @@ module TencentCloud
|
|
|
5397
5405
|
end
|
|
5398
5406
|
end
|
|
5399
5407
|
|
|
5408
|
+
# 音频美化配置。
|
|
5409
|
+
class AudioBeautifyInfo < TencentCloud::Common::AbstractModel
|
|
5410
|
+
# @param Switch: 音频美化控制开关,可选值:
|
|
5411
|
+
# <li>ON:开启音频美化;</li>
|
|
5412
|
+
# <li>OFF:关闭音频美化。</li>
|
|
5413
|
+
# @type Switch: String
|
|
5414
|
+
# @param Types: 类型,可多选,可选值:
|
|
5415
|
+
# <li>declick:杂音去除</li>
|
|
5416
|
+
# <li>deesser:齿音压制</li>
|
|
5417
|
+
# 默认值:declick。
|
|
5418
|
+
# @type Types: Array
|
|
5419
|
+
|
|
5420
|
+
attr_accessor :Switch, :Types
|
|
5421
|
+
|
|
5422
|
+
def initialize(switch=nil, types=nil)
|
|
5423
|
+
@Switch = switch
|
|
5424
|
+
@Types = types
|
|
5425
|
+
end
|
|
5426
|
+
|
|
5427
|
+
def deserialize(params)
|
|
5428
|
+
@Switch = params['Switch']
|
|
5429
|
+
@Types = params['Types']
|
|
5430
|
+
end
|
|
5431
|
+
end
|
|
5432
|
+
|
|
5400
5433
|
# 音频降噪控制信息
|
|
5401
5434
|
class AudioDenoiseInfo < TencentCloud::Common::AbstractModel
|
|
5402
5435
|
# @param Switch: 音频降噪控制开关,可选值:
|
|
@@ -5404,10 +5437,8 @@ module TencentCloud
|
|
|
5404
5437
|
# <li>OFF:关闭音频降噪。</li>
|
|
5405
5438
|
# @type Switch: String
|
|
5406
5439
|
# @param Type: 音频降噪类型,仅当音频降噪控制开关为 ON 时有效,可选值:
|
|
5407
|
-
# <li>weak:轻音频降噪;</li>
|
|
5408
5440
|
# <li>normal:正常音频降噪;</li>
|
|
5409
|
-
#
|
|
5410
|
-
# 默认值:weak。
|
|
5441
|
+
# 默认值:normal。
|
|
5411
5442
|
# @type Type: String
|
|
5412
5443
|
|
|
5413
5444
|
attr_accessor :Switch, :Type
|
|
@@ -5423,6 +5454,82 @@ module TencentCloud
|
|
|
5423
5454
|
end
|
|
5424
5455
|
end
|
|
5425
5456
|
|
|
5457
|
+
# 音频增强配置。
|
|
5458
|
+
class AudioEnhanceConfig < TencentCloud::Common::AbstractModel
|
|
5459
|
+
# @param Denoise: 音频降噪配置。
|
|
5460
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5461
|
+
# @type Denoise: :class:`Tencentcloud::Vod.v20180717.models.AudioDenoiseInfo`
|
|
5462
|
+
# @param Separate: 音频分离配置。
|
|
5463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5464
|
+
# @type Separate: :class:`Tencentcloud::Vod.v20180717.models.AudioSeparateInfo`
|
|
5465
|
+
# @param VolumeBalance: 音量均衡配置。
|
|
5466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5467
|
+
# @type VolumeBalance: :class:`Tencentcloud::Vod.v20180717.models.AudioVolumeBalanceInfo`
|
|
5468
|
+
# @param Beautify: 音量美化配置。
|
|
5469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5470
|
+
# @type Beautify: :class:`Tencentcloud::Vod.v20180717.models.AudioBeautifyInfo`
|
|
5471
|
+
|
|
5472
|
+
attr_accessor :Denoise, :Separate, :VolumeBalance, :Beautify
|
|
5473
|
+
|
|
5474
|
+
def initialize(denoise=nil, separate=nil, volumebalance=nil, beautify=nil)
|
|
5475
|
+
@Denoise = denoise
|
|
5476
|
+
@Separate = separate
|
|
5477
|
+
@VolumeBalance = volumebalance
|
|
5478
|
+
@Beautify = beautify
|
|
5479
|
+
end
|
|
5480
|
+
|
|
5481
|
+
def deserialize(params)
|
|
5482
|
+
unless params['Denoise'].nil?
|
|
5483
|
+
@Denoise = AudioDenoiseInfo.new
|
|
5484
|
+
@Denoise.deserialize(params['Denoise'])
|
|
5485
|
+
end
|
|
5486
|
+
unless params['Separate'].nil?
|
|
5487
|
+
@Separate = AudioSeparateInfo.new
|
|
5488
|
+
@Separate.deserialize(params['Separate'])
|
|
5489
|
+
end
|
|
5490
|
+
unless params['VolumeBalance'].nil?
|
|
5491
|
+
@VolumeBalance = AudioVolumeBalanceInfo.new
|
|
5492
|
+
@VolumeBalance.deserialize(params['VolumeBalance'])
|
|
5493
|
+
end
|
|
5494
|
+
unless params['Beautify'].nil?
|
|
5495
|
+
@Beautify = AudioBeautifyInfo.new
|
|
5496
|
+
@Beautify.deserialize(params['Beautify'])
|
|
5497
|
+
end
|
|
5498
|
+
end
|
|
5499
|
+
end
|
|
5500
|
+
|
|
5501
|
+
# 音频分离配置。
|
|
5502
|
+
class AudioSeparateInfo < TencentCloud::Common::AbstractModel
|
|
5503
|
+
# @param Switch: 音频分离控制开关,可选值:
|
|
5504
|
+
# <li>ON:开启音频分离;</li>
|
|
5505
|
+
# <li>OFF:关闭音频分离。</li>
|
|
5506
|
+
# @type Switch: String
|
|
5507
|
+
# @param Type: 场景类型,可选值:
|
|
5508
|
+
# <li>normal:人声背景声场景</li>
|
|
5509
|
+
# <li>music:演唱伴奏场景</li>
|
|
5510
|
+
# 默认值:normal。
|
|
5511
|
+
# @type Type: String
|
|
5512
|
+
# @param Track: 输出音轨,可选值:
|
|
5513
|
+
# <li>vocal:输出人声</li>
|
|
5514
|
+
# <li>background:应用场景为normal时输出背景声,应用场景为music时输出伴奏</li>
|
|
5515
|
+
# 默认值:vocal。
|
|
5516
|
+
# @type Track: String
|
|
5517
|
+
|
|
5518
|
+
attr_accessor :Switch, :Type, :Track
|
|
5519
|
+
|
|
5520
|
+
def initialize(switch=nil, type=nil, track=nil)
|
|
5521
|
+
@Switch = switch
|
|
5522
|
+
@Type = type
|
|
5523
|
+
@Track = track
|
|
5524
|
+
end
|
|
5525
|
+
|
|
5526
|
+
def deserialize(params)
|
|
5527
|
+
@Switch = params['Switch']
|
|
5528
|
+
@Type = params['Type']
|
|
5529
|
+
@Track = params['Track']
|
|
5530
|
+
end
|
|
5531
|
+
end
|
|
5532
|
+
|
|
5426
5533
|
# 音频流配置参数
|
|
5427
5534
|
class AudioTemplateInfo < TencentCloud::Common::AbstractModel
|
|
5428
5535
|
# @param Codec: 音频流的编码格式。
|
|
@@ -5605,6 +5712,31 @@ module TencentCloud
|
|
|
5605
5712
|
end
|
|
5606
5713
|
end
|
|
5607
5714
|
|
|
5715
|
+
# 音量均衡配置。
|
|
5716
|
+
class AudioVolumeBalanceInfo < TencentCloud::Common::AbstractModel
|
|
5717
|
+
# @param Switch: 音量均衡控制开关,可选值:
|
|
5718
|
+
# <li>ON:开启音量均衡;</li>
|
|
5719
|
+
# <li>OFF:关闭音量均衡。</li>
|
|
5720
|
+
# @type Switch: String
|
|
5721
|
+
# @param Type: 类型,可选值:
|
|
5722
|
+
# <li>loudNorm:响度标准化</li>
|
|
5723
|
+
# <li>gainControl:减小突变</li>
|
|
5724
|
+
# 默认值:loudNorm。
|
|
5725
|
+
# @type Type: String
|
|
5726
|
+
|
|
5727
|
+
attr_accessor :Switch, :Type
|
|
5728
|
+
|
|
5729
|
+
def initialize(switch=nil, type=nil)
|
|
5730
|
+
@Switch = switch
|
|
5731
|
+
@Type = type
|
|
5732
|
+
end
|
|
5733
|
+
|
|
5734
|
+
def deserialize(params)
|
|
5735
|
+
@Switch = params['Switch']
|
|
5736
|
+
@Type = params['Type']
|
|
5737
|
+
end
|
|
5738
|
+
end
|
|
5739
|
+
|
|
5608
5740
|
# 音频增益调节参数
|
|
5609
5741
|
class AudioVolumeParam < TencentCloud::Common::AbstractModel
|
|
5610
5742
|
# @param Mute: 是否静音,取值范围0或1。
|
|
@@ -8120,26 +8252,11 @@ module TencentCloud
|
|
|
8120
8252
|
# @type Name: String
|
|
8121
8253
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
|
8122
8254
|
# @type Comment: String
|
|
8123
|
-
# @param FillType:
|
|
8124
|
-
# <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
|
8125
|
-
# <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
|
8126
|
-
# 默认值:black 。
|
|
8255
|
+
# @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁”或者“拉长”;</li><li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>默认值:black 。
|
|
8127
8256
|
# @type FillType: String
|
|
8128
|
-
# @param Width: 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px
|
|
8129
|
-
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
8130
|
-
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
8131
|
-
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
8132
|
-
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
8133
|
-
# 默认值:0。
|
|
8134
|
-
# 注意:小图的宽度会影响最终大图的宽度,大图的宽度最大为15000像素,其中大图的宽度为小图列数与小图宽度的乘积。
|
|
8257
|
+
# @param Width: 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。注意:小图的宽度会影响最终大图的宽度,大图的宽度最大为15000像素,其中大图的宽度为小图列数与小图宽度的乘积。
|
|
8135
8258
|
# @type Width: Integer
|
|
8136
|
-
# @param Height: 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px
|
|
8137
|
-
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
8138
|
-
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
8139
|
-
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
8140
|
-
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
8141
|
-
# 默认值:0。
|
|
8142
|
-
# 注意:小图的高度会影响最终大图的高度,大图的高度最大为15000像素,其中大图的高度为小图行数与小图高度的乘积。
|
|
8259
|
+
# @param Height: 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。注意:小图的高度会影响最终大图的高度,大图的高度最大为15000像素,其中大图的高度为小图行数与小图高度的乘积。
|
|
8143
8260
|
# @type Height: Integer
|
|
8144
8261
|
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
|
8145
8262
|
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
@@ -9288,15 +9405,17 @@ module TencentCloud
|
|
|
9288
9405
|
# @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfo`
|
|
9289
9406
|
# @param TEHDConfig: 极速高清转码参数。
|
|
9290
9407
|
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
|
|
9408
|
+
# @param EnhanceConfig: 音视频增强配置。
|
|
9409
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfig`
|
|
9291
9410
|
# @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
|
|
9292
9411
|
# <li>ts:ts 切片;</li>
|
|
9293
9412
|
# <li>fmp4:fmp4 切片。</li>
|
|
9294
9413
|
# 默认值:ts。
|
|
9295
9414
|
# @type SegmentType: String
|
|
9296
9415
|
|
|
9297
|
-
attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
|
|
9416
|
+
attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :SegmentType
|
|
9298
9417
|
|
|
9299
|
-
def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, segmenttype=nil)
|
|
9418
|
+
def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil, segmenttype=nil)
|
|
9300
9419
|
@Container = container
|
|
9301
9420
|
@SubAppId = subappid
|
|
9302
9421
|
@Name = name
|
|
@@ -9306,6 +9425,7 @@ module TencentCloud
|
|
|
9306
9425
|
@VideoTemplate = videotemplate
|
|
9307
9426
|
@AudioTemplate = audiotemplate
|
|
9308
9427
|
@TEHDConfig = tehdconfig
|
|
9428
|
+
@EnhanceConfig = enhanceconfig
|
|
9309
9429
|
@SegmentType = segmenttype
|
|
9310
9430
|
end
|
|
9311
9431
|
|
|
@@ -9328,6 +9448,10 @@ module TencentCloud
|
|
|
9328
9448
|
@TEHDConfig = TEHDConfig.new
|
|
9329
9449
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
|
9330
9450
|
end
|
|
9451
|
+
unless params['EnhanceConfig'].nil?
|
|
9452
|
+
@EnhanceConfig = EnhanceConfig.new
|
|
9453
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
|
9454
|
+
end
|
|
9331
9455
|
@SegmentType = params['SegmentType']
|
|
9332
9456
|
end
|
|
9333
9457
|
end
|
|
@@ -14132,10 +14256,19 @@ module TencentCloud
|
|
|
14132
14256
|
# @type Offset: Integer
|
|
14133
14257
|
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
|
14134
14258
|
# @type Limit: Integer
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14259
|
+
# @param EnhanceType: 增强类型,可选值:
|
|
14260
|
+
# <li>VideoEnhance(仅视频增强)</li>
|
|
14261
|
+
# <li>AudioEnhance(仅音频增强)</li>
|
|
14262
|
+
# <li>AudioVideoEnhance(音视频增强)</li>
|
|
14263
|
+
# <li>AnyEnhance(包括仅视频增强、仅音频增强、音视频增强)</li>
|
|
14264
|
+
# <li>None(非增强)</li>
|
|
14265
|
+
# @type EnhanceType: String
|
|
14266
|
+
# @param EnhanceScenarioType: 增强场景配置,可选值: <li>common(通用),通用增强参数,适用于各种视频类型的基础优化参数,提升整体画质。</li> <li>AIGC,整体分辨率提升,利用AI技术提升视频整体分辨率,增强画面清晰度。</li> <li>short_play(短剧),增强面部与字幕细节,突出人物面部表情细节和字幕清晰度,提升观剧体验。</li> <li>short_video(短视频),优化复杂多样的画质问题,针对短视频的复杂场景,优化画质,解决多种视觉问题。</li> <li>game(游戏视频),修复运动模糊,提升细节,重点提升游戏细节清晰度,恢复运动模糊区域,使游戏画面内容更清晰,更丰富。</li> <li>HD_movie_series(超高清影视剧),获得超高清流畅效果,针对广电/OTT超高清视频的诉求,生成4K 60fps HDR的超高清标准视频。支持广电场景格式标准要求。</li> <li>LQ_material(低清素材/老片修复),整体分辨率提升,针对老旧视频由于拍摄年代较久存在的分辨率不足、模糊失真、划痕损伤和色温等问题进行专门优化。</li> <li>lecture(秀场/电商/大会/讲座),美化提升面部效果,针对秀场/电商/大会/讲座等存在人物进行讲解的场景,进行人脸区域、噪声消除、毛刺处理的专门优化。</li>
|
|
14267
|
+
# @type EnhanceScenarioType: String
|
|
14268
|
+
|
|
14269
|
+
attr_accessor :SubAppId, :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :EnhanceType, :EnhanceScenarioType
|
|
14270
|
+
|
|
14271
|
+
def initialize(subappid=nil, definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, enhancetype=nil, enhancescenariotype=nil)
|
|
14139
14272
|
@SubAppId = subappid
|
|
14140
14273
|
@Definitions = definitions
|
|
14141
14274
|
@Type = type
|
|
@@ -14143,6 +14276,8 @@ module TencentCloud
|
|
|
14143
14276
|
@TEHDType = tehdtype
|
|
14144
14277
|
@Offset = offset
|
|
14145
14278
|
@Limit = limit
|
|
14279
|
+
@EnhanceType = enhancetype
|
|
14280
|
+
@EnhanceScenarioType = enhancescenariotype
|
|
14146
14281
|
end
|
|
14147
14282
|
|
|
14148
14283
|
def deserialize(params)
|
|
@@ -14153,6 +14288,8 @@ module TencentCloud
|
|
|
14153
14288
|
@TEHDType = params['TEHDType']
|
|
14154
14289
|
@Offset = params['Offset']
|
|
14155
14290
|
@Limit = params['Limit']
|
|
14291
|
+
@EnhanceType = params['EnhanceType']
|
|
14292
|
+
@EnhanceScenarioType = params['EnhanceScenarioType']
|
|
14156
14293
|
end
|
|
14157
14294
|
end
|
|
14158
14295
|
|
|
@@ -14390,6 +14527,32 @@ module TencentCloud
|
|
|
14390
14527
|
end
|
|
14391
14528
|
end
|
|
14392
14529
|
|
|
14530
|
+
# 大模型增强配置。
|
|
14531
|
+
class DiffusionEnhanceInfo < TencentCloud::Common::AbstractModel
|
|
14532
|
+
# @param Switch: 大模型增强开关,可选值:
|
|
14533
|
+
# <li>ON:开启;</li>
|
|
14534
|
+
# <li>OFF:关闭。</li>
|
|
14535
|
+
# @type Switch: String
|
|
14536
|
+
# @param Type: 强度类型,仅当大模型增强控制开关为 ON 时有效,可选值:
|
|
14537
|
+
# <li>weak:弱;</li>
|
|
14538
|
+
# <li>normal:正常;</li>
|
|
14539
|
+
# <li>strong:强。</li>
|
|
14540
|
+
# 默认值:normal。
|
|
14541
|
+
# @type Type: String
|
|
14542
|
+
|
|
14543
|
+
attr_accessor :Switch, :Type
|
|
14544
|
+
|
|
14545
|
+
def initialize(switch=nil, type=nil)
|
|
14546
|
+
@Switch = switch
|
|
14547
|
+
@Type = type
|
|
14548
|
+
end
|
|
14549
|
+
|
|
14550
|
+
def deserialize(params)
|
|
14551
|
+
@Switch = params['Switch']
|
|
14552
|
+
@Type = params['Type']
|
|
14553
|
+
end
|
|
14554
|
+
end
|
|
14555
|
+
|
|
14393
14556
|
# 域名推送 CLS 目标。
|
|
14394
14557
|
class DomainCLSTargetInfo < TencentCloud::Common::AbstractModel
|
|
14395
14558
|
# @param Domain: 域名。
|
|
@@ -15041,6 +15204,62 @@ module TencentCloud
|
|
|
15041
15204
|
end
|
|
15042
15205
|
end
|
|
15043
15206
|
|
|
15207
|
+
# 音视频增强配置
|
|
15208
|
+
class EnhanceConfig < TencentCloud::Common::AbstractModel
|
|
15209
|
+
# @param VideoEnhance: 视频增强配置。
|
|
15210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15211
|
+
# @type VideoEnhance: :class:`Tencentcloud::Vod.v20180717.models.VideoEnhanceConfig`
|
|
15212
|
+
# @param AudioEnhance: 音频增强配置。
|
|
15213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15214
|
+
# @type AudioEnhance: :class:`Tencentcloud::Vod.v20180717.models.AudioEnhanceConfig`
|
|
15215
|
+
|
|
15216
|
+
attr_accessor :VideoEnhance, :AudioEnhance
|
|
15217
|
+
|
|
15218
|
+
def initialize(videoenhance=nil, audioenhance=nil)
|
|
15219
|
+
@VideoEnhance = videoenhance
|
|
15220
|
+
@AudioEnhance = audioenhance
|
|
15221
|
+
end
|
|
15222
|
+
|
|
15223
|
+
def deserialize(params)
|
|
15224
|
+
unless params['VideoEnhance'].nil?
|
|
15225
|
+
@VideoEnhance = VideoEnhanceConfig.new
|
|
15226
|
+
@VideoEnhance.deserialize(params['VideoEnhance'])
|
|
15227
|
+
end
|
|
15228
|
+
unless params['AudioEnhance'].nil?
|
|
15229
|
+
@AudioEnhance = AudioEnhanceConfig.new
|
|
15230
|
+
@AudioEnhance.deserialize(params['AudioEnhance'])
|
|
15231
|
+
end
|
|
15232
|
+
end
|
|
15233
|
+
end
|
|
15234
|
+
|
|
15235
|
+
# 音视频增强配置
|
|
15236
|
+
class EnhanceConfigForUpdate < TencentCloud::Common::AbstractModel
|
|
15237
|
+
# @param VideoEnhance: 视频增强配置。
|
|
15238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15239
|
+
# @type VideoEnhance: :class:`Tencentcloud::Vod.v20180717.models.VideoEnhanceConfig`
|
|
15240
|
+
# @param AudioEnhance: 音频增强配置。
|
|
15241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15242
|
+
# @type AudioEnhance: :class:`Tencentcloud::Vod.v20180717.models.AudioEnhanceConfig`
|
|
15243
|
+
|
|
15244
|
+
attr_accessor :VideoEnhance, :AudioEnhance
|
|
15245
|
+
|
|
15246
|
+
def initialize(videoenhance=nil, audioenhance=nil)
|
|
15247
|
+
@VideoEnhance = videoenhance
|
|
15248
|
+
@AudioEnhance = audioenhance
|
|
15249
|
+
end
|
|
15250
|
+
|
|
15251
|
+
def deserialize(params)
|
|
15252
|
+
unless params['VideoEnhance'].nil?
|
|
15253
|
+
@VideoEnhance = VideoEnhanceConfig.new
|
|
15254
|
+
@VideoEnhance.deserialize(params['VideoEnhance'])
|
|
15255
|
+
end
|
|
15256
|
+
unless params['AudioEnhance'].nil?
|
|
15257
|
+
@AudioEnhance = AudioEnhanceConfig.new
|
|
15258
|
+
@AudioEnhance.deserialize(params['AudioEnhance'])
|
|
15259
|
+
end
|
|
15260
|
+
end
|
|
15261
|
+
end
|
|
15262
|
+
|
|
15044
15263
|
# EnhanceMediaByTemplate请求参数结构体
|
|
15045
15264
|
class EnhanceMediaByTemplateRequest < TencentCloud::Common::AbstractModel
|
|
15046
15265
|
# @param FileId: 媒体文件 ID。
|
|
@@ -16245,6 +16464,32 @@ module TencentCloud
|
|
|
16245
16464
|
end
|
|
16246
16465
|
end
|
|
16247
16466
|
|
|
16467
|
+
# 插帧帧率配置。
|
|
16468
|
+
class FrameRateWithDenInfo < TencentCloud::Common::AbstractModel
|
|
16469
|
+
# @param Switch: 插帧帧率配置控制开关,可选值:
|
|
16470
|
+
# <li>ON:开启;</li>
|
|
16471
|
+
# <li>OFF:关闭。</li>
|
|
16472
|
+
# @type Switch: String
|
|
16473
|
+
# @param FpsNum: 帧率分子,取值范围:非负数,除以分母后小于100,单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
|
|
16474
|
+
# @type FpsNum: Integer
|
|
16475
|
+
# @param FpsDen: 帧率分母,取值范围:大于等于1。 默认值 1。
|
|
16476
|
+
# @type FpsDen: Integer
|
|
16477
|
+
|
|
16478
|
+
attr_accessor :Switch, :FpsNum, :FpsDen
|
|
16479
|
+
|
|
16480
|
+
def initialize(switch=nil, fpsnum=nil, fpsden=nil)
|
|
16481
|
+
@Switch = switch
|
|
16482
|
+
@FpsNum = fpsnum
|
|
16483
|
+
@FpsDen = fpsden
|
|
16484
|
+
end
|
|
16485
|
+
|
|
16486
|
+
def deserialize(params)
|
|
16487
|
+
@Switch = params['Switch']
|
|
16488
|
+
@FpsNum = params['FpsNum']
|
|
16489
|
+
@FpsDen = params['FpsDen']
|
|
16490
|
+
end
|
|
16491
|
+
end
|
|
16492
|
+
|
|
16248
16493
|
# 智能按帧标签任务控制参数
|
|
16249
16494
|
class FrameTagConfigureInfo < TencentCloud::Common::AbstractModel
|
|
16250
16495
|
# @param Switch: 智能按帧标签任务开关,可选值:
|
|
@@ -16301,7 +16546,7 @@ module TencentCloud
|
|
|
16301
16546
|
|
|
16302
16547
|
# 注意:
|
|
16303
16548
|
# <li> 仅当高动态范围类型控制开关为 ON 时有效;</li>
|
|
16304
|
-
# <li
|
|
16549
|
+
# <li>当目标参数中指定视频输出参数的视频流编码格式 Codec 为 libx264、libx265 时有效。</li>
|
|
16305
16550
|
# @type Type: String
|
|
16306
16551
|
|
|
16307
16552
|
attr_accessor :Switch, :Type
|
|
@@ -16733,6 +16978,32 @@ module TencentCloud
|
|
|
16733
16978
|
end
|
|
16734
16979
|
end
|
|
16735
16980
|
|
|
16981
|
+
# 综合增强控制
|
|
16982
|
+
class ImageQualityEnhanceInfo < TencentCloud::Common::AbstractModel
|
|
16983
|
+
# @param Switch: 综合增强控制开关,可选值:
|
|
16984
|
+
# <li>ON:开启综合增强;</li>
|
|
16985
|
+
# <li>OFF:关闭综合增强。</li>
|
|
16986
|
+
# @type Switch: String
|
|
16987
|
+
# @param Type: 综合增强类型,仅当综合增强控制开关为 ON 时有效,可选值:
|
|
16988
|
+
# <li>weak:轻综合增强;</li>
|
|
16989
|
+
# <li>normal:正常综合增强;</li>
|
|
16990
|
+
# <li>strong:强综合增强。</li>
|
|
16991
|
+
# 默认值:weak。
|
|
16992
|
+
# @type Type: String
|
|
16993
|
+
|
|
16994
|
+
attr_accessor :Switch, :Type
|
|
16995
|
+
|
|
16996
|
+
def initialize(switch=nil, type=nil)
|
|
16997
|
+
@Switch = switch
|
|
16998
|
+
@Type = type
|
|
16999
|
+
end
|
|
17000
|
+
|
|
17001
|
+
def deserialize(params)
|
|
17002
|
+
@Switch = params['Switch']
|
|
17003
|
+
@Type = params['Type']
|
|
17004
|
+
end
|
|
17005
|
+
end
|
|
17006
|
+
|
|
16736
17007
|
# 图片审核次数统计数据。
|
|
16737
17008
|
class ImageReviewUsageDataItem < TencentCloud::Common::AbstractModel
|
|
16738
17009
|
# @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
|
@@ -22017,14 +22288,16 @@ module TencentCloud
|
|
|
22017
22288
|
# @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfoForUpdate`
|
|
22018
22289
|
# @param TEHDConfig: 极速高清转码参数。
|
|
22019
22290
|
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfigForUpdate`
|
|
22291
|
+
# @param EnhanceConfig: 音视频增强配置。
|
|
22292
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfigForUpdate`
|
|
22020
22293
|
# @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
|
|
22021
22294
|
# <li>ts:ts 切片;</li>
|
|
22022
22295
|
# <li>fmp4:fmp4 切片。</li>
|
|
22023
22296
|
# @type SegmentType: String
|
|
22024
22297
|
|
|
22025
|
-
attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
|
|
22298
|
+
attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :SegmentType
|
|
22026
22299
|
|
|
22027
|
-
def initialize(definition=nil, subappid=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, segmenttype=nil)
|
|
22300
|
+
def initialize(definition=nil, subappid=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil, segmenttype=nil)
|
|
22028
22301
|
@Definition = definition
|
|
22029
22302
|
@SubAppId = subappid
|
|
22030
22303
|
@Container = container
|
|
@@ -22035,6 +22308,7 @@ module TencentCloud
|
|
|
22035
22308
|
@VideoTemplate = videotemplate
|
|
22036
22309
|
@AudioTemplate = audiotemplate
|
|
22037
22310
|
@TEHDConfig = tehdconfig
|
|
22311
|
+
@EnhanceConfig = enhanceconfig
|
|
22038
22312
|
@SegmentType = segmenttype
|
|
22039
22313
|
end
|
|
22040
22314
|
|
|
@@ -22058,6 +22332,10 @@ module TencentCloud
|
|
|
22058
22332
|
@TEHDConfig = TEHDConfigForUpdate.new
|
|
22059
22333
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
|
22060
22334
|
end
|
|
22335
|
+
unless params['EnhanceConfig'].nil?
|
|
22336
|
+
@EnhanceConfig = EnhanceConfigForUpdate.new
|
|
22337
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
|
22338
|
+
end
|
|
22061
22339
|
@SegmentType = params['SegmentType']
|
|
22062
22340
|
end
|
|
22063
22341
|
end
|
|
@@ -26678,7 +26956,7 @@ module TencentCloud
|
|
|
26678
26956
|
# @param RestoreTier: 解冻模式。当媒体文件当前的存储类型为归档存储时,有以下取值:
|
|
26679
26957
|
# <li>极速模式:Expedited,解冻任务在5分钟后完成。</li>
|
|
26680
26958
|
# <li>标准模式:Standard,解冻任务在5小时后完成 。</li>
|
|
26681
|
-
# <li>批量模式:Bulk
|
|
26959
|
+
# <li>批量模式:Bulk,解冻任务在12小时后完成。</li>
|
|
26682
26960
|
# 当媒体文件的存储类型为深度归档存储时,有以下取值:
|
|
26683
26961
|
# <li>标准模式:Standard,解冻任务在24小时后完成。</li>
|
|
26684
26962
|
# <li>批量模式:Bulk,解冻任务在48小时后完成。</li>
|
|
@@ -29212,7 +29490,6 @@ module TencentCloud
|
|
|
29212
29490
|
# @param Switch: 画面超分控制开关,可选值:
|
|
29213
29491
|
# <li>ON:开启画面超分;</li>
|
|
29214
29492
|
# <li>OFF:关闭画面超分。</li>
|
|
29215
|
-
# 当开启画面超分时,默认2倍超分。
|
|
29216
29493
|
# @type Switch: String
|
|
29217
29494
|
# @param Type: 画面超分类型,仅当画面超分控制开关为 ON 时有效,可选值:
|
|
29218
29495
|
# <li>lq:针对低清晰度有较多噪声视频的超分;</li>
|
|
@@ -30174,6 +30451,9 @@ module TencentCloud
|
|
|
30174
30451
|
# @param TEHDConfig: 极速高清转码参数。
|
|
30175
30452
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
30176
30453
|
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
|
|
30454
|
+
# @param EnhanceConfig: 音视频增强配置。
|
|
30455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
30456
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfig`
|
|
30177
30457
|
# @param ContainerType: 封装格式过滤条件,可选值:
|
|
30178
30458
|
# <li>Video:视频格式,可以同时包含视频流和音频流的封装格式;</li>
|
|
30179
30459
|
# <li>PureAudio:纯音频格式,只能包含音频流的封装格式板。</li>
|
|
@@ -30185,9 +30465,9 @@ module TencentCloud
|
|
|
30185
30465
|
# @param SegmentType: 切片类型,仅当 Container 为 hls 时有效。
|
|
30186
30466
|
# @type SegmentType: String
|
|
30187
30467
|
|
|
30188
|
-
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :SegmentType
|
|
30468
|
+
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :ContainerType, :CreateTime, :UpdateTime, :SegmentType
|
|
30189
30469
|
|
|
30190
|
-
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, segmenttype=nil)
|
|
30470
|
+
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil, containertype=nil, createtime=nil, updatetime=nil, segmenttype=nil)
|
|
30191
30471
|
@Definition = definition
|
|
30192
30472
|
@Container = container
|
|
30193
30473
|
@Name = name
|
|
@@ -30198,6 +30478,7 @@ module TencentCloud
|
|
|
30198
30478
|
@VideoTemplate = videotemplate
|
|
30199
30479
|
@AudioTemplate = audiotemplate
|
|
30200
30480
|
@TEHDConfig = tehdconfig
|
|
30481
|
+
@EnhanceConfig = enhanceconfig
|
|
30201
30482
|
@ContainerType = containertype
|
|
30202
30483
|
@CreateTime = createtime
|
|
30203
30484
|
@UpdateTime = updatetime
|
|
@@ -30224,6 +30505,10 @@ module TencentCloud
|
|
|
30224
30505
|
@TEHDConfig = TEHDConfig.new
|
|
30225
30506
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
|
30226
30507
|
end
|
|
30508
|
+
unless params['EnhanceConfig'].nil?
|
|
30509
|
+
@EnhanceConfig = EnhanceConfig.new
|
|
30510
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
|
30511
|
+
end
|
|
30227
30512
|
@ContainerType = params['ContainerType']
|
|
30228
30513
|
@CreateTime = params['CreateTime']
|
|
30229
30514
|
@UpdateTime = params['UpdateTime']
|
|
@@ -30821,6 +31106,111 @@ module TencentCloud
|
|
|
30821
31106
|
end
|
|
30822
31107
|
end
|
|
30823
31108
|
|
|
31109
|
+
# 视频增强配置。
|
|
31110
|
+
class VideoEnhanceConfig < TencentCloud::Common::AbstractModel
|
|
31111
|
+
# @param EnhanceScenarioType: 增强场景配置,可选值:
|
|
31112
|
+
# <li>common(通用),通用增强参数,适用于各种视频类型的基础优化参数,提升整体画质。</li>
|
|
31113
|
+
# <li>AIGC,整体分辨率提升,利用AI技术提升视频整体分辨率,增强画面清晰度。</li>
|
|
31114
|
+
# <li>short_play(短剧),增强面部与字幕细节,突出人物面部表情细节和字幕清晰度,提升观剧体验。</li>
|
|
31115
|
+
# <li>short_video(短视频),优化复杂多样的画质问题,针对短视频的复杂场景,优化画质,解决多种视觉问题。</li>
|
|
31116
|
+
# <li>game(游戏视频),修复运动模糊,提升细节,重点提升游戏细节清晰度,恢复运动模糊区域,使游戏画面内容更清晰,更丰富。</li>
|
|
31117
|
+
# <li>HD_movie_series(超高清影视剧),获得超高清流畅效果,针对广电/OTT超高清视频的诉求,生成4K 60fps HDR的超高清标准视频。支持广电场景格式标准要求。</li>
|
|
31118
|
+
# <li>LQ_material(低清素材/老片修复),整体分辨率提升,针对老旧视频由于拍摄年代较久存在的分辨率不足、模糊失真、划痕损伤和色温等问题进行专门优化。</li>
|
|
31119
|
+
# <li>lecture(秀场/电商/大会/讲座),美化提升面部效果,针对秀场/电商/大会/讲座等存在人物进行讲解的场景,进行人脸区域、噪声消除、毛刺处理的专门优化。</li>
|
|
31120
|
+
# <li>填空字符串代表不使用增强场景</li>
|
|
31121
|
+
# @type EnhanceScenarioType: String
|
|
31122
|
+
# @param SuperResolution: 超分配置。源分辨率高于目标分辨率时不对视频做处理。注意与大模型增强不可同时开启。
|
|
31123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31124
|
+
# @type SuperResolution: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
|
|
31125
|
+
# @param Hdr: HDR配置。
|
|
31126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31127
|
+
# @type Hdr: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
|
|
31128
|
+
# @param Denoise: 视频降噪配置。注意与大模型增强不可同时开启。
|
|
31129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31130
|
+
# @type Denoise: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
|
|
31131
|
+
# @param ImageQualityEnhance: 综合增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项
|
|
31132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31133
|
+
# @type ImageQualityEnhance: :class:`Tencentcloud::Vod.v20180717.models.ImageQualityEnhanceInfo`
|
|
31134
|
+
# @param ColorEnhance: 色彩增强配置。
|
|
31135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31136
|
+
# @type ColorEnhance: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
|
|
31137
|
+
# @param LowLightEnhance: 低光照增强配置。
|
|
31138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31139
|
+
# @type LowLightEnhance: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
|
|
31140
|
+
# @param ScratchRepair: 去划痕配置。
|
|
31141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31142
|
+
# @type ScratchRepair: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
|
|
31143
|
+
# @param ArtifactRepair: 去伪影(毛刺)配置。注意大模型、综合增强、去毛刺三项里最多配置一项。
|
|
31144
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31145
|
+
# @type ArtifactRepair: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
|
|
31146
|
+
# @param DiffusionEnhance: 大模型增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。
|
|
31147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31148
|
+
# @type DiffusionEnhance: :class:`Tencentcloud::Vod.v20180717.models.DiffusionEnhanceInfo`
|
|
31149
|
+
# @param FrameRateWithDen: 插帧帧率配置,支持分数。注意与FrameRate二选一。源帧率大于等于目标帧率时能力不会生效。
|
|
31150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31151
|
+
# @type FrameRateWithDen: :class:`Tencentcloud::Vod.v20180717.models.FrameRateWithDenInfo`
|
|
31152
|
+
|
|
31153
|
+
attr_accessor :EnhanceScenarioType, :SuperResolution, :Hdr, :Denoise, :ImageQualityEnhance, :ColorEnhance, :LowLightEnhance, :ScratchRepair, :ArtifactRepair, :DiffusionEnhance, :FrameRateWithDen
|
|
31154
|
+
|
|
31155
|
+
def initialize(enhancescenariotype=nil, superresolution=nil, hdr=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, lowlightenhance=nil, scratchrepair=nil, artifactrepair=nil, diffusionenhance=nil, frameratewithden=nil)
|
|
31156
|
+
@EnhanceScenarioType = enhancescenariotype
|
|
31157
|
+
@SuperResolution = superresolution
|
|
31158
|
+
@Hdr = hdr
|
|
31159
|
+
@Denoise = denoise
|
|
31160
|
+
@ImageQualityEnhance = imagequalityenhance
|
|
31161
|
+
@ColorEnhance = colorenhance
|
|
31162
|
+
@LowLightEnhance = lowlightenhance
|
|
31163
|
+
@ScratchRepair = scratchrepair
|
|
31164
|
+
@ArtifactRepair = artifactrepair
|
|
31165
|
+
@DiffusionEnhance = diffusionenhance
|
|
31166
|
+
@FrameRateWithDen = frameratewithden
|
|
31167
|
+
end
|
|
31168
|
+
|
|
31169
|
+
def deserialize(params)
|
|
31170
|
+
@EnhanceScenarioType = params['EnhanceScenarioType']
|
|
31171
|
+
unless params['SuperResolution'].nil?
|
|
31172
|
+
@SuperResolution = SuperResolutionInfo.new
|
|
31173
|
+
@SuperResolution.deserialize(params['SuperResolution'])
|
|
31174
|
+
end
|
|
31175
|
+
unless params['Hdr'].nil?
|
|
31176
|
+
@Hdr = HDRInfo.new
|
|
31177
|
+
@Hdr.deserialize(params['Hdr'])
|
|
31178
|
+
end
|
|
31179
|
+
unless params['Denoise'].nil?
|
|
31180
|
+
@Denoise = VideoDenoiseInfo.new
|
|
31181
|
+
@Denoise.deserialize(params['Denoise'])
|
|
31182
|
+
end
|
|
31183
|
+
unless params['ImageQualityEnhance'].nil?
|
|
31184
|
+
@ImageQualityEnhance = ImageQualityEnhanceInfo.new
|
|
31185
|
+
@ImageQualityEnhance.deserialize(params['ImageQualityEnhance'])
|
|
31186
|
+
end
|
|
31187
|
+
unless params['ColorEnhance'].nil?
|
|
31188
|
+
@ColorEnhance = ColorEnhanceInfo.new
|
|
31189
|
+
@ColorEnhance.deserialize(params['ColorEnhance'])
|
|
31190
|
+
end
|
|
31191
|
+
unless params['LowLightEnhance'].nil?
|
|
31192
|
+
@LowLightEnhance = LowLightEnhanceInfo.new
|
|
31193
|
+
@LowLightEnhance.deserialize(params['LowLightEnhance'])
|
|
31194
|
+
end
|
|
31195
|
+
unless params['ScratchRepair'].nil?
|
|
31196
|
+
@ScratchRepair = ScratchRepairInfo.new
|
|
31197
|
+
@ScratchRepair.deserialize(params['ScratchRepair'])
|
|
31198
|
+
end
|
|
31199
|
+
unless params['ArtifactRepair'].nil?
|
|
31200
|
+
@ArtifactRepair = ArtifactRepairInfo.new
|
|
31201
|
+
@ArtifactRepair.deserialize(params['ArtifactRepair'])
|
|
31202
|
+
end
|
|
31203
|
+
unless params['DiffusionEnhance'].nil?
|
|
31204
|
+
@DiffusionEnhance = DiffusionEnhanceInfo.new
|
|
31205
|
+
@DiffusionEnhance.deserialize(params['DiffusionEnhance'])
|
|
31206
|
+
end
|
|
31207
|
+
unless params['FrameRateWithDen'].nil?
|
|
31208
|
+
@FrameRateWithDen = FrameRateWithDenInfo.new
|
|
31209
|
+
@FrameRateWithDen.deserialize(params['FrameRateWithDen'])
|
|
31210
|
+
end
|
|
31211
|
+
end
|
|
31212
|
+
end
|
|
31213
|
+
|
|
30824
31214
|
# 智能插帧控制参数
|
|
30825
31215
|
class VideoFrameInterpolationInfo < TencentCloud::Common::AbstractModel
|
|
30826
31216
|
# @param Switch: 智能插帧控制开关,可选值:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1201
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,11 +33,11 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20180717/client.rb
|
|
37
|
-
- lib/v20180717/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-vod.rb
|
|
39
36
|
- lib/v20240718/client.rb
|
|
40
37
|
- lib/v20240718/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-vod.rb
|
|
39
|
+
- lib/v20180717/client.rb
|
|
40
|
+
- lib/v20180717/models.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|