tencentcloud-sdk-vod 3.0.509 → 3.0.511
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180717/client.rb +24 -0
- data/lib/v20180717/models.rb +1034 -135
- metadata +2 -2
data/lib/v20180717/models.rb
CHANGED
@@ -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: 音频流的编码格式。
|
@@ -4019,11 +4070,14 @@ module TencentCloud
|
|
4019
4070
|
# <li>libfdk_aac。</li>
|
4020
4071
|
# 当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:
|
4021
4072
|
# <li>libfdk_aac。</li>
|
4073
|
+
# 当外层参数 Container 为 wav 时,可选值为:
|
4074
|
+
# <li>pcm16。</li>
|
4022
4075
|
# @type Codec: String
|
4023
4076
|
# @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
|
4024
4077
|
# 当取值为 0,表示音频码率和原始音频保持一致。
|
4025
4078
|
# @type Bitrate: Integer
|
4026
4079
|
# @param SampleRate: 音频流的采样率,可选值:
|
4080
|
+
# <li>16000,仅当 Codec 为 pcm16 时可选。</li>
|
4027
4081
|
# <li>32000</li>
|
4028
4082
|
# <li>44100</li>
|
4029
4083
|
# <li>48000</li>
|
@@ -4073,10 +4127,13 @@ module TencentCloud
|
|
4073
4127
|
# <li>libfdk_aac。</li>
|
4074
4128
|
# 当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:
|
4075
4129
|
# <li>libfdk_aac。</li>
|
4130
|
+
# 当外层参数 Container 为 wav 时,可选值为:
|
4131
|
+
# <li>pcm16。</li>
|
4076
4132
|
# @type Codec: String
|
4077
4133
|
# @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
|
4078
4134
|
# @type Bitrate: Integer
|
4079
4135
|
# @param SampleRate: 音频流的采样率,可选值:
|
4136
|
+
# <li>16000,仅当 Codec 为 pcm16 时可选。</li>
|
4080
4137
|
# <li>32000</li>
|
4081
4138
|
# <li>44100</li>
|
4082
4139
|
# <li>48000</li>
|
@@ -4361,6 +4418,32 @@ module TencentCloud
|
|
4361
4418
|
end
|
4362
4419
|
end
|
4363
4420
|
|
4421
|
+
# 色彩增强控制参数
|
4422
|
+
class ColorEnhanceInfo < TencentCloud::Common::AbstractModel
|
4423
|
+
# @param Switch: 色彩增强控制开关,可选值:
|
4424
|
+
# <li>ON:开启综合增强;</li>
|
4425
|
+
# <li>OFF:关闭综合增强。</li>
|
4426
|
+
# @type Switch: String
|
4427
|
+
# @param Type: 色彩增强类型,仅当色彩增强控制开关为 ON 时有效,可选值:
|
4428
|
+
# <li>weak:轻色彩增强;</li>
|
4429
|
+
# <li>normal:正常色彩增强;</li>
|
4430
|
+
# <li>strong:强色彩增强。</li>
|
4431
|
+
# 默认值:weak。
|
4432
|
+
# @type Type: String
|
4433
|
+
|
4434
|
+
attr_accessor :Switch, :Type
|
4435
|
+
|
4436
|
+
def initialize(switch=nil, type=nil)
|
4437
|
+
@Switch = switch
|
4438
|
+
@Type = type
|
4439
|
+
end
|
4440
|
+
|
4441
|
+
def deserialize(params)
|
4442
|
+
@Switch = params['Switch']
|
4443
|
+
@Type = params['Type']
|
4444
|
+
end
|
4445
|
+
end
|
4446
|
+
|
4364
4447
|
# CommitUpload请求参数结构体
|
4365
4448
|
class CommitUploadRequest < TencentCloud::Common::AbstractModel
|
4366
4449
|
# @param VodSessionKey: 点播会话,取申请上传接口的返回值 VodSessionKey。
|
@@ -6460,7 +6543,7 @@ module TencentCloud
|
|
6460
6543
|
|
6461
6544
|
# CreateTranscodeTemplate请求参数结构体
|
6462
6545
|
class CreateTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
6463
|
-
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
6546
|
+
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a、wav。其中,mp3、flac、ogg、m4a、wav 为纯音频文件。
|
6464
6547
|
# @type Container: String
|
6465
6548
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6466
6549
|
# @type SubAppId: Integer
|
@@ -10049,7 +10132,8 @@ module TencentCloud
|
|
10049
10132
|
# <li>FastClipMedia:快速剪辑任务;</li>
|
10050
10133
|
# <li>RemoveWatermarkTask:智能去除水印任务;</li>
|
10051
10134
|
# <li>DescribeFileAttributesTask:获取文件属性任务;</li>
|
10052
|
-
# <li>
|
10135
|
+
# <li>RebuildMedia:音画质重生任务;</li>
|
10136
|
+
# <li>ReviewAudioVideo:音视频审核任务。</li>
|
10053
10137
|
# @type TaskType: String
|
10054
10138
|
# @param Status: 任务状态,取值:
|
10055
10139
|
# <li>WAITING:等待中;</li>
|
@@ -10101,6 +10185,9 @@ module TencentCloud
|
|
10101
10185
|
# @param RemoveWatermarkTask: 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
|
10102
10186
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10103
10187
|
# @type RemoveWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
|
10188
|
+
# @param RebuildMediaTask: 音画质重生任务信息,仅当 TaskType 为 RebuildMedia,该字段有值。
|
10189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10190
|
+
# @type RebuildMediaTask: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTask`
|
10104
10191
|
# @param ExtractTraceWatermarkTask: 提取溯源水印任务信息,仅当 TaskType 为 ExtractTraceWatermark,该字段有值。
|
10105
10192
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10106
10193
|
# @type ExtractTraceWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.ExtractTraceWatermarkTask`
|
@@ -10116,9 +10203,9 @@ module TencentCloud
|
|
10116
10203
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10117
10204
|
# @type RequestId: String
|
10118
10205
|
|
10119
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :ExtractTraceWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :RequestId
|
10206
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :RequestId
|
10120
10207
|
|
10121
|
-
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, extracttracewatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, requestid=nil)
|
10208
|
+
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, rebuildmediatask=nil, extracttracewatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, requestid=nil)
|
10122
10209
|
@TaskType = tasktype
|
10123
10210
|
@Status = status
|
10124
10211
|
@CreateTime = createtime
|
@@ -10137,6 +10224,7 @@ module TencentCloud
|
|
10137
10224
|
@CreateImageSpriteTask = createimagespritetask
|
10138
10225
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
10139
10226
|
@RemoveWatermarkTask = removewatermarktask
|
10227
|
+
@RebuildMediaTask = rebuildmediatask
|
10140
10228
|
@ExtractTraceWatermarkTask = extracttracewatermarktask
|
10141
10229
|
@ReviewAudioVideoTask = reviewaudiovideotask
|
10142
10230
|
@ReduceMediaBitrateTask = reducemediabitratetask
|
@@ -10202,6 +10290,10 @@ module TencentCloud
|
|
10202
10290
|
@RemoveWatermarkTask = RemoveWatermarkTask.new
|
10203
10291
|
@RemoveWatermarkTask.deserialize(params['RemoveWatermarkTask'])
|
10204
10292
|
end
|
10293
|
+
unless params['RebuildMediaTask'].nil?
|
10294
|
+
@RebuildMediaTask = RebuildMediaTask.new
|
10295
|
+
@RebuildMediaTask.deserialize(params['RebuildMediaTask'])
|
10296
|
+
end
|
10205
10297
|
unless params['ExtractTraceWatermarkTask'].nil?
|
10206
10298
|
@ExtractTraceWatermarkTask = ExtractTraceWatermarkTask.new
|
10207
10299
|
@ExtractTraceWatermarkTask.deserialize(params['ExtractTraceWatermarkTask'])
|
@@ -11161,13 +11253,14 @@ module TencentCloud
|
|
11161
11253
|
# <li>NewFileUpload:视频上传完成;</li>
|
11162
11254
|
# <li>ProcedureStateChanged:任务流状态变更;</li>
|
11163
11255
|
# <li>FileDeleted:视频删除完成;</li>
|
11256
|
+
# <li>RestoreMediaComplete:视频取回完成;</li>
|
11164
11257
|
# <li>PullComplete:视频转拉完成;</li>
|
11165
11258
|
# <li>EditMediaComplete:视频编辑完成;</li>
|
11166
11259
|
# <li>SplitMediaComplete:视频拆分完成;</li>
|
11167
|
-
# <li>WechatPublishComplete:微信发布完成;</li>
|
11168
11260
|
# <li>ComposeMediaComplete:制作媒体文件完成;</li>
|
11169
11261
|
# <li>WechatMiniProgramPublishComplete:微信小程序发布完成。</li>
|
11170
|
-
# <li>
|
11262
|
+
# <li>RemoveWatermark:智能去除水印完成。</li>
|
11263
|
+
# <li>RebuildMediaComplete:音画质重生完成事件。</li>
|
11171
11264
|
# <li>ReviewAudioVideoComplete:音视频审核完成;</li>
|
11172
11265
|
# <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
|
11173
11266
|
# <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
|
@@ -11193,7 +11286,7 @@ module TencentCloud
|
|
11193
11286
|
# @param EditMediaCompleteEvent: 视频编辑完成事件,当事件类型为 EditMediaComplete 时有效。
|
11194
11287
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11195
11288
|
# @type EditMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.EditMediaTask`
|
11196
|
-
# @param SplitMediaCompleteEvent:
|
11289
|
+
# @param SplitMediaCompleteEvent: 视频拆分完成事件,当事件类型为 SplitMediaComplete 时有效。
|
11197
11290
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11198
11291
|
# @type SplitMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.SplitMediaTask`
|
11199
11292
|
# @param ComposeMediaCompleteEvent: 制作媒体文件任务完成事件,当事件类型为 ComposeMediaComplete 时有效。
|
@@ -11220,13 +11313,16 @@ module TencentCloud
|
|
11220
11313
|
# @param WechatMiniProgramPublishCompleteEvent: 微信小程序发布任务完成事件,当事件类型为 WechatMiniProgramPublishComplete 时有效。
|
11221
11314
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11222
11315
|
# @type WechatMiniProgramPublishCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.WechatMiniProgramPublishTask`
|
11223
|
-
# @param RemoveWatermarkCompleteEvent:
|
11316
|
+
# @param RemoveWatermarkCompleteEvent: 智能去除水印完成事件,当事件类型为 RemoveWatermark 有效。
|
11224
11317
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11225
11318
|
# @type RemoveWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
|
11226
|
-
# @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
|
11319
|
+
# @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为 RestoreMediaComplete 时有效。
|
11227
11320
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11228
11321
|
# @type RestoreMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RestoreMediaTask`
|
11229
|
-
# @param
|
11322
|
+
# @param RebuildMediaCompleteEvent: 音画质重生完成事件,当事件类型为 RebuildMediaComplete 时有效。
|
11323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11324
|
+
# @type RebuildMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTask`
|
11325
|
+
# @param ExtractTraceWatermarkCompleteEvent: 溯源水印提取完成事件,当事件类型为 ExtractTraceWatermarkComplete 时有效。
|
11230
11326
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11231
11327
|
# @type ExtractTraceWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ExtractTraceWatermarkTask`
|
11232
11328
|
# @param ReviewAudioVideoCompleteEvent: 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
|
@@ -11239,9 +11335,9 @@ module TencentCloud
|
|
11239
11335
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11240
11336
|
# @type DescribeFileAttributesCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
|
11241
11337
|
|
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
|
11338
|
+
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
11339
|
|
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)
|
11340
|
+
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
11341
|
@EventHandle = eventhandle
|
11246
11342
|
@EventType = eventtype
|
11247
11343
|
@FileUploadEvent = fileuploadevent
|
@@ -11260,6 +11356,7 @@ module TencentCloud
|
|
11260
11356
|
@WechatMiniProgramPublishCompleteEvent = wechatminiprogrampublishcompleteevent
|
11261
11357
|
@RemoveWatermarkCompleteEvent = removewatermarkcompleteevent
|
11262
11358
|
@RestoreMediaCompleteEvent = restoremediacompleteevent
|
11359
|
+
@RebuildMediaCompleteEvent = rebuildmediacompleteevent
|
11263
11360
|
@ExtractTraceWatermarkCompleteEvent = extracttracewatermarkcompleteevent
|
11264
11361
|
@ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
|
11265
11362
|
@ReduceMediaBitrateCompleteEvent = reducemediabitratecompleteevent
|
@@ -11333,6 +11430,10 @@ module TencentCloud
|
|
11333
11430
|
@RestoreMediaCompleteEvent = RestoreMediaTask.new
|
11334
11431
|
@RestoreMediaCompleteEvent.deserialize(params['RestoreMediaCompleteEvent'])
|
11335
11432
|
end
|
11433
|
+
unless params['RebuildMediaCompleteEvent'].nil?
|
11434
|
+
@RebuildMediaCompleteEvent = RebuildMediaTask.new
|
11435
|
+
@RebuildMediaCompleteEvent.deserialize(params['RebuildMediaCompleteEvent'])
|
11436
|
+
end
|
11336
11437
|
unless params['ExtractTraceWatermarkCompleteEvent'].nil?
|
11337
11438
|
@ExtractTraceWatermarkCompleteEvent = ExtractTraceWatermarkTask.new
|
11338
11439
|
@ExtractTraceWatermarkCompleteEvent.deserialize(params['ExtractTraceWatermarkCompleteEvent'])
|
@@ -11647,6 +11748,29 @@ module TencentCloud
|
|
11647
11748
|
end
|
11648
11749
|
end
|
11649
11750
|
|
11751
|
+
# 人脸增强控制
|
11752
|
+
class FaceEnhanceInfo < TencentCloud::Common::AbstractModel
|
11753
|
+
# @param Switch: 人脸增强控制开关,可选值:
|
11754
|
+
# <li>ON:开启人脸增强;</li>
|
11755
|
+
# <li>OFF:关闭人脸增强。</li>
|
11756
|
+
# @type Switch: String
|
11757
|
+
# @param Intensity: 人脸增强强度,仅当人脸增强控制开关为 ON 时有效,取值范围:0.0~1.0。
|
11758
|
+
# 默认:0.0。
|
11759
|
+
# @type Intensity: Float
|
11760
|
+
|
11761
|
+
attr_accessor :Switch, :Intensity
|
11762
|
+
|
11763
|
+
def initialize(switch=nil, intensity=nil)
|
11764
|
+
@Switch = switch
|
11765
|
+
@Intensity = intensity
|
11766
|
+
end
|
11767
|
+
|
11768
|
+
def deserialize(params)
|
11769
|
+
@Switch = params['Switch']
|
11770
|
+
@Intensity = params['Intensity']
|
11771
|
+
end
|
11772
|
+
end
|
11773
|
+
|
11650
11774
|
# 文件删除结果信息
|
11651
11775
|
class FileDeleteResultItem < TencentCloud::Common::AbstractModel
|
11652
11776
|
# @param FileId: 删除的文件 ID 。
|
@@ -11861,6 +11985,34 @@ module TencentCloud
|
|
11861
11985
|
end
|
11862
11986
|
end
|
11863
11987
|
|
11988
|
+
# 高动态范围类型控制参数。
|
11989
|
+
class HDRInfo < TencentCloud::Common::AbstractModel
|
11990
|
+
# @param Switch: 高动态范围类型控制开关,可选值:
|
11991
|
+
# <li>ON:开启高动态范围类型转换;</li>
|
11992
|
+
# <li>OFF:关闭高动态范围类型转换。</li>
|
11993
|
+
# @type Switch: String
|
11994
|
+
# @param Type: 高动态范围类型,可选值:
|
11995
|
+
# <li>hdr10:表示 hdr10 标准;</li>
|
11996
|
+
# <li>hlg:表示 hlg 标准。</li>
|
11997
|
+
|
11998
|
+
# 注意:
|
11999
|
+
# <li> 仅当高动态范围类型控制开关为 ON 时有效;</li>
|
12000
|
+
# <li>当画质重生目标参数中指定视频输出参数的视频流编码格式 Codec 为 libx265 时有效。</li>
|
12001
|
+
# @type Type: String
|
12002
|
+
|
12003
|
+
attr_accessor :Switch, :Type
|
12004
|
+
|
12005
|
+
def initialize(switch=nil, type=nil)
|
12006
|
+
@Switch = switch
|
12007
|
+
@Type = type
|
12008
|
+
end
|
12009
|
+
|
12010
|
+
def deserialize(params)
|
12011
|
+
@Switch = params['Switch']
|
12012
|
+
@Type = params['Type']
|
12013
|
+
end
|
12014
|
+
end
|
12015
|
+
|
11864
12016
|
# 视频片头片尾识别任务控制参数
|
11865
12017
|
class HeadTailConfigureInfo < TencentCloud::Common::AbstractModel
|
11866
12018
|
# @param Switch: 视频片头片尾识别任务开关,可选值:
|
@@ -12643,6 +12795,30 @@ module TencentCloud
|
|
12643
12795
|
end
|
12644
12796
|
end
|
12645
12797
|
|
12798
|
+
# 低光照增强控制
|
12799
|
+
class LowLightEnhanceInfo < TencentCloud::Common::AbstractModel
|
12800
|
+
# @param Switch: 低光照增强控制开关,可选值:
|
12801
|
+
# <li>ON:开启低光照增强;</li>
|
12802
|
+
# <li>OFF:关闭低光照增强。</li>
|
12803
|
+
# @type Switch: String
|
12804
|
+
# @param Type: 低光照增强类型,仅当低光照增强控制开关为 ON 时有效,可选值:
|
12805
|
+
# <li>normal:正常低光照增强;</li>
|
12806
|
+
# 默认值:normal。
|
12807
|
+
# @type Type: String
|
12808
|
+
|
12809
|
+
attr_accessor :Switch, :Type
|
12810
|
+
|
12811
|
+
def initialize(switch=nil, type=nil)
|
12812
|
+
@Switch = switch
|
12813
|
+
@Type = type
|
12814
|
+
end
|
12815
|
+
|
12816
|
+
def deserialize(params)
|
12817
|
+
@Switch = params['Switch']
|
12818
|
+
@Type = params['Type']
|
12819
|
+
end
|
12820
|
+
end
|
12821
|
+
|
12646
12822
|
# ManageTask请求参数结构体
|
12647
12823
|
class ManageTaskRequest < TencentCloud::Common::AbstractModel
|
12648
12824
|
# @param TaskId: 视频处理的任务 ID。
|
@@ -16251,7 +16427,7 @@ module TencentCloud
|
|
16251
16427
|
# @type Definition: Integer
|
16252
16428
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
16253
16429
|
# @type SubAppId: Integer
|
16254
|
-
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
16430
|
+
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a、wav。其中,mp3、flac、ogg、m4a、wav 为纯音频文件。
|
16255
16431
|
# @type Container: String
|
16256
16432
|
# @param Name: 转码模板名称,长度限制:64 个字符。
|
16257
16433
|
# @type Name: String
|
@@ -18619,151 +18795,718 @@ module TencentCloud
|
|
18619
18795
|
end
|
18620
18796
|
end
|
18621
18797
|
|
18622
|
-
#
|
18623
|
-
class
|
18624
|
-
# @param
|
18625
|
-
# @type
|
18626
|
-
# @param
|
18627
|
-
# @type
|
18628
|
-
# @param
|
18629
|
-
# @type
|
18630
|
-
# @param
|
18631
|
-
# @type
|
18632
|
-
# @param
|
18633
|
-
# @type
|
18798
|
+
# RebuildMedia请求参数结构体
|
18799
|
+
class RebuildMediaRequest < TencentCloud::Common::AbstractModel
|
18800
|
+
# @param FileId: 媒体文件 ID。
|
18801
|
+
# @type FileId: String
|
18802
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
18803
|
+
# @type SubAppId: Integer
|
18804
|
+
# @param StartTimeOffset: 起始偏移时间,单位:秒,不填表示从视频开始截取。
|
18805
|
+
# @type StartTimeOffset: Float
|
18806
|
+
# @param EndTimeOffset: 结束偏移时间,单位:秒,不填表示截取到视频末尾。
|
18807
|
+
# @type EndTimeOffset: Float
|
18808
|
+
# @param RepairInfo: 画质修复控制参数。
|
18809
|
+
# @type RepairInfo: :class:`Tencentcloud::Vod.v20180717.models.RepairInfo`
|
18810
|
+
# @param VideoFrameInterpolationInfo: 智能插帧控制参数。
|
18811
|
+
# @type VideoFrameInterpolationInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoFrameInterpolationInfo`
|
18812
|
+
# @param SuperResolutionInfo: 画面超分控制参数。
|
18813
|
+
# @type SuperResolutionInfo: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
|
18814
|
+
# @param HDRInfo: 高动态范围类型控制参数。
|
18815
|
+
# @type HDRInfo: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
|
18816
|
+
# @param VideoDenoiseInfo: 视频降噪控制参数。
|
18817
|
+
# @type VideoDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
|
18818
|
+
# @param AudioDenoiseInfo: 音频降噪控制参数。
|
18819
|
+
# @type AudioDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.AudioDenoiseInfo`
|
18820
|
+
# @param ColorInfo: 色彩增强控制参数。
|
18821
|
+
# @type ColorInfo: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
|
18822
|
+
# @param SharpInfo: 细节增强控制参数。
|
18823
|
+
# @type SharpInfo: :class:`Tencentcloud::Vod.v20180717.models.SharpEnhanceInfo`
|
18824
|
+
# @param FaceInfo: 人脸增强控制参数。
|
18825
|
+
# @type FaceInfo: :class:`Tencentcloud::Vod.v20180717.models.FaceEnhanceInfo`
|
18826
|
+
# @param LowLightInfo: 低光照控制参数。
|
18827
|
+
# @type LowLightInfo: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
|
18828
|
+
# @param ScratchRepairInfo: 去划痕控制参数。
|
18829
|
+
# @type ScratchRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
|
18830
|
+
# @param ArtifactRepairInfo: 去伪影(毛刺)控制参数。
|
18831
|
+
# @type ArtifactRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
|
18832
|
+
# @param TargetInfo: 音画质重生输出目标参数。
|
18833
|
+
# @type TargetInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetInfo`
|
18834
|
+
# @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
18835
|
+
# @type SessionId: String
|
18836
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
18837
|
+
# @type SessionContext: String
|
18838
|
+
# @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
18839
|
+
# @type TasksPriority: Integer
|
18840
|
+
# @param ExtInfo: 保留字段,特殊用途时使用。
|
18841
|
+
# @type ExtInfo: String
|
18634
18842
|
|
18635
|
-
attr_accessor :
|
18843
|
+
attr_accessor :FileId, :SubAppId, :StartTimeOffset, :EndTimeOffset, :RepairInfo, :VideoFrameInterpolationInfo, :SuperResolutionInfo, :HDRInfo, :VideoDenoiseInfo, :AudioDenoiseInfo, :ColorInfo, :SharpInfo, :FaceInfo, :LowLightInfo, :ScratchRepairInfo, :ArtifactRepairInfo, :TargetInfo, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
|
18636
18844
|
|
18637
|
-
def initialize(
|
18638
|
-
@
|
18639
|
-
@
|
18640
|
-
@
|
18641
|
-
@
|
18642
|
-
@
|
18845
|
+
def initialize(fileid=nil, subappid=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, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
|
18846
|
+
@FileId = fileid
|
18847
|
+
@SubAppId = subappid
|
18848
|
+
@StartTimeOffset = starttimeoffset
|
18849
|
+
@EndTimeOffset = endtimeoffset
|
18850
|
+
@RepairInfo = repairinfo
|
18851
|
+
@VideoFrameInterpolationInfo = videoframeinterpolationinfo
|
18852
|
+
@SuperResolutionInfo = superresolutioninfo
|
18853
|
+
@HDRInfo = hdrinfo
|
18854
|
+
@VideoDenoiseInfo = videodenoiseinfo
|
18855
|
+
@AudioDenoiseInfo = audiodenoiseinfo
|
18856
|
+
@ColorInfo = colorinfo
|
18857
|
+
@SharpInfo = sharpinfo
|
18858
|
+
@FaceInfo = faceinfo
|
18859
|
+
@LowLightInfo = lowlightinfo
|
18860
|
+
@ScratchRepairInfo = scratchrepairinfo
|
18861
|
+
@ArtifactRepairInfo = artifactrepairinfo
|
18862
|
+
@TargetInfo = targetinfo
|
18863
|
+
@SessionId = sessionid
|
18864
|
+
@SessionContext = sessioncontext
|
18865
|
+
@TasksPriority = taskspriority
|
18866
|
+
@ExtInfo = extinfo
|
18643
18867
|
end
|
18644
18868
|
|
18645
18869
|
def deserialize(params)
|
18646
|
-
@
|
18647
|
-
@
|
18648
|
-
@
|
18649
|
-
|
18650
|
-
|
18651
|
-
@
|
18870
|
+
@FileId = params['FileId']
|
18871
|
+
@SubAppId = params['SubAppId']
|
18872
|
+
@StartTimeOffset = params['StartTimeOffset']
|
18873
|
+
@EndTimeOffset = params['EndTimeOffset']
|
18874
|
+
unless params['RepairInfo'].nil?
|
18875
|
+
@RepairInfo = RepairInfo.new
|
18876
|
+
@RepairInfo.deserialize(params['RepairInfo'])
|
18652
18877
|
end
|
18653
|
-
unless params['
|
18654
|
-
@
|
18655
|
-
@
|
18878
|
+
unless params['VideoFrameInterpolationInfo'].nil?
|
18879
|
+
@VideoFrameInterpolationInfo = VideoFrameInterpolationInfo.new
|
18880
|
+
@VideoFrameInterpolationInfo.deserialize(params['VideoFrameInterpolationInfo'])
|
18656
18881
|
end
|
18657
|
-
|
18658
|
-
|
18659
|
-
|
18660
|
-
# 降码率任务结果
|
18661
|
-
class ReduceMediaBitrateMediaProcessTaskResult < TencentCloud::Common::AbstractModel
|
18662
|
-
# @param Type: 任务的类型,可以取的值有:
|
18663
|
-
# <li>Transcode:转码</li>
|
18664
|
-
# <li>AdaptiveDynamicStreaming:自适应码流</li>
|
18665
|
-
# @type Type: String
|
18666
|
-
# @param TranscodeTask: 降码率任务中视频转码任务的查询结果,当任务类型为 Transcode 时有效。
|
18667
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
18668
|
-
# @type TranscodeTask: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateTranscodeResult`
|
18669
|
-
# @param AdaptiveDynamicStreamingTask: 降码率任务中对视频转自适应码流任务的查询结果,当任务类型为 AdaptiveDynamicStreaming 时有效。
|
18670
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
18671
|
-
# @type AdaptiveDynamicStreamingTask: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateAdaptiveDynamicStreamingResult`
|
18672
|
-
|
18673
|
-
attr_accessor :Type, :TranscodeTask, :AdaptiveDynamicStreamingTask
|
18674
|
-
|
18675
|
-
def initialize(type=nil, transcodetask=nil, adaptivedynamicstreamingtask=nil)
|
18676
|
-
@Type = type
|
18677
|
-
@TranscodeTask = transcodetask
|
18678
|
-
@AdaptiveDynamicStreamingTask = adaptivedynamicstreamingtask
|
18679
|
-
end
|
18680
|
-
|
18681
|
-
def deserialize(params)
|
18682
|
-
@Type = params['Type']
|
18683
|
-
unless params['TranscodeTask'].nil?
|
18684
|
-
@TranscodeTask = ReduceMediaBitrateTranscodeResult.new
|
18685
|
-
@TranscodeTask.deserialize(params['TranscodeTask'])
|
18882
|
+
unless params['SuperResolutionInfo'].nil?
|
18883
|
+
@SuperResolutionInfo = SuperResolutionInfo.new
|
18884
|
+
@SuperResolutionInfo.deserialize(params['SuperResolutionInfo'])
|
18686
18885
|
end
|
18687
|
-
unless params['
|
18688
|
-
@
|
18689
|
-
@
|
18886
|
+
unless params['HDRInfo'].nil?
|
18887
|
+
@HDRInfo = HDRInfo.new
|
18888
|
+
@HDRInfo.deserialize(params['HDRInfo'])
|
18889
|
+
end
|
18890
|
+
unless params['VideoDenoiseInfo'].nil?
|
18891
|
+
@VideoDenoiseInfo = VideoDenoiseInfo.new
|
18892
|
+
@VideoDenoiseInfo.deserialize(params['VideoDenoiseInfo'])
|
18690
18893
|
end
|
18894
|
+
unless params['AudioDenoiseInfo'].nil?
|
18895
|
+
@AudioDenoiseInfo = AudioDenoiseInfo.new
|
18896
|
+
@AudioDenoiseInfo.deserialize(params['AudioDenoiseInfo'])
|
18897
|
+
end
|
18898
|
+
unless params['ColorInfo'].nil?
|
18899
|
+
@ColorInfo = ColorEnhanceInfo.new
|
18900
|
+
@ColorInfo.deserialize(params['ColorInfo'])
|
18901
|
+
end
|
18902
|
+
unless params['SharpInfo'].nil?
|
18903
|
+
@SharpInfo = SharpEnhanceInfo.new
|
18904
|
+
@SharpInfo.deserialize(params['SharpInfo'])
|
18905
|
+
end
|
18906
|
+
unless params['FaceInfo'].nil?
|
18907
|
+
@FaceInfo = FaceEnhanceInfo.new
|
18908
|
+
@FaceInfo.deserialize(params['FaceInfo'])
|
18909
|
+
end
|
18910
|
+
unless params['LowLightInfo'].nil?
|
18911
|
+
@LowLightInfo = LowLightEnhanceInfo.new
|
18912
|
+
@LowLightInfo.deserialize(params['LowLightInfo'])
|
18913
|
+
end
|
18914
|
+
unless params['ScratchRepairInfo'].nil?
|
18915
|
+
@ScratchRepairInfo = ScratchRepairInfo.new
|
18916
|
+
@ScratchRepairInfo.deserialize(params['ScratchRepairInfo'])
|
18917
|
+
end
|
18918
|
+
unless params['ArtifactRepairInfo'].nil?
|
18919
|
+
@ArtifactRepairInfo = ArtifactRepairInfo.new
|
18920
|
+
@ArtifactRepairInfo.deserialize(params['ArtifactRepairInfo'])
|
18921
|
+
end
|
18922
|
+
unless params['TargetInfo'].nil?
|
18923
|
+
@TargetInfo = RebuildMediaTargetInfo.new
|
18924
|
+
@TargetInfo.deserialize(params['TargetInfo'])
|
18925
|
+
end
|
18926
|
+
@SessionId = params['SessionId']
|
18927
|
+
@SessionContext = params['SessionContext']
|
18928
|
+
@TasksPriority = params['TasksPriority']
|
18929
|
+
@ExtInfo = params['ExtInfo']
|
18691
18930
|
end
|
18692
18931
|
end
|
18693
18932
|
|
18694
|
-
#
|
18695
|
-
class
|
18696
|
-
# @param TaskId:
|
18933
|
+
# RebuildMedia返回参数结构体
|
18934
|
+
class RebuildMediaResponse < TencentCloud::Common::AbstractModel
|
18935
|
+
# @param TaskId: 音画质重生的任务 ID,可以通过该 ID 查询音画质重生任务的状态。
|
18697
18936
|
# @type TaskId: String
|
18698
|
-
# @param
|
18699
|
-
#
|
18700
|
-
# <li>FINISH:已完成。</li>
|
18701
|
-
# @type Status: String
|
18702
|
-
# @param FileId: 媒体文件 ID。
|
18703
|
-
# @type FileId: String
|
18704
|
-
# @param FileName: 媒体文件名称。
|
18705
|
-
# @type FileName: String
|
18706
|
-
# @param FileUrl: 媒体文件地址。
|
18707
|
-
# @type FileUrl: String
|
18708
|
-
# @param MetaData: 原始视频的元信息。
|
18709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
18710
|
-
# @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
|
18711
|
-
# @param MediaProcessResultSet: 降码率任务执行状态与结果。
|
18712
|
-
# @type MediaProcessResultSet: Array
|
18713
|
-
# @param TasksPriority: 任务流的优先级,取值范围为 [-10, 10]。
|
18714
|
-
# @type TasksPriority: Integer
|
18715
|
-
# @param TasksNotifyMode: 任务流状态变更通知模式。
|
18716
|
-
# <li>Finish:只有当任务流全部执行完毕时,才发起一次事件通知;</li>
|
18717
|
-
# <li>None:不接受该任务流回调。</li>
|
18718
|
-
# @type TasksNotifyMode: String
|
18719
|
-
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
18720
|
-
# @type SessionContext: String
|
18721
|
-
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
18722
|
-
# @type SessionId: String
|
18937
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
18938
|
+
# @type RequestId: String
|
18723
18939
|
|
18724
|
-
attr_accessor :TaskId, :
|
18940
|
+
attr_accessor :TaskId, :RequestId
|
18725
18941
|
|
18726
|
-
def initialize(taskid=nil,
|
18942
|
+
def initialize(taskid=nil, requestid=nil)
|
18727
18943
|
@TaskId = taskid
|
18728
|
-
@
|
18729
|
-
@FileId = fileid
|
18730
|
-
@FileName = filename
|
18731
|
-
@FileUrl = fileurl
|
18732
|
-
@MetaData = metadata
|
18733
|
-
@MediaProcessResultSet = mediaprocessresultset
|
18734
|
-
@TasksPriority = taskspriority
|
18735
|
-
@TasksNotifyMode = tasksnotifymode
|
18736
|
-
@SessionContext = sessioncontext
|
18737
|
-
@SessionId = sessionid
|
18944
|
+
@RequestId = requestid
|
18738
18945
|
end
|
18739
18946
|
|
18740
18947
|
def deserialize(params)
|
18741
18948
|
@TaskId = params['TaskId']
|
18742
|
-
@
|
18743
|
-
@FileId = params['FileId']
|
18744
|
-
@FileName = params['FileName']
|
18745
|
-
@FileUrl = params['FileUrl']
|
18746
|
-
unless params['MetaData'].nil?
|
18747
|
-
@MetaData = MediaMetaData.new
|
18748
|
-
@MetaData.deserialize(params['MetaData'])
|
18749
|
-
end
|
18750
|
-
unless params['MediaProcessResultSet'].nil?
|
18751
|
-
@MediaProcessResultSet = []
|
18752
|
-
params['MediaProcessResultSet'].each do |i|
|
18753
|
-
reducemediabitratemediaprocesstaskresult_tmp = ReduceMediaBitrateMediaProcessTaskResult.new
|
18754
|
-
reducemediabitratemediaprocesstaskresult_tmp.deserialize(i)
|
18755
|
-
@MediaProcessResultSet << reducemediabitratemediaprocesstaskresult_tmp
|
18756
|
-
end
|
18757
|
-
end
|
18758
|
-
@TasksPriority = params['TasksPriority']
|
18759
|
-
@TasksNotifyMode = params['TasksNotifyMode']
|
18760
|
-
@SessionContext = params['SessionContext']
|
18761
|
-
@SessionId = params['SessionId']
|
18949
|
+
@RequestId = params['RequestId']
|
18762
18950
|
end
|
18763
18951
|
end
|
18764
18952
|
|
18765
|
-
#
|
18766
|
-
class
|
18953
|
+
# 画质重生输出的音频信息
|
18954
|
+
class RebuildMediaTargetAudioStream < TencentCloud::Common::AbstractModel
|
18955
|
+
# @param Codec: 音频流的编码格式。
|
18956
|
+
# 当外层参数 Container 为 mp3 时,可选值为:
|
18957
|
+
# <li>libmp3lame。</li>
|
18958
|
+
# 当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
18959
|
+
# <li>flac。</li>
|
18960
|
+
# 当外层参数 Container 为 m4a 时,可选值为:
|
18961
|
+
# <li>libfdk_aac;</li>
|
18962
|
+
# <li>libmp3lame;</li>
|
18963
|
+
# <li>ac3。</li>
|
18964
|
+
# 当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
18965
|
+
# <li>libfdk_aac:更适合 mp4;</li>
|
18966
|
+
# <li>libmp3lame:更适合 flv;</li>
|
18967
|
+
# <li>mp2。</li>
|
18968
|
+
# 当外层参数 Container 为 hls 时,可选值为:
|
18969
|
+
# <li>libfdk_aac。</li>
|
18970
|
+
# @type Codec: String
|
18971
|
+
# @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
|
18972
|
+
# 当取值为 0,表示音频码率和原始音频保持一致。
|
18973
|
+
# @type Bitrate: Integer
|
18974
|
+
# @param SampleRate: 音频流的采样率,可选值:
|
18975
|
+
# <li>32000</li>
|
18976
|
+
# <li>44100</li>
|
18977
|
+
# <li>48000</li>
|
18978
|
+
|
18979
|
+
# 单位:Hz。
|
18980
|
+
# @type SampleRate: Integer
|
18981
|
+
# @param AudioChannel: 音频通道方式,可选值:
|
18982
|
+
# <li>1:单通道</li>
|
18983
|
+
# <li>2:双通道</li>
|
18984
|
+
# <li>6:立体声</li>
|
18985
|
+
|
18986
|
+
# 当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
|
18987
|
+
# 默认值:2。
|
18988
|
+
# @type AudioChannel: Integer
|
18989
|
+
|
18990
|
+
attr_accessor :Codec, :Bitrate, :SampleRate, :AudioChannel
|
18991
|
+
|
18992
|
+
def initialize(codec=nil, bitrate=nil, samplerate=nil, audiochannel=nil)
|
18993
|
+
@Codec = codec
|
18994
|
+
@Bitrate = bitrate
|
18995
|
+
@SampleRate = samplerate
|
18996
|
+
@AudioChannel = audiochannel
|
18997
|
+
end
|
18998
|
+
|
18999
|
+
def deserialize(params)
|
19000
|
+
@Codec = params['Codec']
|
19001
|
+
@Bitrate = params['Bitrate']
|
19002
|
+
@SampleRate = params['SampleRate']
|
19003
|
+
@AudioChannel = params['AudioChannel']
|
19004
|
+
end
|
19005
|
+
end
|
19006
|
+
|
19007
|
+
# 画质重生目标参数
|
19008
|
+
class RebuildMediaTargetInfo < TencentCloud::Common::AbstractModel
|
19009
|
+
# @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
19010
|
+
# @type MediaName: String
|
19011
|
+
# @param Description: 描述信息,最长 128 个字符。缺省描述信息为空。
|
19012
|
+
# @type Description: String
|
19013
|
+
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
19014
|
+
# <li>默认值:0,表示其他分类。</li>
|
19015
|
+
# @type ClassId: Integer
|
19016
|
+
# @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
19017
|
+
# @type ExpireTime: String
|
19018
|
+
# @param Container: 输出文件封装格式,可选值:mp4、flv、hls。默认mp4。
|
19019
|
+
# @type Container: String
|
19020
|
+
# @param VideoStream: 输出的视频信息。
|
19021
|
+
# @type VideoStream: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
|
19022
|
+
# @param AudioStream: 输出的音频信息。
|
19023
|
+
# @type AudioStream: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
|
19024
|
+
# @param RemoveVideo: 是否去除视频数据,可选值:
|
19025
|
+
# <li>0:保留</li>
|
19026
|
+
# <li>1:去除</li>
|
19027
|
+
|
19028
|
+
# 默认值:0。
|
19029
|
+
# @type RemoveVideo: Integer
|
19030
|
+
# @param RemoveAudio: 是否去除音频数据,可选值:
|
19031
|
+
# <li>0:保留</li>
|
19032
|
+
# <li>1:去除</li>
|
19033
|
+
|
19034
|
+
# 默认值:0。
|
19035
|
+
# @type RemoveAudio: Integer
|
19036
|
+
|
19037
|
+
attr_accessor :MediaName, :Description, :ClassId, :ExpireTime, :Container, :VideoStream, :AudioStream, :RemoveVideo, :RemoveAudio
|
19038
|
+
|
19039
|
+
def initialize(medianame=nil, description=nil, classid=nil, expiretime=nil, container=nil, videostream=nil, audiostream=nil, removevideo=nil, removeaudio=nil)
|
19040
|
+
@MediaName = medianame
|
19041
|
+
@Description = description
|
19042
|
+
@ClassId = classid
|
19043
|
+
@ExpireTime = expiretime
|
19044
|
+
@Container = container
|
19045
|
+
@VideoStream = videostream
|
19046
|
+
@AudioStream = audiostream
|
19047
|
+
@RemoveVideo = removevideo
|
19048
|
+
@RemoveAudio = removeaudio
|
19049
|
+
end
|
19050
|
+
|
19051
|
+
def deserialize(params)
|
19052
|
+
@MediaName = params['MediaName']
|
19053
|
+
@Description = params['Description']
|
19054
|
+
@ClassId = params['ClassId']
|
19055
|
+
@ExpireTime = params['ExpireTime']
|
19056
|
+
@Container = params['Container']
|
19057
|
+
unless params['VideoStream'].nil?
|
19058
|
+
@VideoStream = RebuildMediaTargetVideoStream.new
|
19059
|
+
@VideoStream.deserialize(params['VideoStream'])
|
19060
|
+
end
|
19061
|
+
unless params['AudioStream'].nil?
|
19062
|
+
@AudioStream = RebuildMediaTargetAudioStream.new
|
19063
|
+
@AudioStream.deserialize(params['AudioStream'])
|
19064
|
+
end
|
19065
|
+
@RemoveVideo = params['RemoveVideo']
|
19066
|
+
@RemoveAudio = params['RemoveAudio']
|
19067
|
+
end
|
19068
|
+
end
|
19069
|
+
|
19070
|
+
# 画质重生输出的视频信息
|
19071
|
+
class RebuildMediaTargetVideoStream < TencentCloud::Common::AbstractModel
|
19072
|
+
# @param Codec: 视频流的编码格式,可选值:
|
19073
|
+
# <li>libx264:H.264 编码;</li>
|
19074
|
+
# <li>libx265:H.265 编码;</li>
|
19075
|
+
# <li>av1:AOMedia Video 1 编码。</li>
|
19076
|
+
# 默认视频流的编码格式为 H.264 编码。
|
19077
|
+
# @type Codec: String
|
19078
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
19079
|
+
# 当取值为 0,表示视频码率和原始视频保持一致。
|
19080
|
+
# @type Bitrate: Integer
|
19081
|
+
# @param Fps: 视频帧率,取值范围:[0, 100],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
|
19082
|
+
# @type Fps: Integer
|
19083
|
+
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
19084
|
+
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
19085
|
+
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
19086
|
+
|
19087
|
+
# 默认值:open。
|
19088
|
+
# @type ResolutionAdaptive: String
|
19089
|
+
# @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 8192],单位:px。
|
19090
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
19091
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
19092
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
19093
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
19094
|
+
|
19095
|
+
# 默认值:0。
|
19096
|
+
# @type Width: Integer
|
19097
|
+
# @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 8192],单位:px。
|
19098
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
19099
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
19100
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
19101
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
19102
|
+
|
19103
|
+
# 默认值:0。
|
19104
|
+
# @type Height: Integer
|
19105
|
+
# @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
|
19106
|
+
# <li>stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
19107
|
+
# <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
19108
|
+
|
19109
|
+
# 默认值:stretch 。
|
19110
|
+
# @type FillType: String
|
19111
|
+
# @param Gop: 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。
|
19112
|
+
# 当填 0 或不填时,系统将自动设置 gop 长度。
|
19113
|
+
# @type Gop: Integer
|
19114
|
+
|
19115
|
+
attr_accessor :Codec, :Bitrate, :Fps, :ResolutionAdaptive, :Width, :Height, :FillType, :Gop
|
19116
|
+
|
19117
|
+
def initialize(codec=nil, bitrate=nil, fps=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, gop=nil)
|
19118
|
+
@Codec = codec
|
19119
|
+
@Bitrate = bitrate
|
19120
|
+
@Fps = fps
|
19121
|
+
@ResolutionAdaptive = resolutionadaptive
|
19122
|
+
@Width = width
|
19123
|
+
@Height = height
|
19124
|
+
@FillType = filltype
|
19125
|
+
@Gop = gop
|
19126
|
+
end
|
19127
|
+
|
19128
|
+
def deserialize(params)
|
19129
|
+
@Codec = params['Codec']
|
19130
|
+
@Bitrate = params['Bitrate']
|
19131
|
+
@Fps = params['Fps']
|
19132
|
+
@ResolutionAdaptive = params['ResolutionAdaptive']
|
19133
|
+
@Width = params['Width']
|
19134
|
+
@Height = params['Height']
|
19135
|
+
@FillType = params['FillType']
|
19136
|
+
@Gop = params['Gop']
|
19137
|
+
end
|
19138
|
+
end
|
19139
|
+
|
19140
|
+
# 音画质重生任务
|
19141
|
+
class RebuildMediaTask < TencentCloud::Common::AbstractModel
|
19142
|
+
# @param TaskId: 任务 ID。
|
19143
|
+
# @type TaskId: String
|
19144
|
+
# @param Status: 任务流状态,取值:
|
19145
|
+
# <li>PROCESSING:处理中;</li>
|
19146
|
+
# <li>FINISH:已完成。</li>
|
19147
|
+
# @type Status: String
|
19148
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败:
|
19149
|
+
# <li>40000:输入参数不合法,请检查输入参数;</li>
|
19150
|
+
# <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
19151
|
+
# <li>70000:内部服务错误,建议重试。</li>
|
19152
|
+
# @type ErrCode: Integer
|
19153
|
+
# @param Message: 错误信息。
|
19154
|
+
# @type Message: String
|
19155
|
+
# @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) 列表。
|
19156
|
+
# @type ErrCodeExt: String
|
19157
|
+
# @param Progress: 音画质重生任务进度,取值范围 [0-100] 。
|
19158
|
+
# @type Progress: Integer
|
19159
|
+
# @param Input: 音画质重生任务的输入。
|
19160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19161
|
+
# @type Input: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTaskInput`
|
19162
|
+
# @param Output: 音画质重生任务的输出。
|
19163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19164
|
+
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTaskOutput`
|
19165
|
+
# @param MetaData: 音画质重生输出视频的元信息。
|
19166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19167
|
+
# @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
|
19168
|
+
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
19169
|
+
# @type SessionId: String
|
19170
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
19171
|
+
# @type SessionContext: String
|
19172
|
+
|
19173
|
+
attr_accessor :TaskId, :Status, :ErrCode, :Message, :ErrCodeExt, :Progress, :Input, :Output, :MetaData, :SessionId, :SessionContext
|
19174
|
+
|
19175
|
+
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, errcodeext=nil, progress=nil, input=nil, output=nil, metadata=nil, sessionid=nil, sessioncontext=nil)
|
19176
|
+
@TaskId = taskid
|
19177
|
+
@Status = status
|
19178
|
+
@ErrCode = errcode
|
19179
|
+
@Message = message
|
19180
|
+
@ErrCodeExt = errcodeext
|
19181
|
+
@Progress = progress
|
19182
|
+
@Input = input
|
19183
|
+
@Output = output
|
19184
|
+
@MetaData = metadata
|
19185
|
+
@SessionId = sessionid
|
19186
|
+
@SessionContext = sessioncontext
|
19187
|
+
end
|
19188
|
+
|
19189
|
+
def deserialize(params)
|
19190
|
+
@TaskId = params['TaskId']
|
19191
|
+
@Status = params['Status']
|
19192
|
+
@ErrCode = params['ErrCode']
|
19193
|
+
@Message = params['Message']
|
19194
|
+
@ErrCodeExt = params['ErrCodeExt']
|
19195
|
+
@Progress = params['Progress']
|
19196
|
+
unless params['Input'].nil?
|
19197
|
+
@Input = RebuildMediaTaskInput.new
|
19198
|
+
@Input.deserialize(params['Input'])
|
19199
|
+
end
|
19200
|
+
unless params['Output'].nil?
|
19201
|
+
@Output = RebuildMediaTaskOutput.new
|
19202
|
+
@Output.deserialize(params['Output'])
|
19203
|
+
end
|
19204
|
+
unless params['MetaData'].nil?
|
19205
|
+
@MetaData = MediaMetaData.new
|
19206
|
+
@MetaData.deserialize(params['MetaData'])
|
19207
|
+
end
|
19208
|
+
@SessionId = params['SessionId']
|
19209
|
+
@SessionContext = params['SessionContext']
|
19210
|
+
end
|
19211
|
+
end
|
19212
|
+
|
19213
|
+
# 音画质重生任务的输入。
|
19214
|
+
class RebuildMediaTaskInput < TencentCloud::Common::AbstractModel
|
19215
|
+
# @param FileId: 媒体文件 ID。
|
19216
|
+
# @type FileId: String
|
19217
|
+
# @param StartTimeOffset: 起始偏移时间,单位:秒,不填表示从视频开始截取。
|
19218
|
+
# @type StartTimeOffset: Float
|
19219
|
+
# @param EndTimeOffset: 结束偏移时间,单位:秒,不填表示截取到视频末尾。
|
19220
|
+
# @type EndTimeOffset: Float
|
19221
|
+
# @param RepairInfo: 画质修复控制参数。
|
19222
|
+
# @type RepairInfo: :class:`Tencentcloud::Vod.v20180717.models.RepairInfo`
|
19223
|
+
# @param VideoFrameInterpolationInfo: 智能插帧控制参数。
|
19224
|
+
# @type VideoFrameInterpolationInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoFrameInterpolationInfo`
|
19225
|
+
# @param SuperResolutionInfo: 画面超分控制参数。
|
19226
|
+
# @type SuperResolutionInfo: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
|
19227
|
+
# @param HDRInfo: 高动态范围类型控制参数。
|
19228
|
+
# @type HDRInfo: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
|
19229
|
+
# @param VideoDenoiseInfo: 视频降噪控制参数。
|
19230
|
+
# @type VideoDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
|
19231
|
+
# @param AudioDenoiseInfo: 音频降噪控制参数。
|
19232
|
+
# @type AudioDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.AudioDenoiseInfo`
|
19233
|
+
# @param ColorInfo: 色彩增强控制参数。
|
19234
|
+
# @type ColorInfo: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
|
19235
|
+
# @param SharpInfo: 细节增强控制参数。
|
19236
|
+
# @type SharpInfo: :class:`Tencentcloud::Vod.v20180717.models.SharpEnhanceInfo`
|
19237
|
+
# @param FaceInfo: 人脸增强控制参数。
|
19238
|
+
# @type FaceInfo: :class:`Tencentcloud::Vod.v20180717.models.FaceEnhanceInfo`
|
19239
|
+
# @param LowLightInfo: 低光照控制参数。
|
19240
|
+
# @type LowLightInfo: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
|
19241
|
+
# @param ScratchRepairInfo: 去划痕控制参数。
|
19242
|
+
# @type ScratchRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
|
19243
|
+
# @param ArtifactRepairInfo: 去伪影(毛刺)控制参数。
|
19244
|
+
# @type ArtifactRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
|
19245
|
+
# @param TargetInfo: 音画质重生输出目标参数。
|
19246
|
+
# @type TargetInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetInfo`
|
19247
|
+
|
19248
|
+
attr_accessor :FileId, :StartTimeOffset, :EndTimeOffset, :RepairInfo, :VideoFrameInterpolationInfo, :SuperResolutionInfo, :HDRInfo, :VideoDenoiseInfo, :AudioDenoiseInfo, :ColorInfo, :SharpInfo, :FaceInfo, :LowLightInfo, :ScratchRepairInfo, :ArtifactRepairInfo, :TargetInfo
|
19249
|
+
|
19250
|
+
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)
|
19251
|
+
@FileId = fileid
|
19252
|
+
@StartTimeOffset = starttimeoffset
|
19253
|
+
@EndTimeOffset = endtimeoffset
|
19254
|
+
@RepairInfo = repairinfo
|
19255
|
+
@VideoFrameInterpolationInfo = videoframeinterpolationinfo
|
19256
|
+
@SuperResolutionInfo = superresolutioninfo
|
19257
|
+
@HDRInfo = hdrinfo
|
19258
|
+
@VideoDenoiseInfo = videodenoiseinfo
|
19259
|
+
@AudioDenoiseInfo = audiodenoiseinfo
|
19260
|
+
@ColorInfo = colorinfo
|
19261
|
+
@SharpInfo = sharpinfo
|
19262
|
+
@FaceInfo = faceinfo
|
19263
|
+
@LowLightInfo = lowlightinfo
|
19264
|
+
@ScratchRepairInfo = scratchrepairinfo
|
19265
|
+
@ArtifactRepairInfo = artifactrepairinfo
|
19266
|
+
@TargetInfo = targetinfo
|
19267
|
+
end
|
19268
|
+
|
19269
|
+
def deserialize(params)
|
19270
|
+
@FileId = params['FileId']
|
19271
|
+
@StartTimeOffset = params['StartTimeOffset']
|
19272
|
+
@EndTimeOffset = params['EndTimeOffset']
|
19273
|
+
unless params['RepairInfo'].nil?
|
19274
|
+
@RepairInfo = RepairInfo.new
|
19275
|
+
@RepairInfo.deserialize(params['RepairInfo'])
|
19276
|
+
end
|
19277
|
+
unless params['VideoFrameInterpolationInfo'].nil?
|
19278
|
+
@VideoFrameInterpolationInfo = VideoFrameInterpolationInfo.new
|
19279
|
+
@VideoFrameInterpolationInfo.deserialize(params['VideoFrameInterpolationInfo'])
|
19280
|
+
end
|
19281
|
+
unless params['SuperResolutionInfo'].nil?
|
19282
|
+
@SuperResolutionInfo = SuperResolutionInfo.new
|
19283
|
+
@SuperResolutionInfo.deserialize(params['SuperResolutionInfo'])
|
19284
|
+
end
|
19285
|
+
unless params['HDRInfo'].nil?
|
19286
|
+
@HDRInfo = HDRInfo.new
|
19287
|
+
@HDRInfo.deserialize(params['HDRInfo'])
|
19288
|
+
end
|
19289
|
+
unless params['VideoDenoiseInfo'].nil?
|
19290
|
+
@VideoDenoiseInfo = VideoDenoiseInfo.new
|
19291
|
+
@VideoDenoiseInfo.deserialize(params['VideoDenoiseInfo'])
|
19292
|
+
end
|
19293
|
+
unless params['AudioDenoiseInfo'].nil?
|
19294
|
+
@AudioDenoiseInfo = AudioDenoiseInfo.new
|
19295
|
+
@AudioDenoiseInfo.deserialize(params['AudioDenoiseInfo'])
|
19296
|
+
end
|
19297
|
+
unless params['ColorInfo'].nil?
|
19298
|
+
@ColorInfo = ColorEnhanceInfo.new
|
19299
|
+
@ColorInfo.deserialize(params['ColorInfo'])
|
19300
|
+
end
|
19301
|
+
unless params['SharpInfo'].nil?
|
19302
|
+
@SharpInfo = SharpEnhanceInfo.new
|
19303
|
+
@SharpInfo.deserialize(params['SharpInfo'])
|
19304
|
+
end
|
19305
|
+
unless params['FaceInfo'].nil?
|
19306
|
+
@FaceInfo = FaceEnhanceInfo.new
|
19307
|
+
@FaceInfo.deserialize(params['FaceInfo'])
|
19308
|
+
end
|
19309
|
+
unless params['LowLightInfo'].nil?
|
19310
|
+
@LowLightInfo = LowLightEnhanceInfo.new
|
19311
|
+
@LowLightInfo.deserialize(params['LowLightInfo'])
|
19312
|
+
end
|
19313
|
+
unless params['ScratchRepairInfo'].nil?
|
19314
|
+
@ScratchRepairInfo = ScratchRepairInfo.new
|
19315
|
+
@ScratchRepairInfo.deserialize(params['ScratchRepairInfo'])
|
19316
|
+
end
|
19317
|
+
unless params['ArtifactRepairInfo'].nil?
|
19318
|
+
@ArtifactRepairInfo = ArtifactRepairInfo.new
|
19319
|
+
@ArtifactRepairInfo.deserialize(params['ArtifactRepairInfo'])
|
19320
|
+
end
|
19321
|
+
unless params['TargetInfo'].nil?
|
19322
|
+
@TargetInfo = RebuildMediaTargetInfo.new
|
19323
|
+
@TargetInfo.deserialize(params['TargetInfo'])
|
19324
|
+
end
|
19325
|
+
end
|
19326
|
+
end
|
19327
|
+
|
19328
|
+
# 音画质重生任务输出
|
19329
|
+
class RebuildMediaTaskOutput < TencentCloud::Common::AbstractModel
|
19330
|
+
# @param FileType: 文件类型,例如 mp4、flv 等。
|
19331
|
+
# @type FileType: String
|
19332
|
+
# @param FileUrl: 媒体文件播放地址。
|
19333
|
+
# @type FileUrl: String
|
19334
|
+
# @param FileId: 媒体文件 ID。
|
19335
|
+
# @type FileId: String
|
19336
|
+
# @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
19337
|
+
# @type MediaName: String
|
19338
|
+
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
19339
|
+
# <li>默认值:0,表示其他分类。</li>
|
19340
|
+
# @type ClassId: Integer
|
19341
|
+
# @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
19342
|
+
# @type ExpireTime: String
|
19343
|
+
|
19344
|
+
attr_accessor :FileType, :FileUrl, :FileId, :MediaName, :ClassId, :ExpireTime
|
19345
|
+
|
19346
|
+
def initialize(filetype=nil, fileurl=nil, fileid=nil, medianame=nil, classid=nil, expiretime=nil)
|
19347
|
+
@FileType = filetype
|
19348
|
+
@FileUrl = fileurl
|
19349
|
+
@FileId = fileid
|
19350
|
+
@MediaName = medianame
|
19351
|
+
@ClassId = classid
|
19352
|
+
@ExpireTime = expiretime
|
19353
|
+
end
|
19354
|
+
|
19355
|
+
def deserialize(params)
|
19356
|
+
@FileType = params['FileType']
|
19357
|
+
@FileUrl = params['FileUrl']
|
19358
|
+
@FileId = params['FileId']
|
19359
|
+
@MediaName = params['MediaName']
|
19360
|
+
@ClassId = params['ClassId']
|
19361
|
+
@ExpireTime = params['ExpireTime']
|
19362
|
+
end
|
19363
|
+
end
|
19364
|
+
|
19365
|
+
# 降码率任务转自适应码流结果类型
|
19366
|
+
class ReduceMediaBitrateAdaptiveDynamicStreamingResult < TencentCloud::Common::AbstractModel
|
19367
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
19368
|
+
# @type Status: String
|
19369
|
+
# @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) 列表。
|
19370
|
+
# @type ErrCodeExt: String
|
19371
|
+
# @param Message: 错误信息。
|
19372
|
+
# @type Message: String
|
19373
|
+
# @param Input: 对视频转自适应码流任务的输入。
|
19374
|
+
# @type Input: :class:`Tencentcloud::Vod.v20180717.models.AdaptiveDynamicStreamingTaskInput`
|
19375
|
+
# @param Output: 对视频转自适应码流任务的输出。
|
19376
|
+
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.AdaptiveDynamicStreamingInfoItem`
|
19377
|
+
|
19378
|
+
attr_accessor :Status, :ErrCodeExt, :Message, :Input, :Output
|
19379
|
+
|
19380
|
+
def initialize(status=nil, errcodeext=nil, message=nil, input=nil, output=nil)
|
19381
|
+
@Status = status
|
19382
|
+
@ErrCodeExt = errcodeext
|
19383
|
+
@Message = message
|
19384
|
+
@Input = input
|
19385
|
+
@Output = output
|
19386
|
+
end
|
19387
|
+
|
19388
|
+
def deserialize(params)
|
19389
|
+
@Status = params['Status']
|
19390
|
+
@ErrCodeExt = params['ErrCodeExt']
|
19391
|
+
@Message = params['Message']
|
19392
|
+
unless params['Input'].nil?
|
19393
|
+
@Input = AdaptiveDynamicStreamingTaskInput.new
|
19394
|
+
@Input.deserialize(params['Input'])
|
19395
|
+
end
|
19396
|
+
unless params['Output'].nil?
|
19397
|
+
@Output = AdaptiveDynamicStreamingInfoItem.new
|
19398
|
+
@Output.deserialize(params['Output'])
|
19399
|
+
end
|
19400
|
+
end
|
19401
|
+
end
|
19402
|
+
|
19403
|
+
# 降码率任务结果
|
19404
|
+
class ReduceMediaBitrateMediaProcessTaskResult < TencentCloud::Common::AbstractModel
|
19405
|
+
# @param Type: 任务的类型,可以取的值有:
|
19406
|
+
# <li>Transcode:转码</li>
|
19407
|
+
# <li>AdaptiveDynamicStreaming:自适应码流</li>
|
19408
|
+
# @type Type: String
|
19409
|
+
# @param TranscodeTask: 降码率任务中视频转码任务的查询结果,当任务类型为 Transcode 时有效。
|
19410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19411
|
+
# @type TranscodeTask: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateTranscodeResult`
|
19412
|
+
# @param AdaptiveDynamicStreamingTask: 降码率任务中对视频转自适应码流任务的查询结果,当任务类型为 AdaptiveDynamicStreaming 时有效。
|
19413
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19414
|
+
# @type AdaptiveDynamicStreamingTask: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateAdaptiveDynamicStreamingResult`
|
19415
|
+
|
19416
|
+
attr_accessor :Type, :TranscodeTask, :AdaptiveDynamicStreamingTask
|
19417
|
+
|
19418
|
+
def initialize(type=nil, transcodetask=nil, adaptivedynamicstreamingtask=nil)
|
19419
|
+
@Type = type
|
19420
|
+
@TranscodeTask = transcodetask
|
19421
|
+
@AdaptiveDynamicStreamingTask = adaptivedynamicstreamingtask
|
19422
|
+
end
|
19423
|
+
|
19424
|
+
def deserialize(params)
|
19425
|
+
@Type = params['Type']
|
19426
|
+
unless params['TranscodeTask'].nil?
|
19427
|
+
@TranscodeTask = ReduceMediaBitrateTranscodeResult.new
|
19428
|
+
@TranscodeTask.deserialize(params['TranscodeTask'])
|
19429
|
+
end
|
19430
|
+
unless params['AdaptiveDynamicStreamingTask'].nil?
|
19431
|
+
@AdaptiveDynamicStreamingTask = ReduceMediaBitrateAdaptiveDynamicStreamingResult.new
|
19432
|
+
@AdaptiveDynamicStreamingTask.deserialize(params['AdaptiveDynamicStreamingTask'])
|
19433
|
+
end
|
19434
|
+
end
|
19435
|
+
end
|
19436
|
+
|
19437
|
+
# 降码率任务信息
|
19438
|
+
class ReduceMediaBitrateTask < TencentCloud::Common::AbstractModel
|
19439
|
+
# @param TaskId: 视频处理任务 ID。
|
19440
|
+
# @type TaskId: String
|
19441
|
+
# @param Status: 任务流状态,取值:
|
19442
|
+
# <li>PROCESSING:处理中;</li>
|
19443
|
+
# <li>FINISH:已完成。</li>
|
19444
|
+
# @type Status: String
|
19445
|
+
# @param FileId: 媒体文件 ID。
|
19446
|
+
# @type FileId: String
|
19447
|
+
# @param FileName: 媒体文件名称。
|
19448
|
+
# @type FileName: String
|
19449
|
+
# @param FileUrl: 媒体文件地址。
|
19450
|
+
# @type FileUrl: String
|
19451
|
+
# @param MetaData: 原始视频的元信息。
|
19452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19453
|
+
# @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
|
19454
|
+
# @param MediaProcessResultSet: 降码率任务执行状态与结果。
|
19455
|
+
# @type MediaProcessResultSet: Array
|
19456
|
+
# @param TasksPriority: 任务流的优先级,取值范围为 [-10, 10]。
|
19457
|
+
# @type TasksPriority: Integer
|
19458
|
+
# @param TasksNotifyMode: 任务流状态变更通知模式。
|
19459
|
+
# <li>Finish:只有当任务流全部执行完毕时,才发起一次事件通知;</li>
|
19460
|
+
# <li>None:不接受该任务流回调。</li>
|
19461
|
+
# @type TasksNotifyMode: String
|
19462
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
19463
|
+
# @type SessionContext: String
|
19464
|
+
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
19465
|
+
# @type SessionId: String
|
19466
|
+
|
19467
|
+
attr_accessor :TaskId, :Status, :FileId, :FileName, :FileUrl, :MetaData, :MediaProcessResultSet, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId
|
19468
|
+
|
19469
|
+
def initialize(taskid=nil, status=nil, fileid=nil, filename=nil, fileurl=nil, metadata=nil, mediaprocessresultset=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil)
|
19470
|
+
@TaskId = taskid
|
19471
|
+
@Status = status
|
19472
|
+
@FileId = fileid
|
19473
|
+
@FileName = filename
|
19474
|
+
@FileUrl = fileurl
|
19475
|
+
@MetaData = metadata
|
19476
|
+
@MediaProcessResultSet = mediaprocessresultset
|
19477
|
+
@TasksPriority = taskspriority
|
19478
|
+
@TasksNotifyMode = tasksnotifymode
|
19479
|
+
@SessionContext = sessioncontext
|
19480
|
+
@SessionId = sessionid
|
19481
|
+
end
|
19482
|
+
|
19483
|
+
def deserialize(params)
|
19484
|
+
@TaskId = params['TaskId']
|
19485
|
+
@Status = params['Status']
|
19486
|
+
@FileId = params['FileId']
|
19487
|
+
@FileName = params['FileName']
|
19488
|
+
@FileUrl = params['FileUrl']
|
19489
|
+
unless params['MetaData'].nil?
|
19490
|
+
@MetaData = MediaMetaData.new
|
19491
|
+
@MetaData.deserialize(params['MetaData'])
|
19492
|
+
end
|
19493
|
+
unless params['MediaProcessResultSet'].nil?
|
19494
|
+
@MediaProcessResultSet = []
|
19495
|
+
params['MediaProcessResultSet'].each do |i|
|
19496
|
+
reducemediabitratemediaprocesstaskresult_tmp = ReduceMediaBitrateMediaProcessTaskResult.new
|
19497
|
+
reducemediabitratemediaprocesstaskresult_tmp.deserialize(i)
|
19498
|
+
@MediaProcessResultSet << reducemediabitratemediaprocesstaskresult_tmp
|
19499
|
+
end
|
19500
|
+
end
|
19501
|
+
@TasksPriority = params['TasksPriority']
|
19502
|
+
@TasksNotifyMode = params['TasksNotifyMode']
|
19503
|
+
@SessionContext = params['SessionContext']
|
19504
|
+
@SessionId = params['SessionId']
|
19505
|
+
end
|
19506
|
+
end
|
19507
|
+
|
19508
|
+
# 降码率任务转码结果类型
|
19509
|
+
class ReduceMediaBitrateTranscodeResult < TencentCloud::Common::AbstractModel
|
18767
19510
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
18768
19511
|
# @type Status: String
|
18769
19512
|
# @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) 列表。
|
@@ -19041,6 +19784,32 @@ module TencentCloud
|
|
19041
19784
|
end
|
19042
19785
|
end
|
19043
19786
|
|
19787
|
+
# 画质修复控制参数
|
19788
|
+
class RepairInfo < TencentCloud::Common::AbstractModel
|
19789
|
+
# @param Switch: 画质修复控制开关,可选值:
|
19790
|
+
# <li>ON:开启画质修复;</li>
|
19791
|
+
# <li>OFF:关闭画质修复。</li>
|
19792
|
+
# @type Switch: String
|
19793
|
+
# @param Type: 画质修复类型,仅当画质修复控制开关为 ON 时有效,可选值:
|
19794
|
+
# <li>weak:轻画质修复;</li>
|
19795
|
+
# <li>normal:正常画质修复;</li>
|
19796
|
+
# <li>strong:强画质修复。</li>
|
19797
|
+
# 默认值:weak。
|
19798
|
+
# @type Type: String
|
19799
|
+
|
19800
|
+
attr_accessor :Switch, :Type
|
19801
|
+
|
19802
|
+
def initialize(switch=nil, type=nil)
|
19803
|
+
@Switch = switch
|
19804
|
+
@Type = type
|
19805
|
+
end
|
19806
|
+
|
19807
|
+
def deserialize(params)
|
19808
|
+
@Switch = params['Switch']
|
19809
|
+
@Type = params['Type']
|
19810
|
+
end
|
19811
|
+
end
|
19812
|
+
|
19044
19813
|
# ResetProcedureTemplate请求参数结构体
|
19045
19814
|
class ResetProcedureTemplateRequest < TencentCloud::Common::AbstractModel
|
19046
19815
|
# @param Name: 任务流名字
|
@@ -19999,6 +20768,35 @@ module TencentCloud
|
|
19999
20768
|
end
|
20000
20769
|
end
|
20001
20770
|
|
20771
|
+
# 去划痕控制信息
|
20772
|
+
class ScratchRepairInfo < TencentCloud::Common::AbstractModel
|
20773
|
+
# @param Switch: 去划痕控制开关,可选值:
|
20774
|
+
# <li>ON:开启去划痕;</li>
|
20775
|
+
# <li>OFF:关闭去划痕。</li>
|
20776
|
+
# @type Switch: String
|
20777
|
+
# @param Intensity: 去划痕强度,仅当去划痕控制开关为 ON 时有效,取值范围:0.0~1.0。
|
20778
|
+
# 默认:0.0。
|
20779
|
+
# @type Intensity: Float
|
20780
|
+
# @param Type: 去划痕类型,仅当去划痕控制开关为 ON 时有效,可选值:
|
20781
|
+
# <li>normal:正常去划痕;</li>
|
20782
|
+
# 默认值:normal。
|
20783
|
+
# @type Type: String
|
20784
|
+
|
20785
|
+
attr_accessor :Switch, :Intensity, :Type
|
20786
|
+
|
20787
|
+
def initialize(switch=nil, intensity=nil, type=nil)
|
20788
|
+
@Switch = switch
|
20789
|
+
@Intensity = intensity
|
20790
|
+
@Type = type
|
20791
|
+
end
|
20792
|
+
|
20793
|
+
def deserialize(params)
|
20794
|
+
@Switch = params['Switch']
|
20795
|
+
@Intensity = params['Intensity']
|
20796
|
+
@Type = params['Type']
|
20797
|
+
end
|
20798
|
+
end
|
20799
|
+
|
20002
20800
|
# SearchMedia请求参数结构体
|
20003
20801
|
class SearchMediaRequest < TencentCloud::Common::AbstractModel
|
20004
20802
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
@@ -20287,6 +21085,29 @@ module TencentCloud
|
|
20287
21085
|
end
|
20288
21086
|
end
|
20289
21087
|
|
21088
|
+
# 细节增强控制
|
21089
|
+
class SharpEnhanceInfo < TencentCloud::Common::AbstractModel
|
21090
|
+
# @param Switch: 细节增强控制开关,可选值:
|
21091
|
+
# <li>ON:开启细节增强;</li>
|
21092
|
+
# <li>OFF:关闭细节增强。</li>
|
21093
|
+
# @type Switch: String
|
21094
|
+
# @param Intensity: 细节增强强度,仅当细节增强控制开关为 ON 时有效,取值范围:0.0~1.0。
|
21095
|
+
# 默认:0.0。
|
21096
|
+
# @type Intensity: Float
|
21097
|
+
|
21098
|
+
attr_accessor :Switch, :Intensity
|
21099
|
+
|
21100
|
+
def initialize(switch=nil, intensity=nil)
|
21101
|
+
@Switch = switch
|
21102
|
+
@Intensity = intensity
|
21103
|
+
end
|
21104
|
+
|
21105
|
+
def deserialize(params)
|
21106
|
+
@Switch = params['Switch']
|
21107
|
+
@Intensity = params['Intensity']
|
21108
|
+
end
|
21109
|
+
end
|
21110
|
+
|
20290
21111
|
# 简单加密加解密密钥对。
|
20291
21112
|
class SimpleAesEdkPair < TencentCloud::Common::AbstractModel
|
20292
21113
|
# @param Edk: 加密后的数据密钥。
|
@@ -21120,6 +21941,37 @@ module TencentCloud
|
|
21120
21941
|
end
|
21121
21942
|
end
|
21122
21943
|
|
21944
|
+
# 画面超分控制参数
|
21945
|
+
class SuperResolutionInfo < TencentCloud::Common::AbstractModel
|
21946
|
+
# @param Switch: 画面超分控制开关,可选值:
|
21947
|
+
# <li>ON:开启画面超分;</li>
|
21948
|
+
# <li>OFF:关闭画面超分。</li>
|
21949
|
+
# 当开启画面超分时,默认2倍超分。
|
21950
|
+
# @type Switch: String
|
21951
|
+
# @param Type: 画面超分类型,仅当画面超分控制开关为 ON 时有效,可选值:
|
21952
|
+
# <li>lq:针对低清晰度有较多噪声视频的超分;</li>
|
21953
|
+
# <li>hq:针对高清晰度视频超分。</li>
|
21954
|
+
# 默认值:lq。
|
21955
|
+
# @type Type: String
|
21956
|
+
# @param Size: 超分倍数,可选值:2。
|
21957
|
+
# 默认值:2。
|
21958
|
+
# @type Size: Integer
|
21959
|
+
|
21960
|
+
attr_accessor :Switch, :Type, :Size
|
21961
|
+
|
21962
|
+
def initialize(switch=nil, type=nil, size=nil)
|
21963
|
+
@Switch = switch
|
21964
|
+
@Type = type
|
21965
|
+
@Size = size
|
21966
|
+
end
|
21967
|
+
|
21968
|
+
def deserialize(params)
|
21969
|
+
@Switch = params['Switch']
|
21970
|
+
@Type = params['Type']
|
21971
|
+
@Size = params['Size']
|
21972
|
+
end
|
21973
|
+
end
|
21974
|
+
|
21123
21975
|
# SVG水印模板输入参数
|
21124
21976
|
class SvgWatermarkInput < TencentCloud::Common::AbstractModel
|
21125
21977
|
# @param Width: 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
|
@@ -22453,6 +23305,53 @@ module TencentCloud
|
|
22453
23305
|
end
|
22454
23306
|
end
|
22455
23307
|
|
23308
|
+
# 视频降噪控制参数
|
23309
|
+
class VideoDenoiseInfo < TencentCloud::Common::AbstractModel
|
23310
|
+
# @param Switch: 视频降噪控制开关,可选值:
|
23311
|
+
# <li>ON:开启视频降噪;</li>
|
23312
|
+
# <li>OFF:关闭视频降噪。</li>
|
23313
|
+
# @type Switch: String
|
23314
|
+
# @param Type: 视频降噪类型,仅当视频降噪控制开关为 ON 时有效,可选值:
|
23315
|
+
# <li>weak:轻视频降噪;</li>
|
23316
|
+
# <li>strong:强视频降噪。</li>
|
23317
|
+
# 默认值:weak。
|
23318
|
+
# @type Type: String
|
23319
|
+
|
23320
|
+
attr_accessor :Switch, :Type
|
23321
|
+
|
23322
|
+
def initialize(switch=nil, type=nil)
|
23323
|
+
@Switch = switch
|
23324
|
+
@Type = type
|
23325
|
+
end
|
23326
|
+
|
23327
|
+
def deserialize(params)
|
23328
|
+
@Switch = params['Switch']
|
23329
|
+
@Type = params['Type']
|
23330
|
+
end
|
23331
|
+
end
|
23332
|
+
|
23333
|
+
# 智能插帧控制参数
|
23334
|
+
class VideoFrameInterpolationInfo < TencentCloud::Common::AbstractModel
|
23335
|
+
# @param Switch: 智能插帧控制开关,可选值:
|
23336
|
+
# <li>ON:开启智能插帧;</li>
|
23337
|
+
# <li>OFF:关闭智能插帧。</li>
|
23338
|
+
# @type Switch: String
|
23339
|
+
# @param Fps: 智能插帧帧率,帧率范围为 (0, 60],仅当智能插帧控制开关为 ON 时有效。默认跟源文件帧率一致。
|
23340
|
+
# @type Fps: Integer
|
23341
|
+
|
23342
|
+
attr_accessor :Switch, :Fps
|
23343
|
+
|
23344
|
+
def initialize(switch=nil, fps=nil)
|
23345
|
+
@Switch = switch
|
23346
|
+
@Fps = fps
|
23347
|
+
end
|
23348
|
+
|
23349
|
+
def deserialize(params)
|
23350
|
+
@Switch = params['Switch']
|
23351
|
+
@Fps = params['Fps']
|
23352
|
+
end
|
23353
|
+
end
|
23354
|
+
|
22456
23355
|
# 视频流配置参数
|
22457
23356
|
class VideoTemplateInfo < TencentCloud::Common::AbstractModel
|
22458
23357
|
# @param Codec: 视频流的编码格式,可选值:
|