tencentcloud-sdk-vod 3.0.1198 → 3.0.1200

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/v20180717/models.rb +423 -18
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c2458860b8f20886c5df963c617aa540736d780
4
- data.tar.gz: 176035387e3ca54a918f4ce563a4dca4b99fc1d1
3
+ metadata.gz: 49532989c63df0642dccd0b3c8352f7aa50a6257
4
+ data.tar.gz: c9e292a3822721d12b04d28c63c26a832466df78
5
5
  SHA512:
6
- metadata.gz: 220c9ec61feec7751b37464f5b126228a9e25a203e18e3303367a028c0b2dbd34e78dee72dffb19fc1ddfa0857f75f23b8472fac7e328f5594d2db479545af4c
7
- data.tar.gz: 88b5aa329c99e3073d36ff14c00ad182c8e0d457b1e1f9d9caa9e8ecc1c1add0f5fc80f01c198e8c6432c7b0cdac2ca3e3c836e7e1794826ae0bd48b60b67f79
6
+ metadata.gz: 276e8c7a74722de122677ea426a69d9498b2e652efc092881edff6d0a8f704d53b37d537ffe82ad4da5caf18ad976eaca0ab2a713940370422ad3c92691232d3
7
+ data.tar.gz: 67a489bbb9173d003272a8cef68e68be7d285ac968ede52e40358ea5387789b797d7536e3058d52371ee64013323de1642ff703acfe069e4a7bb321258684e73
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1198
1
+ 3.0.1200
@@ -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
- # <li>strong:强音频降噪。</li>
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。
@@ -9288,15 +9420,17 @@ module TencentCloud
9288
9420
  # @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfo`
9289
9421
  # @param TEHDConfig: 极速高清转码参数。
9290
9422
  # @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
9423
+ # @param EnhanceConfig: 音视频增强配置。
9424
+ # @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfig`
9291
9425
  # @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
9292
9426
  # <li>ts:ts 切片;</li>
9293
9427
  # <li>fmp4:fmp4 切片。</li>
9294
9428
  # 默认值:ts。
9295
9429
  # @type SegmentType: String
9296
9430
 
9297
- attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
9431
+ attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :SegmentType
9298
9432
 
9299
- def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, segmenttype=nil)
9433
+ 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
9434
  @Container = container
9301
9435
  @SubAppId = subappid
9302
9436
  @Name = name
@@ -9306,6 +9440,7 @@ module TencentCloud
9306
9440
  @VideoTemplate = videotemplate
9307
9441
  @AudioTemplate = audiotemplate
9308
9442
  @TEHDConfig = tehdconfig
9443
+ @EnhanceConfig = enhanceconfig
9309
9444
  @SegmentType = segmenttype
9310
9445
  end
9311
9446
 
@@ -9328,6 +9463,10 @@ module TencentCloud
9328
9463
  @TEHDConfig = TEHDConfig.new
9329
9464
  @TEHDConfig.deserialize(params['TEHDConfig'])
9330
9465
  end
9466
+ unless params['EnhanceConfig'].nil?
9467
+ @EnhanceConfig = EnhanceConfig.new
9468
+ @EnhanceConfig.deserialize(params['EnhanceConfig'])
9469
+ end
9331
9470
  @SegmentType = params['SegmentType']
9332
9471
  end
9333
9472
  end
@@ -14132,10 +14271,19 @@ module TencentCloud
14132
14271
  # @type Offset: Integer
14133
14272
  # @param Limit: 返回记录条数,默认值:10,最大值:100。
14134
14273
  # @type Limit: Integer
