tencentcloud-sdk-vod 3.0.509 → 3.0.510

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/v20180717/models.rb +737 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98012229ed72de7fd8365e34809da1ccbfdedb45
4
- data.tar.gz: fc3a1fac892ce2e4c5f8005b4273a9c4bb6a37e8
3
+ metadata.gz: 8f86974a4fa878baa299284f3b820c31f612bafb
4
+ data.tar.gz: 54d12572694a665b75b5153ddb5bfb13a89e0ae2
5
5
  SHA512:
6
- metadata.gz: 84fa63924713a19f110d7f77d61565fdb8663ebab46b9b2ac5c8f76c6507138cc4133ed8efbc8e537c229b966e371dcc24d6d96c8ad5a6db02b14b935baf2b65
7
- data.tar.gz: 4cab72904af4d22a334f5972d9ddb4db18dd4b5a6f638d363380f94d178754de2f75c9a208b65806b32cb9ce6d5a4cfb3b42c5bd156d11b42fe41ff905f8595b
6
+ metadata.gz: e0150f86f299920ed72fe750d15fdfb02b3511b66b56f9151349768cc6e3b6f28ce0e88515c199c90024b3f85176b0808ebf0851b03692e76561b56e49c3ad97
7
+ data.tar.gz: d8bceed47a1ef8ea98feff127dfeecfe610295affa6cc360161cd5d1e487a5b38f948520c01cde60cf1b2059dc59878005e0ebb4ea0ccf2e3431849150fa2a38
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.509
1
+ 3.0.510
@@ -3841,6 +3841,31 @@ module TencentCloud
3841
3841
  end
3842
3842
  end
3843
3843
 
3844
+ # 去伪影(毛刺)控制信息
3845
+ class ArtifactRepairInfo < TencentCloud::Common::AbstractModel
3846
+ # @param Switch: 去伪影(毛刺)控制开关,可选值:
3847
+ # <li>ON:开启去伪影(毛刺);</li>
3848
+ # <li>OFF:关闭去伪影(毛刺)。</li>
3849
+ # @type Switch: String
3850
+ # @param Type: 去伪影(毛刺)类型,仅当去伪影(毛刺)控制开关为 ON 时有效,可选值:
3851
+ # <li>weak:轻去伪影(毛刺);</li>
3852
+ # <li>strong:强去伪影(毛刺)。</li>
3853
+ # 默认值:weak。
3854
+ # @type Type: String
3855
+
3856
+ attr_accessor :Switch, :Type
3857
+
3858
+ def initialize(switch=nil, type=nil)
3859
+ @Switch = switch
3860
+ @Type = type
3861
+ end
3862
+
3863
+ def deserialize(params)
3864
+ @Switch = params['Switch']
3865
+ @Type = params['Type']
3866
+ end
3867
+ end
3868
+
3844
3869
  # 语音全文识别任务控制参数
3845
3870
  class AsrFullTextConfigureInfo < TencentCloud::Common::AbstractModel
3846
3871
  # @param Switch: 语音全文识别任务开关,可选值:
@@ -4000,6 +4025,32 @@ module TencentCloud
4000
4025
  end
4001
4026
  end
4002
4027
 
4028
+ # 音频降噪控制信息
4029
+ class AudioDenoiseInfo < TencentCloud::Common::AbstractModel
4030
+ # @param Switch: 音频降噪控制开关,可选值:
4031
+ # <li>ON:开启音频降噪;</li>
4032
+ # <li>OFF:关闭音频降噪。</li>
4033
+ # @type Switch: String
4034
+ # @param Type: 音频降噪类型,仅当音频降噪控制开关为 ON 时有效,可选值:
4035
+ # <li>weak:轻音频降噪;</li>
4036
+ # <li>normal:正常音频降噪;</li>
4037
+ # <li>strong:强音频降噪。</li>
4038
+ # 默认值:weak。
4039
+ # @type Type: String
4040
+
4041
+ attr_accessor :Switch, :Type
4042
+
4043
+ def initialize(switch=nil, type=nil)
4044
+ @Switch = switch
4045
+ @Type = type
4046
+ end
4047
+
4048
+ def deserialize(params)
4049
+ @Switch = params['Switch']
4050
+ @Type = params['Type']
4051
+ end
4052
+ end
4053
+
4003
4054
  # 音频流配置参数
4004
4055
  class AudioTemplateInfo < TencentCloud::Common::AbstractModel
4005
4056
  # @param Codec: 音频流的编码格式。
@@ -4361,6 +4412,32 @@ module TencentCloud
4361
4412
  end
4362
4413
  end
4363
4414
 
4415
+ # 色彩增强控制参数
4416
+ class ColorEnhanceInfo < TencentCloud::Common::AbstractModel
4417
+ # @param Switch: 色彩增强控制开关,可选值:
4418
+ # <li>ON:开启综合增强;</li>
4419
+ # <li>OFF:关闭综合增强。</li>
4420
+ # @type Switch: String
4421
+ # @param Type: 色彩增强类型,仅当色彩增强控制开关为 ON 时有效,可选值:
4422
+ # <li>weak:轻色彩增强;</li>
4423
+ # <li>normal:正常色彩增强;</li>
4424
+ # <li>strong:强色彩增强。</li>
4425
+ # 默认值:weak。
4426
+ # @type Type: String
4427
+
4428
+ attr_accessor :Switch, :Type
4429
+
4430
+ def initialize(switch=nil, type=nil)
4431
+ @Switch = switch
4432
+ @Type = type
4433
+ end
4434
+
4435
+ def deserialize(params)
4436
+ @Switch = params['Switch']
4437
+ @Type = params['Type']
4438
+ end
4439
+ end
4440
+
4364
4441
  # CommitUpload请求参数结构体
4365
4442
  class CommitUploadRequest < TencentCloud::Common::AbstractModel
