tencentcloud-sdk-mps 3.0.1127 → 3.0.1140
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/client.rb +5 -1
- data/lib/v20190612/models.rb +686 -37
- 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: 408d912b2ba03e0565eba819df429b9750953747
|
4
|
+
data.tar.gz: 810637043089242e5acd70cdd06c218899e2feaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45aea80dc14a7baeeee3264eba57bfee21bbafe338644bcaef093f72f59f15a81f4a687cc7a8e2ddb2fe3dc039e68001df8c00f57decd795aca632f6d7f504e7
|
7
|
+
data.tar.gz: c684ff893ced05ce9c8dcd83de237782bafeed64966335430172d33893c88cd75ac13c66b29aa93a7033f10793af3b548f8c4f9e161f979132fd9edc678d2553
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1140
|
data/lib/v20190612/client.rb
CHANGED
@@ -427,6 +427,9 @@ module TencentCloud
|
|
427
427
|
# 7. 智能内容审核(鉴黄、敏感信息检测);
|
428
428
|
# 8. 智能内容分析(标签、分类、封面、按帧标签);
|
429
429
|
# 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。
|
430
|
+
# 10. 媒体质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)
|
431
|
+
# 11. 智能字幕(语音全文、语音热词、语音翻译)
|
432
|
+
# 12. 智能擦除(去水印、去字幕、隐私保护);
|
430
433
|
|
431
434
|
# 注意:创建编排成功后是禁用状态,需要手动启用。
|
432
435
|
|
@@ -3121,8 +3124,9 @@ module TencentCloud
|
|
3121
3124
|
# 7. 智能内容审核(例如鉴黄、敏感信息检测);
|
3122
3125
|
# 8. 智能内容分析(例如标签、分类、封面、按帧标签、拆条、集锦、片头片尾、游戏打点);
|
3123
3126
|
# 9. 智能内容识别(例如人脸、文本全文、文本关键词、语音全文、语音关键词、语音翻译、物体识别);
|
3124
|
-
# 10.
|
3127
|
+
# 10. 媒体质检(例如媒体格式诊断、音画内容检测、无参考打分,其中音画内容检测主要针对抖动、模糊、低光照、过曝光、花屏、噪点、马赛克、二维码等问题);
|
3125
3128
|
# 11. 智能字幕(例如语音全文、语音热词、语音翻译);
|
3129
|
+
# 12. 智能擦除(去水印、去字幕、隐私保护);
|
3126
3130
|
|
3127
3131
|
# @param request: Request instance for ProcessMedia.
|
3128
3132
|
# @type request: :class:`Tencentcloud::mps::V20190612::ProcessMediaRequest`
|
data/lib/v20190612/models.rb
CHANGED
@@ -205,6 +205,7 @@ module TencentCloud
|
|
205
205
|
# <li>action-AIQualityControl:媒体质检</li>
|
206
206
|
# <li>action-SmartSubtitles:智能字幕</li>
|
207
207
|
# <li>action-exec-rules:判断规则</li>
|
208
|
+
# <li>action-SmartErase:智能擦除</li>
|
208
209
|
|
209
210
|
|
210
211
|
# @type ActivityType: String
|
@@ -270,10 +271,13 @@ module TencentCloud
|
|
270
271
|
# @param SmartSubtitlesTask: 智能字幕任务
|
271
272
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
273
|
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
274
|
+
# @param SmartEraseTask: 智能擦除任务
|
275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
276
|
+
# @type SmartEraseTask: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseTaskInput`
|
273
277
|
|
274
|
-
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask, :ExecRulesTask, :SmartSubtitlesTask
|
278
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask, :ExecRulesTask, :SmartSubtitlesTask, :SmartEraseTask
|
275
279
|
|
276
|
-
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil, execrulestask=nil, smartsubtitlestask=nil)
|
280
|
+
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil, execrulestask=nil, smartsubtitlestask=nil, smarterasetask=nil)
|
277
281
|
@TranscodeTask = transcodetask
|
278
282
|
@AnimatedGraphicTask = animatedgraphictask
|
279
283
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
@@ -286,6 +290,7 @@ module TencentCloud
|
|
286
290
|
@QualityControlTask = qualitycontroltask
|
287
291
|
@ExecRulesTask = execrulestask
|
288
292
|
@SmartSubtitlesTask = smartsubtitlestask
|
293
|
+
@SmartEraseTask = smarterasetask
|
289
294
|
end
|
290
295
|
|
291
296
|
def deserialize(params)
|
@@ -337,6 +342,10 @@ module TencentCloud
|
|
337
342
|
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
338
343
|
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
339
344
|
end
|
345
|
+
unless params['SmartEraseTask'].nil?
|
346
|
+
@SmartEraseTask = SmartEraseTaskInput.new
|
347
|
+
@SmartEraseTask.deserialize(params['SmartEraseTask'])
|
348
|
+
end
|
340
349
|
end
|
341
350
|
end
|
342
351
|
|
@@ -378,10 +387,13 @@ module TencentCloud
|
|
378
387
|
# @param SmartSubtitlesTask: 智能字幕任务输出
|
379
388
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
380
389
|
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleSmartSubtitleTaskResult`
|
390
|
+
# @param SmartEraseTask: 智能擦除任务输出
|
391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
392
|
+
# @type SmartEraseTask: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseTaskResult`
|
381
393
|
|
382
|
-
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask, :ExecRuleTask, :SmartSubtitlesTask
|
394
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask, :ExecRuleTask, :SmartSubtitlesTask, :SmartEraseTask
|
383
395
|
|
384
|
-
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil, execruletask=nil, smartsubtitlestask=nil)
|
396
|
+
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil, execruletask=nil, smartsubtitlestask=nil, smarterasetask=nil)
|
385
397
|
@TranscodeTask = transcodetask
|
386
398
|
@AnimatedGraphicTask = animatedgraphictask
|
387
399
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
@@ -394,6 +406,7 @@ module TencentCloud
|
|
394
406
|
@QualityControlTask = qualitycontroltask
|
395
407
|
@ExecRuleTask = execruletask
|
396
408
|
@SmartSubtitlesTask = smartsubtitlestask
|
409
|
+
@SmartEraseTask = smarterasetask
|
397
410
|
end
|
398
411
|
|
399
412
|
def deserialize(params)
|
@@ -445,6 +458,10 @@ module TencentCloud
|
|
445
458
|
@SmartSubtitlesTask = ScheduleSmartSubtitleTaskResult.new
|
446
459
|
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
447
460
|
end
|
461
|
+
unless params['SmartEraseTask'].nil?
|
462
|
+
@SmartEraseTask = SmartEraseTaskResult.new
|
463
|
+
@SmartEraseTask.deserialize(params['SmartEraseTask'])
|
464
|
+
end
|
448
465
|
end
|
449
466
|
end
|
450
467
|
|
@@ -462,6 +479,7 @@ module TencentCloud
|
|
462
479
|
# <li>AIAnalysis:智能分析。</li>
|
463
480
|
# <li>AiQualityControl:媒体质检。</li>
|
464
481
|
# <li>SmartSubtitles:智能字幕。</li>
|
482
|
+
# <li>SmartErase:智能擦除。</li>
|
465
483
|
# @type ActivityType: String
|
466
484
|
# @param ActivityResItem: 原子任务输出。
|
467
485
|
# @type ActivityResItem: :class:`Tencentcloud::Mps.v20190612.models.ActivityResItem`
|
@@ -535,16 +553,17 @@ module TencentCloud
|
|
535
553
|
# @type SubStreamObjectName: String
|
536
554
|
# @param SegmentObjectName: 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。
|
537
555
|
# @type SegmentObjectName: String
|
538
|
-
# @param AddOnSubtitles:
|
556
|
+
# @param AddOnSubtitles: 外挂字幕功能,指定要插入的字幕文件。
|
539
557
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
540
558
|
# @type AddOnSubtitles: Array
|
541
559
|
# @param DrmInfo: Drm信息。
|
560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
542
561
|
# @type DrmInfo: :class:`Tencentcloud::Mps.v20190612.models.DrmInfo`
|
543
562
|
# @param DefinitionType: 自适应转码模板类型:
|
544
563
|
# Common:音视频类型
|
545
564
|
# PureAudio:纯音频类型
|
546
565
|
# @type DefinitionType: String
|
547
|
-
# @param SubtitleTemplate:
|
566
|
+
# @param SubtitleTemplate: 硬字幕(压制字幕)功能,指定字幕来源、字体大小、位置等字幕参数。
|
548
567
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
549
568
|
# @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
|
550
569
|
# @param StdExtInfo: 转码参数扩展字段
|
@@ -2129,8 +2148,8 @@ module TencentCloud
|
|
2129
2148
|
|
2130
2149
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
2131
2150
|
extend Gem::Deprecate
|
2132
|
-
deprecate :OutputStorage, :none, 2025,
|
2133
|
-
deprecate :OutputStorage=, :none, 2025,
|
2151
|
+
deprecate :OutputStorage, :none, 2025, 9
|
2152
|
+
deprecate :OutputStorage=, :none, 2025, 9
|
2134
2153
|
|
2135
2154
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
2136
2155
|
@SegmentSet = segmentset
|
@@ -5231,6 +5250,112 @@ module TencentCloud
|
|
5231
5250
|
end
|
5232
5251
|
end
|
5233
5252
|
|
5253
|
+
# 美颜配置
|
5254
|
+
class BeautyConfig < TencentCloud::Common::AbstractModel
|
5255
|
+
# @param BeautyEffectItems: 美颜效果
|
5256
|
+
# @type BeautyEffectItems: Array
|
5257
|
+
# @param BeautyFilterItems: 美颜滤镜
|
5258
|
+
# @type BeautyFilterItems: Array
|
5259
|
+
|
5260
|
+
attr_accessor :BeautyEffectItems, :BeautyFilterItems
|
5261
|
+
|
5262
|
+
def initialize(beautyeffectitems=nil, beautyfilteritems=nil)
|
5263
|
+
@BeautyEffectItems = beautyeffectitems
|
5264
|
+
@BeautyFilterItems = beautyfilteritems
|
5265
|
+
end
|
5266
|
+
|
5267
|
+
def deserialize(params)
|
5268
|
+
unless params['BeautyEffectItems'].nil?
|
5269
|
+
@BeautyEffectItems = []
|
5270
|
+
params['BeautyEffectItems'].each do |i|
|
5271
|
+
beautyeffectitemconfig_tmp = BeautyEffectItemConfig.new
|
5272
|
+
beautyeffectitemconfig_tmp.deserialize(i)
|
5273
|
+
@BeautyEffectItems << beautyeffectitemconfig_tmp
|
5274
|
+
end
|
5275
|
+
end
|
5276
|
+
unless params['BeautyFilterItems'].nil?
|
5277
|
+
@BeautyFilterItems = []
|
5278
|
+
params['BeautyFilterItems'].each do |i|
|
5279
|
+
beautyfilteritemconfig_tmp = BeautyFilterItemConfig.new
|
5280
|
+
beautyfilteritemconfig_tmp.deserialize(i)
|
5281
|
+
@BeautyFilterItems << beautyfilteritemconfig_tmp
|
5282
|
+
end
|
5283
|
+
end
|
5284
|
+
end
|
5285
|
+
end
|
5286
|
+
|
5287
|
+
# 美颜效果配置项
|
5288
|
+
class BeautyEffectItemConfig < TencentCloud::Common::AbstractModel
|
5289
|
+
# @param Type: 类型名称。取值如下:
|
5290
|
+
|
5291
|
+
# <li>Whiten:美白</li>
|
5292
|
+
# <li>Smooth:磨皮</li>
|
5293
|
+
# <li>BeautyThinFace:瘦脸</li>
|
5294
|
+
# <li>NatureFace:自然脸型</li>
|
5295
|
+
# <li>VFace:V脸</li>
|
5296
|
+
# <li>EnlargeEye:大眼</li>
|
5297
|
+
# <li>EyeLighten:亮眼</li>
|
5298
|
+
# <li>RemoveEyeBags:祛眼袋</li>
|
5299
|
+
# <li>ThinNose:瘦鼻</li>
|
5300
|
+
# <li>RemoveLawLine:祛法令纹</li>
|
5301
|
+
# <li>ToothWhiten:牙齿美白</li>
|
5302
|
+
|
5303
|
+
# @type Type: String
|
5304
|
+
# @param Switch: 能力配置开关,可选值:
|
5305
|
+
# <li>ON:开启;</li>
|
5306
|
+
# <li>OFF:关闭。</li>
|
5307
|
+
# 默认值:ON。
|
5308
|
+
# @type Switch: String
|
5309
|
+
# @param Value: 效果强度,值范围:[0, 100]。
|
5310
|
+
# @type Value: Integer
|
5311
|
+
|
5312
|
+
attr_accessor :Type, :Switch, :Value
|
5313
|
+
|
5314
|
+
def initialize(type=nil, switch=nil, value=nil)
|
5315
|
+
@Type = type
|
5316
|
+
@Switch = switch
|
5317
|
+
@Value = value
|
5318
|
+
end
|
5319
|
+
|
5320
|
+
def deserialize(params)
|
5321
|
+
@Type = params['Type']
|
5322
|
+
@Switch = params['Switch']
|
5323
|
+
@Value = params['Value']
|
5324
|
+
end
|
5325
|
+
end
|
5326
|
+
|
5327
|
+
# 美颜滤镜配置项
|
5328
|
+
class BeautyFilterItemConfig < TencentCloud::Common::AbstractModel
|
5329
|
+
# @param Type: 类型名称。取值如下:
|
5330
|
+
|
5331
|
+
# <li>Dongjing:东京</li>
|
5332
|
+
# <li>QingJiaopian:轻胶片</li>
|
5333
|
+
# <li>Meiwei:美味</li>
|
5334
|
+
|
5335
|
+
# @type Type: String
|
5336
|
+
# @param Switch: 能力配置开关,可选值:
|
5337
|
+
# <li>ON:开启;</li>
|
5338
|
+
# <li>OFF:关闭。</li>
|
5339
|
+
# 默认值:ON。
|
5340
|
+
# @type Switch: String
|
5341
|
+
# @param Value: 效果强度,值范围:[0, 100]。
|
5342
|
+
# @type Value: Integer
|
5343
|
+
|
5344
|
+
attr_accessor :Type, :Switch, :Value
|
5345
|
+
|
5346
|
+
def initialize(type=nil, switch=nil, value=nil)
|
5347
|
+
@Type = type
|
5348
|
+
@Switch = switch
|
5349
|
+
@Value = value
|
5350
|
+
end
|
5351
|
+
|
5352
|
+
def deserialize(params)
|
5353
|
+
@Type = params['Type']
|
5354
|
+
@Switch = params['Switch']
|
5355
|
+
@Value = params['Value']
|
5356
|
+
end
|
5357
|
+
end
|
5358
|
+
|
5234
5359
|
# 盲水印配置
|
5235
5360
|
class BlindWatermarkConfig < TencentCloud::Common::AbstractModel
|
5236
5361
|
# @param AddBlindWatermark: 增加盲水印
|
@@ -8039,6 +8164,8 @@ module TencentCloud
|
|
8039
8164
|
# fr:法语
|
8040
8165
|
# de:德语
|
8041
8166
|
# zh_dialect:中文方言
|
8167
|
+
# zh_en: 中英
|
8168
|
+
# prime_zh: 中英方言
|
8042
8169
|
# @type VideoSrcLanguage: String
|
8043
8170
|
# @param SubtitleType: 智能字幕字幕语言类型
|
8044
8171
|
# 0: 源语言
|
@@ -8052,6 +8179,7 @@ module TencentCloud
|
|
8052
8179
|
# @type Comment: String
|
8053
8180
|
# @param SubtitleFormat: 智能字幕文件格式
|
8054
8181
|
# vtt: WebVTT 格式
|
8182
|
+
# srt: SRT 格式
|
8055
8183
|
# 不填或填空:不生成字幕文件
|
8056
8184
|
# @type SubtitleFormat: String
|
8057
8185
|
# @param AsrHotWordsConfigure: ASR热词库参数
|
@@ -13801,9 +13929,88 @@ module TencentCloud
|
|
13801
13929
|
end
|
13802
13930
|
end
|
13803
13931
|
|
13932
|
+
# 智能擦除,擦除区域坐标配置。
|
13933
|
+
# 区域由左上角与右下角点的坐标确定。
|
13934
|
+
# 坐标原点为画面左上角,坐标点可使用像素值或百分比单位指定。
|
13935
|
+
# 对自动擦除区域:
|
13936
|
+
# 当单位为%时,坐标范围为[0,1];
|
13937
|
+
# 当单位为px时,X值范围为 [0,视频画面宽度],Y值范围为 [0,视频画面高度]
|
13938
|
+
# 对指定擦除区域:
|
13939
|
+
# 当单位为%时,坐标范围为[0,1);
|
13940
|
+
# 当单位为px时,X值范围为 [0,视频画面宽度],Y值范围为 [0,视频画面高度]
|
13941
|
+
class EraseArea < TencentCloud::Common::AbstractModel
|
13942
|
+
# @param LeftTopX: 区域左上角X坐标。
|
13943
|
+
# 如当Unit取1即使用百分比单位时,0.05表示区域左上角离整个画面左上角的横向距离为画面宽度的5%。
|
13944
|
+
# @type LeftTopX: Float
|
13945
|
+
# @param LeftTopY: 区域左上角Y坐标。
|
13946
|
+
# 如当Unit取1即使用百分比单位时,0.1表示区域左上角离整个画面左上角的纵向距离为画面高度的10%。
|
13947
|
+
# @type LeftTopY: Float
|
13948
|
+
# @param RightBottomX: 区域右下角X坐标。
|
13949
|
+
# 如当Unit取1即使用百分比单位时,0.75表示区域右下角离整个画面左上角的横向距离为画面宽度的75%。
|
13950
|
+
# @type RightBottomX: Float
|
13951
|
+
# @param RightBottomY: 区域右下角Y坐标。
|
13952
|
+
# 如当Unit取1即使用百分比单位时,0.9表示区域右下角离整个画面左上角的纵向距离为画面高度的90%。
|
13953
|
+
# @type RightBottomY: Float
|
13954
|
+
# @param Unit: 坐标单位
|
13955
|
+
# - 1 百分比
|
13956
|
+
# - 2 像素值
|
13957
|
+
# @type Unit: Integer
|
13958
|
+
|
13959
|
+
attr_accessor :LeftTopX, :LeftTopY, :RightBottomX, :RightBottomY, :Unit
|
13960
|
+
|
13961
|
+
def initialize(lefttopx=nil, lefttopy=nil, rightbottomx=nil, rightbottomy=nil, unit=nil)
|
13962
|
+
@LeftTopX = lefttopx
|
13963
|
+
@LeftTopY = lefttopy
|
13964
|
+
@RightBottomX = rightbottomx
|
13965
|
+
@RightBottomY = rightbottomy
|
13966
|
+
@Unit = unit
|
13967
|
+
end
|
13968
|
+
|
13969
|
+
def deserialize(params)
|
13970
|
+
@LeftTopX = params['LeftTopX']
|
13971
|
+
@LeftTopY = params['LeftTopY']
|
13972
|
+
@RightBottomX = params['RightBottomX']
|
13973
|
+
@RightBottomY = params['RightBottomY']
|
13974
|
+
@Unit = params['Unit']
|
13975
|
+
end
|
13976
|
+
end
|
13977
|
+
|
13978
|
+
# 智能擦除,指定擦除区域配置。
|
13979
|
+
# 对指定时间段内的指定区域直接进行擦除。
|
13980
|
+
# 当BeginMs和EndMs均取0时对整个视频内的指定区域直接进行擦除。
|
13981
|
+
class EraseTimeArea < TencentCloud::Common::AbstractModel
|
13982
|
+
# @param BeginMs: 开始时间,单位:毫秒
|
13983
|
+
# @type BeginMs: Integer
|
13984
|
+
# @param EndMs: 结束时间,单位:毫秒
|
13985
|
+
# @type EndMs: Integer
|
13986
|
+
# @param Areas: 时间段内擦除区域列表
|
13987
|
+
# @type Areas: Array
|
13988
|
+
|
13989
|
+
attr_accessor :BeginMs, :EndMs, :Areas
|
13990
|
+
|
13991
|
+
def initialize(beginms=nil, endms=nil, areas=nil)
|
13992
|
+
@BeginMs = beginms
|
13993
|
+
@EndMs = endms
|
13994
|
+
@Areas = areas
|
13995
|
+
end
|
13996
|
+
|
13997
|
+
def deserialize(params)
|
13998
|
+
@BeginMs = params['BeginMs']
|
13999
|
+
@EndMs = params['EndMs']
|
14000
|
+
unless params['Areas'].nil?
|
14001
|
+
@Areas = []
|
14002
|
+
params['Areas'].each do |i|
|
14003
|
+
erasearea_tmp = EraseArea.new
|
14004
|
+
erasearea_tmp.deserialize(i)
|
14005
|
+
@Areas << erasearea_tmp
|
14006
|
+
end
|
14007
|
+
end
|
14008
|
+
end
|
14009
|
+
end
|
14010
|
+
|
13804
14011
|
# 视频评测任务的视频来源信息
|
13805
14012
|
class EvaluationMediaInputInfo < TencentCloud::Common::AbstractModel
|
13806
|
-
# @param SourceId: 对比视频的来源 ID,当评测任务的类型为 BD_RATE
|
14013
|
+
# @param SourceId: 对比视频的来源 ID,当评测任务的类型为 BD_RATE 且对比视频来自用户输入时有效;当对比视频来自转码模板时为空
|
13807
14014
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13808
14015
|
# @type SourceId: String
|
13809
14016
|
# @param InputInfo: 对比视频的输入信息
|
@@ -13858,8 +14065,8 @@ module TencentCloud
|
|
13858
14065
|
|
13859
14066
|
attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
|
13860
14067
|
extend Gem::Deprecate
|
13861
|
-
deprecate :ContrastInfoSet, :none, 2025,
|
13862
|
-
deprecate :ContrastInfoSet=, :none, 2025,
|
14068
|
+
deprecate :ContrastInfoSet, :none, 2025, 9
|
14069
|
+
deprecate :ContrastInfoSet=, :none, 2025, 9
|
13863
14070
|
|
13864
14071
|
def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
|
13865
14072
|
@TaskType = tasktype
|
@@ -13915,9 +14122,9 @@ module TencentCloud
|
|
13915
14122
|
end
|
13916
14123
|
end
|
13917
14124
|
|
13918
|
-
#
|
14125
|
+
# 在评测中使用的转码模板的信息
|
13919
14126
|
class EvaluationTemplateInputInfo < TencentCloud::Common::AbstractModel
|
13920
|
-
# @param Definition:
|
14127
|
+
# @param Definition: 转码模板的 ID。
|
13921
14128
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13922
14129
|
# @type Definition: Integer
|
13923
14130
|
|
@@ -15400,14 +15607,17 @@ module TencentCloud
|
|
15400
15607
|
# @param BlindWatermarkConfig: 盲水印配置。
|
15401
15608
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15402
15609
|
# @type BlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkConfig`
|
15610
|
+
# @param BeautyConfig: 美颜配置。
|
15611
|
+
# @type BeautyConfig: :class:`Tencentcloud::Mps.v20190612.models.BeautyConfig`
|
15403
15612
|
|
15404
|
-
attr_accessor :EncodeConfig, :EnhanceConfig, :EraseConfig, :BlindWatermarkConfig
|
15613
|
+
attr_accessor :EncodeConfig, :EnhanceConfig, :EraseConfig, :BlindWatermarkConfig, :BeautyConfig
|
15405
15614
|
|
15406
|
-
def initialize(encodeconfig=nil, enhanceconfig=nil, eraseconfig=nil, blindwatermarkconfig=nil)
|
15615
|
+
def initialize(encodeconfig=nil, enhanceconfig=nil, eraseconfig=nil, blindwatermarkconfig=nil, beautyconfig=nil)
|
15407
15616
|
@EncodeConfig = encodeconfig
|
15408
15617
|
@EnhanceConfig = enhanceconfig
|
15409
15618
|
@EraseConfig = eraseconfig
|
15410
15619
|
@BlindWatermarkConfig = blindwatermarkconfig
|
15620
|
+
@BeautyConfig = beautyconfig
|
15411
15621
|
end
|
15412
15622
|
|
15413
15623
|
def deserialize(params)
|
@@ -15427,6 +15637,10 @@ module TencentCloud
|
|
15427
15637
|
@BlindWatermarkConfig = BlindWatermarkConfig.new
|
15428
15638
|
@BlindWatermarkConfig.deserialize(params['BlindWatermarkConfig'])
|
15429
15639
|
end
|
15640
|
+
unless params['BeautyConfig'].nil?
|
15641
|
+
@BeautyConfig = BeautyConfig.new
|
15642
|
+
@BeautyConfig.deserialize(params['BeautyConfig'])
|
15643
|
+
end
|
15430
15644
|
end
|
15431
15645
|
end
|
15432
15646
|
|
@@ -15953,10 +16167,10 @@ module TencentCloud
|
|
15953
16167
|
|
15954
16168
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
15955
16169
|
extend Gem::Deprecate
|
15956
|
-
deprecate :QualityControlResults, :none, 2025,
|
15957
|
-
deprecate :QualityControlResults=, :none, 2025,
|
15958
|
-
deprecate :DiagnoseResults, :none, 2025,
|
15959
|
-
deprecate :DiagnoseResults=, :none, 2025,
|
16170
|
+
deprecate :QualityControlResults, :none, 2025, 9
|
16171
|
+
deprecate :QualityControlResults=, :none, 2025, 9
|
16172
|
+
deprecate :DiagnoseResults, :none, 2025, 9
|
16173
|
+
deprecate :DiagnoseResults=, :none, 2025, 9
|
15960
16174
|
|
15961
16175
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
15962
16176
|
@QualityControlResults = qualitycontrolresults
|
@@ -17495,6 +17709,7 @@ module TencentCloud
|
|
17495
17709
|
# <li> COS:COS源</li>
|
17496
17710
|
# <li> URL:URL源</li>
|
17497
17711
|
# <li> AWS-S3:AWS 源,目前只支持转码任务 </li>
|
17712
|
+
# <li> VOD:点播专业版 </li>
|
17498
17713
|
# @type Type: String
|
17499
17714
|
# @param CosInputInfo: 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。
|
17500
17715
|
# @type CosInputInfo: :class:`Tencentcloud::Mps.v20190612.models.CosInputInfo`
|
@@ -17504,14 +17719,18 @@ module TencentCloud
|
|
17504
17719
|
# @param S3InputInfo: 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。
|
17505
17720
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
17506
17721
|
# @type S3InputInfo: :class:`Tencentcloud::Mps.v20190612.models.S3InputInfo`
|
17722
|
+
# @param VODInputInfo: 当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 对象信息。
|
17723
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17724
|
+
# @type VODInputInfo: :class:`Tencentcloud::Mps.v20190612.models.VODInputInfo`
|
17507
17725
|
|
17508
|
-
attr_accessor :Type, :CosInputInfo, :UrlInputInfo, :S3InputInfo
|
17726
|
+
attr_accessor :Type, :CosInputInfo, :UrlInputInfo, :S3InputInfo, :VODInputInfo
|
17509
17727
|
|
17510
|
-
def initialize(type=nil, cosinputinfo=nil, urlinputinfo=nil, s3inputinfo=nil)
|
17728
|
+
def initialize(type=nil, cosinputinfo=nil, urlinputinfo=nil, s3inputinfo=nil, vodinputinfo=nil)
|
17511
17729
|
@Type = type
|
17512
17730
|
@CosInputInfo = cosinputinfo
|
17513
17731
|
@UrlInputInfo = urlinputinfo
|
17514
17732
|
@S3InputInfo = s3inputinfo
|
17733
|
+
@VODInputInfo = vodinputinfo
|
17515
17734
|
end
|
17516
17735
|
|
17517
17736
|
def deserialize(params)
|
@@ -17528,6 +17747,10 @@ module TencentCloud
|
|
17528
17747
|
@S3InputInfo = S3InputInfo.new
|
17529
17748
|
@S3InputInfo.deserialize(params['S3InputInfo'])
|
17530
17749
|
end
|
17750
|
+
unless params['VODInputInfo'].nil?
|
17751
|
+
@VODInputInfo = VODInputInfo.new
|
17752
|
+
@VODInputInfo.deserialize(params['VODInputInfo'])
|
17753
|
+
end
|
17531
17754
|
end
|
17532
17755
|
end
|
17533
17756
|
|
@@ -19456,9 +19679,12 @@ module TencentCloud
|
|
19456
19679
|
# fr:法语
|
19457
19680
|
# de:德语
|
19458
19681
|
# zh_dialect:中文方言
|
19682
|
+
# zh_en: 中英
|
19683
|
+
# prime_zh: 中英方言
|
19459
19684
|
# @type VideoSrcLanguage: String
|
19460
19685
|
# @param SubtitleFormat: 智能字幕文件格式
|
19461
19686
|
# vtt: WebVTT 格式
|
19687
|
+
# srt: SRT格式
|
19462
19688
|
# 不填或填空:不生成字幕文件
|
19463
19689
|
# @type SubtitleFormat: String
|
19464
19690
|
# @param SubtitleType: 智能字幕字幕语言类型
|
@@ -21245,6 +21471,8 @@ module TencentCloud
|
|
21245
21471
|
# @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
|
21246
21472
|
# @param SmartSubtitlesTask: 智能字幕
|
21247
21473
|
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21474
|
+
# @param SmartEraseTask: 智能擦除类型任务参数
|
21475
|
+
# @type SmartEraseTask: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseTaskInput`
|
21248
21476
|
# @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
|
21249
21477
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
21250
21478
|
# @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
|
@@ -21265,9 +21493,9 @@ module TencentCloud
|
|
21265
21493
|
# 默认值:0
|
21266
21494
|
# @type SkipMateData: Integer
|
21267
21495
|
|
21268
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :SmartSubtitlesTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :SkipMateData
|
21496
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :SmartSubtitlesTask, :SmartEraseTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :SkipMateData
|
21269
21497
|
|
21270
|
-
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, scheduleid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, aiqualitycontroltask=nil, smartsubtitlestask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, tasktype=nil, resourceid=nil, skipmatedata=nil)
|
21498
|
+
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, scheduleid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, aiqualitycontroltask=nil, smartsubtitlestask=nil, smarterasetask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, tasktype=nil, resourceid=nil, skipmatedata=nil)
|
21271
21499
|
@InputInfo = inputinfo
|
21272
21500
|
@OutputStorage = outputstorage
|
21273
21501
|
@OutputDir = outputdir
|
@@ -21278,6 +21506,7 @@ module TencentCloud
|
|
21278
21506
|
@AiRecognitionTask = airecognitiontask
|
21279
21507
|
@AiQualityControlTask = aiqualitycontroltask
|
21280
21508
|
@SmartSubtitlesTask = smartsubtitlestask
|
21509
|
+
@SmartEraseTask = smarterasetask
|
21281
21510
|
@TaskNotifyConfig = tasknotifyconfig
|
21282
21511
|
@TasksPriority = taskspriority
|
21283
21512
|
@SessionId = sessionid
|
@@ -21322,6 +21551,10 @@ module TencentCloud
|
|
21322
21551
|
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21323
21552
|
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21324
21553
|
end
|
21554
|
+
unless params['SmartEraseTask'].nil?
|
21555
|
+
@SmartEraseTask = SmartEraseTaskInput.new
|
21556
|
+
@SmartEraseTask.deserialize(params['SmartEraseTask'])
|
21557
|
+
end
|
21325
21558
|
unless params['TaskNotifyConfig'].nil?
|
21326
21559
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
21327
21560
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -21596,10 +21829,16 @@ module TencentCloud
|
|
21596
21829
|
# 质检项配置
|
21597
21830
|
class QualityControlItemConfig < TencentCloud::Common::AbstractModel
|
21598
21831
|
# @param Type: 质检项名称。质检项取值如下:
|
21599
|
-
# <li>LowEvaluation
|
21832
|
+
# <li>LowEvaluation:视频无参考评分(MOS)</li>
|
21833
|
+
# <li>AudioEvaluation:音频无参考评分(MOS)</li>
|
21600
21834
|
# <li>Mosaic:马赛克检测</li>
|
21601
21835
|
# <li>CrashScreen:花屏检测</li>
|
21602
21836
|
# <li>Blur:模糊检测</li>
|
21837
|
+
# <li>Jitter:抖动检测</li>
|
21838
|
+
# <li>Noise:噪点检测</li>
|
21839
|
+
# <li>QRCode:二维码检测</li>
|
21840
|
+
# <li>BarCode:条形码检测</li>
|
21841
|
+
# <li>AppletCode:小程序码检测</li>
|
21603
21842
|
# <li>BlackWhiteEdge:黑白边检测</li>
|
21604
21843
|
# <li>SolidColorScreen:纯色屏检测</li>
|
21605
21844
|
# <li>LowLighting:低光照</li>
|
@@ -21607,11 +21846,7 @@ module TencentCloud
|
|
21607
21846
|
# <li>NoVoice:静音检测</li>
|
21608
21847
|
# <li>LowVoice:低音检测</li>
|
21609
21848
|
# <li>HighVoice:爆音检测</li>
|
21610
|
-
# <li>
|
21611
|
-
# <li>Noise:噪点检测</li>
|
21612
|
-
# <li>QRCode:二维码检测</li>
|
21613
|
-
# <li>BarCode:条形码检测</li>
|
21614
|
-
# <li>AppletCode:小程序码检测</li>
|
21849
|
+
# <li>AudioNoise:音频噪声检测</li>
|
21615
21850
|
# <li>VideoResolutionChanged:视频分辨率变化</li>
|
21616
21851
|
# <li>AudioSampleRateChanged:音频采样率变化</li>
|
21617
21852
|
# <li>AudioChannelsChanged:音频通道数变化</li>
|
@@ -21945,6 +22180,52 @@ module TencentCloud
|
|
21945
22180
|
end
|
21946
22181
|
end
|
21947
22182
|
|
22183
|
+
# 智能擦除自定义参数
|
22184
|
+
class RawSmartEraseParameter < TencentCloud::Common::AbstractModel
|
22185
|
+
# @param EraseType: 擦除类型
|
22186
|
+
# - subtitle 去字幕
|
22187
|
+
# - watermark 去水印
|
22188
|
+
# - privacy 隐私保护
|
22189
|
+
# @type EraseType: String
|
22190
|
+
# @param EraseSubtitleConfig: 字幕擦除配置;
|
22191
|
+
# 当EraseType值为:subtitle,此字段为必填参数
|
22192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22193
|
+
# @type EraseSubtitleConfig: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseSubtitleConfig`
|
22194
|
+
# @param EraseWatermarkConfig: 水印擦除配置;
|
22195
|
+
# 当EraseType值为:watermark,此字段为必填参数
|
22196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22197
|
+
# @type EraseWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseWatermarkConfig`
|
22198
|
+
# @param ErasePrivacyConfig: 隐私保护配置;
|
22199
|
+
# 当EraseType值为:privacy,此字段为必填参数
|
22200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22201
|
+
# @type ErasePrivacyConfig: :class:`Tencentcloud::Mps.v20190612.models.SmartErasePrivacyConfig`
|
22202
|
+
|
22203
|
+
attr_accessor :EraseType, :EraseSubtitleConfig, :EraseWatermarkConfig, :ErasePrivacyConfig
|
22204
|
+
|
22205
|
+
def initialize(erasetype=nil, erasesubtitleconfig=nil, erasewatermarkconfig=nil, eraseprivacyconfig=nil)
|
22206
|
+
@EraseType = erasetype
|
22207
|
+
@EraseSubtitleConfig = erasesubtitleconfig
|
22208
|
+
@EraseWatermarkConfig = erasewatermarkconfig
|
22209
|
+
@ErasePrivacyConfig = eraseprivacyconfig
|
22210
|
+
end
|
22211
|
+
|
22212
|
+
def deserialize(params)
|
22213
|
+
@EraseType = params['EraseType']
|
22214
|
+
unless params['EraseSubtitleConfig'].nil?
|
22215
|
+
@EraseSubtitleConfig = SmartEraseSubtitleConfig.new
|
22216
|
+
@EraseSubtitleConfig.deserialize(params['EraseSubtitleConfig'])
|
22217
|
+
end
|
22218
|
+
unless params['EraseWatermarkConfig'].nil?
|
22219
|
+
@EraseWatermarkConfig = SmartEraseWatermarkConfig.new
|
22220
|
+
@EraseWatermarkConfig.deserialize(params['EraseWatermarkConfig'])
|
22221
|
+
end
|
22222
|
+
unless params['ErasePrivacyConfig'].nil?
|
22223
|
+
@ErasePrivacyConfig = SmartErasePrivacyConfig.new
|
22224
|
+
@ErasePrivacyConfig.deserialize(params['ErasePrivacyConfig'])
|
22225
|
+
end
|
22226
|
+
end
|
22227
|
+
end
|
22228
|
+
|
21948
22229
|
# 自定义智能字幕参数
|
21949
22230
|
class RawSmartSubtitleParameter < TencentCloud::Common::AbstractModel
|
21950
22231
|
# @param SubtitleType: 智能字幕字幕语言类型
|
@@ -21976,9 +22257,12 @@ module TencentCloud
|
|
21976
22257
|
# fr:法语
|
21977
22258
|
# de:德语
|
21978
22259
|
# zh_dialect:中文方言
|
22260
|
+
# zh_en: 中英
|
22261
|
+
# prime_zh: 中英方言
|
21979
22262
|
# @type VideoSrcLanguage: String
|
21980
22263
|
# @param SubtitleFormat: 智能字幕文件格式
|
21981
22264
|
# vtt: WebVTT 格式
|
22265
|
+
# srt: SRT格式
|
21982
22266
|
# 不填或填空:不生成字幕文件
|
21983
22267
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21984
22268
|
# @type SubtitleFormat: String
|
@@ -23456,6 +23740,288 @@ module TencentCloud
|
|
23456
23740
|
end
|
23457
23741
|
end
|
23458
23742
|
|
23743
|
+
# 智能擦除模板隐私保护配置
|
23744
|
+
class SmartErasePrivacyConfig < TencentCloud::Common::AbstractModel
|
23745
|
+
# @param PrivacyModel: 隐私保护擦除方式。
|
23746
|
+
# - blur 模糊
|
23747
|
+
# - mosaic 马赛克
|
23748
|
+
# @type PrivacyModel: String
|
23749
|
+
# @param PrivacyTargets: 隐私保护目标,(在API Explorer上使用时无需传入数组,添加相应项并填入对应值即可)。
|
23750
|
+
# - face 人脸
|
23751
|
+
# - plate 车牌
|
23752
|
+
# @type PrivacyTargets: Array
|
23753
|
+
|
23754
|
+
attr_accessor :PrivacyModel, :PrivacyTargets
|
23755
|
+
|
23756
|
+
def initialize(privacymodel=nil, privacytargets=nil)
|
23757
|
+
@PrivacyModel = privacymodel
|
23758
|
+
@PrivacyTargets = privacytargets
|
23759
|
+
end
|
23760
|
+
|
23761
|
+
def deserialize(params)
|
23762
|
+
@PrivacyModel = params['PrivacyModel']
|
23763
|
+
@PrivacyTargets = params['PrivacyTargets']
|
23764
|
+
end
|
23765
|
+
end
|
23766
|
+
|
23767
|
+
# 智能擦除模板去字幕配置
|
23768
|
+
class SmartEraseSubtitleConfig < TencentCloud::Common::AbstractModel
|
23769
|
+
# @param SubtitleEraseMethod: 字幕擦除方式。
|
23770
|
+
# **自动擦除:**通过AI模型自动识别视频中的字幕文本内容,进行无痕化擦除,生成新的视频。但画面干扰、特殊字幕样式可能会带来一定漏擦误擦问题,可以通过指定区域擦除处理。
|
23771
|
+
# 当使用自动擦除时,若您不指定AutoAreas,将对默认区域(画面中下部)进行自动擦除;若指定AutoAreas,将改为对您指定的区域进行自动擦除。
|
23772
|
+
# **指定区域擦除:**若您的字幕位置较固定,建议您直接指定擦除区域,最大程度减少漏擦的情况。
|
23773
|
+
# 当您选择指定区域擦除时,请在CustomAreas中至少传入一个指定区域。
|
23774
|
+
# - auto 自动擦除
|
23775
|
+
# - custom 指定区域擦除
|
23776
|
+
# @type SubtitleEraseMethod: String
|
23777
|
+
# @param SubtitleModel: 字幕擦除模型。
|
23778
|
+
# **标准版(推荐):**若您的字幕样式标准,通常建议选择该版本,细节无痕化效果更好。
|
23779
|
+
# **区域版:**若您的字幕存在花体、阴影、动效等特殊样式,建议选择区域版,擦除面积更大,但细节效果不如标准版。
|
23780
|
+
# - standard 标准模型
|
23781
|
+
# - area 区域模型
|
23782
|
+
# @type SubtitleModel: String
|
23783
|
+
# @param OcrSwitch: 是否开启OCR字幕提取,默认取OFF。
|
23784
|
+
# 当且仅当SubtitleEraseMethod取auto时支持开启OCR字幕提取,开启后将识别自动擦除区域内出现时间最长且最稳定的文字区域为字幕区域,对字幕区域中的文字进行提取和擦除。
|
23785
|
+
# - ON 开启
|
23786
|
+
# - OFF 关闭
|
23787
|
+
# @type OcrSwitch: String
|
23788
|
+
# @param SubtitleLang: 字幕语言,用于指导OCR识别,默认取zh_en;仅当OcrSwitch取"ON"时生效。
|
23789
|
+
# - zh_en 中英文
|
23790
|
+
# - multi 其他
|
23791
|
+
# 其他具体支持识别如下语言:
|
23792
|
+
# 中文、英文、日文、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语、印地语、阿拉伯语、印度-孟加拉语、印度-古吉拉特语、印度-卡纳达语 、印度-马拉亚拉姆语 、印度-泰米尔语、印度-泰卢固语、斯洛文尼亚语、波兰语、加泰罗尼亚语、波斯尼亚语、捷克语、爱沙尼亚语、克罗地亚语、旁遮普语、马拉地语、阿塞拜疆语、印尼语、卢森堡语 、立陶宛语、拉脱维亚语、马耳他语、斯洛伐克语、土耳其语、哈萨克语、希腊语、爱尔兰语、白俄罗斯语、高棉语、他加禄语、普什图语、波斯语、塔吉克斯坦语
|
23793
|
+
|
23794
|
+
# @type SubtitleLang: String
|
23795
|
+
# @param SubtitleFormat: 字幕文件格式,默认取vtt;仅当OcrSwitch取"ON"时生效。
|
23796
|
+
# - srt srt格式
|
23797
|
+
# - vtt WebVTT格式
|
23798
|
+
# @type SubtitleFormat: String
|
23799
|
+
# @param TransSwitch: 是否开启字幕翻译,默认取OFF;仅当OcrSwitch取"ON"时生效。
|
23800
|
+
# - ON 开启
|
23801
|
+
# - OFF 关闭
|
23802
|
+
# @type TransSwitch: String
|
23803
|
+
# @param TransDstLang: 字幕翻译目标语言,默认取en;仅当TransSwitch取"ON"时生效。
|
23804
|
+
# 当前支持以下语言:
|
23805
|
+
# zh:简体中文
|
23806
|
+
# en:英语
|
23807
|
+
# ja:日语
|
23808
|
+
# ko:韩语
|
23809
|
+
# fr:法语
|
23810
|
+
# es:西班牙语
|
23811
|
+
# it:意大利语
|
23812
|
+
# de:德语
|
23813
|
+
# tr:土耳其语
|
23814
|
+
# ru:俄语
|
23815
|
+
# pt:葡萄牙语
|
23816
|
+
# vi:越南语
|
23817
|
+
# id:印度尼西亚语
|
23818
|
+
# ms:马来语
|
23819
|
+
# th:泰语
|
23820
|
+
# ar:阿拉伯语
|
23821
|
+
# hi:印地语
|
23822
|
+
# @type TransDstLang: String
|
23823
|
+
# @param AutoAreas: 自动擦除自定义区域。
|
23824
|
+
# 对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
|
23825
|
+
# 注意:当擦除方式选择custom时,此参数将不会生效;修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
23826
|
+
# @type AutoAreas: Array
|
23827
|
+
# @param CustomAreas: 指定擦除自定义区域。
|
23828
|
+
# 对选定区域,在选定时间段内不进行检测识别直接进行擦除。
|
23829
|
+
# 注意:修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
23830
|
+
# @type CustomAreas: Array
|
23831
|
+
|
23832
|
+
attr_accessor :SubtitleEraseMethod, :SubtitleModel, :OcrSwitch, :SubtitleLang, :SubtitleFormat, :TransSwitch, :TransDstLang, :AutoAreas, :CustomAreas
|
23833
|
+
|
23834
|
+
def initialize(subtitleerasemethod=nil, subtitlemodel=nil, ocrswitch=nil, subtitlelang=nil, subtitleformat=nil, transswitch=nil, transdstlang=nil, autoareas=nil, customareas=nil)
|
23835
|
+
@SubtitleEraseMethod = subtitleerasemethod
|
23836
|
+
@SubtitleModel = subtitlemodel
|
23837
|
+
@OcrSwitch = ocrswitch
|
23838
|
+
@SubtitleLang = subtitlelang
|
23839
|
+
@SubtitleFormat = subtitleformat
|
23840
|
+
@TransSwitch = transswitch
|
23841
|
+
@TransDstLang = transdstlang
|
23842
|
+
@AutoAreas = autoareas
|
23843
|
+
@CustomAreas = customareas
|
23844
|
+
end
|
23845
|
+
|
23846
|
+
def deserialize(params)
|
23847
|
+
@SubtitleEraseMethod = params['SubtitleEraseMethod']
|
23848
|
+
@SubtitleModel = params['SubtitleModel']
|
23849
|
+
@OcrSwitch = params['OcrSwitch']
|
23850
|
+
@SubtitleLang = params['SubtitleLang']
|
23851
|
+
@SubtitleFormat = params['SubtitleFormat']
|
23852
|
+
@TransSwitch = params['TransSwitch']
|
23853
|
+
@TransDstLang = params['TransDstLang']
|
23854
|
+
unless params['AutoAreas'].nil?
|
23855
|
+
@AutoAreas = []
|
23856
|
+
params['AutoAreas'].each do |i|
|
23857
|
+
erasearea_tmp = EraseArea.new
|
23858
|
+
erasearea_tmp.deserialize(i)
|
23859
|
+
@AutoAreas << erasearea_tmp
|
23860
|
+
end
|
23861
|
+
end
|
23862
|
+
unless params['CustomAreas'].nil?
|
23863
|
+
@CustomAreas = []
|
23864
|
+
params['CustomAreas'].each do |i|
|
23865
|
+
erasetimearea_tmp = EraseTimeArea.new
|
23866
|
+
erasetimearea_tmp.deserialize(i)
|
23867
|
+
@CustomAreas << erasetimearea_tmp
|
23868
|
+
end
|
23869
|
+
end
|
23870
|
+
end
|
23871
|
+
end
|
23872
|
+
|
23873
|
+
# 智能擦除任务
|
23874
|
+
class SmartEraseTaskInput < TencentCloud::Common::AbstractModel
|
23875
|
+
# @param Definition: 智能擦除模板id。
|
23876
|
+
# @type Definition: Integer
|
23877
|
+
# @param RawParameter: 智能擦除自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能擦除参数。
|
23878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23879
|
+
# @type RawParameter: :class:`Tencentcloud::Mps.v20190612.models.RawSmartEraseParameter`
|
23880
|
+
# @param OutputStorage: 文件的目标存储,不填则继承上层的 OutputStorage 值。
|
23881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23882
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
23883
|
+
# @param OutputObjectPath: 文件的输出路径,可以为相对路径或者绝对路径。
|
23884
|
+
# 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
23885
|
+
# 相对路径示例:
|
23886
|
+
# <li>文件名_{变量名}.{format}</li>
|
23887
|
+
# <li>文件名.{format}</li>
|
23888
|
+
# 绝对路径示例:
|
23889
|
+
# <li>/自定义路径/文件名_{变量名}.{format}</li>
|
23890
|
+
|
23891
|
+
# **注意**:目前不支持`BatchProcessMedia`接口。
|
23892
|
+
# @type OutputObjectPath: String
|
23893
|
+
|
23894
|
+
attr_accessor :Definition, :RawParameter, :OutputStorage, :OutputObjectPath
|
23895
|
+
|
23896
|
+
def initialize(definition=nil, rawparameter=nil, outputstorage=nil, outputobjectpath=nil)
|
23897
|
+
@Definition = definition
|
23898
|
+
@RawParameter = rawparameter
|
23899
|
+
@OutputStorage = outputstorage
|
23900
|
+
@OutputObjectPath = outputobjectpath
|
23901
|
+
end
|
23902
|
+
|
23903
|
+
def deserialize(params)
|
23904
|
+
@Definition = params['Definition']
|
23905
|
+
unless params['RawParameter'].nil?
|
23906
|
+
@RawParameter = RawSmartEraseParameter.new
|
23907
|
+
@RawParameter.deserialize(params['RawParameter'])
|
23908
|
+
end
|
23909
|
+
unless params['OutputStorage'].nil?
|
23910
|
+
@OutputStorage = TaskOutputStorage.new
|
23911
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
23912
|
+
end
|
23913
|
+
@OutputObjectPath = params['OutputObjectPath']
|
23914
|
+
end
|
23915
|
+
end
|
23916
|
+
|
23917
|
+
# 智能擦除任务结果
|
23918
|
+
class SmartEraseTaskResult < TencentCloud::Common::AbstractModel
|
23919
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
23920
|
+
# @type Status: String
|
23921
|
+
# @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) 列表。
|
23922
|
+
# @type ErrCodeExt: String
|
23923
|
+
# @param Message: 错误信息。
|
23924
|
+
# @type Message: String
|
23925
|
+
# @param Input: 智能擦除输入。
|
23926
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23927
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseTaskInput`
|
23928
|
+
# @param Output: 智能擦除任务输出。
|
23929
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23930
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoOutput`
|
23931
|
+
# @param Progress: 任务进度。
|
23932
|
+
# @type Progress: Integer
|
23933
|
+
# @param BeginProcessTime: 任务开始执行的时间,采用 ISO 日期格式。
|
23934
|
+
# @type BeginProcessTime: String
|
23935
|
+
# @param FinishTime: 任务执行完毕的时间,采用 ISO 日期格式。
|
23936
|
+
# @type FinishTime: String
|
23937
|
+
|
23938
|
+
attr_accessor :Status, :ErrCodeExt, :Message, :Input, :Output, :Progress, :BeginProcessTime, :FinishTime
|
23939
|
+
|
23940
|
+
def initialize(status=nil, errcodeext=nil, message=nil, input=nil, output=nil, progress=nil, beginprocesstime=nil, finishtime=nil)
|
23941
|
+
@Status = status
|
23942
|
+
@ErrCodeExt = errcodeext
|
23943
|
+
@Message = message
|
23944
|
+
@Input = input
|
23945
|
+
@Output = output
|
23946
|
+
@Progress = progress
|
23947
|
+
@BeginProcessTime = beginprocesstime
|
23948
|
+
@FinishTime = finishtime
|
23949
|
+
end
|
23950
|
+
|
23951
|
+
def deserialize(params)
|
23952
|
+
@Status = params['Status']
|
23953
|
+
@ErrCodeExt = params['ErrCodeExt']
|
23954
|
+
@Message = params['Message']
|
23955
|
+
unless params['Input'].nil?
|
23956
|
+
@Input = SmartEraseTaskInput.new
|
23957
|
+
@Input.deserialize(params['Input'])
|
23958
|
+
end
|
23959
|
+
unless params['Output'].nil?
|
23960
|
+
@Output = AiAnalysisTaskDelLogoOutput.new
|
23961
|
+
@Output.deserialize(params['Output'])
|
23962
|
+
end
|
23963
|
+
@Progress = params['Progress']
|
23964
|
+
@BeginProcessTime = params['BeginProcessTime']
|
23965
|
+
@FinishTime = params['FinishTime']
|
23966
|
+
end
|
23967
|
+
end
|
23968
|
+
|
23969
|
+
# 智能擦除模板去水印配置
|
23970
|
+
class SmartEraseWatermarkConfig < TencentCloud::Common::AbstractModel
|
23971
|
+
# @param WatermarkEraseMethod: 水印擦除方式。
|
23972
|
+
# **自动擦除:**通过A模型自动识别视频中的水印,擦除后生成新的视频。适用于动态水印。
|
23973
|
+
# 当使用自动擦除时,若您不指定AutoAreas,将对视频全屏进行自动擦除;若指定AutoAreas,将改为对您指定的区域进行自动擦除。
|
23974
|
+
# **指定区域擦除:**针对位置较固定的静态水印,建议您直接指定擦除区域。
|
23975
|
+
# 当您选择指定区域擦除时,请至少传入一个指定区域。
|
23976
|
+
|
23977
|
+
# - auto 自动擦除
|
23978
|
+
# - custom 指定区域擦除
|
23979
|
+
# @type WatermarkEraseMethod: String
|
23980
|
+
# @param WatermarkModel: 水印擦除模型。
|
23981
|
+
# 基础版:效果一般,性价比高,适合动画或背景较干净的视频。
|
23982
|
+
# 高级版:效果更好,适合短剧等现实风格视频。
|
23983
|
+
# - basic 基础版
|
23984
|
+
# - advanced 高级版
|
23985
|
+
# @type WatermarkModel: String
|
23986
|
+
# @param AutoAreas: 自动擦除自定义区域。
|
23987
|
+
# 对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
|
23988
|
+
# 注意,当擦除方式为custom时,此参数将不会生效。
|
23989
|
+
# @type AutoAreas: Array
|
23990
|
+
# @param CustomAreas: 指定擦除自定义区域。
|
23991
|
+
# 对选定区域,在选定时间段内不进行检测识别直接进行擦除。
|
23992
|
+
# @type CustomAreas: Array
|
23993
|
+
|
23994
|
+
attr_accessor :WatermarkEraseMethod, :WatermarkModel, :AutoAreas, :CustomAreas
|
23995
|
+
|
23996
|
+
def initialize(watermarkerasemethod=nil, watermarkmodel=nil, autoareas=nil, customareas=nil)
|
23997
|
+
@WatermarkEraseMethod = watermarkerasemethod
|
23998
|
+
@WatermarkModel = watermarkmodel
|
23999
|
+
@AutoAreas = autoareas
|
24000
|
+
@CustomAreas = customareas
|
24001
|
+
end
|
24002
|
+
|
24003
|
+
def deserialize(params)
|
24004
|
+
@WatermarkEraseMethod = params['WatermarkEraseMethod']
|
24005
|
+
@WatermarkModel = params['WatermarkModel']
|
24006
|
+
unless params['AutoAreas'].nil?
|
24007
|
+
@AutoAreas = []
|
24008
|
+
params['AutoAreas'].each do |i|
|
24009
|
+
erasearea_tmp = EraseArea.new
|
24010
|
+
erasearea_tmp.deserialize(i)
|
24011
|
+
@AutoAreas << erasearea_tmp
|
24012
|
+
end
|
24013
|
+
end
|
24014
|
+
unless params['CustomAreas'].nil?
|
24015
|
+
@CustomAreas = []
|
24016
|
+
params['CustomAreas'].each do |i|
|
24017
|
+
erasetimearea_tmp = EraseTimeArea.new
|
24018
|
+
erasetimearea_tmp.deserialize(i)
|
24019
|
+
@CustomAreas << erasetimearea_tmp
|
24020
|
+
end
|
24021
|
+
end
|
24022
|
+
end
|
24023
|
+
end
|
24024
|
+
|
23459
24025
|
# 语音全文识别结果。
|
23460
24026
|
class SmartSubtitleTaskAsrFullTextResult < TencentCloud::Common::AbstractModel
|
23461
24027
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
@@ -23512,12 +24078,15 @@ module TencentCloud
|
|
23512
24078
|
# @type SegmentSet: Array
|
23513
24079
|
# @param SubtitlePath: 字幕文件地址。
|
23514
24080
|
# @type SubtitlePath: String
|
24081
|
+
# @param OutputStorage: 字幕文件存储位置。
|
24082
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
23515
24083
|
|
23516
|
-
attr_accessor :SegmentSet, :SubtitlePath
|
24084
|
+
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
23517
24085
|
|
23518
|
-
def initialize(segmentset=nil, subtitlepath=nil)
|
24086
|
+
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
23519
24087
|
@SegmentSet = segmentset
|
23520
24088
|
@SubtitlePath = subtitlepath
|
24089
|
+
@OutputStorage = outputstorage
|
23521
24090
|
end
|
23522
24091
|
|
23523
24092
|
def deserialize(params)
|
@@ -23530,6 +24099,10 @@ module TencentCloud
|
|
23530
24099
|
end
|
23531
24100
|
end
|
23532
24101
|
@SubtitlePath = params['SubtitlePath']
|
24102
|
+
unless params['OutputStorage'].nil?
|
24103
|
+
@OutputStorage = TaskOutputStorage.new
|
24104
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
24105
|
+
end
|
23533
24106
|
end
|
23534
24107
|
end
|
23535
24108
|
|
@@ -23698,12 +24271,15 @@ module TencentCloud
|
|
23698
24271
|
# @type SegmentSet: Array
|
23699
24272
|
# @param SubtitlePath: 字幕文件地址。
|
23700
24273
|
# @type SubtitlePath: String
|
24274
|
+
# @param OutputStorage: 字幕文件存储位置。
|
24275
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
23701
24276
|
|
23702
|
-
attr_accessor :SegmentSet, :SubtitlePath
|
24277
|
+
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
23703
24278
|
|
23704
|
-
def initialize(segmentset=nil, subtitlepath=nil)
|
24279
|
+
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
23705
24280
|
@SegmentSet = segmentset
|
23706
24281
|
@SubtitlePath = subtitlepath
|
24282
|
+
@OutputStorage = outputstorage
|
23707
24283
|
end
|
23708
24284
|
|
23709
24285
|
def deserialize(params)
|
@@ -23716,6 +24292,10 @@ module TencentCloud
|
|
23716
24292
|
end
|
23717
24293
|
end
|
23718
24294
|
@SubtitlePath = params['SubtitlePath']
|
24295
|
+
unless params['OutputStorage'].nil?
|
24296
|
+
@OutputStorage = TaskOutputStorage.new
|
24297
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
24298
|
+
end
|
23719
24299
|
end
|
23720
24300
|
end
|
23721
24301
|
|
@@ -24713,6 +25293,7 @@ module TencentCloud
|
|
24713
25293
|
# @param Type: 媒体处理输出对象存储位置的类型,支持:
|
24714
25294
|
# <li>COS:COS存储</li>
|
24715
25295
|
# <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li>
|
25296
|
+
# <li> VOD:点播专业版 </li>
|
24716
25297
|
# @type Type: String
|
24717
25298
|
# @param CosOutputStorage: 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。
|
24718
25299
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -24720,13 +25301,17 @@ module TencentCloud
|
|
24720
25301
|
# @param S3OutputStorage: 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。
|
24721
25302
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
24722
25303
|
# @type S3OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.S3OutputStorage`
|
25304
|
+
# @param VODOutputStorage: 当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。
|
25305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25306
|
+
# @type VODOutputStorage: :class:`Tencentcloud::Mps.v20190612.models.VODOutputStorage`
|
24723
25307
|
|
24724
|
-
attr_accessor :Type, :CosOutputStorage, :S3OutputStorage
|
25308
|
+
attr_accessor :Type, :CosOutputStorage, :S3OutputStorage, :VODOutputStorage
|
24725
25309
|
|
24726
|
-
def initialize(type=nil, cosoutputstorage=nil, s3outputstorage=nil)
|
25310
|
+
def initialize(type=nil, cosoutputstorage=nil, s3outputstorage=nil, vodoutputstorage=nil)
|
24727
25311
|
@Type = type
|
24728
25312
|
@CosOutputStorage = cosoutputstorage
|
24729
25313
|
@S3OutputStorage = s3outputstorage
|
25314
|
+
@VODOutputStorage = vodoutputstorage
|
24730
25315
|
end
|
24731
25316
|
|
24732
25317
|
def deserialize(params)
|
@@ -24739,6 +25324,10 @@ module TencentCloud
|
|
24739
25324
|
@S3OutputStorage = S3OutputStorage.new
|
24740
25325
|
@S3OutputStorage.deserialize(params['S3OutputStorage'])
|
24741
25326
|
end
|
25327
|
+
unless params['VODOutputStorage'].nil?
|
25328
|
+
@VODOutputStorage = VODOutputStorage.new
|
25329
|
+
@VODOutputStorage.deserialize(params['VODOutputStorage'])
|
25330
|
+
end
|
24742
25331
|
end
|
24743
25332
|
end
|
24744
25333
|
|
@@ -25671,6 +26260,58 @@ module TencentCloud
|
|
25671
26260
|
end
|
25672
26261
|
end
|
25673
26262
|
|
26263
|
+
# 媒体处理 VOD (点播专业版)对象信息。
|
26264
|
+
class VODInputInfo < TencentCloud::Common::AbstractModel
|
26265
|
+
# @param Bucket: 媒体处理对象文件所在的 *Bucket ID*
|
26266
|
+
# @type Bucket: String
|
26267
|
+
# @param Region: 媒体处理对象文件所在的 Bucket 所属园区
|
26268
|
+
# @type Region: String
|
26269
|
+
# @param Object: 媒体处理对象文件的输入路径
|
26270
|
+
# @type Object: String
|
26271
|
+
# @param SubAppId: 点播专业版应用Id
|
26272
|
+
# @type SubAppId: Integer
|
26273
|
+
|
26274
|
+
attr_accessor :Bucket, :Region, :Object, :SubAppId
|
26275
|
+
|
26276
|
+
def initialize(bucket=nil, region=nil, object=nil, subappid=nil)
|
26277
|
+
@Bucket = bucket
|
26278
|
+
@Region = region
|
26279
|
+
@Object = object
|
26280
|
+
@SubAppId = subappid
|
26281
|
+
end
|
26282
|
+
|
26283
|
+
def deserialize(params)
|
26284
|
+
@Bucket = params['Bucket']
|
26285
|
+
@Region = params['Region']
|
26286
|
+
@Object = params['Object']
|
26287
|
+
@SubAppId = params['SubAppId']
|
26288
|
+
end
|
26289
|
+
end
|
26290
|
+
|
26291
|
+
# 媒体处理 VOD(点播专业版) 输出对象信息。
|
26292
|
+
class VODOutputStorage < TencentCloud::Common::AbstractModel
|
26293
|
+
# @param Bucket: 媒体处理生成的文件输出的目标 *Bucket ID*
|
26294
|
+
# @type Bucket: String
|
26295
|
+
# @param Region: 媒体处理生成的文件输出的目标 Bucket 的园区
|
26296
|
+
# @type Region: String
|
26297
|
+
# @param SubAppId: 点播专业版应用Id
|
26298
|
+
# @type SubAppId: Integer
|
26299
|
+
|
26300
|
+
attr_accessor :Bucket, :Region, :SubAppId
|
26301
|
+
|
26302
|
+
def initialize(bucket=nil, region=nil, subappid=nil)
|
26303
|
+
@Bucket = bucket
|
26304
|
+
@Region = region
|
26305
|
+
@SubAppId = subappid
|
26306
|
+
end
|
26307
|
+
|
26308
|
+
def deserialize(params)
|
26309
|
+
@Bucket = params['Bucket']
|
26310
|
+
@Region = params['Region']
|
26311
|
+
@SubAppId = params['SubAppId']
|
26312
|
+
end
|
26313
|
+
end
|
26314
|
+
|
25674
26315
|
# 视频检索入库任务的结果
|
25675
26316
|
class VideoDBEntryTaskResult < TencentCloud::Common::AbstractModel
|
25676
26317
|
# @param VideoId: 入库的视频ID
|
@@ -26681,10 +27322,13 @@ module TencentCloud
|
|
26681
27322
|
# @param SmartSubtitlesTaskResult: 智能字幕任务的执行结果
|
26682
27323
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
26683
27324
|
# @type SmartSubtitlesTaskResult: Array
|
27325
|
+
# @param SmartEraseTaskResult: 智能擦除任务的执行结果
|
27326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27327
|
+
# @type SmartEraseTaskResult: :class:`Tencentcloud::Mps.v20190612.models.SmartEraseTaskResult`
|
26684
27328
|
|
26685
|
-
attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :MetaData, :MediaProcessResultSet, :AiContentReviewResultSet, :AiAnalysisResultSet, :AiRecognitionResultSet, :AiQualityControlTaskResult, :SmartSubtitlesTaskResult
|
27329
|
+
attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :MetaData, :MediaProcessResultSet, :AiContentReviewResultSet, :AiAnalysisResultSet, :AiRecognitionResultSet, :AiQualityControlTaskResult, :SmartSubtitlesTaskResult, :SmartEraseTaskResult
|
26686
27330
|
|
26687
|
-
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, metadata=nil, mediaprocessresultset=nil, aicontentreviewresultset=nil, aianalysisresultset=nil, airecognitionresultset=nil, aiqualitycontroltaskresult=nil, smartsubtitlestaskresult=nil)
|
27331
|
+
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, metadata=nil, mediaprocessresultset=nil, aicontentreviewresultset=nil, aianalysisresultset=nil, airecognitionresultset=nil, aiqualitycontroltaskresult=nil, smartsubtitlestaskresult=nil, smarterasetaskresult=nil)
|
26688
27332
|
@TaskId = taskid
|
26689
27333
|
@Status = status
|
26690
27334
|
@ErrCode = errcode
|
@@ -26697,6 +27341,7 @@ module TencentCloud
|
|
26697
27341
|
@AiRecognitionResultSet = airecognitionresultset
|
26698
27342
|
@AiQualityControlTaskResult = aiqualitycontroltaskresult
|
26699
27343
|
@SmartSubtitlesTaskResult = smartsubtitlestaskresult
|
27344
|
+
@SmartEraseTaskResult = smarterasetaskresult
|
26700
27345
|
end
|
26701
27346
|
|
26702
27347
|
def deserialize(params)
|
@@ -26756,6 +27401,10 @@ module TencentCloud
|
|
26756
27401
|
@SmartSubtitlesTaskResult << smartsubtitlesresult_tmp
|
26757
27402
|
end
|
26758
27403
|
end
|
27404
|
+
unless params['SmartEraseTaskResult'].nil?
|
27405
|
+
@SmartEraseTaskResult = SmartEraseTaskResult.new
|
27406
|
+
@SmartEraseTaskResult.deserialize(params['SmartEraseTaskResult'])
|
27407
|
+
end
|
26759
27408
|
end
|
26760
27409
|
end
|
26761
27410
|
|
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: 3.0.
|
4
|
+
version: 3.0.1140
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|