14135
-
14136
- attr_accessor :SubAppId, :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit
14137
-
14138
- def initialize(subappid=nil, definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil)
14274
+ # @param EnhanceType: 增强类型,可选值:
14275
+ # <li>VideoEnhance(仅视频增强)</li>
14276
+ # <li>AudioEnhance(仅音频增强)</li>
14277
+ # <li>AudioVideoEnhance(音视频增强)</li>
14278
+ # <li>AnyEnhance(包括仅视频增强、仅音频增强、音视频增强)</li>
14279
+ # <li>None(非增强)</li>
14280
+ # @type EnhanceType: String
14281
+ # @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>
14282
+ # @type EnhanceScenarioType: String
14283
+
14284
+ attr_accessor :SubAppId, :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :EnhanceType, :EnhanceScenarioType
14285
+
14286
+ def initialize(subappid=nil, definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, enhancetype=nil, enhancescenariotype=nil)
14139
14287
  @SubAppId = subappid
14140
14288
  @Definitions = definitions
14141
14289
  @Type = type
@@ -14143,6 +14291,8 @@ module TencentCloud
14143
14291
  @TEHDType = tehdtype
14144
14292
  @Offset = offset
14145
14293
  @Limit = limit
14294
+ @EnhanceType = enhancetype
14295
+ @EnhanceScenarioType = enhancescenariotype
14146
14296
  end
14147
14297
 
14148
14298
  def deserialize(params)
@@ -14153,6 +14303,8 @@ module TencentCloud
14153
14303
  @TEHDType = params['TEHDType']
14154
14304
  @Offset = params['Offset']
14155
14305
  @Limit = params['Limit']
14306
+ @EnhanceType = params['EnhanceType']
14307
+ @EnhanceScenarioType = params['EnhanceScenarioType']
14156
14308
  end
14157
14309
  end
14158
14310
 
@@ -14390,6 +14542,32 @@ module TencentCloud
14390
14542
  end
14391
14543
  end
14392
14544
 
14545
+ # 大模型增强配置。
14546
+ class DiffusionEnhanceInfo < TencentCloud::Common::AbstractModel
14547
+ # @param Switch: 大模型增强开关,可选值:
14548
+ # <li>ON:开启;</li>
14549
+ # <li>OFF:关闭。</li>
14550
+ # @type Switch: String
14551
+ # @param Type: 强度类型,仅当大模型增强控制开关为 ON 时有效,可选值:
14552
+ # <li>weak:弱;</li>
14553
+ # <li>normal:正常;</li>
14554
+ # <li>strong:强。</li>
14555
+ # 默认值:normal。
14556
+ # @type Type: String
14557
+
14558
+ attr_accessor :Switch, :Type
14559
+
14560
+ def initialize(switch=nil, type=nil)
14561
+ @Switch = switch
14562
+ @Type = type
14563
+ end
14564
+
14565
+ def deserialize(params)
14566
+ @Switch = params['Switch']
14567
+ @Type = params['Type']
14568
+ end
14569
+ end
14570
+
14393
14571
  # 域名推送 CLS 目标。
14394
14572
  class DomainCLSTargetInfo < TencentCloud::Common::AbstractModel
14395
14573
  # @param Domain: 域名。
@@ -15041,6 +15219,62 @@ module TencentCloud
15041
15219
  end
15042
15220
  end
15043
15221
 