4366
4443
  # @param VodSessionKey: 点播会话,取申请上传接口的返回值 VodSessionKey。
@@ -11161,13 +11238,14 @@ module TencentCloud
11161
11238
  # <li>NewFileUpload:视频上传完成;</li>
11162
11239
  # <li>ProcedureStateChanged:任务流状态变更;</li>
11163
11240
  # <li>FileDeleted:视频删除完成;</li>
11241
+ # <li>RestoreMediaComplete:视频取回完成;</li>
11164
11242
  # <li>PullComplete:视频转拉完成;</li>
11165
11243
  # <li>EditMediaComplete:视频编辑完成;</li>
11166
11244
  # <li>SplitMediaComplete:视频拆分完成;</li>
11167
- # <li>WechatPublishComplete:微信发布完成;</li>
11168
11245
  # <li>ComposeMediaComplete:制作媒体文件完成;</li>
11169
11246
  # <li>WechatMiniProgramPublishComplete:微信小程序发布完成。</li>
11170
- # <li>FastClipMediaComplete:快速剪辑完成;</li>
11247
+ # <li>RemoveWatermark:智能去除水印完成。</li>
11248
+ # <li>RebuildMediaComplete:音画质重生完成事件。</li>
11171
11249
  # <li>ReviewAudioVideoComplete:音视频审核完成;</li>
11172
11250
  # <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
11173
11251
  # <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
@@ -11193,7 +11271,7 @@ module TencentCloud
11193
11271
  # @param EditMediaCompleteEvent: 视频编辑完成事件,当事件类型为 EditMediaComplete 时有效。
11194
11272
  # 注意:此字段可能返回 null,表示取不到有效值。
11195
11273
  # @type EditMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.EditMediaTask`
11196
- # @param SplitMediaCompleteEvent: 视频拆条完成事件,当事件类型为 SplitMediaComplete 时有效。
11274
+ # @param SplitMediaCompleteEvent: 视频拆分完成事件,当事件类型为 SplitMediaComplete 时有效。
11197
11275
  # 注意:此字段可能返回 null,表示取不到有效值。
11198
11276
  # @type SplitMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.SplitMediaTask`
11199
11277
  # @param ComposeMediaCompleteEvent: 制作媒体文件任务完成事件,当事件类型为 ComposeMediaComplete 时有效。
@@ -11220,13 +11298,16 @@ module TencentCloud
11220
11298
  # @param WechatMiniProgramPublishCompleteEvent: 微信小程序发布任务完成事件,当事件类型为 WechatMiniProgramPublishComplete 时有效。
11221
11299
  # 注意:此字段可能返回 null,表示取不到有效值。
11222
11300
  # @type WechatMiniProgramPublishCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.WechatMiniProgramPublishTask`
11223
- # @param RemoveWatermarkCompleteEvent: 智能去除水印任务完成事件,当事件类型为 RemoveWatermark 有效。
11301
+ # @param RemoveWatermarkCompleteEvent: 智能去除水印完成事件,当事件类型为 RemoveWatermark 有效。
11224
11302
  # 注意:此字段可能返回 null,表示取不到有效值。
11225
11303
  # @type RemoveWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
11226
- # @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
11304
+ # @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为 RestoreMediaComplete 时有效。
11227
11305
  # 注意:此字段可能返回 null,表示取不到有效值。
11228
11306
  # @type RestoreMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RestoreMediaTask`
11229
- # @param ExtractTraceWatermarkCompleteEvent: 溯源水印提取完成事件,当事件类型为ExtractTraceWatermarkComplete 时有效。
11307
+ # @param RebuildMediaCompleteEvent: 音画质重生完成事件,当事件类型为 RebuildMediaComplete 时有效。
11308
+ # 注意:此字段可能返回 null,表示取不到有效值。
11309
+ # @type RebuildMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTask`
11310
+ # @param ExtractTraceWatermarkCompleteEvent: 溯源水印提取完成事件,当事件类型为 ExtractTraceWatermarkComplete 时有效。
11230
11311
  # 注意:此字段可能返回 null,表示取不到有效值。
11231
11312
  # @type ExtractTraceWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ExtractTraceWatermarkTask`
11232
11313
  # @param ReviewAudioVideoCompleteEvent: 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
@@ -11239,9 +11320,9 @@ module TencentCloud
11239
11320
  # 注意:此字段可能返回 null,表示取不到有效值。
11240
11321
  # @type DescribeFileAttributesCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
11241
11322
 
11242
- attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent
11323
+ attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent
11243
11324
 
11244
- def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil)
11325
+ def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil)
11245
11326
  @EventHandle = eventhandle
11246
11327
  @EventType = eventtype
11247
11328
  @FileUploadEvent = fileuploadevent
@@ -11260,6 +11341,7 @@ module TencentCloud
11260
11341
  @WechatMiniProgramPublishCompleteEvent = wechatminiprogrampublishcompleteevent
11261
11342
  @RemoveWatermarkCompleteEvent = removewatermarkcompleteevent
11262
11343
  @RestoreMediaCompleteEvent = restoremediacompleteevent
11344
+ @RebuildMediaCompleteEvent = rebuildmediacompleteevent
11263
11345
  @ExtractTraceWatermarkCompleteEvent = extracttracewatermarkcompleteevent
11264
11346
  @ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
11265
11347
  @ReduceMediaBitrateCompleteEvent = reducemediabitratecompleteevent
@@ -11333,6 +11415,10 @@ module TencentCloud
11333
11415
  @RestoreMediaCompleteEvent = RestoreMediaTask.new
11334
11416
  @RestoreMediaCompleteEvent.deserialize(params['RestoreMediaCompleteEvent'])
11335
11417
  end
