tencentcloud-sdk-mps 3.0.1102 → 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 +319 -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'])
|
@@ -527,10 +544,15 @@ module TencentCloud
|
|
527
544
|
# Common:音视频类型
|
528
545
|
# PureAudio:纯音频类型
|
529
546
|
# @type DefinitionType: String
|
547
|
+
# @param SubtitleTemplate: 字幕参数
|
548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
549
|
+
# @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
|
550
|
+
# @param StdExtInfo: 转码参数扩展字段
|
551
|
+
# @type StdExtInfo: String
|
530
552
|
|
531
|
-
attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType
|
553
|
+
attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo
|
532
554
|
|
533
|
-
def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=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)
|
534
556
|
@Definition = definition
|
535
557
|
@WatermarkSet = watermarkset
|
536
558
|
@OutputStorage = outputstorage
|
@@ -540,6 +562,8 @@ module TencentCloud
|
|
540
562
|
@AddOnSubtitles = addonsubtitles
|
541
563
|
@DrmInfo = drminfo
|
542
564
|
@DefinitionType = definitiontype
|
565
|
+
@SubtitleTemplate = subtitletemplate
|
566
|
+
@StdExtInfo = stdextinfo
|
543
567
|
end
|
544
568
|
|
545
569
|
def deserialize(params)
|
@@ -572,6 +596,11 @@ module TencentCloud
|
|
572
596
|
@DrmInfo.deserialize(params['DrmInfo'])
|
573
597
|
end
|
574
598
|
@DefinitionType = params['DefinitionType']
|
599
|
+
unless params['SubtitleTemplate'].nil?
|
600
|
+
@SubtitleTemplate = SubtitleTemplate.new
|
601
|
+
@SubtitleTemplate.deserialize(params['SubtitleTemplate'])
|
602
|
+
end
|
603
|
+
@StdExtInfo = params['StdExtInfo']
|
575
604
|
end
|
576
605
|
end
|
577
606
|
|
@@ -1074,14 +1103,18 @@ module TencentCloud
|
|
1074
1103
|
# @type OriginSubtitlePath: String
|
1075
1104
|
# @param TranslateSubtitlePath: 基于画面提取的字幕翻译文件路径。
|
1076
1105
|
# @type TranslateSubtitlePath: String
|
1106
|
+
# @param SubtitlePos: 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
1107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1108
|
+
# @type SubtitlePos: :class:`Tencentcloud::Mps.v20190612.models.SubtitlePosition`
|
1077
1109
|
|
1078
|
-
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath
|
1110
|
+
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos
|
1079
1111
|
|
1080
|
-
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil)
|
1112
|
+
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil)
|
1081
1113
|
@Path = path
|
1082
1114
|
@OutputStorage = outputstorage
|
1083
1115
|
@OriginSubtitlePath = originsubtitlepath
|
1084
1116
|
@TranslateSubtitlePath = translatesubtitlepath
|
1117
|
+
@SubtitlePos = subtitlepos
|
1085
1118
|
end
|
1086
1119
|
|
1087
1120
|
def deserialize(params)
|
@@ -1092,6 +1125,10 @@ module TencentCloud
|
|
1092
1125
|
end
|
1093
1126
|
@OriginSubtitlePath = params['OriginSubtitlePath']
|
1094
1127
|
@TranslateSubtitlePath = params['TranslateSubtitlePath']
|
1128
|
+
unless params['SubtitlePos'].nil?
|
1129
|
+
@SubtitlePos = SubtitlePosition.new
|
1130
|
+
@SubtitlePos.deserialize(params['SubtitlePos'])
|
1131
|
+
end
|
1095
1132
|
end
|
1096
1133
|
end
|
1097
1134
|
|
@@ -12671,19 +12708,27 @@ module TencentCloud
|
|
12671
12708
|
# @type Limit: Integer
|
12672
12709
|
# @param ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
|
12673
12710
|
# @type ScrollToken: String
|
12711
|
+
# @param StartTime: 查询任务开始时间
|
12712
|
+
# @type StartTime: String
|
12713
|
+
# @param EndTime: 查询任务结束时间。
|
12714
|
+
# @type EndTime: String
|
12674
12715
|
|
12675
|
-
attr_accessor :Status, :Limit, :ScrollToken
|
12716
|
+
attr_accessor :Status, :Limit, :ScrollToken, :StartTime, :EndTime
|
12676
12717
|
|
12677
|
-
def initialize(status=nil, limit=nil, scrolltoken=nil)
|
12718
|
+
def initialize(status=nil, limit=nil, scrolltoken=nil, starttime=nil, endtime=nil)
|
12678
12719
|
@Status = status
|
12679
12720
|
@Limit = limit
|
12680
12721
|
@ScrollToken = scrolltoken
|
12722
|
+
@StartTime = starttime
|
12723
|
+
@EndTime = endtime
|
12681
12724
|
end
|
12682
12725
|
|
12683
12726
|
def deserialize(params)
|
12684
12727
|
@Status = params['Status']
|
12685
12728
|
@Limit = params['Limit']
|
12686
12729
|
@ScrollToken = params['ScrollToken']
|
12730
|
+
@StartTime = params['StartTime']
|
12731
|
+
@EndTime = params['EndTime']
|
12687
12732
|
end
|
12688
12733
|
end
|
12689
12734
|
|
@@ -13870,6 +13915,46 @@ module TencentCloud
|
|
13870
13915
|
end
|
13871
13916
|
end
|
13872
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
|
+
|
13873
13958
|
# ExecuteFunction请求参数结构体
|
13874
13959
|
class ExecuteFunctionRequest < TencentCloud::Common::AbstractModel
|
13875
13960
|
# @param FunctionName: 调用后端接口名称。
|
@@ -14799,10 +14884,8 @@ module TencentCloud
|
|
14799
14884
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14800
14885
|
# @type SegmentTags: Array
|
14801
14886
|
# @param BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
|
14802
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14803
14887
|
# @type BeginTime: String
|
14804
14888
|
# @param EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
|
14805
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14806
14889
|
# @type EndTime: String
|
14807
14890
|
|
14808
14891
|
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentTags, :BeginTime, :EndTime
|
@@ -15466,7 +15549,6 @@ module TencentCloud
|
|
15466
15549
|
# @param ActivityType: 原子任务类型。
|
15467
15550
|
# <li>LiveRecord:直播录制。</li>
|
15468
15551
|
# <li>AiQualityControl:媒体质检。</li>
|
15469
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15470
15552
|
# @type ActivityType: String
|
15471
15553
|
# @param LiveActivityResItem: 原子任务输出。
|
15472
15554
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -15698,21 +15780,16 @@ module TencentCloud
|
|
15698
15780
|
# 直播编排任务信息
|
15699
15781
|
class LiveScheduleTask < TencentCloud::Common::AbstractModel
|
15700
15782
|
# @param TaskId: 直播编排任务 ID。
|
15701
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15702
15783
|
# @type TaskId: String
|
15703
15784
|
# @param Status: 任务流状态,取值:
|
15704
15785
|
# <li>PROCESSING:处理中;</li>
|
15705
15786
|
# <li>FINISH:已完成。</li>
|
15706
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15707
15787
|
# @type Status: String
|
15708
15788
|
# @param ErrCode: 源异常时返回非0错误码,返回0 时请使用各个具体任务的 ErrCode。
|
15709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15710
15789
|
# @type ErrCode: Integer
|
15711
15790
|
# @param Message: 源异常时返回对应异常Message,否则请使用各个具体任务的 Message。
|
15712
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15713
15791
|
# @type Message: String
|
15714
15792
|
# @param Url: 直播流 URL。
|
15715
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15716
15793
|
# @type Url: String
|
15717
15794
|
# @param LiveActivityResultSet: 直播编排任务输出。
|
15718
15795
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -16982,17 +17059,21 @@ module TencentCloud
|
|
16982
17059
|
# @type Tag: String
|
16983
17060
|
# @param Confidence: 标签的可信度,取值范围是 0 到 100。
|
16984
17061
|
# @type Confidence: Float
|
17062
|
+
# @param SpecialInfo: 根据不同类型决定
|
17063
|
+
# @type SpecialInfo: String
|
16985
17064
|
|
16986
|
-
attr_accessor :Tag, :Confidence
|
17065
|
+
attr_accessor :Tag, :Confidence, :SpecialInfo
|
16987
17066
|
|
16988
|
-
def initialize(tag=nil, confidence=nil)
|
17067
|
+
def initialize(tag=nil, confidence=nil, specialinfo=nil)
|
16989
17068
|
@Tag = tag
|
16990
17069
|
@Confidence = confidence
|
17070
|
+
@SpecialInfo = specialinfo
|
16991
17071
|
end
|
16992
17072
|
|
16993
17073
|
def deserialize(params)
|
16994
17074
|
@Tag = params['Tag']
|
16995
17075
|
@Confidence = params['Confidence']
|
17076
|
+
@SpecialInfo = params['SpecialInfo']
|
16996
17077
|
end
|
16997
17078
|
end
|
16998
17079
|
|
@@ -17570,6 +17651,7 @@ module TencentCloud
|
|
17570
17651
|
# @param Input: 对视频截雪碧图任务的输入。
|
17571
17652
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.ImageSpriteTaskInput`
|
17572
17653
|
# @param Output: 对视频截雪碧图任务的输出。
|
17654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17573
17655
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaImageSpriteItem`
|
17574
17656
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17575
17657
|
# @type BeginProcessTime: String
|
@@ -17769,6 +17851,7 @@ module TencentCloud
|
|
17769
17851
|
# @param Input: 对视频做采样截图任务输入。
|
17770
17852
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SampleSnapshotTaskInput`
|
17771
17853
|
# @param Output: 对视频做采样截图任务输出。
|
17854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17772
17855
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSampleSnapshotItem`
|
17773
17856
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17774
17857
|
# @type BeginProcessTime: String
|
@@ -17819,6 +17902,7 @@ module TencentCloud
|
|
17819
17902
|
# @param Input: 对视频按指定时间点截图任务输入。
|
17820
17903
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
|
17821
17904
|
# @param Output: 对视频按指定时间点截图任务输出。
|
17905
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17822
17906
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
|
17823
17907
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17824
17908
|
# @type BeginProcessTime: String
|
@@ -21072,6 +21156,8 @@ module TencentCloud
|
|
21072
21156
|
# @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
|
21073
21157
|
# @param AiQualityControlTask: 媒体质检类型任务参数。
|
21074
21158
|
# @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
|
21159
|
+
# @param SmartSubtitlesTask: 智能字幕
|
21160
|
+
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21075
21161
|
# @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
|
21076
21162
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
21077
21163
|
# @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
|
@@ -21086,17 +21172,15 @@ module TencentCloud
|
|
21086
21172
|
# @type TaskType: String
|
21087
21173
|
# @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
21088
21174
|
# @type ResourceId: String
|
21089
|
-
# @param SmartSubtitlesTask: 智能字幕
|
21090
|
-
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21091
21175
|
# @param SkipMateData: 是否跳过元信息获取,可选值:
|
21092
21176
|
# 0:表示不跳过
|
21093
21177
|
# 1:表示跳过
|
21094
21178
|
# 默认值:0
|
21095
21179
|
# @type SkipMateData: Integer
|
21096
21180
|
|
21097
|
-
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
|
21098
21182
|
|
21099
|
-
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)
|
21100
21184
|
@InputInfo = inputinfo
|
21101
21185
|
@OutputStorage = outputstorage
|
21102
21186
|
@OutputDir = outputdir
|
@@ -21106,13 +21190,13 @@ module TencentCloud
|
|
21106
21190
|
@AiAnalysisTask = aianalysistask
|
21107
21191
|
@AiRecognitionTask = airecognitiontask
|
21108
21192
|
@AiQualityControlTask = aiqualitycontroltask
|
21193
|
+
@SmartSubtitlesTask = smartsubtitlestask
|
21109
21194
|
@TaskNotifyConfig = tasknotifyconfig
|
21110
21195
|
@TasksPriority = taskspriority
|
21111
21196
|
@SessionId = sessionid
|
21112
21197
|
@SessionContext = sessioncontext
|
21113
21198
|
@TaskType = tasktype
|
21114
21199
|
@ResourceId = resourceid
|
21115
|
-
@SmartSubtitlesTask = smartsubtitlestask
|
21116
21200
|
@SkipMateData = skipmatedata
|
21117
21201
|
end
|
21118
21202
|
|
@@ -21147,6 +21231,10 @@ module TencentCloud
|
|
21147
21231
|
@AiQualityControlTask = AiQualityControlTaskInput.new
|
21148
21232
|
@AiQualityControlTask.deserialize(params['AiQualityControlTask'])
|
21149
21233
|
end
|
21234
|
+
unless params['SmartSubtitlesTask'].nil?
|
21235
|
+
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21236
|
+
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21237
|
+
end
|
21150
21238
|
unless params['TaskNotifyConfig'].nil?
|
21151
21239
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
21152
21240
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -21156,10 +21244,6 @@ module TencentCloud
|
|
21156
21244
|
@SessionContext = params['SessionContext']
|
21157
21245
|
@TaskType = params['TaskType']
|
21158
21246
|
@ResourceId = params['ResourceId']
|
21159
|
-
unless params['SmartSubtitlesTask'].nil?
|
21160
|
-
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21161
|
-
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21162
|
-
end
|
21163
21247
|
@SkipMateData = params['SkipMateData']
|
21164
21248
|
end
|
21165
21249
|
end
|
@@ -21345,22 +21429,16 @@ module TencentCloud
|
|
21345
21429
|
# 媒体质检结果输出。
|
21346
21430
|
class QualityControlData < TencentCloud::Common::AbstractModel
|
21347
21431
|
# @param NoAudio: 为true时表示视频无音频轨。
|
21348
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21349
21432
|
# @type NoAudio: Boolean
|
21350
21433
|
# @param NoVideo: 为true时表示视频无视频轨。
|
21351
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21352
21434
|
# @type NoVideo: Boolean
|
21353
21435
|
# @param QualityEvaluationScore: 视频无参考质量评分,百分制。
|
21354
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21355
21436
|
# @type QualityEvaluationScore: Integer
|
21356
21437
|
# @param QualityEvaluationMeanOpinionScore: 视频无参考质量评分,MOS分数。
|
21357
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21358
21438
|
# @type QualityEvaluationMeanOpinionScore: Float
|
21359
21439
|
# @param QualityControlResultSet: 内容质检检出异常项。
|
21360
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21361
21440
|
# @type QualityControlResultSet: Array
|
21362
|
-
# @param ContainerDiagnoseResultSet:
|
21363
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21441
|
+
# @param ContainerDiagnoseResultSet: 格式诊断检出异常项。
|
21364
21442
|
# @type ContainerDiagnoseResultSet: Array
|
21365
21443
|
|
21366
21444
|
attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityEvaluationMeanOpinionScore, :QualityControlResultSet, :ContainerDiagnoseResultSet
|
@@ -21578,6 +21656,30 @@ module TencentCloud
|
|
21578
21656
|
end
|
21579
21657
|
end
|
21580
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
|
+
|
21581
21683
|
# 媒体质检模板详情
|
21582
21684
|
class QualityControlTemplate < TencentCloud::Common::AbstractModel
|
21583
21685
|
# @param Definition: 媒体质检模板唯一标识。
|
@@ -21602,10 +21704,12 @@ module TencentCloud
|
|
21602
21704
|
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
21603
21705
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21604
21706
|
# @type UpdateTime: String
|
21707
|
+
# @param Strategy: 媒体质检的抽检策略。
|
21708
|
+
# @type Strategy: :class:`Tencentcloud::Mps.v20190612.models.QualityControlStrategy`
|
21605
21709
|
|
21606
|
-
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime
|
21710
|
+
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime, :Strategy
|
21607
21711
|
|
21608
|
-
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)
|
21609
21713
|
@Definition = definition
|
21610
21714
|
@Name = name
|
21611
21715
|
@Comment = comment
|
@@ -21613,6 +21717,7 @@ module TencentCloud
|
|
21613
21717
|
@QualityControlItemSet = qualitycontrolitemset
|
21614
21718
|
@CreateTime = createtime
|
21615
21719
|
@UpdateTime = updatetime
|
21720
|
+
@Strategy = strategy
|
21616
21721
|
end
|
21617
21722
|
|
21618
21723
|
def deserialize(params)
|
@@ -21630,6 +21735,10 @@ module TencentCloud
|
|
21630
21735
|
end
|
21631
21736
|
@CreateTime = params['CreateTime']
|
21632
21737
|
@UpdateTime = params['UpdateTime']
|
21738
|
+
unless params['Strategy'].nil?
|
21739
|
+
@Strategy = QualityControlStrategy.new
|
21740
|
+
@Strategy.deserialize(params['Strategy'])
|
21741
|
+
end
|
21633
21742
|
end
|
21634
21743
|
end
|
21635
21744
|
|
@@ -22160,6 +22269,67 @@ module TencentCloud
|
|
22160
22269
|
end
|
22161
22270
|
end
|
22162
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
|
+
|
22163
22333
|
# AWS S3存储输入
|
22164
22334
|
class S3InputInfo < TencentCloud::Common::AbstractModel
|
22165
22335
|
# @param S3Bucket: S3 bucket。
|
@@ -22493,13 +22663,10 @@ module TencentCloud
|
|
22493
22663
|
# @param Input: 分析任务的输入。
|
22494
22664
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
|
22495
22665
|
# @param Output: 分析任务的输出。
|
22496
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22497
22666
|
# @type Output: Array
|
22498
22667
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22500
22668
|
# @type BeginProcessTime: String
|
22501
22669
|
# @param FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22502
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22503
22670
|
# @type FinishTime: String
|
22504
22671
|
|
22505
22672
|
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :BeginProcessTime, :FinishTime
|
@@ -22537,6 +22704,45 @@ module TencentCloud
|
|
22537
22704
|
end
|
22538
22705
|
end
|
22539
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
|
+
|
22540
22746
|
# 媒体质检任务结果类型
|
22541
22747
|
class ScheduleQualityControlTaskResult < TencentCloud::Common::AbstractModel
|
22542
22748
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
@@ -23639,13 +23845,31 @@ module TencentCloud
|
|
23639
23845
|
# @param RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
|
23640
23846
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
23641
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}
|
23642
23858
|
|
23643
|
-
|
23859
|
+
# 绝对路径示例:
|
23860
|
+
# - /自定义路径/文件名_{变量名}.{format}
|
23644
23861
|
|
23645
|
-
|
23862
|
+
# 如果不填,则默认为相对路径: `{inputName}_smartsubtitle_{definition}.{format}`。
|
23863
|
+
# @type OutputObjectPath: String
|
23864
|
+
|
23865
|
+
attr_accessor :Definition, :UserExtPara, :RawParameter, :OutputStorage, :OutputObjectPath
|
23866
|
+
|
23867
|
+
def initialize(definition=nil, userextpara=nil, rawparameter=nil, outputstorage=nil, outputobjectpath=nil)
|
23646
23868
|
@Definition = definition
|
23647
23869
|
@UserExtPara = userextpara
|
23648
23870
|
@RawParameter = rawparameter
|
23871
|
+
@OutputStorage = outputstorage
|
23872
|
+
@OutputObjectPath = outputobjectpath
|
23649
23873
|
end
|
23650
23874
|
|
23651
23875
|
def deserialize(params)
|
@@ -23655,6 +23879,11 @@ module TencentCloud
|
|
23655
23879
|
@RawParameter = RawSmartSubtitleParameter.new
|
23656
23880
|
@RawParameter.deserialize(params['RawParameter'])
|
23657
23881
|
end
|
23882
|
+
unless params['OutputStorage'].nil?
|
23883
|
+
@OutputStorage = TaskOutputStorage.new
|
23884
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
23885
|
+
end
|
23886
|
+
@OutputObjectPath = params['OutputObjectPath']
|
23658
23887
|
end
|
23659
23888
|
end
|
23660
23889
|
|
@@ -23949,6 +24178,22 @@ module TencentCloud
|
|
23949
24178
|
end
|
23950
24179
|
end
|
23951
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
|
+
|
23952
24197
|
# 字幕流配置参数。
|
23953
24198
|
class SubtitleTemplate < TencentCloud::Common::AbstractModel
|
23954
24199
|
# @param Path: 要压制到视频中的字幕文件地址。
|
@@ -24647,6 +24892,37 @@ module TencentCloud
|
|
24647
24892
|
end
|
24648
24893
|
end
|
24649
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
|
+
|
24650
24926
|
# 音轨信息
|
24651
24927
|
class TrackInfo < TencentCloud::Common::AbstractModel
|
24652
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
|