tencentcloud-sdk-mps 1.0.356 → 1.0.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +820 -26
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27367b07cb440aef970e842a74f06ab2f0f03e85
|
4
|
+
data.tar.gz: 79895ab692b30b49b3e64f4bea61e2e4574cc850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4250fa8bc8c1bc00ffecb9d48455958503b2e4826d4f6c10d8c5bc5c26966011d48b47cd1722177433674b198590aeca89df5c0887057993643056f99f7a63c
|
7
|
+
data.tar.gz: 9ec3c3cdcc5acc8e019b9a9f72055a5dcdfabe388761eeabc6b98b06e44b097500a9d8458bc9dabaaf417dc4c46dcb4b9f9b59b9a82585e446f30a307359d251
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.359
|
data/lib/v20190612/models.rb
CHANGED
@@ -180,6 +180,122 @@ module TencentCloud
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
+
# 编排子任务输出
|
184
|
+
class ActivityResItem < TencentCloud::Common::AbstractModel
|
185
|
+
# @param TranscodeTask: 转码任务输出
|
186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
187
|
+
# @type TranscodeTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskTranscodeResult`
|
188
|
+
# @param AnimatedGraphicTask: 转动图任务输出
|
189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
190
|
+
# @type AnimatedGraphicTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskAnimatedGraphicResult`
|
191
|
+
# @param SnapshotByTimeOffsetTask: 时间点截图任务输出
|
192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
193
|
+
# @type SnapshotByTimeOffsetTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskSampleSnapshotResult`
|
194
|
+
# @param SampleSnapshotTask: 采样截图任务输出
|
195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
196
|
+
# @type SampleSnapshotTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskSampleSnapshotResult`
|
197
|
+
# @param ImageSpriteTask: 雪碧图任务输出
|
198
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
199
|
+
# @type ImageSpriteTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskImageSpriteResult`
|
200
|
+
# @param AdaptiveDynamicStreamingTask: 自适应码流任务输出
|
201
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
202
|
+
# @type AdaptiveDynamicStreamingTask: :class:`Tencentcloud::Mps.v20190612.models.MediaProcessTaskAdaptiveDynamicStreamingResult`
|
203
|
+
# @param RecognitionTask: 识别任务输出
|
204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
205
|
+
# @type RecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleRecognitionTaskResult`
|
206
|
+
# @param ReviewTask: 审核任务输出
|
207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
208
|
+
# @type ReviewTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleReviewTaskResult`
|
209
|
+
# @param AnalysisTask: 分析任务输出
|
210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
211
|
+
# @type AnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleAnalysisTaskResult`
|
212
|
+
|
213
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask
|
214
|
+
|
215
|
+
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil)
|
216
|
+
@TranscodeTask = transcodetask
|
217
|
+
@AnimatedGraphicTask = animatedgraphictask
|
218
|
+
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
219
|
+
@SampleSnapshotTask = samplesnapshottask
|
220
|
+
@ImageSpriteTask = imagespritetask
|
221
|
+
@AdaptiveDynamicStreamingTask = adaptivedynamicstreamingtask
|
222
|
+
@RecognitionTask = recognitiontask
|
223
|
+
@ReviewTask = reviewtask
|
224
|
+
@AnalysisTask = analysistask
|
225
|
+
end
|
226
|
+
|
227
|
+
def deserialize(params)
|
228
|
+
unless params['TranscodeTask'].nil?
|
229
|
+
@TranscodeTask = MediaProcessTaskTranscodeResult.new
|
230
|
+
@TranscodeTask.deserialize(params['TranscodeTask'])
|
231
|
+
end
|
232
|
+
unless params['AnimatedGraphicTask'].nil?
|
233
|
+
@AnimatedGraphicTask = MediaProcessTaskAnimatedGraphicResult.new
|
234
|
+
@AnimatedGraphicTask.deserialize(params['AnimatedGraphicTask'])
|
235
|
+
end
|
236
|
+
unless params['SnapshotByTimeOffsetTask'].nil?
|
237
|
+
@SnapshotByTimeOffsetTask = MediaProcessTaskSampleSnapshotResult.new
|
238
|
+
@SnapshotByTimeOffsetTask.deserialize(params['SnapshotByTimeOffsetTask'])
|
239
|
+
end
|
240
|
+
unless params['SampleSnapshotTask'].nil?
|
241
|
+
@SampleSnapshotTask = MediaProcessTaskSampleSnapshotResult.new
|
242
|
+
@SampleSnapshotTask.deserialize(params['SampleSnapshotTask'])
|
243
|
+
end
|
244
|
+
unless params['ImageSpriteTask'].nil?
|
245
|
+
@ImageSpriteTask = MediaProcessTaskImageSpriteResult.new
|
246
|
+
@ImageSpriteTask.deserialize(params['ImageSpriteTask'])
|
247
|
+
end
|
248
|
+
unless params['AdaptiveDynamicStreamingTask'].nil?
|
249
|
+
@AdaptiveDynamicStreamingTask = MediaProcessTaskAdaptiveDynamicStreamingResult.new
|
250
|
+
@AdaptiveDynamicStreamingTask.deserialize(params['AdaptiveDynamicStreamingTask'])
|
251
|
+
end
|
252
|
+
unless params['RecognitionTask'].nil?
|
253
|
+
@RecognitionTask = ScheduleRecognitionTaskResult.new
|
254
|
+
@RecognitionTask.deserialize(params['RecognitionTask'])
|
255
|
+
end
|
256
|
+
unless params['ReviewTask'].nil?
|
257
|
+
@ReviewTask = ScheduleReviewTaskResult.new
|
258
|
+
@ReviewTask.deserialize(params['ReviewTask'])
|
259
|
+
end
|
260
|
+
unless params['AnalysisTask'].nil?
|
261
|
+
@AnalysisTask = ScheduleAnalysisTaskResult.new
|
262
|
+
@AnalysisTask.deserialize(params['AnalysisTask'])
|
263
|
+
end
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
# 编排任务输出
|
268
|
+
class ActivityResult < TencentCloud::Common::AbstractModel
|
269
|
+
# @param ActivityType: 原子任务类型。
|
270
|
+
# <li>Transcode:转码。</li>
|
271
|
+
# <li>SampleSnapshot:采样截图。</li>
|
272
|
+
# <li>AnimatedGraphics:转动图。</li>
|
273
|
+
# <li>SnapshotByTimeOffset:时间点截图。</li>
|
274
|
+
# <li>ImageSprites:雪碧图。</li>
|
275
|
+
# <li>AdaptiveDynamicStreaming:自适应码流。</li>
|
276
|
+
# <li>AiContentReview:内容审核。</li>
|
277
|
+
# <li>AIRecognition:智能识别。</li>
|
278
|
+
# <li>AIAnalysis:智能分析。</li>
|
279
|
+
# @type ActivityType: String
|
280
|
+
# @param ActivityResItem: 原子任务输出。
|
281
|
+
# @type ActivityResItem: :class:`Tencentcloud::Mps.v20190612.models.ActivityResItem`
|
282
|
+
|
283
|
+
attr_accessor :ActivityType, :ActivityResItem
|
284
|
+
|
285
|
+
def initialize(activitytype=nil, activityresitem=nil)
|
286
|
+
@ActivityType = activitytype
|
287
|
+
@ActivityResItem = activityresitem
|
288
|
+
end
|
289
|
+
|
290
|
+
def deserialize(params)
|
291
|
+
@ActivityType = params['ActivityType']
|
292
|
+
unless params['ActivityResItem'].nil?
|
293
|
+
@ActivityResItem = ActivityResItem.new
|
294
|
+
@ActivityResItem.deserialize(params['ActivityResItem'])
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
183
299
|
# 转自适应码流信息
|
184
300
|
class AdaptiveDynamicStreamingInfoItem < TencentCloud::Common::AbstractModel
|
185
301
|
# @param Definition: 转自适应码流规格。
|
@@ -2973,6 +3089,33 @@ module TencentCloud
|
|
2973
3089
|
end
|
2974
3090
|
end
|
2975
3091
|
|
3092
|
+
# 去伪影(毛刺)配置
|
3093
|
+
class ArtifactRepairConfig < TencentCloud::Common::AbstractModel
|
3094
|
+
# @param Switch: 能力配置开关,可选值:
|
3095
|
+
# <li>ON:开启;</li>
|
3096
|
+
# <li>OFF:关闭。</li>
|
3097
|
+
# 默认值:ON。
|
3098
|
+
# @type Switch: String
|
3099
|
+
# @param Type: 类型,可选值:
|
3100
|
+
# <li>weak</li>
|
3101
|
+
# <li>strong</li>
|
3102
|
+
# 默认值:weak。
|
3103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3104
|
+
# @type Type: String
|
3105
|
+
|
3106
|
+
attr_accessor :Switch, :Type
|
3107
|
+
|
3108
|
+
def initialize(switch=nil, type=nil)
|
3109
|
+
@Switch = switch
|
3110
|
+
@Type = type
|
3111
|
+
end
|
3112
|
+
|
3113
|
+
def deserialize(params)
|
3114
|
+
@Switch = params['Switch']
|
3115
|
+
@Type = params['Type']
|
3116
|
+
end
|
3117
|
+
end
|
3118
|
+
|
2976
3119
|
# 语音全文识别任务控制参数
|
2977
3120
|
class AsrFullTextConfigureInfo < TencentCloud::Common::AbstractModel
|
2978
3121
|
# @param Switch: 语音全文识别任务开关,可选值:
|
@@ -3204,6 +3347,34 @@ module TencentCloud
|
|
3204
3347
|
end
|
3205
3348
|
end
|
3206
3349
|
|
3350
|
+
# 色彩增强配置
|
3351
|
+
class ColorEnhanceConfig < TencentCloud::Common::AbstractModel
|
3352
|
+
# @param Switch: 能力配置开关,可选值:
|
3353
|
+
# <li>ON:开启;</li>
|
3354
|
+
# <li>OFF:关闭。</li>
|
3355
|
+
# 默认值:ON。
|
3356
|
+
# @type Switch: String
|
3357
|
+
# @param Type: 类型,可选值:
|
3358
|
+
# <li>weak</li>
|
3359
|
+
# <li>normal</li>
|
3360
|
+
# <li>strong</li>
|
3361
|
+
# 默认值:weak。
|
3362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3363
|
+
# @type Type: String
|
3364
|
+
|
3365
|
+
attr_accessor :Switch, :Type
|
3366
|
+
|
3367
|
+
def initialize(switch=nil, type=nil)
|
3368
|
+
@Switch = switch
|
3369
|
+
@Type = type
|
3370
|
+
end
|
3371
|
+
|
3372
|
+
def deserialize(params)
|
3373
|
+
@Switch = params['Switch']
|
3374
|
+
@Type = params['Type']
|
3375
|
+
end
|
3376
|
+
end
|
3377
|
+
|
3207
3378
|
# 内容审核模板详情
|
3208
3379
|
class ContentReviewTemplateItem < TencentCloud::Common::AbstractModel
|
3209
3380
|
# @param Definition: 内容审核模板唯一标识。
|
@@ -4119,10 +4290,12 @@ module TencentCloud
|
|
4119
4290
|
# @type AudioTemplate: :class:`Tencentcloud::Mps.v20190612.models.AudioTemplateInfo`
|
4120
4291
|
# @param TEHDConfig: 极速高清转码参数。
|
4121
4292
|
# @type TEHDConfig: :class:`Tencentcloud::Mps.v20190612.models.TEHDConfig`
|
4293
|
+
# @param EnhanceConfig: 音视频增强配置。
|
4294
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
4122
4295
|
|
4123
|
-
attr_accessor :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
|
4296
|
+
attr_accessor :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig
|
4124
4297
|
|
4125
|
-
def initialize(container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
|
4298
|
+
def initialize(container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil)
|
4126
4299
|
@Container = container
|
4127
4300
|
@Name = name
|
4128
4301
|
@Comment = comment
|
@@ -4131,6 +4304,7 @@ module TencentCloud
|
|
4131
4304
|
@VideoTemplate = videotemplate
|
4132
4305
|
@AudioTemplate = audiotemplate
|
4133
4306
|
@TEHDConfig = tehdconfig
|
4307
|
+
@EnhanceConfig = enhanceconfig
|
4134
4308
|
end
|
4135
4309
|
|
4136
4310
|
def deserialize(params)
|
@@ -4151,6 +4325,10 @@ module TencentCloud
|
|
4151
4325
|
@TEHDConfig = TEHDConfig.new
|
4152
4326
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
4153
4327
|
end
|
4328
|
+
unless params['EnhanceConfig'].nil?
|
4329
|
+
@EnhanceConfig = EnhanceConfig.new
|
4330
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
4331
|
+
end
|
4154
4332
|
end
|
4155
4333
|
end
|
4156
4334
|
|
@@ -5453,6 +5631,7 @@ module TencentCloud
|
|
5453
5631
|
# <li>WorkflowTask:视频工作流处理任务。</li>
|
5454
5632
|
# <li>EditMediaTask:视频编辑任务。</li>
|
5455
5633
|
# <li>LiveStreamProcessTask:直播流处理任务。</li>
|
5634
|
+
# <li>ScheduleTask:编排处理任务。</li>
|
5456
5635
|
# @type TaskType: String
|
5457
5636
|
# @param Status: 任务状态,取值:
|
5458
5637
|
# <li>WAITING:等待中;</li>
|
@@ -5465,12 +5644,12 @@ module TencentCloud
|
|
5465
5644
|
# @type BeginProcessTime: String
|
5466
5645
|
# @param FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
5467
5646
|
# @type FinishTime: String
|
5468
|
-
# @param WorkflowTask: 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
|
5469
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5470
|
-
# @type WorkflowTask: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTask`
|
5471
5647
|
# @param EditMediaTask: 视频编辑任务信息,仅当 TaskType 为 EditMediaTask,该字段有值。
|
5472
5648
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5473
5649
|
# @type EditMediaTask: :class:`Tencentcloud::Mps.v20190612.models.EditMediaTask`
|
5650
|
+
# @param WorkflowTask: 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
|
5651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5652
|
+
# @type WorkflowTask: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTask`
|
5474
5653
|
# @param LiveStreamProcessTask: 直播流处理任务信息,仅当 TaskType 为 LiveStreamProcessTask,该字段有值。
|
5475
5654
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5476
5655
|
# @type LiveStreamProcessTask: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamProcessTask`
|
@@ -5485,25 +5664,29 @@ module TencentCloud
|
|
5485
5664
|
# @type SessionContext: String
|
5486
5665
|
# @param ExtInfo: 扩展信息字段,仅用于特定场景。
|
5487
5666
|
# @type ExtInfo: String
|
5667
|
+
# @param ScheduleTask: 编排处理任务信息,仅当 TaskType 为 ScheduleTask,该字段有值。
|
5668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5669
|
+
# @type ScheduleTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleTask`
|
5488
5670
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5489
5671
|
# @type RequestId: String
|
5490
5672
|
|
5491
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :
|
5673
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :EditMediaTask, :WorkflowTask, :LiveStreamProcessTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ExtInfo, :ScheduleTask, :RequestId
|
5492
5674
|
|
5493
|
-
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil,
|
5675
|
+
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, editmediatask=nil, workflowtask=nil, livestreamprocesstask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, extinfo=nil, scheduletask=nil, requestid=nil)
|
5494
5676
|
@TaskType = tasktype
|
5495
5677
|
@Status = status
|
5496
5678
|
@CreateTime = createtime
|
5497
5679
|
@BeginProcessTime = beginprocesstime
|
5498
5680
|
@FinishTime = finishtime
|
5499
|
-
@WorkflowTask = workflowtask
|
5500
5681
|
@EditMediaTask = editmediatask
|
5682
|
+
@WorkflowTask = workflowtask
|
5501
5683
|
@LiveStreamProcessTask = livestreamprocesstask
|
5502
5684
|
@TaskNotifyConfig = tasknotifyconfig
|
5503
5685
|
@TasksPriority = taskspriority
|
5504
5686
|
@SessionId = sessionid
|
5505
5687
|
@SessionContext = sessioncontext
|
5506
5688
|
@ExtInfo = extinfo
|
5689
|
+
@ScheduleTask = scheduletask
|
5507
5690
|
@RequestId = requestid
|
5508
5691
|
end
|
5509
5692
|
|
@@ -5513,14 +5696,14 @@ module TencentCloud
|
|
5513
5696
|
@CreateTime = params['CreateTime']
|
5514
5697
|
@BeginProcessTime = params['BeginProcessTime']
|
5515
5698
|
@FinishTime = params['FinishTime']
|
5516
|
-
unless params['WorkflowTask'].nil?
|
5517
|
-
@WorkflowTask = WorkflowTask.new
|
5518
|
-
@WorkflowTask.deserialize(params['WorkflowTask'])
|
5519
|
-
end
|
5520
5699
|
unless params['EditMediaTask'].nil?
|
5521
5700
|
@EditMediaTask = EditMediaTask.new
|
5522
5701
|
@EditMediaTask.deserialize(params['EditMediaTask'])
|
5523
5702
|
end
|
5703
|
+
unless params['WorkflowTask'].nil?
|
5704
|
+
@WorkflowTask = WorkflowTask.new
|
5705
|
+
@WorkflowTask.deserialize(params['WorkflowTask'])
|
5706
|
+
end
|
5524
5707
|
unless params['LiveStreamProcessTask'].nil?
|
5525
5708
|
@LiveStreamProcessTask = LiveStreamProcessTask.new
|
5526
5709
|
@LiveStreamProcessTask.deserialize(params['LiveStreamProcessTask'])
|
@@ -5533,6 +5716,10 @@ module TencentCloud
|
|
5533
5716
|
@SessionId = params['SessionId']
|
5534
5717
|
@SessionContext = params['SessionContext']
|
5535
5718
|
@ExtInfo = params['ExtInfo']
|
5719
|
+
unless params['ScheduleTask'].nil?
|
5720
|
+
@ScheduleTask = ScheduleTask.new
|
5721
|
+
@ScheduleTask.deserialize(params['ScheduleTask'])
|
5722
|
+
end
|
5536
5723
|
@RequestId = params['RequestId']
|
5537
5724
|
end
|
5538
5725
|
end
|
@@ -5567,14 +5754,17 @@ module TencentCloud
|
|
5567
5754
|
# @type TaskSet: Array
|
5568
5755
|
# @param ScrollToken: 翻页标识,当请求未返回所有数据,该字段表示下一条记录的 ID。当该字段为空字符串,说明已无更多数据。
|
5569
5756
|
# @type ScrollToken: String
|
5757
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
5758
|
+
# @type TotalCount: Integer
|
5570
5759
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5571
5760
|
# @type RequestId: String
|
5572
5761
|
|
5573
|
-
attr_accessor :TaskSet, :ScrollToken, :RequestId
|
5762
|
+
attr_accessor :TaskSet, :ScrollToken, :TotalCount, :RequestId
|
5574
5763
|
|
5575
|
-
def initialize(taskset=nil, scrolltoken=nil, requestid=nil)
|
5764
|
+
def initialize(taskset=nil, scrolltoken=nil, totalcount=nil, requestid=nil)
|
5576
5765
|
@TaskSet = taskset
|
5577
5766
|
@ScrollToken = scrolltoken
|
5767
|
+
@TotalCount = totalcount
|
5578
5768
|
@RequestId = requestid
|
5579
5769
|
end
|
5580
5770
|
|
@@ -5588,6 +5778,7 @@ module TencentCloud
|
|
5588
5778
|
end
|
5589
5779
|
end
|
5590
5780
|
@ScrollToken = params['ScrollToken']
|
5781
|
+
@TotalCount = params['TotalCount']
|
5591
5782
|
@RequestId = params['RequestId']
|
5592
5783
|
end
|
5593
5784
|
end
|
@@ -5612,16 +5803,23 @@ module TencentCloud
|
|
5612
5803
|
# @type Offset: Integer
|
5613
5804
|
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
5614
5805
|
# @type Limit: Integer
|
5806
|
+
# @param TranscodeType: 模板类型(替换旧版本 TEHDType),可选值:
|
5807
|
+
# <li>Common:普通转码模板;</li>
|
5808
|
+
# <li>TEHD:极速高清模板。</li>
|
5809
|
+
# <li>Enhance:音视频增强模板。</li>
|
5810
|
+
# 默认空,不限制类型。
|
5811
|
+
# @type TranscodeType: String
|
5615
5812
|
|
5616
|
-
attr_accessor :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit
|
5813
|
+
attr_accessor :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :TranscodeType
|
5617
5814
|
|
5618
|
-
def initialize(definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil)
|
5815
|
+
def initialize(definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, transcodetype=nil)
|
5619
5816
|
@Definitions = definitions
|
5620
5817
|
@Type = type
|
5621
5818
|
@ContainerType = containertype
|
5622
5819
|
@TEHDType = tehdtype
|
5623
5820
|
@Offset = offset
|
5624
5821
|
@Limit = limit
|
5822
|
+
@TranscodeType = transcodetype
|
5625
5823
|
end
|
5626
5824
|
|
5627
5825
|
def deserialize(params)
|
@@ -5631,6 +5829,7 @@ module TencentCloud
|
|
5631
5829
|
@TEHDType = params['TEHDType']
|
5632
5830
|
@Offset = params['Offset']
|
5633
5831
|
@Limit = params['Limit']
|
5832
|
+
@TranscodeType = params['TranscodeType']
|
5634
5833
|
end
|
5635
5834
|
end
|
5636
5835
|
|
@@ -6143,6 +6342,26 @@ module TencentCloud
|
|
6143
6342
|
end
|
6144
6343
|
end
|
6145
6344
|
|
6345
|
+
# 音视频增强配置
|
6346
|
+
class EnhanceConfig < TencentCloud::Common::AbstractModel
|
6347
|
+
# @param VideoEnhance: 视频增强配置。
|
6348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6349
|
+
# @type VideoEnhance: :class:`Tencentcloud::Mps.v20190612.models.VideoEnhanceConfig`
|
6350
|
+
|
6351
|
+
attr_accessor :VideoEnhance
|
6352
|
+
|
6353
|
+
def initialize(videoenhance=nil)
|
6354
|
+
@VideoEnhance = videoenhance
|
6355
|
+
end
|
6356
|
+
|
6357
|
+
def deserialize(params)
|
6358
|
+
unless params['VideoEnhance'].nil?
|
6359
|
+
@VideoEnhance = VideoEnhanceConfig.new
|
6360
|
+
@VideoEnhance.deserialize(params['VideoEnhance'])
|
6361
|
+
end
|
6362
|
+
end
|
6363
|
+
end
|
6364
|
+
|
6146
6365
|
# ExecuteFunction请求参数结构体
|
6147
6366
|
class ExecuteFunctionRequest < TencentCloud::Common::AbstractModel
|
6148
6367
|
# @param FunctionName: 调用后端接口名称。
|
@@ -6284,6 +6503,57 @@ module TencentCloud
|
|
6284
6503
|
end
|
6285
6504
|
end
|
6286
6505
|
|
6506
|
+
# 人脸增强配置
|
6507
|
+
class FaceEnhanceConfig < TencentCloud::Common::AbstractModel
|
6508
|
+
# @param Switch: 能力配置开关,可选值:
|
6509
|
+
# <li>ON:开启;</li>
|
6510
|
+
# <li>OFF:关闭。</li>
|
6511
|
+
# 默认值:ON。
|
6512
|
+
# @type Switch: String
|
6513
|
+
# @param Intensity: 强度,取值范围:0.0~1.0。
|
6514
|
+
# 默认:0.0。
|
6515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6516
|
+
# @type Intensity: Float
|
6517
|
+
|
6518
|
+
attr_accessor :Switch, :Intensity
|
6519
|
+
|
6520
|
+
def initialize(switch=nil, intensity=nil)
|
6521
|
+
@Switch = switch
|
6522
|
+
@Intensity = intensity
|
6523
|
+
end
|
6524
|
+
|
6525
|
+
def deserialize(params)
|
6526
|
+
@Switch = params['Switch']
|
6527
|
+
@Intensity = params['Intensity']
|
6528
|
+
end
|
6529
|
+
end
|
6530
|
+
|
6531
|
+
# 插帧帧率配置
|
6532
|
+
class FrameRateConfig < TencentCloud::Common::AbstractModel
|
6533
|
+
# @param Switch: 能力配置开关,可选值:
|
6534
|
+
# <li>ON:开启;</li>
|
6535
|
+
# <li>OFF:关闭。</li>
|
6536
|
+
# 默认值:ON。
|
6537
|
+
# @type Switch: String
|
6538
|
+
# @param Fps: 帧率,取值范围:[0, 100],单位:Hz。
|
6539
|
+
# 默认值 0。
|
6540
|
+
# 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
|
6541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6542
|
+
# @type Fps: Integer
|
6543
|
+
|
6544
|
+
attr_accessor :Switch, :Fps
|
6545
|
+
|
6546
|
+
def initialize(switch=nil, fps=nil)
|
6547
|
+
@Switch = switch
|
6548
|
+
@Fps = fps
|
6549
|
+
end
|
6550
|
+
|
6551
|
+
def deserialize(params)
|
6552
|
+
@Switch = params['Switch']
|
6553
|
+
@Fps = params['Fps']
|
6554
|
+
end
|
6555
|
+
end
|
6556
|
+
|
6287
6557
|
# 智能按帧标签任务控制参数
|
6288
6558
|
class FrameTagConfigureInfo < TencentCloud::Common::AbstractModel
|
6289
6559
|
# @param Switch: 智能按帧标签任务开关,可选值:
|
@@ -6320,6 +6590,35 @@ module TencentCloud
|
|
6320
6590
|
end
|
6321
6591
|
end
|
6322
6592
|
|
6593
|
+
# HDR配置
|
6594
|
+
class HdrConfig < TencentCloud::Common::AbstractModel
|
6595
|
+
# @param Switch: 能力配置开关,可选值:
|
6596
|
+
# <li>ON:开启;</li>
|
6597
|
+
# <li>OFF:关闭。</li>
|
6598
|
+
# 默认值:ON。
|
6599
|
+
# @type Switch: String
|
6600
|
+
# @param Type: 类型,可选值:
|
6601
|
+
# <li>HDR10</li>
|
6602
|
+
# <li>HLG</li>
|
6603
|
+
# 默认值:HDR10。
|
6604
|
+
# 注意:video的编码方式需要为libx265;
|
6605
|
+
# 注意:视频编码位深为10。
|
6606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6607
|
+
# @type Type: String
|
6608
|
+
|
6609
|
+
attr_accessor :Switch, :Type
|
6610
|
+
|
6611
|
+
def initialize(switch=nil, type=nil)
|
6612
|
+
@Switch = switch
|
6613
|
+
@Type = type
|
6614
|
+
end
|
6615
|
+
|
6616
|
+
def deserialize(params)
|
6617
|
+
@Switch = params['Switch']
|
6618
|
+
@Type = params['Type']
|
6619
|
+
end
|
6620
|
+
end
|
6621
|
+
|
6323
6622
|
# 片头片尾参数
|
6324
6623
|
class HeadTailParameter < TencentCloud::Common::AbstractModel
|
6325
6624
|
# @param HeadSet: 片头列表。
|
@@ -6354,6 +6653,34 @@ module TencentCloud
|
|
6354
6653
|
end
|
6355
6654
|
end
|
6356
6655
|
|
6656
|
+
# 综合增强配置
|
6657
|
+
class ImageQualityEnhanceConfig < TencentCloud::Common::AbstractModel
|
6658
|
+
# @param Switch: 能力配置开关,可选值:
|
6659
|
+
# <li>ON:开启;</li>
|
6660
|
+
# <li>OFF:关闭。</li>
|
6661
|
+
# 默认值:ON。
|
6662
|
+
# @type Switch: String
|
6663
|
+
# @param Type: 类型,可选值:
|
6664
|
+
# <li>weak</li>
|
6665
|
+
# <li>normal</li>
|
6666
|
+
# <li>strong</li>
|
6667
|
+
# 默认值:weak。
|
6668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6669
|
+
# @type Type: String
|
6670
|
+
|
6671
|
+
attr_accessor :Switch, :Type
|
6672
|
+
|
6673
|
+
def initialize(switch=nil, type=nil)
|
6674
|
+
@Switch = switch
|
6675
|
+
@Type = type
|
6676
|
+
end
|
6677
|
+
|
6678
|
+
def deserialize(params)
|
6679
|
+
@Switch = params['Switch']
|
6680
|
+
@Type = params['Type']
|
6681
|
+
end
|
6682
|
+
end
|
6683
|
+
|
6357
6684
|
# 对视频截雪碧图任务输入参数类型
|
6358
6685
|
class ImageSpriteTaskInput < TencentCloud::Common::AbstractModel
|
6359
6686
|
# @param Definition: 雪碧图模板 ID。
|
@@ -7223,6 +7550,32 @@ module TencentCloud
|
|
7223
7550
|
end
|
7224
7551
|
end
|
7225
7552
|
|
7553
|
+
# 低光照增强配置
|
7554
|
+
class LowLightEnhanceConfig < TencentCloud::Common::AbstractModel
|
7555
|
+
# @param Switch: 能力配置开关,可选值:
|
7556
|
+
# <li>ON:开启;</li>
|
7557
|
+
# <li>OFF:关闭。</li>
|
7558
|
+
# 默认值:ON。
|
7559
|
+
# @type Switch: String
|
7560
|
+
# @param Type: 类型,可选值:
|
7561
|
+
# <li>normal</li>
|
7562
|
+
# 默认值:normal。
|
7563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7564
|
+
# @type Type: String
|
7565
|
+
|
7566
|
+
attr_accessor :Switch, :Type
|
7567
|
+
|
7568
|
+
def initialize(switch=nil, type=nil)
|
7569
|
+
@Switch = switch
|
7570
|
+
@Type = type
|
7571
|
+
end
|
7572
|
+
|
7573
|
+
def deserialize(params)
|
7574
|
+
@Switch = params['Switch']
|
7575
|
+
@Type = params['Type']
|
7576
|
+
end
|
7577
|
+
end
|
7578
|
+
|
7226
7579
|
# ManageTask请求参数结构体
|
7227
7580
|
class ManageTaskRequest < TencentCloud::Common::AbstractModel
|
7228
7581
|
# @param OperationType: 操作类型,取值范围:
|
@@ -9188,10 +9541,12 @@ module TencentCloud
|
|
9188
9541
|
# @type AudioTemplate: :class:`Tencentcloud::Mps.v20190612.models.AudioTemplateInfoForUpdate`
|
9189
9542
|
# @param TEHDConfig: 极速高清转码参数。
|
9190
9543
|
# @type TEHDConfig: :class:`Tencentcloud::Mps.v20190612.models.TEHDConfigForUpdate`
|
9544
|
+
# @param EnhanceConfig: 音视频增强参数。
|
9545
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
9191
9546
|
|
9192
|
-
attr_accessor :Definition, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
|
9547
|
+
attr_accessor :Definition, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :EnhanceConfig
|
9193
9548
|
|
9194
|
-
def initialize(definition=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
|
9549
|
+
def initialize(definition=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil)
|
9195
9550
|
@Definition = definition
|
9196
9551
|
@Container = container
|
9197
9552
|
@Name = name
|
@@ -9201,6 +9556,7 @@ module TencentCloud
|
|
9201
9556
|
@VideoTemplate = videotemplate
|
9202
9557
|
@AudioTemplate = audiotemplate
|
9203
9558
|
@TEHDConfig = tehdconfig
|
9559
|
+
@EnhanceConfig = enhanceconfig
|
9204
9560
|
end
|
9205
9561
|
|
9206
9562
|
def deserialize(params)
|
@@ -9222,6 +9578,10 @@ module TencentCloud
|
|
9222
9578
|
@TEHDConfig = TEHDConfigForUpdate.new
|
9223
9579
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
9224
9580
|
end
|
9581
|
+
unless params['EnhanceConfig'].nil?
|
9582
|
+
@EnhanceConfig = EnhanceConfig.new
|
9583
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
9584
|
+
end
|
9225
9585
|
end
|
9226
9586
|
end
|
9227
9587
|
|
@@ -9692,6 +10052,7 @@ module TencentCloud
|
|
9692
10052
|
# @param EventType: 支持事件类型,目前取值有:
|
9693
10053
|
# <li>WorkflowTask:视频工作流处理任务。</li>
|
9694
10054
|
# <li>EditMediaTask:视频编辑任务。</li>
|
10055
|
+
# <li>ScheduleTask:编排任务。</li>
|
9695
10056
|
# @type EventType: String
|
9696
10057
|
# @param WorkflowTaskEvent: 视频处理任务信息,仅当 TaskType 为 WorkflowTask,该字段有值。
|
9697
10058
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -9703,17 +10064,21 @@ module TencentCloud
|
|
9703
10064
|
# @type SessionId: String
|
9704
10065
|
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
|
9705
10066
|
# @type SessionContext: String
|
10067
|
+
# @param ScheduleTaskEvent: 编排任务信息,仅当 TaskType 为 ScheduleTask,该字段有值。
|
10068
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10069
|
+
# @type ScheduleTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.ScheduleTask`
|
9706
10070
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9707
10071
|
# @type RequestId: String
|
9708
10072
|
|
9709
|
-
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :RequestId
|
10073
|
+
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :RequestId
|
9710
10074
|
|
9711
|
-
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, requestid=nil)
|
10075
|
+
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, requestid=nil)
|
9712
10076
|
@EventType = eventtype
|
9713
10077
|
@WorkflowTaskEvent = workflowtaskevent
|
9714
10078
|
@EditMediaTaskEvent = editmediataskevent
|
9715
10079
|
@SessionId = sessionid
|
9716
10080
|
@SessionContext = sessioncontext
|
10081
|
+
@ScheduleTaskEvent = scheduletaskevent
|
9717
10082
|
@RequestId = requestid
|
9718
10083
|
end
|
9719
10084
|
|
@@ -9729,6 +10094,10 @@ module TencentCloud
|
|
9729
10094
|
end
|
9730
10095
|
@SessionId = params['SessionId']
|
9731
10096
|
@SessionContext = params['SessionContext']
|
10097
|
+
unless params['ScheduleTaskEvent'].nil?
|
10098
|
+
@ScheduleTaskEvent = ScheduleTask.new
|
10099
|
+
@ScheduleTaskEvent.deserialize(params['ScheduleTaskEvent'])
|
10100
|
+
end
|
9732
10101
|
@RequestId = params['RequestId']
|
9733
10102
|
end
|
9734
10103
|
end
|
@@ -10317,10 +10686,15 @@ module TencentCloud
|
|
10317
10686
|
# @type SessionId: String
|
10318
10687
|
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
10319
10688
|
# @type SessionContext: String
|
10689
|
+
# @param ScheduleId: 编排ID。
|
10690
|
+
# 注意1:对于OutputStorage、OutputDir,如果编排任务里没有配置,将采用请求里对应参数。
|
10691
|
+
# 注意2:对于TaskNotifyConfig,如果编排任务里没有配置,将采用请求里对应的参数。
|
10692
|
+
# 注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
|
10693
|
+
# @type ScheduleId: Integer
|
10320
10694
|
|
10321
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext
|
10695
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ScheduleId
|
10322
10696
|
|
10323
|
-
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil)
|
10697
|
+
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, scheduleid=nil)
|
10324
10698
|
@InputInfo = inputinfo
|
10325
10699
|
@OutputStorage = outputstorage
|
10326
10700
|
@OutputDir = outputdir
|
@@ -10332,6 +10706,7 @@ module TencentCloud
|
|
10332
10706
|
@TasksPriority = taskspriority
|
10333
10707
|
@SessionId = sessionid
|
10334
10708
|
@SessionContext = sessioncontext
|
10709
|
+
@ScheduleId = scheduleid
|
10335
10710
|
end
|
10336
10711
|
|
10337
10712
|
def deserialize(params)
|
@@ -10367,6 +10742,7 @@ module TencentCloud
|
|
10367
10742
|
@TasksPriority = params['TasksPriority']
|
10368
10743
|
@SessionId = params['SessionId']
|
10369
10744
|
@SessionContext = params['SessionContext']
|
10745
|
+
@ScheduleId = params['ScheduleId']
|
10370
10746
|
end
|
10371
10747
|
end
|
10372
10748
|
|
@@ -10960,6 +11336,247 @@ module TencentCloud
|
|
10960
11336
|
end
|
10961
11337
|
end
|
10962
11338
|
|
11339
|
+
# 编排视频分析任务结果类型
|
11340
|
+
class ScheduleAnalysisTaskResult < TencentCloud::Common::AbstractModel
|
11341
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
11342
|
+
# @type Status: String
|
11343
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
11344
|
+
# @type ErrCodeExt: String
|
11345
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
11346
|
+
# @type ErrCode: Integer
|
11347
|
+
# @param Message: 错误信息。
|
11348
|
+
# @type Message: String
|
11349
|
+
# @param Input: 分析任务的输入。
|
11350
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
|
11351
|
+
# @param Output: 分析任务的输出。
|
11352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11353
|
+
# @type Output: Array
|
11354
|
+
|
11355
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
|
11356
|
+
|
11357
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
|
11358
|
+
@Status = status
|
11359
|
+
@ErrCodeExt = errcodeext
|
11360
|
+
@ErrCode = errcode
|
11361
|
+
@Message = message
|
11362
|
+
@Input = input
|
11363
|
+
@Output = output
|
11364
|
+
end
|
11365
|
+
|
11366
|
+
def deserialize(params)
|
11367
|
+
@Status = params['Status']
|
11368
|
+
@ErrCodeExt = params['ErrCodeExt']
|
11369
|
+
@ErrCode = params['ErrCode']
|
11370
|
+
@Message = params['Message']
|
11371
|
+
unless params['Input'].nil?
|
11372
|
+
@Input = AiAnalysisTaskInput.new
|
11373
|
+
@Input.deserialize(params['Input'])
|
11374
|
+
end
|
11375
|
+
unless params['Output'].nil?
|
11376
|
+
@Output = []
|
11377
|
+
params['Output'].each do |i|
|
11378
|
+
aianalysisresult_tmp = AiAnalysisResult.new
|
11379
|
+
aianalysisresult_tmp.deserialize(i)
|
11380
|
+
@Output << aianalysisresult_tmp
|
11381
|
+
end
|
11382
|
+
end
|
11383
|
+
end
|
11384
|
+
end
|
11385
|
+
|
11386
|
+
# 编排视频识别任务结果类型
|
11387
|
+
class ScheduleRecognitionTaskResult < TencentCloud::Common::AbstractModel
|
11388
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
11389
|
+
# @type Status: String
|
11390
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
11391
|
+
# @type ErrCodeExt: String
|
11392
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
11393
|
+
# @type ErrCode: Integer
|
11394
|
+
# @param Message: 错误信息。
|
11395
|
+
# @type Message: String
|
11396
|
+
# @param Input: 识别任务的输入。
|
11397
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
|
11398
|
+
# @param Output: 识别任务的输出。
|
11399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11400
|
+
# @type Output: Array
|
11401
|
+
|
11402
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
|
11403
|
+
|
11404
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
|
11405
|
+
@Status = status
|
11406
|
+
@ErrCodeExt = errcodeext
|
11407
|
+
@ErrCode = errcode
|
11408
|
+
@Message = message
|
11409
|
+
@Input = input
|
11410
|
+
@Output = output
|
11411
|
+
end
|
11412
|
+
|
11413
|
+
def deserialize(params)
|
11414
|
+
@Status = params['Status']
|
11415
|
+
@ErrCodeExt = params['ErrCodeExt']
|
11416
|
+
@ErrCode = params['ErrCode']
|
11417
|
+
@Message = params['Message']
|
11418
|
+
unless params['Input'].nil?
|
11419
|
+
@Input = AiRecognitionTaskInput.new
|
11420
|
+
@Input.deserialize(params['Input'])
|
11421
|
+
end
|
11422
|
+
unless params['Output'].nil?
|
11423
|
+
@Output = []
|
11424
|
+
params['Output'].each do |i|
|
11425
|
+
airecognitionresult_tmp = AiRecognitionResult.new
|
11426
|
+
airecognitionresult_tmp.deserialize(i)
|
11427
|
+
@Output << airecognitionresult_tmp
|
11428
|
+
end
|
11429
|
+
end
|
11430
|
+
end
|
11431
|
+
end
|
11432
|
+
|
11433
|
+
# 编排视频审核任务结果类型
|
11434
|
+
class ScheduleReviewTaskResult < TencentCloud::Common::AbstractModel
|
11435
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
11436
|
+
# @type Status: String
|
11437
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
11438
|
+
# @type ErrCodeExt: String
|
11439
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
11440
|
+
# @type ErrCode: Integer
|
11441
|
+
# @param Message: 错误信息。
|
11442
|
+
# @type Message: String
|
11443
|
+
# @param Input: 审核任务的输入。
|
11444
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiContentReviewTaskInput`
|
11445
|
+
# @param Output: 审核任务的输出。
|
11446
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11447
|
+
# @type Output: Array
|
11448
|
+
|
11449
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
|
11450
|
+
|
11451
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
|
11452
|
+
@Status = status
|
11453
|
+
@ErrCodeExt = errcodeext
|
11454
|
+
@ErrCode = errcode
|
11455
|
+
@Message = message
|
11456
|
+
@Input = input
|
11457
|
+
@Output = output
|
11458
|
+
end
|
11459
|
+
|
11460
|
+
def deserialize(params)
|
11461
|
+
@Status = params['Status']
|
11462
|
+
@ErrCodeExt = params['ErrCodeExt']
|
11463
|
+
@ErrCode = params['ErrCode']
|
11464
|
+
@Message = params['Message']
|
11465
|
+
unless params['Input'].nil?
|
11466
|
+
@Input = AiContentReviewTaskInput.new
|
11467
|
+
@Input.deserialize(params['Input'])
|
11468
|
+
end
|
11469
|
+
unless params['Output'].nil?
|
11470
|
+
@Output = []
|
11471
|
+
params['Output'].each do |i|
|
11472
|
+
aicontentreviewresult_tmp = AiContentReviewResult.new
|
11473
|
+
aicontentreviewresult_tmp.deserialize(i)
|
11474
|
+
@Output << aicontentreviewresult_tmp
|
11475
|
+
end
|
11476
|
+
end
|
11477
|
+
end
|
11478
|
+
end
|
11479
|
+
|
11480
|
+
# 编排任务信息
|
11481
|
+
class ScheduleTask < TencentCloud::Common::AbstractModel
|
11482
|
+
# @param TaskId: 编排任务 ID。
|
11483
|
+
# @type TaskId: String
|
11484
|
+
# @param Status: 任务流状态,取值:
|
11485
|
+
# <li>PROCESSING:处理中;</li>
|
11486
|
+
# <li>FINISH:已完成。</li>
|
11487
|
+
# @type Status: String
|
11488
|
+
# @param InputInfo: 媒体处理的目标文件信息。
|
11489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11490
|
+
# @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
11491
|
+
# @param MetaData: 原始视频的元信息。
|
11492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11493
|
+
# @type MetaData: :class:`Tencentcloud::Mps.v20190612.models.MediaMetaData`
|
11494
|
+
# @param ActivityResultSet: 编排任务输出。
|
11495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11496
|
+
# @type ActivityResultSet: Array
|
11497
|
+
|
11498
|
+
attr_accessor :TaskId, :Status, :InputInfo, :MetaData, :ActivityResultSet
|
11499
|
+
|
11500
|
+
def initialize(taskid=nil, status=nil, inputinfo=nil, metadata=nil, activityresultset=nil)
|
11501
|
+
@TaskId = taskid
|
11502
|
+
@Status = status
|
11503
|
+
@InputInfo = inputinfo
|
11504
|
+
@MetaData = metadata
|
11505
|
+
@ActivityResultSet = activityresultset
|
11506
|
+
end
|
11507
|
+
|
11508
|
+
def deserialize(params)
|
11509
|
+
@TaskId = params['TaskId']
|
11510
|
+
@Status = params['Status']
|
11511
|
+
unless params['InputInfo'].nil?
|
11512
|
+
@InputInfo = MediaInputInfo.new
|
11513
|
+
@InputInfo.deserialize(params['InputInfo'])
|
11514
|
+
end
|
11515
|
+
unless params['MetaData'].nil?
|
11516
|
+
@MetaData = MediaMetaData.new
|
11517
|
+
@MetaData.deserialize(params['MetaData'])
|
11518
|
+
end
|
11519
|
+
unless params['ActivityResultSet'].nil?
|
11520
|
+
@ActivityResultSet = []
|
11521
|
+
params['ActivityResultSet'].each do |i|
|
11522
|
+
activityresult_tmp = ActivityResult.new
|
11523
|
+
activityresult_tmp.deserialize(i)
|
11524
|
+
@ActivityResultSet << activityresult_tmp
|
11525
|
+
end
|
11526
|
+
end
|
11527
|
+
end
|
11528
|
+
end
|
11529
|
+
|
11530
|
+
# 去划痕配置
|
11531
|
+
class ScratchRepairConfig < TencentCloud::Common::AbstractModel
|
11532
|
+
# @param Switch: 能力配置开关,可选值:
|
11533
|
+
# <li>ON:开启;</li>
|
11534
|
+
# <li>OFF:关闭。</li>
|
11535
|
+
# 默认值:ON。
|
11536
|
+
# @type Switch: String
|
11537
|
+
# @param Intensity: 强度,取值范围:0.0~1.0。
|
11538
|
+
# 默认:0.0。
|
11539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11540
|
+
# @type Intensity: Float
|
11541
|
+
|
11542
|
+
attr_accessor :Switch, :Intensity
|
11543
|
+
|
11544
|
+
def initialize(switch=nil, intensity=nil)
|
11545
|
+
@Switch = switch
|
11546
|
+
@Intensity = intensity
|
11547
|
+
end
|
11548
|
+
|
11549
|
+
def deserialize(params)
|
11550
|
+
@Switch = params['Switch']
|
11551
|
+
@Intensity = params['Intensity']
|
11552
|
+
end
|
11553
|
+
end
|
11554
|
+
|
11555
|
+
# 细节增强配置
|
11556
|
+
class SharpEnhanceConfig < TencentCloud::Common::AbstractModel
|
11557
|
+
# @param Switch: 能力配置开关,可选值:
|
11558
|
+
# <li>ON:开启;</li>
|
11559
|
+
# <li>OFF:关闭。</li>
|
11560
|
+
# 默认值:ON。
|
11561
|
+
# @type Switch: String
|
11562
|
+
# @param Intensity: 强度,取值范围:0.0~1.0。
|
11563
|
+
# 默认:0.0。
|
11564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11565
|
+
# @type Intensity: Float
|
11566
|
+
|
11567
|
+
attr_accessor :Switch, :Intensity
|
11568
|
+
|
11569
|
+
def initialize(switch=nil, intensity=nil)
|
11570
|
+
@Switch = switch
|
11571
|
+
@Intensity = intensity
|
11572
|
+
end
|
11573
|
+
|
11574
|
+
def deserialize(params)
|
11575
|
+
@Switch = params['Switch']
|
11576
|
+
@Intensity = params['Intensity']
|
11577
|
+
end
|
11578
|
+
end
|
11579
|
+
|
10963
11580
|
# 对视频按指定时间点截图任务输入参数类型
|
10964
11581
|
class SnapshotByTimeOffsetTaskInput < TencentCloud::Common::AbstractModel
|
10965
11582
|
# @param Definition: 指定时间点截图模板 ID。
|
@@ -11093,6 +11710,40 @@ module TencentCloud
|
|
11093
11710
|
end
|
11094
11711
|
end
|
11095
11712
|
|
11713
|
+
# 超分配置
|
11714
|
+
class SuperResolutionConfig < TencentCloud::Common::AbstractModel
|
11715
|
+
# @param Switch: 能力配置开关,可选值:
|
11716
|
+
# <li>ON:开启;</li>
|
11717
|
+
# <li>OFF:关闭。</li>
|
11718
|
+
# 默认值:ON。
|
11719
|
+
# @type Switch: String
|
11720
|
+
# @param Type: 类型,可选值:
|
11721
|
+
# <li>lq:针对低清晰度有较多噪声视频的超分;</li>
|
11722
|
+
# <li>hq:针对高清晰度视频超分。</li>
|
11723
|
+
# 默认值:lq。
|
11724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11725
|
+
# @type Type: String
|
11726
|
+
# @param Size: 超分倍数,可选值:
|
11727
|
+
# <li>2:目前只支持 2 倍超分。</li>
|
11728
|
+
# 默认值:2。
|
11729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11730
|
+
# @type Size: Integer
|
11731
|
+
|
11732
|
+
attr_accessor :Switch, :Type, :Size
|
11733
|
+
|
11734
|
+
def initialize(switch=nil, type=nil, size=nil)
|
11735
|
+
@Switch = switch
|
11736
|
+
@Type = type
|
11737
|
+
@Size = size
|
11738
|
+
end
|
11739
|
+
|
11740
|
+
def deserialize(params)
|
11741
|
+
@Switch = params['Switch']
|
11742
|
+
@Type = params['Type']
|
11743
|
+
@Size = params['Size']
|
11744
|
+
end
|
11745
|
+
end
|
11746
|
+
|
11096
11747
|
# SVG水印模板输入参数
|
11097
11748
|
class SvgWatermarkInput < TencentCloud::Common::AbstractModel
|
11098
11749
|
# @param Width: 水印的宽度,支持 px,%,W%,H%,S%,L% 六种格式:
|
@@ -11262,6 +11913,7 @@ module TencentCloud
|
|
11262
11913
|
# <li>CMQ:已下线,建议切换到TDMQ-CMQ</li>
|
11263
11914
|
# <li>TDMQ-CMQ:消息队列</li>
|
11264
11915
|
# <li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>
|
11916
|
+
# <li>SCF:不推荐使用,需要在控制台额外配置SCF</li>
|
11265
11917
|
# 目前 默认CMQ。
|
11266
11918
|
# @type NotifyType: String
|
11267
11919
|
# @param NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
@@ -11737,10 +12389,13 @@ module TencentCloud
|
|
11737
12389
|
# @type CreateTime: String
|
11738
12390
|
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
11739
12391
|
# @type UpdateTime: String
|
12392
|
+
# @param EnhanceConfig: 音视频增强配置。
|
12393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12394
|
+
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
11740
12395
|
|
11741
|
-
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime
|
12396
|
+
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :EnhanceConfig
|
11742
12397
|
|
11743
|
-
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil)
|
12398
|
+
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil)
|
11744
12399
|
@Definition = definition
|
11745
12400
|
@Container = container
|
11746
12401
|
@Name = name
|
@@ -11754,6 +12409,7 @@ module TencentCloud
|
|
11754
12409
|
@ContainerType = containertype
|
11755
12410
|
@CreateTime = createtime
|
11756
12411
|
@UpdateTime = updatetime
|
12412
|
+
@EnhanceConfig = enhanceconfig
|
11757
12413
|
end
|
11758
12414
|
|
11759
12415
|
def deserialize(params)
|
@@ -11779,6 +12435,10 @@ module TencentCloud
|
|
11779
12435
|
@ContainerType = params['ContainerType']
|
11780
12436
|
@CreateTime = params['CreateTime']
|
11781
12437
|
@UpdateTime = params['UpdateTime']
|
12438
|
+
unless params['EnhanceConfig'].nil?
|
12439
|
+
@EnhanceConfig = EnhanceConfig.new
|
12440
|
+
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
12441
|
+
end
|
11782
12442
|
end
|
11783
12443
|
end
|
11784
12444
|
|
@@ -12050,23 +12710,154 @@ module TencentCloud
|
|
12050
12710
|
end
|
12051
12711
|
end
|
12052
12712
|
|
12713
|
+
# 视频降噪配置
|
12714
|
+
class VideoDenoiseConfig < TencentCloud::Common::AbstractModel
|
12715
|
+
# @param Switch: 能力配置开关,可选值:
|
12716
|
+
# <li>ON:开启;</li>
|
12717
|
+
# <li>OFF:关闭。</li>
|
12718
|
+
# 默认值:ON。
|
12719
|
+
# @type Switch: String
|
12720
|
+
# @param Type: 类型,可选值:
|
12721
|
+
# <li>weak</li>
|
12722
|
+
# <li>strong</li>
|
12723
|
+
# 默认值:weak。
|
12724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12725
|
+
# @type Type: String
|
12726
|
+
|
12727
|
+
attr_accessor :Switch, :Type
|
12728
|
+
|
12729
|
+
def initialize(switch=nil, type=nil)
|
12730
|
+
@Switch = switch
|
12731
|
+
@Type = type
|
12732
|
+
end
|
12733
|
+
|
12734
|
+
def deserialize(params)
|
12735
|
+
@Switch = params['Switch']
|
12736
|
+
@Type = params['Type']
|
12737
|
+
end
|
12738
|
+
end
|
12739
|
+
|
12740
|
+
# 视频增强配置
|
12741
|
+
class VideoEnhanceConfig < TencentCloud::Common::AbstractModel
|
12742
|
+
# @param FrameRate: 插帧帧率配置。
|
12743
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12744
|
+
# @type FrameRate: :class:`Tencentcloud::Mps.v20190612.models.FrameRateConfig`
|
12745
|
+
# @param SuperResolution: 超分配置。
|
12746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12747
|
+
# @type SuperResolution: :class:`Tencentcloud::Mps.v20190612.models.SuperResolutionConfig`
|
12748
|
+
# @param Hdr: HDR配置。
|
12749
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12750
|
+
# @type Hdr: :class:`Tencentcloud::Mps.v20190612.models.HdrConfig`
|
12751
|
+
# @param Denoise: 视频降噪配置。
|
12752
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12753
|
+
# @type Denoise: :class:`Tencentcloud::Mps.v20190612.models.VideoDenoiseConfig`
|
12754
|
+
# @param ImageQualityEnhance: 综合增强配置。
|
12755
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12756
|
+
# @type ImageQualityEnhance: :class:`Tencentcloud::Mps.v20190612.models.ImageQualityEnhanceConfig`
|
12757
|
+
# @param ColorEnhance: 色彩增强配置。
|
12758
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12759
|
+
# @type ColorEnhance: :class:`Tencentcloud::Mps.v20190612.models.ColorEnhanceConfig`
|
12760
|
+
# @param SharpEnhance: 细节增强配置。
|
12761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12762
|
+
# @type SharpEnhance: :class:`Tencentcloud::Mps.v20190612.models.SharpEnhanceConfig`
|
12763
|
+
# @param FaceEnhance: 人脸增强配置。
|
12764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12765
|
+
# @type FaceEnhance: :class:`Tencentcloud::Mps.v20190612.models.FaceEnhanceConfig`
|
12766
|
+
# @param LowLightEnhance: 低光照增强配置。
|
12767
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12768
|
+
# @type LowLightEnhance: :class:`Tencentcloud::Mps.v20190612.models.LowLightEnhanceConfig`
|
12769
|
+
# @param ScratchRepair: 去划痕配置。
|
12770
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12771
|
+
# @type ScratchRepair: :class:`Tencentcloud::Mps.v20190612.models.ScratchRepairConfig`
|
12772
|
+
# @param ArtifactRepair: 去伪影(毛刺)配置。
|
12773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12774
|
+
# @type ArtifactRepair: :class:`Tencentcloud::Mps.v20190612.models.ArtifactRepairConfig`
|
12775
|
+
|
12776
|
+
attr_accessor :FrameRate, :SuperResolution, :Hdr, :Denoise, :ImageQualityEnhance, :ColorEnhance, :SharpEnhance, :FaceEnhance, :LowLightEnhance, :ScratchRepair, :ArtifactRepair
|
12777
|
+
|
12778
|
+
def initialize(framerate=nil, superresolution=nil, hdr=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, sharpenhance=nil, faceenhance=nil, lowlightenhance=nil, scratchrepair=nil, artifactrepair=nil)
|
12779
|
+
@FrameRate = framerate
|
12780
|
+
@SuperResolution = superresolution
|
12781
|
+
@Hdr = hdr
|
12782
|
+
@Denoise = denoise
|
12783
|
+
@ImageQualityEnhance = imagequalityenhance
|
12784
|
+
@ColorEnhance = colorenhance
|
12785
|
+
@SharpEnhance = sharpenhance
|
12786
|
+
@FaceEnhance = faceenhance
|
12787
|
+
@LowLightEnhance = lowlightenhance
|
12788
|
+
@ScratchRepair = scratchrepair
|
12789
|
+
@ArtifactRepair = artifactrepair
|
12790
|
+
end
|
12791
|
+
|
12792
|
+
def deserialize(params)
|
12793
|
+
unless params['FrameRate'].nil?
|
12794
|
+
@FrameRate = FrameRateConfig.new
|
12795
|
+
@FrameRate.deserialize(params['FrameRate'])
|
12796
|
+
end
|
12797
|
+
unless params['SuperResolution'].nil?
|
12798
|
+
@SuperResolution = SuperResolutionConfig.new
|
12799
|
+
@SuperResolution.deserialize(params['SuperResolution'])
|
12800
|
+
end
|
12801
|
+
unless params['Hdr'].nil?
|
12802
|
+
@Hdr = HdrConfig.new
|
12803
|
+
@Hdr.deserialize(params['Hdr'])
|
12804
|
+
end
|
12805
|
+
unless params['Denoise'].nil?
|
12806
|
+
@Denoise = VideoDenoiseConfig.new
|
12807
|
+
@Denoise.deserialize(params['Denoise'])
|
12808
|
+
end
|
12809
|
+
unless params['ImageQualityEnhance'].nil?
|
12810
|
+
@ImageQualityEnhance = ImageQualityEnhanceConfig.new
|
12811
|
+
@ImageQualityEnhance.deserialize(params['ImageQualityEnhance'])
|
12812
|
+
end
|
12813
|
+
unless params['ColorEnhance'].nil?
|
12814
|
+
@ColorEnhance = ColorEnhanceConfig.new
|
12815
|
+
@ColorEnhance.deserialize(params['ColorEnhance'])
|
12816
|
+
end
|
12817
|
+
unless params['SharpEnhance'].nil?
|
12818
|
+
@SharpEnhance = SharpEnhanceConfig.new
|
12819
|
+
@SharpEnhance.deserialize(params['SharpEnhance'])
|
12820
|
+
end
|
12821
|
+
unless params['FaceEnhance'].nil?
|
12822
|
+
@FaceEnhance = FaceEnhanceConfig.new
|
12823
|
+
@FaceEnhance.deserialize(params['FaceEnhance'])
|
12824
|
+
end
|
12825
|
+
unless params['LowLightEnhance'].nil?
|
12826
|
+
@LowLightEnhance = LowLightEnhanceConfig.new
|
12827
|
+
@LowLightEnhance.deserialize(params['LowLightEnhance'])
|
12828
|
+
end
|
12829
|
+
unless params['ScratchRepair'].nil?
|
12830
|
+
@ScratchRepair = ScratchRepairConfig.new
|
12831
|
+
@ScratchRepair.deserialize(params['ScratchRepair'])
|
12832
|
+
end
|
12833
|
+
unless params['ArtifactRepair'].nil?
|
12834
|
+
@ArtifactRepair = ArtifactRepairConfig.new
|
12835
|
+
@ArtifactRepair.deserialize(params['ArtifactRepair'])
|
12836
|
+
end
|
12837
|
+
end
|
12838
|
+
end
|
12839
|
+
|
12053
12840
|
# 视频流配置参数
|
12054
12841
|
class VideoTemplateInfo < TencentCloud::Common::AbstractModel
|
12055
12842
|
# @param Codec: 视频流的编码格式,可选值:
|
12056
12843
|
# <li>libx264:H.264 编码</li>
|
12057
12844
|
# <li>libx265:H.265 编码</li>
|
12058
12845
|
# <li>av1:AOMedia Video 1 编码</li>
|
12846
|
+
# 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
12847
|
+
# 注意:av1 编码容器目前只支持 mp4 。
|
12059
12848
|
# @type Codec: String
|
12060
12849
|
# @param Fps: 视频帧率,取值范围:[0, 100],单位:Hz。
|
12061
12850
|
# 当取值为 0,表示帧率和原始视频保持一致。
|
12851
|
+
# 注意:自适应码率时取值范围是 [0, 60]
|
12062
12852
|
# @type Fps: Integer
|
12063
|
-
# @param Bitrate: 视频流的码率,取值范围:0 和 [
|
12853
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
12064
12854
|
# 当取值为 0,表示视频码率和原始视频保持一致。
|
12065
12855
|
# @type Bitrate: Integer
|
12066
12856
|
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
12067
12857
|
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
12068
12858
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
12069
12859
|
# 默认值:open。
|
12860
|
+
# 注意:自适应模式时,Width不能小于Height。
|
12070
12861
|
# @type ResolutionAdaptive: String
|
12071
12862
|
# @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
12072
12863
|
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
@@ -12091,6 +12882,7 @@ module TencentCloud
|
|
12091
12882
|
# <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
|
12092
12883
|
# <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>
|
12093
12884
|
# 默认值:black 。
|
12885
|
+
# 注意:自适应码流只支持 stretch、black。
|
12094
12886
|
# @type FillType: String
|
12095
12887
|
# @param Vcrf: 视频恒定码率控制因子,取值范围为[1, 51]。
|
12096
12888
|
# 如果指定该参数,将使用 CRF 的码率控制方式做转码(视频码率将不再生效)。
|
@@ -12130,7 +12922,8 @@ module TencentCloud
|
|
12130
12922
|
# <li>libx264:H.264 编码</li>
|
12131
12923
|
# <li>libx265:H.265 编码</li>
|
12132
12924
|
# <li>av1:AOMedia Video 1 编码</li>
|
12133
|
-
#
|
12925
|
+
# 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
12926
|
+
# 注意:av1 编码容器目前只支持 mp4 。
|
12134
12927
|
# @type Codec: String
|
12135
12928
|
# @param Fps: 视频帧率,取值范围:[0, 100],单位:Hz。
|
12136
12929
|
# 当取值为 0,表示帧率和原始视频保持一致。
|
@@ -12141,6 +12934,7 @@ module TencentCloud
|
|
12141
12934
|
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
12142
12935
|
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
12143
12936
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
12937
|
+
# 注意:自适应模式时,Width不能小于Height。
|
12144
12938
|
# @type ResolutionAdaptive: String
|
12145
12939
|
# @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
12146
12940
|
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.359
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|