11418
+ unless params['RebuildMediaCompleteEvent'].nil?
11419
+ @RebuildMediaCompleteEvent = RebuildMediaTask.new
11420
+ @RebuildMediaCompleteEvent.deserialize(params['RebuildMediaCompleteEvent'])
11421
+ end
11336
11422
  unless params['ExtractTraceWatermarkCompleteEvent'].nil?
11337
11423
  @ExtractTraceWatermarkCompleteEvent = ExtractTraceWatermarkTask.new
11338
11424
  @ExtractTraceWatermarkCompleteEvent.deserialize(params['ExtractTraceWatermarkCompleteEvent'])
@@ -11647,6 +11733,29 @@ module TencentCloud
11647
11733
  end
11648
11734
  end
11649
11735
 
11736
+ # 人脸增强控制
11737
+ class FaceEnhanceInfo < TencentCloud::Common::AbstractModel
11738
+ # @param Switch: 人脸增强控制开关,可选值:
11739
+ # <li>ON:开启人脸增强;</li>
11740
+ # <li>OFF:关闭人脸增强。</li>
11741
+ # @type Switch: String
11742
+ # @param Intensity: 人脸增强强度,仅当人脸增强控制开关为 ON 时有效,取值范围:0.0~1.0。
11743
+ # 默认:0.0。
11744
+ # @type Intensity: Float
11745
+
11746
+ attr_accessor :Switch, :Intensity
11747
+
11748
+ def initialize(switch=nil, intensity=nil)
11749
+ @Switch = switch
11750
+ @Intensity = intensity
11751
+ end
11752
+
11753
+ def deserialize(params)
11754
+ @Switch = params['Switch']
11755
+ @Intensity = params['Intensity']
11756
+ end
11757
+ end
11758
+
11650
11759
  # 文件删除结果信息
11651
11760
  class FileDeleteResultItem < TencentCloud::Common::AbstractModel
11652
11761
  # @param FileId: 删除的文件 ID 。
@@ -11861,6 +11970,34 @@ module TencentCloud
11861
11970
  end
11862
11971
  end
11863
11972
 
11973
+ # 高动态范围类型控制参数。
11974
+ class HDRInfo < TencentCloud::Common::AbstractModel
11975
+ # @param Switch: 高动态范围类型控制开关,可选值:
11976
+ # <li>ON:开启高动态范围类型转换;</li>
11977
+ # <li>OFF:关闭高动态范围类型转换。</li>
11978
+ # @type Switch: String
11979
+ # @param Type: 高动态范围类型,可选值:
11980
+ # <li>hdr10:表示 hdr10 标准;</li>
11981
+ # <li>hlg:表示 hlg 标准。</li>
11982
+
11983
+ # 注意:
11984
+ # <li> 仅当高动态范围类型控制开关为 ON 时有效;</li>
11985
+ # <li>当画质重生目标参数中指定视频输出参数的视频流编码格式 Codec 为 libx265 时有效。</li>
11986
+ # @type Type: String
11987
+
11988
+ attr_accessor :Switch, :Type
11989
+
11990
+ def initialize(switch=nil, type=nil)
11991
+ @Switch = switch
11992
+ @Type = type
11993
+ end
11994
+
11995
+ def deserialize(params)
11996
+ @Switch = params['Switch']
11997
+ @Type = params['Type']
11998
+ end
11999
+ end
12000
+
11864
12001
  # 视频片头片尾识别任务控制参数
11865
12002
  class HeadTailConfigureInfo < TencentCloud::Common::AbstractModel
11866
12003
  # @param Switch: 视频片头片尾识别任务开关,可选值:
@@ -12643,6 +12780,30 @@ module TencentCloud
12643
12780
  end
12644
12781
  end
12645
12782
 
12783
+ # 低光照增强控制
12784
+ class LowLightEnhanceInfo < TencentCloud::Common::AbstractModel
12785
+ # @param Switch: 低光照增强控制开关,可选值:
12786
+ # <li>ON:开启低光照增强;</li>
12787
+ # <li>OFF:关闭低光照增强。</li>
12788
+ # @type Switch: String
12789
+ # @param Type: 低光照增强类型,仅当低光照增强控制开关为 ON 时有效,可选值:
12790
+ # <li>normal:正常低光照增强;</li>
12791
+ # 默认值:normal。
12792
+ # @type Type: String
12793
+
12794
+ attr_accessor :Switch, :Type
12795
+
12796
+ def initialize(switch=nil, type=nil)
12797
+ @Switch = switch
12798
+ @Type = type
12799
+ end
12800
+
12801
+ def deserialize(params)
12802
+ @Switch = params['Switch']
12803
+ @Type = params['Type']
12804
+ end
12805
+ end
12806
+
12646
12807
  # ManageTask请求参数结构体
12647
12808
  class ManageTaskRequest < TencentCloud::Common::AbstractModel
12648
12809
  # @param TaskId: 视频处理的任务 ID。
@@ -18619,6 +18780,418 @@ module TencentCloud
18619
18780
  end
18620
18781
  end
18621
18782
 
