tencentcloud-sdk-mps 3.0.1106 → 3.0.1110
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 -5
- data/lib/v20190612/models.rb +311 -43
- 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: bfc4a2e2013881d455e000e25f34c8a76cfe2721
|
4
|
+
data.tar.gz: 8374c9817c3d5ef2120db62eb1c691bcece824b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 280e5f02802b5a61deff912eed542a9a8dc498ba6dd897777406a496e49ec0367a6579117f74e40d9f5506e6148dcbf7cb175d43d17837f5fd11d1ce49311c5a
|
7
|
+
data.tar.gz: 463be4b7a12505a70ec527531138eb863d8f394a9176c55d33e33268a1b414ac795c38f7fe18ac6bd699a4d770e066aaa4b81a58f9477cb2fbad968a26a83b99
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1110
|
data/lib/v20190612/client.rb
CHANGED
@@ -3118,11 +3118,11 @@ module TencentCloud
|
|
3118
3118
|
# 4. 对视频采样截图;
|
3119
3119
|
# 5. 对视频截图雪碧图;
|
3120
3120
|
# 6. 对视频转自适应码流;
|
3121
|
-
# 7.
|
3122
|
-
# 8.
|
3123
|
-
# 9.
|
3124
|
-
# 10.
|
3125
|
-
# 11.
|
3121
|
+
# 7. 智能内容审核(例如鉴黄、敏感信息检测);
|
3122
|
+
# 8. 智能内容分析(例如标签、分类、封面、按帧标签、拆条、集锦、片头片尾、游戏打点);
|
3123
|
+
# 9. 智能内容识别(例如人脸、文本全文、文本关键词、语音全文、语音关键词、语音翻译、物体识别);
|
3124
|
+
# 10. 媒体质检(例如媒体格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分);
|
3125
|
+
# 11. 智能字幕(例如语音全文、语音热词、语音翻译);
|
3126
3126
|
|
3127
3127
|
# @param request: Request instance for ProcessMedia.
|
3128
3128
|
# @type request: :class:`Tencentcloud::mps::V20190612::ProcessMediaRequest`
|
data/lib/v20190612/models.rb
CHANGED
@@ -204,6 +204,7 @@ module TencentCloud
|
|
204
204
|
# <li>action-adaptive-substream:自适应码流</li>
|
205
205
|
# <li>action-AIQualityControl:媒体质检</li>
|
206
206
|
# <li>action-SmartSubtitles:智能字幕</li>
|
207
|
+
# <li>action-exec-rules:判断规则</li>
|
207
208
|
|
208
209
|
|
209
210
|
# @type ActivityType: String
|
@@ -263,13 +264,16 @@ module TencentCloud
|
|
263
264
|
# @param QualityControlTask: 媒体质检任务
|
264
265
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
265
266
|
# @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
|
267
|
+
# @param ExecRulesTask: 任务条件判断
|
268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
+
# @type ExecRulesTask: :class:`Tencentcloud::Mps.v20190612.models.ExecRulesTask`
|
266
270
|
# @param SmartSubtitlesTask: 智能字幕任务
|
267
271
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
268
272
|
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
269
273
|
|
270
|
-
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask, :SmartSubtitlesTask
|
274
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask, :ExecRulesTask, :SmartSubtitlesTask
|
271
275
|
|
272
|
-
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil, smartsubtitlestask=nil)
|
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)
|
273
277
|
@TranscodeTask = transcodetask
|
274
278
|
@AnimatedGraphicTask = animatedgraphictask
|
275
279
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
@@ -280,6 +284,7 @@ module TencentCloud
|
|
280
284
|
@AiAnalysisTask = aianalysistask
|
281
285
|
@AiRecognitionTask = airecognitiontask
|
282
286
|
@QualityControlTask = qualitycontroltask
|
287
|
+
@ExecRulesTask = execrulestask
|
283
288
|
@SmartSubtitlesTask = smartsubtitlestask
|
284
289
|
end
|
285
290
|
|
@@ -324,6 +329,10 @@ module TencentCloud
|
|
324
329
|
@QualityControlTask = AiQualityControlTaskInput.new
|
325
330
|
@QualityControlTask.deserialize(params['QualityControlTask'])
|
326
331
|
end
|
332
|
+
unless params['ExecRulesTask'].nil?
|
333
|
+
@ExecRulesTask = ExecRulesTask.new
|
334
|
+
@ExecRulesTask.deserialize(params['ExecRulesTask'])
|
335
|
+
end
|
327
336
|
unless params['SmartSubtitlesTask'].nil?
|
328
337
|
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
329
338
|
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
@@ -363,13 +372,16 @@ module TencentCloud
|
|
363
372
|
# @param QualityControlTask: 媒体质检任务输出
|
364
373
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
365
374
|
# @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleQualityControlTaskResult`
|
375
|
+
# @param ExecRuleTask: 条件判断任务输出
|
376
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
377
|
+
# @type ExecRuleTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleExecRuleTaskResult`
|
366
378
|
# @param SmartSubtitlesTask: 智能字幕任务输出
|
367
379
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
368
380
|
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleSmartSubtitleTaskResult`
|
369
381
|
|
370
|
-
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask, :SmartSubtitlesTask
|
382
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask, :ExecRuleTask, :SmartSubtitlesTask
|
371
383
|
|
372
|
-
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil, smartsubtitlestask=nil)
|
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)
|
373
385
|
@TranscodeTask = transcodetask
|
374
386
|
@AnimatedGraphicTask = animatedgraphictask
|
375
387
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
@@ -380,6 +392,7 @@ module TencentCloud
|
|
380
392
|
@ReviewTask = reviewtask
|
381
393
|
@AnalysisTask = analysistask
|
382
394
|
@QualityControlTask = qualitycontroltask
|
395
|
+
@ExecRuleTask = execruletask
|
383
396
|
@SmartSubtitlesTask = smartsubtitlestask
|
384
397
|
end
|
385
398
|
|
@@ -424,6 +437,10 @@ module TencentCloud
|
|
424
437
|
@QualityControlTask = ScheduleQualityControlTaskResult.new
|
425
438
|
@QualityControlTask.deserialize(params['QualityControlTask'])
|
426
439
|
end
|
440
|
+
unless params['ExecRuleTask'].nil?
|
441
|
+
@ExecRuleTask = ScheduleExecRuleTaskResult.new
|
442
|
+
@ExecRuleTask.deserialize(params['ExecRuleTask'])
|
443
|
+
end
|
427
444
|
unless params['SmartSubtitlesTask'].nil?
|
428
445
|
@SmartSubtitlesTask = ScheduleSmartSubtitleTaskResult.new
|
429
446
|
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
@@ -530,10 +547,12 @@ module TencentCloud
|
|
530
547
|
# @param SubtitleTemplate: 字幕参数
|
531
548
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
532
549
|
# @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
|
550
|
+
# @param StdExtInfo: 转码参数扩展字段
|
551
|
+
# @type StdExtInfo: String
|
533
552
|
|
534
|
-
attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate
|
553
|
+
attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo
|
535
554
|
|
536
|
-
def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=nil, subtitletemplate=nil)
|
555
|
+
def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=nil, subtitletemplate=nil, stdextinfo=nil)
|
537
556
|
@Definition = definition
|
538
557
|
@WatermarkSet = watermarkset
|
539
558
|
@OutputStorage = outputstorage
|
@@ -544,6 +563,7 @@ module TencentCloud
|
|
544
563
|
@DrmInfo = drminfo
|
545
564
|
@DefinitionType = definitiontype
|
546
565
|
@SubtitleTemplate = subtitletemplate
|
566
|
+
@StdExtInfo = stdextinfo
|
547
567
|
end
|
548
568
|
|
549
569
|
def deserialize(params)
|
@@ -580,6 +600,7 @@ module TencentCloud
|
|
580
600
|
@SubtitleTemplate = SubtitleTemplate.new
|
581
601
|
@SubtitleTemplate.deserialize(params['SubtitleTemplate'])
|
582
602
|
end
|
603
|
+
@StdExtInfo = params['StdExtInfo']
|
583
604
|
end
|
584
605
|
end
|
585
606
|
|
@@ -1082,14 +1103,18 @@ module TencentCloud
|
|
1082
1103
|
# @type OriginSubtitlePath: String
|
1083
1104
|
# @param TranslateSubtitlePath: 基于画面提取的字幕翻译文件路径。
|
1084
1105
|
# @type TranslateSubtitlePath: String
|
1106
|
+
# @param SubtitlePos: 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
1107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1108
|
+
# @type SubtitlePos: :class:`Tencentcloud::Mps.v20190612.models.SubtitlePosition`
|
1085
1109
|
|
1086
|
-
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath
|
1110
|
+
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos
|
1087
1111
|
|
1088
|
-
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil)
|
1112
|
+
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil)
|
1089
1113
|
@Path = path
|
1090
1114
|
@OutputStorage = outputstorage
|
1091
1115
|
@OriginSubtitlePath = originsubtitlepath
|
1092
1116
|
@TranslateSubtitlePath = translatesubtitlepath
|
1117
|
+
@SubtitlePos = subtitlepos
|
1093
1118
|
end
|
1094
1119
|
|
1095
1120
|
def deserialize(params)
|
@@ -1100,6 +1125,10 @@ module TencentCloud
|
|
1100
1125
|
end
|
1101
1126
|
@OriginSubtitlePath = params['OriginSubtitlePath']
|
1102
1127
|
@TranslateSubtitlePath = params['TranslateSubtitlePath']
|
1128
|
+
unless params['SubtitlePos'].nil?
|
1129
|
+
@SubtitlePos = SubtitlePosition.new
|
1130
|
+
@SubtitlePos.deserialize(params['SubtitlePos'])
|
1131
|
+
end
|
1103
1132
|
end
|
1104
1133
|
end
|
1105
1134
|
|
@@ -12679,19 +12708,27 @@ module TencentCloud
|
|
12679
12708
|
# @type Limit: Integer
|
12680
12709
|
# @param ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
|
12681
12710
|
# @type ScrollToken: String
|
12711
|
+
# @param StartTime: 查询任务开始时间
|
12712
|
+
# @type StartTime: String
|
12713
|
+
# @param EndTime: 查询任务结束时间。
|
12714
|
+
# @type EndTime: String
|
12682
12715
|
|
12683
|
-
attr_accessor :Status, :Limit, :ScrollToken
|
12716
|
+
attr_accessor :Status, :Limit, :ScrollToken, :StartTime, :EndTime
|
12684
12717
|
|
12685
|
-
def initialize(status=nil, limit=nil, scrolltoken=nil)
|
12718
|
+
def initialize(status=nil, limit=nil, scrolltoken=nil, starttime=nil, endtime=nil)
|
12686
12719
|
@Status = status
|
12687
12720
|
@Limit = limit
|
12688
12721
|
@ScrollToken = scrolltoken
|
12722
|
+
@StartTime = starttime
|
12723
|
+
@EndTime = endtime
|
12689
12724
|
end
|
12690
12725
|
|
12691
12726
|
def deserialize(params)
|
12692
12727
|
@Status = params['Status']
|
12693
12728
|
@Limit = params['Limit']
|
12694
12729
|
@ScrollToken = params['ScrollToken']
|
12730
|
+
@StartTime = params['StartTime']
|
12731
|
+
@EndTime = params['EndTime']
|
12695
12732
|
end
|
12696
12733
|
end
|
12697
12734
|
|
@@ -13878,6 +13915,46 @@ module TencentCloud
|
|
13878
13915
|
end
|
13879
13916
|
end
|
13880
13917
|
|
13918
|
+
# 条件判断输出
|
13919
|
+
class ExecRuleTaskData < TencentCloud::Common::AbstractModel
|
13920
|
+
# @param RearDriveIndex: 质检条件判断需要执行的节点索引。
|
13921
|
+
# @type RearDriveIndex: Array
|
13922
|
+
|
13923
|
+
attr_accessor :RearDriveIndex
|
13924
|
+
|
13925
|
+
def initialize(reardriveindex=nil)
|
13926
|
+
@RearDriveIndex = reardriveindex
|
13927
|
+
end
|
13928
|
+
|
13929
|
+
def deserialize(params)
|
13930
|
+
@RearDriveIndex = params['RearDriveIndex']
|
13931
|
+
end
|
13932
|
+
end
|
13933
|
+
|
13934
|
+
# 任务判断条件
|
13935
|
+
class ExecRulesTask < TencentCloud::Common::AbstractModel
|
13936
|
+
# @param Rules: 条件判断信息
|
13937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13938
|
+
# @type Rules: Array
|
13939
|
+
|
13940
|
+
attr_accessor :Rules
|
13941
|
+
|
13942
|
+
def initialize(rules=nil)
|
13943
|
+
@Rules = rules
|
13944
|
+
end
|
13945
|
+
|
13946
|
+
def deserialize(params)
|
13947
|
+
unless params['Rules'].nil?
|
13948
|
+
@Rules = []
|
13949
|
+
params['Rules'].each do |i|
|
13950
|
+
rules_tmp = Rules.new
|
13951
|
+
rules_tmp.deserialize(i)
|
13952
|
+
@Rules << rules_tmp
|
13953
|
+
end
|
13954
|
+
end
|
13955
|
+
end
|
13956
|
+
end
|
13957
|
+
|
13881
13958
|
# ExecuteFunction请求参数结构体
|
13882
13959
|
class ExecuteFunctionRequest < TencentCloud::Common::AbstractModel
|
13883
13960
|
# @param FunctionName: 调用后端接口名称。
|
@@ -14807,10 +14884,8 @@ module TencentCloud
|
|
14807
14884
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14808
14885
|
# @type SegmentTags: Array
|
14809
14886
|
# @param BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
|
14810
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14811
14887
|
# @type BeginTime: String
|
14812
14888
|
# @param EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
|
14813
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14814
14889
|
# @type EndTime: String
|
14815
14890
|
|
14816
14891
|
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentTags, :BeginTime, :EndTime
|
@@ -15474,7 +15549,6 @@ module TencentCloud
|
|
15474
15549
|
# @param ActivityType: 原子任务类型。
|
15475
15550
|
# <li>LiveRecord:直播录制。</li>
|
15476
15551
|
# <li>AiQualityControl:媒体质检。</li>
|
15477
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15478
15552
|
# @type ActivityType: String
|
15479
15553
|
# @param LiveActivityResItem: 原子任务输出。
|
15480
15554
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -15706,21 +15780,16 @@ module TencentCloud
|
|
15706
15780
|
# 直播编排任务信息
|
15707
15781
|
class LiveScheduleTask < TencentCloud::Common::AbstractModel
|
15708
15782
|
# @param TaskId: 直播编排任务 ID。
|
15709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15710
15783
|
# @type TaskId: String
|
15711
15784
|
# @param Status: 任务流状态,取值:
|
15712
15785
|
# <li>PROCESSING:处理中;</li>
|
15713
15786
|
# <li>FINISH:已完成。</li>
|
15714
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15715
15787
|
# @type Status: String
|
15716
15788
|
# @param ErrCode: 源异常时返回非0错误码,返回0 时请使用各个具体任务的 ErrCode。
|
15717
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15718
15789
|
# @type ErrCode: Integer
|
15719
15790
|
# @param Message: 源异常时返回对应异常Message,否则请使用各个具体任务的 Message。
|
15720
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15721
15791
|
# @type Message: String
|
15722
15792
|
# @param Url: 直播流 URL。
|
15723
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15724
15793
|
# @type Url: String
|
15725
15794
|
# @param LiveActivityResultSet: 直播编排任务输出。
|
15726
15795
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -16990,17 +17059,21 @@ module TencentCloud
|
|
16990
17059
|
# @type Tag: String
|
16991
17060
|
# @param Confidence: 标签的可信度,取值范围是 0 到 100。
|
16992
17061
|
# @type Confidence: Float
|
17062
|
+
# @param SpecialInfo: 根据不同类型决定
|
17063
|
+
# @type SpecialInfo: String
|
16993
17064
|
|
16994
|
-
attr_accessor :Tag, :Confidence
|
17065
|
+
attr_accessor :Tag, :Confidence, :SpecialInfo
|
16995
17066
|
|
16996
|
-
def initialize(tag=nil, confidence=nil)
|
17067
|
+
def initialize(tag=nil, confidence=nil, specialinfo=nil)
|
16997
17068
|
@Tag = tag
|
16998
17069
|
@Confidence = confidence
|
17070
|
+
@SpecialInfo = specialinfo
|
16999
17071
|
end
|
17000
17072
|
|
17001
17073
|
def deserialize(params)
|
17002
17074
|
@Tag = params['Tag']
|
17003
17075
|
@Confidence = params['Confidence']
|
17076
|
+
@SpecialInfo = params['SpecialInfo']
|
17004
17077
|
end
|
17005
17078
|
end
|
17006
17079
|
|
@@ -17578,6 +17651,7 @@ module TencentCloud
|
|
17578
17651
|
# @param Input: 对视频截雪碧图任务的输入。
|
17579
17652
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.ImageSpriteTaskInput`
|
17580
17653
|
# @param Output: 对视频截雪碧图任务的输出。
|
17654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17581
17655
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaImageSpriteItem`
|
17582
17656
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17583
17657
|
# @type BeginProcessTime: String
|
@@ -17777,6 +17851,7 @@ module TencentCloud
|
|
17777
17851
|
# @param Input: 对视频做采样截图任务输入。
|
17778
17852
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SampleSnapshotTaskInput`
|
17779
17853
|
# @param Output: 对视频做采样截图任务输出。
|
17854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17780
17855
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSampleSnapshotItem`
|
17781
17856
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17782
17857
|
# @type BeginProcessTime: String
|
@@ -17827,6 +17902,7 @@ module TencentCloud
|
|
17827
17902
|
# @param Input: 对视频按指定时间点截图任务输入。
|
17828
17903
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
|
17829
17904
|
# @param Output: 对视频按指定时间点截图任务输出。
|
17905
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17830
17906
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
|
17831
17907
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17832
17908
|
# @type BeginProcessTime: String
|
@@ -21080,6 +21156,8 @@ module TencentCloud
|
|
21080
21156
|
# @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
|
21081
21157
|
# @param AiQualityControlTask: 媒体质检类型任务参数。
|
21082
21158
|
# @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
|
21159
|
+
# @param SmartSubtitlesTask: 智能字幕
|
21160
|
+
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21083
21161
|
# @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
|
21084
21162
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
21085
21163
|
# @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
|
@@ -21094,17 +21172,15 @@ module TencentCloud
|
|
21094
21172
|
# @type TaskType: String
|
21095
21173
|
# @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
21096
21174
|
# @type ResourceId: String
|
21097
|
-
# @param SmartSubtitlesTask: 智能字幕
|
21098
|
-
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21099
21175
|
# @param SkipMateData: 是否跳过元信息获取,可选值:
|
21100
21176
|
# 0:表示不跳过
|
21101
21177
|
# 1:表示跳过
|
21102
21178
|
# 默认值:0
|
21103
21179
|
# @type SkipMateData: Integer
|
21104
21180
|
|
21105
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :
|
21181
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :SmartSubtitlesTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :SkipMateData
|
21106
21182
|
|
21107
|
-
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, scheduleid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, aiqualitycontroltask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, tasktype=nil, resourceid=nil,
|
21183
|
+
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)
|
21108
21184
|
@InputInfo = inputinfo
|
21109
21185
|
@OutputStorage = outputstorage
|
21110
21186
|
@OutputDir = outputdir
|
@@ -21114,13 +21190,13 @@ module TencentCloud
|
|
21114
21190
|
@AiAnalysisTask = aianalysistask
|
21115
21191
|
@AiRecognitionTask = airecognitiontask
|
21116
21192
|
@AiQualityControlTask = aiqualitycontroltask
|
21193
|
+
@SmartSubtitlesTask = smartsubtitlestask
|
21117
21194
|
@TaskNotifyConfig = tasknotifyconfig
|
21118
21195
|
@TasksPriority = taskspriority
|
21119
21196
|
@SessionId = sessionid
|
21120
21197
|
@SessionContext = sessioncontext
|
21121
21198
|
@TaskType = tasktype
|
21122
21199
|
@ResourceId = resourceid
|
21123
|
-
@SmartSubtitlesTask = smartsubtitlestask
|
21124
21200
|
@SkipMateData = skipmatedata
|
21125
21201
|
end
|
21126
21202
|
|
@@ -21155,6 +21231,10 @@ module TencentCloud
|
|
21155
21231
|
@AiQualityControlTask = AiQualityControlTaskInput.new
|
21156
21232
|
@AiQualityControlTask.deserialize(params['AiQualityControlTask'])
|
21157
21233
|
end
|
21234
|
+
unless params['SmartSubtitlesTask'].nil?
|
21235
|
+
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21236
|
+
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21237
|
+
end
|
21158
21238
|
unless params['TaskNotifyConfig'].nil?
|
21159
21239
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
21160
21240
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -21164,10 +21244,6 @@ module TencentCloud
|
|
21164
21244
|
@SessionContext = params['SessionContext']
|
21165
21245
|
@TaskType = params['TaskType']
|
21166
21246
|
@ResourceId = params['ResourceId']
|
21167
|
-
unless params['SmartSubtitlesTask'].nil?
|
21168
|
-
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21169
|
-
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21170
|
-
end
|
21171
21247
|
@SkipMateData = params['SkipMateData']
|
21172
21248
|
end
|
21173
21249
|
end
|
@@ -21353,22 +21429,16 @@ module TencentCloud
|
|
21353
21429
|
# 媒体质检结果输出。
|
21354
21430
|
class QualityControlData < TencentCloud::Common::AbstractModel
|
21355
21431
|
# @param NoAudio: 为true时表示视频无音频轨。
|
21356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21357
21432
|
# @type NoAudio: Boolean
|
21358
21433
|
# @param NoVideo: 为true时表示视频无视频轨。
|
21359
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21360
21434
|
# @type NoVideo: Boolean
|
21361
21435
|
# @param QualityEvaluationScore: 视频无参考质量评分,百分制。
|
21362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21363
21436
|
# @type QualityEvaluationScore: Integer
|
21364
21437
|
# @param QualityEvaluationMeanOpinionScore: 视频无参考质量评分,MOS分数。
|
21365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21366
21438
|
# @type QualityEvaluationMeanOpinionScore: Float
|
21367
21439
|
# @param QualityControlResultSet: 内容质检检出异常项。
|
21368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21369
21440
|
# @type QualityControlResultSet: Array
|
21370
|
-
# @param ContainerDiagnoseResultSet:
|
21371
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21441
|
+
# @param ContainerDiagnoseResultSet: 格式诊断检出异常项。
|
21372
21442
|
# @type ContainerDiagnoseResultSet: Array
|
21373
21443
|
|
21374
21444
|
attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityEvaluationMeanOpinionScore, :QualityControlResultSet, :ContainerDiagnoseResultSet
|
@@ -21586,6 +21656,30 @@ module TencentCloud
|
|
21586
21656
|
end
|
21587
21657
|
end
|
21588
21658
|
|
21659
|
+
# 媒体质检检测策略。
|
21660
|
+
class QualityControlStrategy < TencentCloud::Common::AbstractModel
|
21661
|
+
# @param StrategyType: 策略类型。取值:
|
21662
|
+
# - TimeSpotCheck
|
21663
|
+
# @type StrategyType: String
|
21664
|
+
# @param TimeSpotCheck: 根据时间的抽检策略。
|
21665
|
+
# @type TimeSpotCheck: :class:`Tencentcloud::Mps.v20190612.models.TimeSpotCheck`
|
21666
|
+
|
21667
|
+
attr_accessor :StrategyType, :TimeSpotCheck
|
21668
|
+
|
21669
|
+
def initialize(strategytype=nil, timespotcheck=nil)
|
21670
|
+
@StrategyType = strategytype
|
21671
|
+
@TimeSpotCheck = timespotcheck
|
21672
|
+
end
|
21673
|
+
|
21674
|
+
def deserialize(params)
|
21675
|
+
@StrategyType = params['StrategyType']
|
21676
|
+
unless params['TimeSpotCheck'].nil?
|
21677
|
+
@TimeSpotCheck = TimeSpotCheck.new
|
21678
|
+
@TimeSpotCheck.deserialize(params['TimeSpotCheck'])
|
21679
|
+
end
|
21680
|
+
end
|
21681
|
+
end
|
21682
|
+
|
21589
21683
|
# 媒体质检模板详情
|
21590
21684
|
class QualityControlTemplate < TencentCloud::Common::AbstractModel
|
21591
21685
|
# @param Definition: 媒体质检模板唯一标识。
|
@@ -21610,10 +21704,12 @@ module TencentCloud
|
|
21610
21704
|
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
21611
21705
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21612
21706
|
# @type UpdateTime: String
|
21707
|
+
# @param Strategy: 媒体质检的抽检策略。
|
21708
|
+
# @type Strategy: :class:`Tencentcloud::Mps.v20190612.models.QualityControlStrategy`
|
21613
21709
|
|
21614
|
-
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime
|
21710
|
+
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime, :Strategy
|
21615
21711
|
|
21616
|
-
def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil)
|
21712
|
+
def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil, strategy=nil)
|
21617
21713
|
@Definition = definition
|
21618
21714
|
@Name = name
|
21619
21715
|
@Comment = comment
|
@@ -21621,6 +21717,7 @@ module TencentCloud
|
|
21621
21717
|
@QualityControlItemSet = qualitycontrolitemset
|
21622
21718
|
@CreateTime = createtime
|
21623
21719
|
@UpdateTime = updatetime
|
21720
|
+
@Strategy = strategy
|
21624
21721
|
end
|
21625
21722
|
|
21626
21723
|
def deserialize(params)
|
@@ -21638,6 +21735,10 @@ module TencentCloud
|
|
21638
21735
|
end
|
21639
21736
|
@CreateTime = params['CreateTime']
|
21640
21737
|
@UpdateTime = params['UpdateTime']
|
21738
|
+
unless params['Strategy'].nil?
|
21739
|
+
@Strategy = QualityControlStrategy.new
|
21740
|
+
@Strategy.deserialize(params['Strategy'])
|
21741
|
+
end
|
21641
21742
|
end
|
21642
21743
|
end
|
21643
21744
|
|
@@ -22168,6 +22269,67 @@ module TencentCloud
|
|
22168
22269
|
end
|
22169
22270
|
end
|
22170
22271
|
|
22272
|
+
# 规则条件配置。
|
22273
|
+
class RuleConditionItem < TencentCloud::Common::AbstractModel
|
22274
|
+
# @param Key: 质检项条件对应的Key。
|
22275
|
+
# @type Key: String
|
22276
|
+
# @param Value: 条件对应的Value。
|
22277
|
+
# @type Value: String
|
22278
|
+
|
22279
|
+
attr_accessor :Key, :Value
|
22280
|
+
|
22281
|
+
def initialize(key=nil, value=nil)
|
22282
|
+
@Key = key
|
22283
|
+
@Value = value
|
22284
|
+
end
|
22285
|
+
|
22286
|
+
def deserialize(params)
|
22287
|
+
@Key = params['Key']
|
22288
|
+
@Value = params['Value']
|
22289
|
+
end
|
22290
|
+
end
|
22291
|
+
|
22292
|
+
# 任务判断条件
|
22293
|
+
class Rules < TencentCloud::Common::AbstractModel
|
22294
|
+
# @param Id: 判断条件id
|
22295
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22296
|
+
# @type Id: String
|
22297
|
+
# @param Conditions: 判断条件配置
|
22298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22299
|
+
# @type Conditions: Array
|
22300
|
+
# @param Linker: 条件列表的链接符号,取值如下:
|
22301
|
+
|
22302
|
+
# - &&:逻辑与
|
22303
|
+
# - ||:逻辑或
|
22304
|
+
# @type Linker: String
|
22305
|
+
# @param RearDriveIndexs: 满足判断条件执行节点索引;
|
22306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22307
|
+
# @type RearDriveIndexs: Array
|
22308
|
+
|
22309
|
+
attr_accessor :Id, :Conditions, :Linker, :RearDriveIndexs
|
22310
|
+
|
22311
|
+
def initialize(id=nil, conditions=nil, linker=nil, reardriveindexs=nil)
|
22312
|
+
@Id = id
|
22313
|
+
@Conditions = conditions
|
22314
|
+
@Linker = linker
|
22315
|
+
@RearDriveIndexs = reardriveindexs
|
22316
|
+
end
|
22317
|
+
|
22318
|
+
def deserialize(params)
|
22319
|
+
@Id = params['Id']
|
22320
|
+
unless params['Conditions'].nil?
|
22321
|
+
@Conditions = []
|
22322
|
+
params['Conditions'].each do |i|
|
22323
|
+
ruleconditionitem_tmp = RuleConditionItem.new
|
22324
|
+
ruleconditionitem_tmp.deserialize(i)
|
22325
|
+
@Conditions << ruleconditionitem_tmp
|
22326
|
+
end
|
22327
|
+
end
|
22328
|
+
@Linker = params['Linker']
|
22329
|
+
@RearDriveIndexs = params['RearDriveIndexs']
|
22330
|
+
end
|
22331
|
+
end
|
22332
|
+
|
22171
22333
|
# AWS S3存储输入
|
22172
22334
|
class S3InputInfo < TencentCloud::Common::AbstractModel
|
22173
22335
|
# @param S3Bucket: S3 bucket。
|
@@ -22501,13 +22663,10 @@ module TencentCloud
|
|
22501
22663
|
# @param Input: 分析任务的输入。
|
22502
22664
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
|
22503
22665
|
# @param Output: 分析任务的输出。
|
22504
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22505
22666
|
# @type Output: Array
|
22506
22667
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22507
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22508
22668
|
# @type BeginProcessTime: String
|
22509
22669
|
# @param FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22510
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22511
22670
|
# @type FinishTime: String
|
22512
22671
|
|
22513
22672
|
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :BeginProcessTime, :FinishTime
|
@@ -22545,6 +22704,45 @@ module TencentCloud
|
|
22545
22704
|
end
|
22546
22705
|
end
|
22547
22706
|
|
22707
|
+
# 媒体质检任务结果类型
|
22708
|
+
class ScheduleExecRuleTaskResult < TencentCloud::Common::AbstractModel
|
22709
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
22710
|
+
# @type Status: String
|
22711
|
+
# @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) 列表。
|
22712
|
+
# @type ErrCodeExt: String
|
22713
|
+
# @param Message: 错误信息。
|
22714
|
+
# @type Message: String
|
22715
|
+
# @param Input: 条件判断任务的输入。
|
22716
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.ExecRulesTask`
|
22717
|
+
# @param Output: 条件判断任务的输出。
|
22718
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22719
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.ExecRuleTaskData`
|
22720
|
+
|
22721
|
+
attr_accessor :Status, :ErrCodeExt, :Message, :Input, :Output
|
22722
|
+
|
22723
|
+
def initialize(status=nil, errcodeext=nil, message=nil, input=nil, output=nil)
|
22724
|
+
@Status = status
|
22725
|
+
@ErrCodeExt = errcodeext
|
22726
|
+
@Message = message
|
22727
|
+
@Input = input
|
22728
|
+
@Output = output
|
22729
|
+
end
|
22730
|
+
|
22731
|
+
def deserialize(params)
|
22732
|
+
@Status = params['Status']
|
22733
|
+
@ErrCodeExt = params['ErrCodeExt']
|
22734
|
+
@Message = params['Message']
|
22735
|
+
unless params['Input'].nil?
|
22736
|
+
@Input = ExecRulesTask.new
|
22737
|
+
@Input.deserialize(params['Input'])
|
22738
|
+
end
|
22739
|
+
unless params['Output'].nil?
|
22740
|
+
@Output = ExecRuleTaskData.new
|
22741
|
+
@Output.deserialize(params['Output'])
|
22742
|
+
end
|
22743
|
+
end
|
22744
|
+
end
|
22745
|
+
|
22548
22746
|
# 媒体质检任务结果类型
|
22549
22747
|
class ScheduleQualityControlTaskResult < TencentCloud::Common::AbstractModel
|
22550
22748
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
@@ -23647,13 +23845,31 @@ module TencentCloud
|
|
23647
23845
|
# @param RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
|
23648
23846
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
23649
23847
|
# @type RawParameter: :class:`Tencentcloud::Mps.v20190612.models.RawSmartSubtitleParameter`
|
23848
|
+
# @param OutputStorage: 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
23849
|
+
# **注意**:当InputInfo.Type为URL时,该参数是必填项。
|
23850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23851
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
23852
|
+
# @param OutputObjectPath: 生成字幕文件的输出路径,可以为相对路径或者绝对路径。
|
23853
|
+
# 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
23854
|
+
|
23855
|
+
# 相对路径示例:
|
23856
|
+
# - 文件名_{变量名}.{format}
|
23857
|
+
# - 文件名.{format}
|
23858
|
+
|
23859
|
+
# 绝对路径示例:
|
23860
|
+
# - /自定义路径/文件名_{变量名}.{format}
|
23650
23861
|
|
23651
|
-
|
23862
|
+
# 如果不填,则默认为相对路径: `{inputName}_smartsubtitle_{definition}.{format}`。
|
23863
|
+
# @type OutputObjectPath: String
|
23864
|
+
|
23865
|
+
attr_accessor :Definition, :UserExtPara, :RawParameter, :OutputStorage, :OutputObjectPath
|
23652
23866
|
|
23653
|
-
def initialize(definition=nil, userextpara=nil, rawparameter=nil)
|
23867
|
+
def initialize(definition=nil, userextpara=nil, rawparameter=nil, outputstorage=nil, outputobjectpath=nil)
|
23654
23868
|
@Definition = definition
|
23655
23869
|
@UserExtPara = userextpara
|
23656
23870
|
@RawParameter = rawparameter
|
23871
|
+
@OutputStorage = outputstorage
|
23872
|
+
@OutputObjectPath = outputobjectpath
|
23657
23873
|
end
|
23658
23874
|
|
23659
23875
|
def deserialize(params)
|
@@ -23663,6 +23879,11 @@ module TencentCloud
|
|
23663
23879
|
@RawParameter = RawSmartSubtitleParameter.new
|
23664
23880
|
@RawParameter.deserialize(params['RawParameter'])
|
23665
23881
|
end
|
23882
|
+
unless params['OutputStorage'].nil?
|
23883
|
+
@OutputStorage = TaskOutputStorage.new
|
23884
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
23885
|
+
end
|
23886
|
+
@OutputObjectPath = params['OutputObjectPath']
|
23666
23887
|
end
|
23667
23888
|
end
|
23668
23889
|
|
@@ -23957,6 +24178,22 @@ module TencentCloud
|
|
23957
24178
|
end
|
23958
24179
|
end
|
23959
24180
|
|
24181
|
+
# 字幕位置信息
|
24182
|
+
class SubtitlePosition < TencentCloud::Common::AbstractModel
|
24183
|
+
# @param CenterY: 居中位置时Y的坐标值
|
24184
|
+
# @type CenterY: Integer
|
24185
|
+
|
24186
|
+
attr_accessor :CenterY
|
24187
|
+
|
24188
|
+
def initialize(centery=nil)
|
24189
|
+
@CenterY = centery
|
24190
|
+
end
|
24191
|
+
|
24192
|
+
def deserialize(params)
|
24193
|
+
@CenterY = params['CenterY']
|
24194
|
+
end
|
24195
|
+
end
|
24196
|
+
|
23960
24197
|
# 字幕流配置参数。
|
23961
24198
|
class SubtitleTemplate < TencentCloud::Common::AbstractModel
|
23962
24199
|
# @param Path: 要压制到视频中的字幕文件地址。
|
@@ -24655,6 +24892,37 @@ module TencentCloud
|
|
24655
24892
|
end
|
24656
24893
|
end
|
24657
24894
|
|
24895
|
+
# 媒体质检的检测策略。
|
24896
|
+
class TimeSpotCheck < TencentCloud::Common::AbstractModel
|
24897
|
+
# @param CheckDuration: 抽检策略的每次循环检测的时长。取值范围(单位s):
|
24898
|
+
|
24899
|
+
# - 最小值:10
|
24900
|
+
# - 最大值:86400
|
24901
|
+
# @type CheckDuration: Integer
|
24902
|
+
# @param CheckInterval: 抽检测略的检测间隔,表示在一次检测结束后,等待多长时间后,再次检测。
|
24903
|
+
# @type CheckInterval: Integer
|
24904
|
+
# @param SkipDuration: 片头跳过时长。
|
24905
|
+
# @type SkipDuration: Integer
|
24906
|
+
# @param CirclesNumber: 循环次数,该字段为空或 0 时,默认循环直至视频结束。
|
24907
|
+
# @type CirclesNumber: Integer
|
24908
|
+
|
24909
|
+
attr_accessor :CheckDuration, :CheckInterval, :SkipDuration, :CirclesNumber
|
24910
|
+
|
24911
|
+
def initialize(checkduration=nil, checkinterval=nil, skipduration=nil, circlesnumber=nil)
|
24912
|
+
@CheckDuration = checkduration
|
24913
|
+
@CheckInterval = checkinterval
|
24914
|
+
@SkipDuration = skipduration
|
24915
|
+
@CirclesNumber = circlesnumber
|
24916
|
+
end
|
24917
|
+
|
24918
|
+
def deserialize(params)
|
24919
|
+
@CheckDuration = params['CheckDuration']
|
24920
|
+
@CheckInterval = params['CheckInterval']
|
24921
|
+
@SkipDuration = params['SkipDuration']
|
24922
|
+
@CirclesNumber = params['CirclesNumber']
|
24923
|
+
end
|
24924
|
+
end
|
24925
|
+
|
24658
24926
|
# 音轨信息
|
24659
24927
|
class TrackInfo < TencentCloud::Common::AbstractModel
|
24660
24928
|
# @param TrackNum: 音轨和声道数字,说明:
|
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.1110
|
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-07-
|
11
|
+
date: 2025-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|