15222
+ # 音视频增强配置
15223
+ class EnhanceConfig < TencentCloud::Common::AbstractModel
15224
+ # @param VideoEnhance: 视频增强配置。
15225
+ # 注意:此字段可能返回 null,表示取不到有效值。
15226
+ # @type VideoEnhance: :class:`Tencentcloud::Vod.v20180717.models.VideoEnhanceConfig`
15227
+ # @param AudioEnhance: 音频增强配置。
15228
+ # 注意:此字段可能返回 null,表示取不到有效值。
15229
+ # @type AudioEnhance: :class:`Tencentcloud::Vod.v20180717.models.AudioEnhanceConfig`
15230
+
15231
+ attr_accessor :VideoEnhance, :AudioEnhance
15232
+
15233
+ def initialize(videoenhance=nil, audioenhance=nil)
15234
+ @VideoEnhance = videoenhance
15235
+ @AudioEnhance = audioenhance
15236
+ end
15237
+
15238
+ def deserialize(params)
15239
+ unless params['VideoEnhance'].nil?
15240
+ @VideoEnhance = VideoEnhanceConfig.new
15241
+ @VideoEnhance.deserialize(params['VideoEnhance'])
15242
+ end
15243
+ unless params['AudioEnhance'].nil?
15244
+ @AudioEnhance = AudioEnhanceConfig.new
15245
+ @AudioEnhance.deserialize(params['AudioEnhance'])
15246
+ end
15247
+ end
15248
+ end
15249
+
15250
+ # 音视频增强配置
15251
+ class EnhanceConfigForUpdate < TencentCloud::Common::AbstractModel
15252
+ # @param VideoEnhance: 视频增强配置。
15253
+ # 注意:此字段可能返回 null,表示取不到有效值。
15254
+ # @type VideoEnhance: :class:`Tencentcloud::Vod.v20180717.models.VideoEnhanceConfig`
15255
+ # @param AudioEnhance: 音频增强配置。
15256
+ # 注意:此字段可能返回 null,表示取不到有效值。
15257
+ # @type AudioEnhance: :class:`Tencentcloud::Vod.v20180717.models.AudioEnhanceConfig`
15258
+
15259
+ attr_accessor :VideoEnhance, :AudioEnhance
15260
+
15261
+ def initialize(videoenhance=nil, audioenhance=nil)
15262
+ @VideoEnhance = videoenhance
15263
+ @AudioEnhance = audioenhance
15264
+ end
15265
+
15266
+ def deserialize(params)
15267
+ unless params['VideoEnhance'].nil?
15268
+ @VideoEnhance = VideoEnhanceConfig.new
15269
+ @VideoEnhance.deserialize(params['VideoEnhance'])
15270
+ end
15271
+ unless params['AudioEnhance'].nil?
15272
+ @AudioEnhance = AudioEnhanceConfig.new
15273
+ @AudioEnhance.deserialize(params['AudioEnhance'])
15274
+ end
15275
+ end
15276
+ end
15277
+
15044
15278
  # EnhanceMediaByTemplate请求参数结构体
15045
15279
  class EnhanceMediaByTemplateRequest < TencentCloud::Common::AbstractModel
15046
15280
  # @param FileId: 媒体文件 ID。
@@ -16245,6 +16479,32 @@ module TencentCloud
16245
16479
  end
16246
16480
  end
16247
16481
 
16482
+ # 插帧帧率配置。
16483
+ class FrameRateWithDenInfo < TencentCloud::Common::AbstractModel
16484
+ # @param Switch: 插帧帧率配置控制开关,可选值:
16485
+ # <li>ON:开启;</li>
16486
+ # <li>OFF:关闭。</li>
16487
+ # @type Switch: String
16488
+ # @param FpsNum: 帧率分子,取值范围:非负数,除以分母后小于100,单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
16489
+ # @type FpsNum: Integer
16490
+ # @param FpsDen: 帧率分母,取值范围:大于等于1。 默认值 1。
16491
+ # @type FpsDen: Integer
16492
+
16493
+ attr_accessor :Switch, :FpsNum, :FpsDen
16494
+
16495
+ def initialize(switch=nil, fpsnum=nil, fpsden=nil)
16496
+ @Switch = switch
16497
+ @FpsNum = fpsnum
16498
+ @FpsDen = fpsden
16499
+ end
16500
+
16501
+ def deserialize(params)
16502
+ @Switch = params['Switch']
16503
+ @FpsNum = params['FpsNum']
16504
+ @FpsDen = params['FpsDen']
16505
+ end
16506
+ end
16507
+
16248
16508
  # 智能按帧标签任务控制参数
16249
16509
  class FrameTagConfigureInfo < TencentCloud::Common::AbstractModel