18783
+ # 画质重生输出的音频信息
18784
+ class RebuildMediaTargetAudioStream < TencentCloud::Common::AbstractModel
18785
+ # @param Codec: 音频流的编码格式。
18786
+ # 当外层参数 Container 为 mp3 时,可选值为:
18787
+ # <li>libmp3lame。</li>
18788
+ # 当外层参数 Container 为 ogg 或 flac 时,可选值为:
18789
+ # <li>flac。</li>
18790
+ # 当外层参数 Container 为 m4a 时,可选值为:
18791
+ # <li>libfdk_aac;</li>
18792
+ # <li>libmp3lame;</li>
18793
+ # <li>ac3。</li>
18794
+ # 当外层参数 Container 为 mp4 或 flv 时,可选值为:
18795
+ # <li>libfdk_aac:更适合 mp4;</li>
18796
+ # <li>libmp3lame:更适合 flv;</li>
18797
+ # <li>mp2。</li>
18798
+ # 当外层参数 Container 为 hls 时,可选值为:
18799
+ # <li>libfdk_aac。</li>
18800
+ # @type Codec: String
18801
+ # @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
18802
+ # 当取值为 0,表示音频码率和原始音频保持一致。
18803
+ # @type Bitrate: Integer
18804
+ # @param SampleRate: 音频流的采样率,可选值:
18805
+ # <li>32000</li>
18806
+ # <li>44100</li>
18807
+ # <li>48000</li>
18808
+
18809
+ # 单位:Hz。
18810
+ # @type SampleRate: Integer
18811
+ # @param AudioChannel: 音频通道方式,可选值:
18812
+ # <li>1:单通道</li>
18813
+ # <li>2:双通道</li>
18814
+ # <li>6:立体声</li>
18815
+
18816
+ # 当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
18817
+ # 默认值:2。
18818
+ # @type AudioChannel: Integer
18819
+
18820
+ attr_accessor :Codec, :Bitrate, :SampleRate, :AudioChannel
18821
+
18822
+ def initialize(codec=nil, bitrate=nil, samplerate=nil, audiochannel=nil)
18823
+ @Codec = codec
18824
+ @Bitrate = bitrate
18825
+ @SampleRate = samplerate
18826
+ @AudioChannel = audiochannel
18827
+ end
18828
+
18829
+ def deserialize(params)
18830
+ @Codec = params['Codec']
18831
+ @Bitrate = params['Bitrate']
18832
+ @SampleRate = params['SampleRate']
18833
+ @AudioChannel = params['AudioChannel']
18834
+ end
18835
+ end
18836
+
18837
+ # 画质重生目标参数
18838
+ class RebuildMediaTargetInfo < TencentCloud::Common::AbstractModel
18839
+ # @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
18840
+ # @type MediaName: String
18841
+ # @param Description: 描述信息,最长 128 个字符。缺省描述信息为空。
18842
+ # @type Description: String
18843
+ # @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
18844
+ # <li>默认值:0,表示其他分类。</li>
18845
+ # @type ClassId: Integer
18846
+ # @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
18847
+ # @type ExpireTime: String
18848
+ # @param Container: 输出文件封装格式,可选值:mp4、flv、hls。默认mp4。
18849
+ # @type Container: String
18850
+ # @param VideoStream: 输出的视频信息。
18851
+ # @type VideoStream: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
18852
+ # @param AudioStream: 输出的音频信息。
18853
+ # @type AudioStream: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
18854
+ # @param RemoveVideo: 是否去除视频数据,可选值:
18855
+ # <li>0:保留</li>
18856
+ # <li>1:去除</li>
18857
+
18858
+ # 默认值:0。
18859
+ # @type RemoveVideo: Integer
18860
+ # @param RemoveAudio: 是否去除音频数据,可选值:
18861
+ # <li>0:保留</li>
18862
+ # <li>1:去除</li>
18863
+
18864
+ # 默认值:0。
18865
+ # @type RemoveAudio: Integer
18866
+
18867
+ attr_accessor :MediaName, :Description, :ClassId, :ExpireTime, :Container, :VideoStream, :AudioStream, :RemoveVideo, :RemoveAudio
18868
+
18869
+ def initialize(medianame=nil, description=nil, classid=nil, expiretime=nil, container=nil, videostream=nil, audiostream=nil, removevideo=nil, removeaudio=nil)
18870
+ @MediaName = medianame
18871
+ @Description = description
18872
+ @ClassId = classid
18873
+ @ExpireTime = expiretime
18874
+ @Container = container
18875
+ @VideoStream = videostream
18876
+ @AudioStream = audiostream
18877
+ @RemoveVideo = removevideo
18878
+ @RemoveAudio = removeaudio
18879
+ end
18880
+
18881
+ def deserialize(params)
18882
+ @MediaName = params['MediaName']
18883
+ @Description = params['Description']
18884
+ @ClassId = params['ClassId']
18885
+ @ExpireTime = params['ExpireTime']
18886
+ @Container = params['Container']
18887
+ unless params['VideoStream'].nil?
18888
+ @VideoStream = RebuildMediaTargetVideoStream.new
18889
+ @VideoStream.deserialize(params['VideoStream'])
18890
+ end
18891
+ unless params['AudioStream'].nil?
18892
+ @AudioStream = RebuildMediaTargetAudioStream.new
18893
+ @AudioStream.deserialize(params['AudioStream'])
18894
+ end
18895
+ @RemoveVideo = params['RemoveVideo']
18896
+ @RemoveAudio = params['RemoveAudio']
18897
+ end
18898
+ end
18899
+
18900
+ # 画质重生输出的视频信息
18901
+ class RebuildMediaTargetVideoStream < TencentCloud::Common::AbstractModel
18902
+ # @param Codec: 视频流的编码格式,可选值:
18903
+ # <li>libx264:H.264 编码;</li>
18904
+ # <li>libx265:H.265 编码;</li>
18905
+ # <li>av1:AOMedia Video 1 编码。</li>
18906
+ # 默认视频流的编码格式为 H.264 编码。
18907
+ # @type Codec: String
18908
+ # @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
18909
+ # 当取值为 0,表示视频码率和原始视频保持一致。
18910
+ # @type Bitrate: Integer
18911
+ # @param Fps: 视频帧率,取值范围:[0, 100],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
18912
+ # @type Fps: Integer
18913
+ # @param ResolutionAdaptive: 分辨率自适应,可选值:
18914
+ # <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
18915
+ # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
18916
+
18917
+ # 默认值:open。
18918
+ # @type ResolutionAdaptive: String
18919
+ # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 8192],单位:px。
18920
+ # <li>当 Width、Height 均为 0,则分辨率同源;</li>
18921
+ # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
18922
+ # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
18923
+ # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
18924
+
18925
+ # 默认值:0。
18926
+ # @type Width: Integer
18927
+ # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 8192],单位:px。
18928
+ # <li>当 Width、Height 均为 0,则分辨率同源;</li>
18929
+ # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
18930
+ # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
18931
+ # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
18932
+
18933
+ # 默认值:0。
18934
+ # @type Height: Integer
18935
+ # @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
18936
+ # <li>stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
18937
+ # <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
18938
+
18939
+ # 默认值:stretch 。
18940
+ # @type FillType: String
18941
+ # @param Gop: 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。
18942
+ # 当填 0 或不填时,系统将自动设置 gop 长度。
18943
+ # @type Gop: Integer
18944
+
18945
+ attr_accessor :Codec, :Bitrate, :Fps, :ResolutionAdaptive, :Width, :Height, :FillType, :Gop
18946
+
18947
+ def initialize(codec=nil, bitrate=nil, fps=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, gop=nil)
18948
+ @Codec = codec
18949
+ @Bitrate = bitrate
18950
+ @Fps = fps
18951
+ @ResolutionAdaptive = resolutionadaptive
18952
+ @Width = width
18953
+ @Height = height
18954
+ @FillType = filltype
18955
+ @Gop = gop
18956
+ end
18957
+
18958
+ def deserialize(params)
18959
+ @Codec = params['Codec']
18960
+ @Bitrate = params['Bitrate']
18961
+ @Fps = params['Fps']
18962
+ @ResolutionAdaptive = params['ResolutionAdaptive']
18963
+ @Width = params['Width']
18964
+ @Height = params['Height']
18965
+ @FillType = params['FillType']
18966
+ @Gop = params['Gop']
18967
+ end
18968
+ end
18969
+
18970
+ # 音画质重生任务
18971
+ class RebuildMediaTask < TencentCloud::Common::AbstractModel
18972
+ # @param TaskId: 任务 ID。
18973
+ # @type TaskId: String
18974
+ # @param Status: 任务流状态,取值:
18975
+ # <li>PROCESSING:处理中;</li>
18976
+ # <li>FINISH:已完成。</li>
18977
+ # @type Status: String
18978
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败:
18979
+ # <li>40000:输入参数不合法,请检查输入参数;</li>
18980
+ # <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
18981
+ # <li>70000:内部服务错误,建议重试。</li>
18982
+ # @type ErrCode: Integer
18983
+ # @param Message: 错误信息。
18984
+ # @type Message: String
18985
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
18986
+ # @type ErrCodeExt: String
18987
+ # @param Progress: 音画质重生任务进度,取值范围 [0-100] 。
18988
+ # @type Progress: Integer
18989
+ # @param Input: 音画质重生任务的输入。
18990
+ # 注意:此字段可能返回 null,表示取不到有效值。
18991
+ # @type Input: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTaskInput`
18992
+ # @param Output: 音画质重生任务的输出。
18993
+ # 注意:此字段可能返回 null,表示取不到有效值。
18994
+ # @type Output: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTaskOutput`
18995
+ # @param MetaData: 音画质重生输出视频的元信息。
18996
+ # 注意:此字段可能返回 null,表示取不到有效值。
18997
+ # @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
18998
+ # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
18999
+ # @type SessionId: String
19000
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
19001
+ # @type SessionContext: String
19002
+
19003
+ attr_accessor :TaskId, :Status, :ErrCode, :Message, :ErrCodeExt, :Progress, :Input, :Output, :MetaData, :SessionId, :SessionContext
19004
+
19005
+ def initialize(taskid=nil, status=nil, errcode=nil, message=nil, errcodeext=nil, progress=nil, input=nil, output=nil, metadata=nil, sessionid=nil, sessioncontext=nil)
19006
+ @TaskId = taskid
19007
+ @Status = status
19008
+ @ErrCode = errcode
19009
+ @Message = message
19010
+ @ErrCodeExt = errcodeext
19011
+ @Progress = progress
19012
+ @Input = input
19013
+ @Output = output
19014
+ @MetaData = metadata
19015
+ @SessionId = sessionid
19016
+ @SessionContext = sessioncontext
19017
+ end
19018
+
19019
+ def deserialize(params)
19020
+ @TaskId = params['TaskId']
19021
+ @Status = params['Status']
19022
+ @ErrCode = params['ErrCode']
19023
+ @Message = params['Message']
19024
+ @ErrCodeExt = params['ErrCodeExt']
19025
+ @Progress = params['Progress']
19026
+ unless params['Input'].nil?
19027
+ @Input = RebuildMediaTaskInput.new
19028
+ @Input.deserialize(params['Input'])
19029
+ end
19030
+ unless params['Output'].nil?
19031
+ @Output = RebuildMediaTaskOutput.new
19032
+ @Output.deserialize(params['Output'])
19033
+ end
19034
+ unless params['MetaData'].nil?
19035
+ @MetaData = MediaMetaData.new
19036
+ @MetaData.deserialize(params['MetaData'])
19037
+ end
19038
+ @SessionId = params['SessionId']
19039
+ @SessionContext = params['SessionContext']
19040
+ end
19041
+ end
19042
+
19043
+ # 音画质重生任务的输入。
19044
+ class RebuildMediaTaskInput < TencentCloud::Common::AbstractModel
19045
+ # @param FileId: 媒体文件 ID。
19046
+ # @type FileId: String
19047
+ # @param StartTimeOffset: 起始偏移时间,单位:秒,不填表示从视频开始截取。
19048
+ # @type StartTimeOffset: Float
19049
+ # @param EndTimeOffset: 结束偏移时间,单位:秒,不填表示截取到视频末尾。
19050
+ # @type EndTimeOffset: Float
19051
+ # @param RepairInfo: 画质修复控制参数。
19052
+ # @type RepairInfo: :class:`Tencentcloud::Vod.v20180717.models.RepairInfo`
19053
+ # @param VideoFrameInterpolationInfo: 智能插帧控制参数。
19054
+ # @type VideoFrameInterpolationInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoFrameInterpolationInfo`
19055
+ # @param SuperResolutionInfo: 画面超分控制参数。
19056
+ # @type SuperResolutionInfo: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
19057
+ # @param HDRInfo: 高动态范围类型控制参数。
19058
+ # @type HDRInfo: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
19059
+ # @param VideoDenoiseInfo: 视频降噪控制参数。
19060
+ # @type VideoDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
19061
+ # @param AudioDenoiseInfo: 音频降噪控制参数。
19062
+ # @type AudioDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.AudioDenoiseInfo`
19063
+ # @param ColorInfo: 色彩增强控制参数。
19064
+ # @type ColorInfo: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
19065
+ # @param SharpInfo: 细节增强控制参数。
19066
+ # @type SharpInfo: :class:`Tencentcloud::Vod.v20180717.models.SharpEnhanceInfo`
19067
+ # @param FaceInfo: 人脸增强控制参数。
19068
+ # @type FaceInfo: :class:`Tencentcloud::Vod.v20180717.models.FaceEnhanceInfo`
19069
+ # @param LowLightInfo: 低光照控制参数。
19070
+ # @type LowLightInfo: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
19071
+ # @param ScratchRepairInfo: 去划痕控制参数。
19072
+ # @type ScratchRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
19073
+ # @param ArtifactRepairInfo: 去伪影(毛刺)控制参数。
19074
+ # @type ArtifactRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
19075
+ # @param TargetInfo: 音画质重生输出目标参数。
19076
+ # @type TargetInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetInfo`
19077
+
19078
+ attr_accessor :FileId, :StartTimeOffset, :EndTimeOffset, :RepairInfo, :VideoFrameInterpolationInfo, :SuperResolutionInfo, :HDRInfo, :VideoDenoiseInfo, :AudioDenoiseInfo, :ColorInfo, :SharpInfo, :FaceInfo, :LowLightInfo, :ScratchRepairInfo, :ArtifactRepairInfo, :TargetInfo
19079
+
19080
+ def initialize(fileid=nil, starttimeoffset=nil, endtimeoffset=nil, repairinfo=nil, videoframeinterpolationinfo=nil, superresolutioninfo=nil, hdrinfo=nil, videodenoiseinfo=nil, audiodenoiseinfo=nil, colorinfo=nil, sharpinfo=nil, faceinfo=nil, lowlightinfo=nil, scratchrepairinfo=nil, artifactrepairinfo=nil, targetinfo=nil)
19081
+ @FileId = fileid
19082
+ @StartTimeOffset = starttimeoffset
19083
+ @EndTimeOffset = endtimeoffset
19084
+ @RepairInfo = repairinfo
19085
+ @VideoFrameInterpolationInfo = videoframeinterpolationinfo
19086
+ @SuperResolutionInfo = superresolutioninfo
19087
+ @HDRInfo = hdrinfo
19088
+ @VideoDenoiseInfo = videodenoiseinfo
19089
+ @AudioDenoiseInfo = audiodenoiseinfo
19090
+ @ColorInfo = colorinfo
19091
+ @SharpInfo = sharpinfo
19092
+ @FaceInfo = faceinfo
19093
+ @LowLightInfo = lowlightinfo
19094
+ @ScratchRepairInfo = scratchrepairinfo
19095
+ @ArtifactRepairInfo = artifactrepairinfo
19096
+ @TargetInfo = targetinfo
19097
+ end
19098
+
19099
+ def deserialize(params)
19100
+ @FileId = params['FileId']
19101
+ @StartTimeOffset = params['StartTimeOffset']
19102
+ @EndTimeOffset = params['EndTimeOffset']
19103
+ unless params['RepairInfo'].nil?
19104
+ @RepairInfo = RepairInfo.new
19105
+ @RepairInfo.deserialize(params['RepairInfo'])
19106
+ end
19107
+ unless params['VideoFrameInterpolationInfo'].nil?
19108
+ @VideoFrameInterpolationInfo = VideoFrameInterpolationInfo.new
19109
+ @VideoFrameInterpolationInfo.deserialize(params['VideoFrameInterpolationInfo'])
19110
+ end
19111
+ unless params['SuperResolutionInfo'].nil?
19112
+ @SuperResolutionInfo = SuperResolutionInfo.new
19113
+ @SuperResolutionInfo.deserialize(params['SuperResolutionInfo'])
19114
+ end
19115
+ unless params['HDRInfo'].nil?
19116
+ @HDRInfo = HDRInfo.new
19117
+ @HDRInfo.deserialize(params['HDRInfo'])
19118
+ end
19119
+ unless params['VideoDenoiseInfo'].nil?
19120
+ @VideoDenoiseInfo = VideoDenoiseInfo.new
19121
+ @VideoDenoiseInfo.deserialize(params['VideoDenoiseInfo'])
19122
+ end
19123
+ unless params['AudioDenoiseInfo'].nil?
19124
+ @AudioDenoiseInfo = AudioDenoiseInfo.new
19125
+ @AudioDenoiseInfo.deserialize(params['AudioDenoiseInfo'])
19126
+ end
19127
+ unless params['ColorInfo'].nil?
19128
+ @ColorInfo = ColorEnhanceInfo.new
19129
+ @ColorInfo.deserialize(params['ColorInfo'])
19130
+ end
19131
+ unless params['SharpInfo'].nil?
19132
+ @SharpInfo = SharpEnhanceInfo.new
19133
+ @SharpInfo.deserialize(params['SharpInfo'])
19134
+ end
19135
+ unless params['FaceInfo'].nil?
19136
+ @FaceInfo = FaceEnhanceInfo.new
19137
+ @FaceInfo.deserialize(params['FaceInfo'])
19138
+ end
19139
+ unless params['LowLightInfo'].nil?
19140
+ @LowLightInfo = LowLightEnhanceInfo.new
19141
+ @LowLightInfo.deserialize(params['LowLightInfo'])
19142
+ end
19143
+ unless params['ScratchRepairInfo'].nil?
19144
+ @ScratchRepairInfo = ScratchRepairInfo.new
19145
+ @ScratchRepairInfo.deserialize(params['ScratchRepairInfo'])
19146
+ end
19147
+ unless params['ArtifactRepairInfo'].nil?
19148
+ @ArtifactRepairInfo = ArtifactRepairInfo.new
19149
+ @ArtifactRepairInfo.deserialize(params['ArtifactRepairInfo'])
19150
+ end
19151
+ unless params['TargetInfo'].nil?
19152
+ @TargetInfo = RebuildMediaTargetInfo.new
19153
+ @TargetInfo.deserialize(params['TargetInfo'])
19154
+ end
19155
+ end
19156
+ end
19157
+
19158
+ # 音画质重生任务输出
19159
+ class RebuildMediaTaskOutput < TencentCloud::Common::AbstractModel
19160
+ # @param FileType: 文件类型,例如 mp4、flv 等。
19161
+ # @type FileType: String
19162
+ # @param FileUrl: 媒体文件播放地址。
19163
+ # @type FileUrl: String
19164
+ # @param FileId: 媒体文件 ID。
19165
+ # @type FileId: String
19166
+ # @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
19167
+ # @type MediaName: String
19168
+ # @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
19169
+ # <li>默认值:0,表示其他分类。</li>
19170
+ # @type ClassId: Integer
19171
+ # @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
19172
+ # @type ExpireTime: String
19173
+
19174
+ attr_accessor :FileType, :FileUrl, :FileId, :MediaName, :ClassId, :ExpireTime
19175
+
19176
+ def initialize(filetype=nil, fileurl=nil, fileid=nil, medianame=nil, classid=nil, expiretime=nil)
19177
+ @FileType = filetype
19178
+ @FileUrl = fileurl
19179
+ @FileId = fileid
19180
+ @MediaName = medianame
19181
+ @ClassId = classid
19182
+ @ExpireTime = expiretime
19183
+ end
19184
+
19185
+ def deserialize(params)
19186
+ @FileType = params['FileType']
19187
+ @FileUrl = params['FileUrl']
19188
+ @FileId = params['FileId']
19189
+ @MediaName = params['MediaName']
19190
+ @ClassId = params['ClassId']
19191
+ @ExpireTime = params['ExpireTime']
19192
+ end
19193
+ end
19194
+
18622
19195
  # 降码率任务转自适应码流结果类型