16250
16510
  # @param Switch: 智能按帧标签任务开关,可选值:
@@ -16301,7 +16561,7 @@ module TencentCloud
16301
16561
 
16302
16562
  # 注意:
16303
16563
  # <li> 仅当高动态范围类型控制开关为 ON 时有效;</li>
16304
- # <li>当画质重生目标参数中指定视频输出参数的视频流编码格式 Codec 为 libx265 时有效。</li>
16564
+ # <li>当目标参数中指定视频输出参数的视频流编码格式 Codec 为 libx264、libx265 时有效。</li>
16305
16565
  # @type Type: String
16306
16566
 
16307
16567
  attr_accessor :Switch, :Type
@@ -16733,6 +16993,32 @@ module TencentCloud
16733
16993
  end
16734
16994
  end
16735
16995
 
16996
+ # 综合增强控制
16997
+ class ImageQualityEnhanceInfo < TencentCloud::Common::AbstractModel
16998
+ # @param Switch: 综合增强控制开关,可选值:
16999
+ # <li>ON:开启综合增强;</li>
17000
+ # <li>OFF:关闭综合增强。</li>
17001
+ # @type Switch: String
17002
+ # @param Type: 综合增强类型,仅当综合增强控制开关为 ON 时有效,可选值:
17003
+ # <li>weak:轻综合增强;</li>
17004
+ # <li>normal:正常综合增强;</li>
17005
+ # <li>strong:强综合增强。</li>
17006
+ # 默认值:weak。
17007
+ # @type Type: String
17008
+
17009
+ attr_accessor :Switch, :Type
17010
+
17011
+ def initialize(switch=nil, type=nil)
17012
+ @Switch = switch
17013
+ @Type = type
17014
+ end
17015
+
17016
+ def deserialize(params)
17017
+ @Switch = params['Switch']
17018
+ @Type = params['Type']
17019
+ end
17020
+ end
17021
+
16736
17022
  # 图片审核次数统计数据。
16737
17023
  class ImageReviewUsageDataItem < TencentCloud::Common::AbstractModel
16738
17024
  # @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 +22303,16 @@ module TencentCloud
22017
22303
  # @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfoForUpdate`
22018
22304
  # @param TEHDConfig: 极速高清转码参数。
22019
22305
  # @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfigForUpdate`
22306
+ # @param EnhanceConfig: 音视频增强配置。
22307
+ # @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfigForUpdate`
22020
22308
  # @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
22021
22309
  # <li>ts:ts 切片;</li>
22022
22310
  # <li>fmp4:fmp4 切片。</li>
22023
22311
  # @type SegmentType: String
22024
22312
 
22025
- attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
22313
+ attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :SegmentType
22026
22314
 
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)
22315
+ 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
22316
  @Definition = definition
22029
22317
  @SubAppId = subappid
22030
22318
  @Container = container
@@ -22035,6 +22323,7 @@ module TencentCloud
22035
22323
  @VideoTemplate = videotemplate
22036
22324
  @AudioTemplate = audiotemplate
22037
22325
  @TEHDConfig = tehdconfig
22326
+ @EnhanceConfig = enhanceconfig
22038
22327
  @SegmentType = segmenttype
22039
22328
  end
22040
22329
 
@@ -22058,6 +22347,10 @@ module TencentCloud
22058
22347
  @TEHDConfig = TEHDConfigForUpdate.new
22059
22348
  @TEHDConfig.deserialize(params['TEHDConfig'])
22060
22349
  end
22350
+ unless params['EnhanceConfig'].nil?
22351
+ @EnhanceConfig = EnhanceConfigForUpdate.new
22352
+ @EnhanceConfig.deserialize(params['EnhanceConfig'])
22353
+ end
22061
22354
  @SegmentType = params['SegmentType']
22062
22355
  end
22063
22356
  end
@@ -28179,7 +28472,7 @@ module TencentCloud
28179
28472
  # @type Score: Float
28180
28473
  # @param StartTimeOffset: 视频片段的开始时间,单位:秒
28181
28474
  # @type StartTimeOffset: Float
28182
- # @param EndTimeOffset: 视频片段的开始时间,单位:秒
28475
+ # @param EndTimeOffset: 视频片段的结束时间,单位:秒
28183
28476
  # @type EndTimeOffset: Float
28184
28477
 
28185
28478
  attr_accessor :FileId, :Score, :StartTimeOffset, :EndTimeOffset
@@ -29212,7 +29505,6 @@ module TencentCloud
29212
29505
  # @param Switch: 画面超分控制开关,可选值:
29213
29506
  # <li>ON:开启画面超分;</li>
29214
29507
  # <li>OFF:关闭画面超分。</li>
29215
- # 当开启画面超分时,默认2倍超分。
29216
29508
  # @type Switch: String
29217
29509
  # @param Type: 画面超分类型,仅当画面超分控制开关为 ON 时有效,可选值:
29218
29510
  # <li>lq:针对低清晰度有较多噪声视频的超分;</li>
@@ -30174,6 +30466,9 @@ module TencentCloud
30174
30466
  # @param TEHDConfig: 极速高清转码参数。
30175
30467
  # 注意:此字段可能返回 null,表示取不到有效值。
30176
30468
  # @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
30469
+ # @param EnhanceConfig: 音视频增强配置。
30470
+ # 注意:此字段可能返回 null,表示取不到有效值。
30471
+ # @type EnhanceConfig: :class:`Tencentcloud::Vod.v20180717.models.EnhanceConfig`
30177
30472
  # @param ContainerType: 封装格式过滤条件,可选值:
30178
30473
  # <li>Video:视频格式,可以同时包含视频流和音频流的封装格式;</li>
30179
30474
  # <li>PureAudio:纯音频格式,只能包含音频流的封装格式板。</li>
@@ -30185,9 +30480,9 @@ module TencentCloud
30185
30480
  # @param SegmentType: 切片类型,仅当 Container 为 hls 时有效。
30186
30481
  # @type SegmentType: String
30187
30482
 
30188
- attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :SegmentType
30483
+ attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig, :ContainerType, :CreateTime, :UpdateTime, :SegmentType
30189
30484
 
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)
30485
+ 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
30486
  @Definition = definition
30192
30487
  @Container = container
30193
30488
  @Name = name
@@ -30198,6 +30493,7 @@ module TencentCloud
30198
30493
  @VideoTemplate = videotemplate
30199
30494
  @AudioTemplate = audiotemplate
30200
30495
  @TEHDConfig = tehdconfig
30496
+ @EnhanceConfig = enhanceconfig
30201
30497
  @ContainerType = containertype
30202
30498
  @CreateTime = createtime
30203
30499
  @UpdateTime = updatetime
@@ -30224,6 +30520,10 @@ module TencentCloud
30224
30520
  @TEHDConfig = TEHDConfig.new
30225
30521
  @TEHDConfig.deserialize(params['TEHDConfig'])
30226
30522
  end
30523
+ unless params['EnhanceConfig'].nil?
30524
+ @EnhanceConfig = EnhanceConfig.new
30525
+ @EnhanceConfig.deserialize(params['EnhanceConfig'])
30526
+ end
30227
30527
  @ContainerType = params['ContainerType']
30228
30528
  @CreateTime = params['CreateTime']
30229
30529
  @UpdateTime = params['UpdateTime']
@@ -30821,6 +31121,111 @@ module TencentCloud
30821
31121
  end
30822
31122
  end
30823
31123
 