18623
19196
  class ReduceMediaBitrateAdaptiveDynamicStreamingResult < TencentCloud::Common::AbstractModel
18624
19197
  # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
@@ -19041,6 +19614,32 @@ module TencentCloud
19041
19614
  end
19042
19615
  end
19043
19616
 
19617
+ # 画质修复控制参数
19618
+ class RepairInfo < TencentCloud::Common::AbstractModel
19619
+ # @param Switch: 画质修复控制开关,可选值:
19620
+ # <li>ON:开启画质修复;</li>
19621
+ # <li>OFF:关闭画质修复。</li>
19622
+ # @type Switch: String
19623
+ # @param Type: 画质修复类型,仅当画质修复控制开关为 ON 时有效,可选值:
19624
+ # <li>weak:轻画质修复;</li>
19625
+ # <li>normal:正常画质修复;</li>
19626
+ # <li>strong:强画质修复。</li>
19627
+ # 默认值:weak。
19628
+ # @type Type: String
19629
+
19630
+ attr_accessor :Switch, :Type
19631
+
19632
+ def initialize(switch=nil, type=nil)
19633
+ @Switch = switch
19634
+ @Type = type
19635
+ end
19636
+
19637
+ def deserialize(params)
19638
+ @Switch = params['Switch']
19639
+ @Type = params['Type']
19640
+ end
19641
+ end
19642
+
19044
19643
  # ResetProcedureTemplate请求参数结构体