31124
+ # 视频增强配置。
31125
+ class VideoEnhanceConfig < TencentCloud::Common::AbstractModel
31126
+ # @param EnhanceScenarioType: 增强场景配置,可选值:
31127
+ # <li>common(通用),通用增强参数,适用于各种视频类型的基础优化参数,提升整体画质。</li>
31128
+ # <li>AIGC,整体分辨率提升,利用AI技术提升视频整体分辨率,增强画面清晰度。</li>
31129
+ # <li>short_play(短剧),增强面部与字幕细节,突出人物面部表情细节和字幕清晰度,提升观剧体验。</li>
31130
+ # <li>short_video(短视频),优化复杂多样的画质问题,针对短视频的复杂场景,优化画质,解决多种视觉问题。</li>
31131
+ # <li>game(游戏视频),修复运动模糊,提升细节,重点提升游戏细节清晰度,恢复运动模糊区域,使游戏画面内容更清晰,更丰富。</li>
31132
+ # <li>HD_movie_series(超高清影视剧),获得超高清流畅效果,针对广电/OTT超高清视频的诉求,生成4K 60fps HDR的超高清标准视频。支持广电场景格式标准要求。</li>
31133
+ # <li>LQ_material(低清素材/老片修复),整体分辨率提升,针对老旧视频由于拍摄年代较久存在的分辨率不足、模糊失真、划痕损伤和色温等问题进行专门优化。</li>
31134
+ # <li>lecture(秀场/电商/大会/讲座),美化提升面部效果,针对秀场/电商/大会/讲座等存在人物进行讲解的场景,进行人脸区域、噪声消除、毛刺处理的专门优化。</li>
31135
+ # <li>填空字符串代表不使用增强场景</li>
31136
+ # @type EnhanceScenarioType: String
31137
+ # @param SuperResolution: 超分配置。源分辨率高于目标分辨率时不对视频做处理。注意与大模型增强不可同时开启。
31138
+ # 注意:此字段可能返回 null,表示取不到有效值。
31139
+ # @type SuperResolution: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
31140
+ # @param Hdr: HDR配置。
31141
+ # 注意:此字段可能返回 null,表示取不到有效值。
31142
+ # @type Hdr: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
31143
+ # @param Denoise: 视频降噪配置。注意与大模型增强不可同时开启。
31144
+ # 注意:此字段可能返回 null,表示取不到有效值。
31145
+ # @type Denoise: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
31146
+ # @param ImageQualityEnhance: 综合增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项
31147
+ # 注意:此字段可能返回 null,表示取不到有效值。
31148
+ # @type ImageQualityEnhance: :class:`Tencentcloud::Vod.v20180717.models.ImageQualityEnhanceInfo`
31149
+ # @param ColorEnhance: 色彩增强配置。
31150
+ # 注意:此字段可能返回 null,表示取不到有效值。
31151
+ # @type ColorEnhance: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
31152
+ # @param LowLightEnhance: 低光照增强配置。
31153
+ # 注意:此字段可能返回 null,表示取不到有效值。
31154
+ # @type LowLightEnhance: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
31155
+ # @param ScratchRepair: 去划痕配置。
31156
+ # 注意:此字段可能返回 null,表示取不到有效值。
31157
+ # @type ScratchRepair: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
31158
+ # @param ArtifactRepair: 去伪影(毛刺)配置。注意大模型、综合增强、去毛刺三项里最多配置一项。
31159
+ # 注意:此字段可能返回 null,表示取不到有效值。
31160
+ # @type ArtifactRepair: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
31161
+ # @param DiffusionEnhance: 大模型增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。
31162
+ # 注意:此字段可能返回 null,表示取不到有效值。
31163
+ # @type DiffusionEnhance: :class:`Tencentcloud::Vod.v20180717.models.DiffusionEnhanceInfo`
31164
+ # @param FrameRateWithDen: 插帧帧率配置,支持分数。注意与FrameRate二选一。源帧率大于等于目标帧率时能力不会生效。
31165
+ # 注意:此字段可能返回 null,表示取不到有效值。
31166
+ # @type FrameRateWithDen: :class:`Tencentcloud::Vod.v20180717.models.FrameRateWithDenInfo`
31167
+
31168
+ attr_accessor :EnhanceScenarioType, :SuperResolution, :Hdr, :Denoise, :ImageQualityEnhance, :ColorEnhance, :LowLightEnhance, :ScratchRepair, :ArtifactRepair, :DiffusionEnhance, :FrameRateWithDen
31169
+
31170
+ def initialize(enhancescenariotype=nil, superresolution=nil, hdr=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, lowlightenhance=nil, scratchrepair=nil, artifactrepair=nil, diffusionenhance=nil, frameratewithden=nil)
31171
+ @EnhanceScenarioType = enhancescenariotype
31172
+ @SuperResolution = superresolution
31173
+ @Hdr = hdr
31174
+ @Denoise = denoise
31175
+ @ImageQualityEnhance = imagequalityenhance
31176
+ @ColorEnhance = colorenhance
31177
+ @LowLightEnhance = lowlightenhance
31178
+ @ScratchRepair = scratchrepair
31179
+ @ArtifactRepair = artifactrepair
31180
+ @DiffusionEnhance = diffusionenhance
31181
+ @FrameRateWithDen = frameratewithden
31182
+ end
31183
+
31184
+ def deserialize(params)
31185
+ @EnhanceScenarioType = params['EnhanceScenarioType']
31186
+ unless params['SuperResolution'].nil?
31187
+ @SuperResolution = SuperResolutionInfo.new
31188
+ @SuperResolution.deserialize(params['SuperResolution'])
31189
+ end
31190
+ unless params['Hdr'].nil?
31191
+ @Hdr = HDRInfo.new
31192
+ @Hdr.deserialize(params['Hdr'])
31193
+ end
31194
+ unless params['Denoise'].nil?
31195
+ @Denoise = VideoDenoiseInfo.new
31196
+ @Denoise.deserialize(params['Denoise'])
31197
+ end
31198
+ unless params['ImageQualityEnhance'].nil?
31199
+ @ImageQualityEnhance = ImageQualityEnhanceInfo.new
31200
+ @ImageQualityEnhance.deserialize(params['ImageQualityEnhance'])
31201
+ end
31202
+ unless params['ColorEnhance'].nil?
31203
+ @ColorEnhance = ColorEnhanceInfo.new
31204
+ @ColorEnhance.deserialize(params['ColorEnhance'])
31205
+ end
31206
+ unless params['LowLightEnhance'].nil?
31207
+ @LowLightEnhance = LowLightEnhanceInfo.new
31208
+ @LowLightEnhance.deserialize(params['LowLightEnhance'])
31209
+ end
31210
+ unless params['ScratchRepair'].nil?
31211
+ @ScratchRepair = ScratchRepairInfo.new
31212
+ @ScratchRepair.deserialize(params['ScratchRepair'])
31213
+ end
31214
+ unless params['ArtifactRepair'].nil?
31215
+ @ArtifactRepair = ArtifactRepairInfo.new
31216
+ @ArtifactRepair.deserialize(params['ArtifactRepair'])
31217
+ end
31218
+ unless params['DiffusionEnhance'].nil?
31219
+ @DiffusionEnhance = DiffusionEnhanceInfo.new
31220
+ @DiffusionEnhance.deserialize(params['DiffusionEnhance'])
31221
+ end
31222
+ unless params['FrameRateWithDen'].nil?
31223
+ @FrameRateWithDen = FrameRateWithDenInfo.new
31224
+ @FrameRateWithDen.deserialize(params['FrameRateWithDen'])
31225
+ end
31226
+ end
31227
+ end
31228
+
30824
31229
  # 智能插帧控制参数
30825
31230
  class VideoFrameInterpolationInfo < TencentCloud::Common::AbstractModel
30826
31231
  # @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.1198
4
+ version: 3.0.1200
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-07 00:00:00.000000000 Z
11
+ date: 2026-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common