19045
19644
  class ResetProcedureTemplateRequest < TencentCloud::Common::AbstractModel
19046
19645
  # @param Name: 任务流名字
@@ -19999,6 +20598,35 @@ module TencentCloud
19999
20598
  end
20000
20599
  end
20001
20600
 
20601
+ # 去划痕控制信息
20602
+ class ScratchRepairInfo < TencentCloud::Common::AbstractModel
20603
+ # @param Switch: 去划痕控制开关,可选值:
20604
+ # <li>ON:开启去划痕;</li>
20605
+ # <li>OFF:关闭去划痕。</li>
20606
+ # @type Switch: String
20607
+ # @param Intensity: 去划痕强度,仅当去划痕控制开关为 ON 时有效,取值范围:0.0~1.0。
20608
+ # 默认:0.0。
20609
+ # @type Intensity: Float
20610
+ # @param Type: 去划痕类型,仅当去划痕控制开关为 ON 时有效,可选值:
20611
+ # <li>normal:正常去划痕;</li>
20612
+ # 默认值:normal。
20613
+ # @type Type: String
20614
+
20615
+ attr_accessor :Switch, :Intensity, :Type
20616
+
20617
+ def initialize(switch=nil, intensity=nil, type=nil)
20618
+ @Switch = switch
20619
+ @Intensity = intensity
20620
+ @Type = type
20621
+ end
20622
+
20623
+ def deserialize(params)
20624
+ @Switch = params['Switch']
20625
+ @Intensity = params['Intensity']
20626
+ @Type = params['Type']
20627
+ end
20628
+ end
20629
+
20002
20630
  # SearchMedia请求参数结构体
20003
20631
  class SearchMediaRequest < TencentCloud::Common::AbstractModel
20004
20632
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
@@ -20287,6 +20915,29 @@ module TencentCloud
20287
20915
  end
20288
20916
  end
20289
20917
 
20918
+ # 细节增强控制
20919
+ class SharpEnhanceInfo < TencentCloud::Common::AbstractModel
20920
+ # @param Switch: 细节增强控制开关,可选值:
20921
+ # <li>ON:开启细节增强;</li>
20922
+ # <li>OFF:关闭细节增强。</li>
20923
+ # @type Switch: String
20924
+ # @param Intensity: 细节增强强度,仅当细节增强控制开关为 ON 时有效,取值范围:0.0~1.0。
20925
+ # 默认:0.0。
20926
+ # @type Intensity: Float
20927
+
20928
+ attr_accessor :Switch, :Intensity
20929
+
20930
+ def initialize(switch=nil, intensity=nil)
20931
+ @Switch = switch
20932
+ @Intensity = intensity
20933
+ end
20934
+
20935
+ def deserialize(params)
20936
+ @Switch = params['Switch']
20937
+ @Intensity = params['Intensity']
20938
+ end
20939
+ end
20940
+
20290
20941
  # 简单加密加解密密钥对。
20291
20942
  class SimpleAesEdkPair < TencentCloud::Common::AbstractModel
20292
20943
  # @param Edk: 加密后的数据密钥。
@@ -21120,6 +21771,37 @@ module TencentCloud
21120
21771
  end
21121
21772
  end
21122
21773
 
21774
+ # 画面超分控制参数
21775
+ class SuperResolutionInfo < TencentCloud::Common::AbstractModel
21776
+ # @param Switch: 画面超分控制开关,可选值:
21777
+ # <li>ON:开启画面超分;</li>
21778
+ # <li>OFF:关闭画面超分。</li>
21779
+ # 当开启画面超分时,默认2倍超分。
21780
+ # @type Switch: String
21781
+ # @param Type: 画面超分类型,仅当画面超分控制开关为 ON 时有效,可选值:
21782
+ # <li>lq:针对低清晰度有较多噪声视频的超分;</li>
21783
+ # <li>hq:针对高清晰度视频超分。</li>
21784
+ # 默认值:lq。
21785
+ # @type Type: String
21786
+ # @param Size: 超分倍数,可选值:2。
21787
+ # 默认值:2。
21788
+ # @type Size: Integer
21789
+
21790
+ attr_accessor :Switch, :Type, :Size
21791
+
21792
+ def initialize(switch=nil, type=nil, size=nil)
21793
+ @Switch = switch
21794
+ @Type = type
21795
+ @Size = size
21796
+ end
21797
+
21798
+ def deserialize(params)
21799
+ @Switch = params['Switch']
21800
+ @Type = params['Type']
21801
+ @Size = params['Size']
21802
+ end
21803
+ end
21804
+
21123
21805
  # SVG水印模板输入参数
21124
21806
  class SvgWatermarkInput < TencentCloud::Common::AbstractModel
21125
21807
  # @param Width: 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
@@ -22453,6 +23135,53 @@ module TencentCloud
22453
23135
  end
22454
23136
  end
22455
23137
 
23138
+ # 视频降噪控制参数
23139
+ class VideoDenoiseInfo < TencentCloud::Common::AbstractModel
23140
+ # @param Switch: 视频降噪控制开关,可选值:
23141
+ # <li>ON:开启视频降噪;</li>
23142
+ # <li>OFF:关闭视频降噪。</li>
23143
+ # @type Switch: String
23144
+ # @param Type: 视频降噪类型,仅当视频降噪控制开关为 ON 时有效,可选值:
23145
+ # <li>weak:轻视频降噪;</li>
23146
+ # <li>strong:强视频降噪。</li>
23147
+ # 默认值:weak。
23148
+ # @type Type: String
23149
+
23150
+ attr_accessor :Switch, :Type
23151
+
23152
+ def initialize(switch=nil, type=nil)
23153
+ @Switch = switch
23154
+ @Type = type
23155
+ end
23156
+
23157
+ def deserialize(params)
23158
+ @Switch = params['Switch']
23159
+ @Type = params['Type']
23160
+ end
23161
+ end
23162
+
23163
+ # 智能插帧控制参数
23164
+ class VideoFrameInterpolationInfo < TencentCloud::Common::AbstractModel
23165
+ # @param Switch: 智能插帧控制开关,可选值:
23166
+ # <li>ON:开启智能插帧;</li>
23167
+ # <li>OFF:关闭智能插帧。</li>
23168
+ # @type Switch: String
23169
+ # @param Fps: 智能插帧帧率,帧率范围为 (0, 60],仅当智能插帧控制开关为 ON 时有效。默认跟源文件帧率一致。
23170
+ # @type Fps: Integer
23171
+
23172
+ attr_accessor :Switch, :Fps
23173
+
23174
+ def initialize(switch=nil, fps=nil)
23175
+ @Switch = switch
23176
+ @Fps = fps
23177
+ end
23178
+
23179
+ def deserialize(params)
23180
+ @Switch = params['Switch']
23181
+ @Fps = params['Fps']
23182
+ end
23183
+ end
23184
+
22456
23185
  # 视频流配置参数
22457
23186
  class VideoTemplateInfo < TencentCloud::Common::AbstractModel
22458
23187
  # @param Codec: 视频流的编码格式,可选值:
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.509
4
+ version: 3.0.510
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-02-15 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common