tencentcloud-sdk-mps 3.0.1106 → 3.0.1112
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 +364 -52
- 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: 3d64568ee3bc54bef9c091e360c7182173e369e1
|
4
|
+
data.tar.gz: 3c6a1d93713e9060b78943377d4174717951c3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607237c3cf590a353ed478399bd058adb0e7a81d84d7c577246b4a88ccfdddac67a86bece71ac93ffdd6719744a491354b30352267bd5b17c17fac948de3a1b0
|
7
|
+
data.tar.gz: 0ef78aac728643bfc969c119d4863a4749a1c774cf74bbfa864854dfd45bea19dbac1fea115e5d9732c5967614b60ca870e2f80286fd0f2b95f3b4b7717b2529
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1112
|
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
|
|
@@ -7012,10 +7041,12 @@ module TencentCloud
|
|
7012
7041
|
# @type RISTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRISTSettings`
|
7013
7042
|
# @param InputRegion: 输入节点的地区
|
7014
7043
|
# @type InputRegion: String
|
7044
|
+
# @param FailOverOption: 冷热备相关
|
7045
|
+
# @type FailOverOption: :class:`Tencentcloud::Mps.v20190612.models.FailOverOption`
|
7015
7046
|
|
7016
|
-
attr_accessor :InputName, :Protocol, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :FailOver, :RTMPPullSettings, :RTSPPullSettings, :HLSPullSettings, :ResilientStream, :SecurityGroupIds, :Zones, :RISTSettings, :InputRegion
|
7047
|
+
attr_accessor :InputName, :Protocol, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :FailOver, :RTMPPullSettings, :RTSPPullSettings, :HLSPullSettings, :ResilientStream, :SecurityGroupIds, :Zones, :RISTSettings, :InputRegion, :FailOverOption
|
7017
7048
|
|
7018
|
-
def initialize(inputname=nil, protocol=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil, hlspullsettings=nil, resilientstream=nil, securitygroupids=nil, zones=nil, ristsettings=nil, inputregion=nil)
|
7049
|
+
def initialize(inputname=nil, protocol=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil, hlspullsettings=nil, resilientstream=nil, securitygroupids=nil, zones=nil, ristsettings=nil, inputregion=nil, failoveroption=nil)
|
7019
7050
|
@InputName = inputname
|
7020
7051
|
@Protocol = protocol
|
7021
7052
|
@Description = description
|
@@ -7031,6 +7062,7 @@ module TencentCloud
|
|
7031
7062
|
@Zones = zones
|
7032
7063
|
@RISTSettings = ristsettings
|
7033
7064
|
@InputRegion = inputregion
|
7065
|
+
@FailOverOption = failoveroption
|
7034
7066
|
end
|
7035
7067
|
|
7036
7068
|
def deserialize(params)
|
@@ -7070,6 +7102,10 @@ module TencentCloud
|
|
7070
7102
|
@RISTSettings.deserialize(params['RISTSettings'])
|
7071
7103
|
end
|
7072
7104
|
@InputRegion = params['InputRegion']
|
7105
|
+
unless params['FailOverOption'].nil?
|
7106
|
+
@FailOverOption = FailOverOption.new
|
7107
|
+
@FailOverOption.deserialize(params['FailOverOption'])
|
7108
|
+
end
|
7073
7109
|
end
|
7074
7110
|
end
|
7075
7111
|
|
@@ -7753,14 +7789,17 @@ module TencentCloud
|
|
7753
7789
|
# @param RecordFormat: 录制文件格式。可选值:
|
7754
7790
|
# <li>PNG: PNG图片</li>
|
7755
7791
|
# @type RecordFormat: String
|
7792
|
+
# @param Strategy: 媒体质检抽检策略。
|
7793
|
+
# @type Strategy: :class:`Tencentcloud::Mps.v20190612.models.QualityControlStrategy`
|
7756
7794
|
|
7757
|
-
attr_accessor :Name, :QualityControlItemSet, :Comment, :RecordFormat
|
7795
|
+
attr_accessor :Name, :QualityControlItemSet, :Comment, :RecordFormat, :Strategy
|
7758
7796
|
|
7759
|
-
def initialize(name=nil, qualitycontrolitemset=nil, comment=nil, recordformat=nil)
|
7797
|
+
def initialize(name=nil, qualitycontrolitemset=nil, comment=nil, recordformat=nil, strategy=nil)
|
7760
7798
|
@Name = name
|
7761
7799
|
@QualityControlItemSet = qualitycontrolitemset
|
7762
7800
|
@Comment = comment
|
7763
7801
|
@RecordFormat = recordformat
|
7802
|
+
@Strategy = strategy
|
7764
7803
|
end
|
7765
7804
|
|
7766
7805
|
def deserialize(params)
|
@@ -7775,6 +7814,10 @@ module TencentCloud
|
|
7775
7814
|
end
|
7776
7815
|
@Comment = params['Comment']
|
7777
7816
|
@RecordFormat = params['RecordFormat']
|
7817
|
+
unless params['Strategy'].nil?
|
7818
|
+
@Strategy = QualityControlStrategy.new
|
7819
|
+
@Strategy.deserialize(params['Strategy'])
|
7820
|
+
end
|
7778
7821
|
end
|
7779
7822
|
end
|
7780
7823
|
|
@@ -11497,7 +11540,6 @@ module TencentCloud
|
|
11497
11540
|
# @param TotalCount: 符合过滤条件的记录总数。
|
11498
11541
|
# @type TotalCount: Integer
|
11499
11542
|
# @param QualityControlTemplateSet: 媒体质检模板详情列表。
|
11500
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11501
11543
|
# @type QualityControlTemplateSet: Array
|
11502
11544
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11503
11545
|
# @type RequestId: String
|
@@ -12679,19 +12721,27 @@ module TencentCloud
|
|
12679
12721
|
# @type Limit: Integer
|
12680
12722
|
# @param ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
|
12681
12723
|
# @type ScrollToken: String
|
12724
|
+
# @param StartTime: 查询任务开始时间
|
12725
|
+
# @type StartTime: String
|
12726
|
+
# @param EndTime: 查询任务结束时间。
|
12727
|
+
# @type EndTime: String
|
12682
12728
|
|
12683
|
-
attr_accessor :Status, :Limit, :ScrollToken
|
12729
|
+
attr_accessor :Status, :Limit, :ScrollToken, :StartTime, :EndTime
|
12684
12730
|
|
12685
|
-
def initialize(status=nil, limit=nil, scrolltoken=nil)
|
12731
|
+
def initialize(status=nil, limit=nil, scrolltoken=nil, starttime=nil, endtime=nil)
|
12686
12732
|
@Status = status
|
12687
12733
|
@Limit = limit
|
12688
12734
|
@ScrollToken = scrolltoken
|
12735
|
+
@StartTime = starttime
|
12736
|
+
@EndTime = endtime
|
12689
12737
|
end
|
12690
12738
|
|
12691
12739
|
def deserialize(params)
|
12692
12740
|
@Status = params['Status']
|
12693
12741
|
@Limit = params['Limit']
|
12694
12742
|
@ScrollToken = params['ScrollToken']
|
12743
|
+
@StartTime = params['StartTime']
|
12744
|
+
@EndTime = params['EndTime']
|
12695
12745
|
end
|
12696
12746
|
end
|
12697
12747
|
|
@@ -13878,6 +13928,46 @@ module TencentCloud
|
|
13878
13928
|
end
|
13879
13929
|
end
|
13880
13930
|
|
13931
|
+
# 条件判断输出
|
13932
|
+
class ExecRuleTaskData < TencentCloud::Common::AbstractModel
|
13933
|
+
# @param RearDriveIndex: 质检条件判断需要执行的节点索引。
|
13934
|
+
# @type RearDriveIndex: Array
|
13935
|
+
|
13936
|
+
attr_accessor :RearDriveIndex
|
13937
|
+
|
13938
|
+
def initialize(reardriveindex=nil)
|
13939
|
+
@RearDriveIndex = reardriveindex
|
13940
|
+
end
|
13941
|
+
|
13942
|
+
def deserialize(params)
|
13943
|
+
@RearDriveIndex = params['RearDriveIndex']
|
13944
|
+
end
|
13945
|
+
end
|
13946
|
+
|
13947
|
+
# 任务判断条件
|
13948
|
+
class ExecRulesTask < TencentCloud::Common::AbstractModel
|
13949
|
+
# @param Rules: 条件判断信息
|
13950
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13951
|
+
# @type Rules: Array
|
13952
|
+
|
13953
|
+
attr_accessor :Rules
|
13954
|
+
|
13955
|
+
def initialize(rules=nil)
|
13956
|
+
@Rules = rules
|
13957
|
+
end
|
13958
|
+
|
13959
|
+
def deserialize(params)
|
13960
|
+
unless params['Rules'].nil?
|
13961
|
+
@Rules = []
|
13962
|
+
params['Rules'].each do |i|
|
13963
|
+
rules_tmp = Rules.new
|
13964
|
+
rules_tmp.deserialize(i)
|
13965
|
+
@Rules << rules_tmp
|
13966
|
+
end
|
13967
|
+
end
|
13968
|
+
end
|
13969
|
+
end
|
13970
|
+
|
13881
13971
|
# ExecuteFunction请求参数结构体
|
13882
13972
|
class ExecuteFunctionRequest < TencentCloud::Common::AbstractModel
|
13883
13973
|
# @param FunctionName: 调用后端接口名称。
|
@@ -14064,6 +14154,23 @@ module TencentCloud
|
|
14064
14154
|
end
|
14065
14155
|
end
|
14066
14156
|
|
14157
|
+
# type FailOverOption struct
|
14158
|
+
# { FailOverType string json:"FailOverType" // 新增 冷/热备 COLDSTANDBY、HOTSTANDBY }
|
14159
|
+
class FailOverOption < TencentCloud::Common::AbstractModel
|
14160
|
+
# @param FailOverType: 热备
|
14161
|
+
# @type FailOverType: String
|
14162
|
+
|
14163
|
+
attr_accessor :FailOverType
|
14164
|
+
|
14165
|
+
def initialize(failovertype=nil)
|
14166
|
+
@FailOverType = failovertype
|
14167
|
+
end
|
14168
|
+
|
14169
|
+
def deserialize(params)
|
14170
|
+
@FailOverType = params['FailOverType']
|
14171
|
+
end
|
14172
|
+
end
|
14173
|
+
|
14067
14174
|
# 流的音频数据。
|
14068
14175
|
class FlowAudio < TencentCloud::Common::AbstractModel
|
14069
14176
|
# @param Fps: 帧率。
|
@@ -14807,10 +14914,8 @@ module TencentCloud
|
|
14807
14914
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14808
14915
|
# @type SegmentTags: Array
|
14809
14916
|
# @param BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
|
14810
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14811
14917
|
# @type BeginTime: String
|
14812
14918
|
# @param EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
|
14813
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14814
14919
|
# @type EndTime: String
|
14815
14920
|
|
14816
14921
|
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentTags, :BeginTime, :EndTime
|
@@ -15474,7 +15579,6 @@ module TencentCloud
|
|
15474
15579
|
# @param ActivityType: 原子任务类型。
|
15475
15580
|
# <li>LiveRecord:直播录制。</li>
|
15476
15581
|
# <li>AiQualityControl:媒体质检。</li>
|
15477
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15478
15582
|
# @type ActivityType: String
|
15479
15583
|
# @param LiveActivityResItem: 原子任务输出。
|
15480
15584
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -15706,21 +15810,16 @@ module TencentCloud
|
|
15706
15810
|
# 直播编排任务信息
|
15707
15811
|
class LiveScheduleTask < TencentCloud::Common::AbstractModel
|
15708
15812
|
# @param TaskId: 直播编排任务 ID。
|
15709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15710
15813
|
# @type TaskId: String
|
15711
15814
|
# @param Status: 任务流状态,取值:
|
15712
15815
|
# <li>PROCESSING:处理中;</li>
|
15713
15816
|
# <li>FINISH:已完成。</li>
|
15714
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15715
15817
|
# @type Status: String
|
15716
15818
|
# @param ErrCode: 源异常时返回非0错误码,返回0 时请使用各个具体任务的 ErrCode。
|
15717
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15718
15819
|
# @type ErrCode: Integer
|
15719
15820
|
# @param Message: 源异常时返回对应异常Message,否则请使用各个具体任务的 Message。
|
15720
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15721
15821
|
# @type Message: String
|
15722
15822
|
# @param Url: 直播流 URL。
|
15723
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15724
15823
|
# @type Url: String
|
15725
15824
|
# @param LiveActivityResultSet: 直播编排任务输出。
|
15726
15825
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -16990,17 +17089,21 @@ module TencentCloud
|
|
16990
17089
|
# @type Tag: String
|
16991
17090
|
# @param Confidence: 标签的可信度,取值范围是 0 到 100。
|
16992
17091
|
# @type Confidence: Float
|
17092
|
+
# @param SpecialInfo: 根据不同类型决定
|
17093
|
+
# @type SpecialInfo: String
|
16993
17094
|
|
16994
|
-
attr_accessor :Tag, :Confidence
|
17095
|
+
attr_accessor :Tag, :Confidence, :SpecialInfo
|
16995
17096
|
|
16996
|
-
def initialize(tag=nil, confidence=nil)
|
17097
|
+
def initialize(tag=nil, confidence=nil, specialinfo=nil)
|
16997
17098
|
@Tag = tag
|
16998
17099
|
@Confidence = confidence
|
17100
|
+
@SpecialInfo = specialinfo
|
16999
17101
|
end
|
17000
17102
|
|
17001
17103
|
def deserialize(params)
|
17002
17104
|
@Tag = params['Tag']
|
17003
17105
|
@Confidence = params['Confidence']
|
17106
|
+
@SpecialInfo = params['SpecialInfo']
|
17004
17107
|
end
|
17005
17108
|
end
|
17006
17109
|
|
@@ -17578,6 +17681,7 @@ module TencentCloud
|
|
17578
17681
|
# @param Input: 对视频截雪碧图任务的输入。
|
17579
17682
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.ImageSpriteTaskInput`
|
17580
17683
|
# @param Output: 对视频截雪碧图任务的输出。
|
17684
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17581
17685
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaImageSpriteItem`
|
17582
17686
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17583
17687
|
# @type BeginProcessTime: String
|
@@ -17777,6 +17881,7 @@ module TencentCloud
|
|
17777
17881
|
# @param Input: 对视频做采样截图任务输入。
|
17778
17882
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SampleSnapshotTaskInput`
|
17779
17883
|
# @param Output: 对视频做采样截图任务输出。
|
17884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17780
17885
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSampleSnapshotItem`
|
17781
17886
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17782
17887
|
# @type BeginProcessTime: String
|
@@ -17827,6 +17932,7 @@ module TencentCloud
|
|
17827
17932
|
# @param Input: 对视频按指定时间点截图任务输入。
|
17828
17933
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
|
17829
17934
|
# @param Output: 对视频按指定时间点截图任务输出。
|
17935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17830
17936
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
|
17831
17937
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
17832
17938
|
# @type BeginProcessTime: String
|
@@ -18749,10 +18855,12 @@ module TencentCloud
|
|
18749
18855
|
# @type RISTSettings: :class:`Tencentcloud::Mps.v20190612.models.CreateInputRISTSettings`
|
18750
18856
|
# @param InputRegion: 输入节点的地区
|
18751
18857
|
# @type InputRegion: String
|
18858
|
+
# @param FailOverOption: 冷热备相关
|
18859
|
+
# @type FailOverOption: :class:`Tencentcloud::Mps.v20190612.models.FailOverOption`
|
18752
18860
|
|
18753
|
-
attr_accessor :InputId, :InputName, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :Protocol, :FailOver, :RTMPPullSettings, :RTSPPullSettings, :HLSPullSettings, :ResilientStream, :SecurityGroupIds, :Zones, :RISTSettings, :InputRegion
|
18861
|
+
attr_accessor :InputId, :InputName, :Description, :AllowIpList, :SRTSettings, :RTPSettings, :Protocol, :FailOver, :RTMPPullSettings, :RTSPPullSettings, :HLSPullSettings, :ResilientStream, :SecurityGroupIds, :Zones, :RISTSettings, :InputRegion, :FailOverOption
|
18754
18862
|
|
18755
|
-
def initialize(inputid=nil, inputname=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, protocol=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil, hlspullsettings=nil, resilientstream=nil, securitygroupids=nil, zones=nil, ristsettings=nil, inputregion=nil)
|
18863
|
+
def initialize(inputid=nil, inputname=nil, description=nil, allowiplist=nil, srtsettings=nil, rtpsettings=nil, protocol=nil, failover=nil, rtmppullsettings=nil, rtsppullsettings=nil, hlspullsettings=nil, resilientstream=nil, securitygroupids=nil, zones=nil, ristsettings=nil, inputregion=nil, failoveroption=nil)
|
18756
18864
|
@InputId = inputid
|
18757
18865
|
@InputName = inputname
|
18758
18866
|
@Description = description
|
@@ -18769,6 +18877,7 @@ module TencentCloud
|
|
18769
18877
|
@Zones = zones
|
18770
18878
|
@RISTSettings = ristsettings
|
18771
18879
|
@InputRegion = inputregion
|
18880
|
+
@FailOverOption = failoveroption
|
18772
18881
|
end
|
18773
18882
|
|
18774
18883
|
def deserialize(params)
|
@@ -18809,6 +18918,10 @@ module TencentCloud
|
|
18809
18918
|
@RISTSettings.deserialize(params['RISTSettings'])
|
18810
18919
|
end
|
18811
18920
|
@InputRegion = params['InputRegion']
|
18921
|
+
unless params['FailOverOption'].nil?
|
18922
|
+
@FailOverOption = FailOverOption.new
|
18923
|
+
@FailOverOption.deserialize(params['FailOverOption'])
|
18924
|
+
end
|
18812
18925
|
end
|
18813
18926
|
end
|
18814
18927
|
|
@@ -19046,15 +19159,18 @@ module TencentCloud
|
|
19046
19159
|
# @param RecordFormat: 录制文件格式。可选值:
|
19047
19160
|
# <li>PNG: PNG图片</li>
|
19048
19161
|
# @type RecordFormat: String
|
19162
|
+
# @param Strategy: 媒体质检抽检策略。
|
19163
|
+
# @type Strategy: :class:`Tencentcloud::Mps.v20190612.models.QualityControlStrategy`
|
19049
19164
|
|
19050
|
-
attr_accessor :Definition, :Name, :Comment, :QualityControlItemSet, :RecordFormat
|
19165
|
+
attr_accessor :Definition, :Name, :Comment, :QualityControlItemSet, :RecordFormat, :Strategy
|
19051
19166
|
|
19052
|
-
def initialize(definition=nil, name=nil, comment=nil, qualitycontrolitemset=nil, recordformat=nil)
|
19167
|
+
def initialize(definition=nil, name=nil, comment=nil, qualitycontrolitemset=nil, recordformat=nil, strategy=nil)
|
19053
19168
|
@Definition = definition
|
19054
19169
|
@Name = name
|
19055
19170
|
@Comment = comment
|
19056
19171
|
@QualityControlItemSet = qualitycontrolitemset
|
19057
19172
|
@RecordFormat = recordformat
|
19173
|
+
@Strategy = strategy
|
19058
19174
|
end
|
19059
19175
|
|
19060
19176
|
def deserialize(params)
|
@@ -19070,6 +19186,10 @@ module TencentCloud
|
|
19070
19186
|
end
|
19071
19187
|
end
|
19072
19188
|
@RecordFormat = params['RecordFormat']
|
19189
|
+
unless params['Strategy'].nil?
|
19190
|
+
@Strategy = QualityControlStrategy.new
|
19191
|
+
@Strategy.deserialize(params['Strategy'])
|
19192
|
+
end
|
19073
19193
|
end
|
19074
19194
|
end
|
19075
19195
|
|
@@ -21080,6 +21200,8 @@ module TencentCloud
|
|
21080
21200
|
# @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
|
21081
21201
|
# @param AiQualityControlTask: 媒体质检类型任务参数。
|
21082
21202
|
# @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
|
21203
|
+
# @param SmartSubtitlesTask: 智能字幕
|
21204
|
+
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21083
21205
|
# @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
|
21084
21206
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
21085
21207
|
# @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
|
@@ -21094,17 +21216,15 @@ module TencentCloud
|
|
21094
21216
|
# @type TaskType: String
|
21095
21217
|
# @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
21096
21218
|
# @type ResourceId: String
|
21097
|
-
# @param SmartSubtitlesTask: 智能字幕
|
21098
|
-
# @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
|
21099
21219
|
# @param SkipMateData: 是否跳过元信息获取,可选值:
|
21100
21220
|
# 0:表示不跳过
|
21101
21221
|
# 1:表示跳过
|
21102
21222
|
# 默认值:0
|
21103
21223
|
# @type SkipMateData: Integer
|
21104
21224
|
|
21105
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :
|
21225
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :SmartSubtitlesTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :SkipMateData
|
21106
21226
|
|
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,
|
21227
|
+
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
21228
|
@InputInfo = inputinfo
|
21109
21229
|
@OutputStorage = outputstorage
|
21110
21230
|
@OutputDir = outputdir
|
@@ -21114,13 +21234,13 @@ module TencentCloud
|
|
21114
21234
|
@AiAnalysisTask = aianalysistask
|
21115
21235
|
@AiRecognitionTask = airecognitiontask
|
21116
21236
|
@AiQualityControlTask = aiqualitycontroltask
|
21237
|
+
@SmartSubtitlesTask = smartsubtitlestask
|
21117
21238
|
@TaskNotifyConfig = tasknotifyconfig
|
21118
21239
|
@TasksPriority = taskspriority
|
21119
21240
|
@SessionId = sessionid
|
21120
21241
|
@SessionContext = sessioncontext
|
21121
21242
|
@TaskType = tasktype
|
21122
21243
|
@ResourceId = resourceid
|
21123
|
-
@SmartSubtitlesTask = smartsubtitlestask
|
21124
21244
|
@SkipMateData = skipmatedata
|
21125
21245
|
end
|
21126
21246
|
|
@@ -21155,6 +21275,10 @@ module TencentCloud
|
|
21155
21275
|
@AiQualityControlTask = AiQualityControlTaskInput.new
|
21156
21276
|
@AiQualityControlTask.deserialize(params['AiQualityControlTask'])
|
21157
21277
|
end
|
21278
|
+
unless params['SmartSubtitlesTask'].nil?
|
21279
|
+
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21280
|
+
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21281
|
+
end
|
21158
21282
|
unless params['TaskNotifyConfig'].nil?
|
21159
21283
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
21160
21284
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -21164,10 +21288,6 @@ module TencentCloud
|
|
21164
21288
|
@SessionContext = params['SessionContext']
|
21165
21289
|
@TaskType = params['TaskType']
|
21166
21290
|
@ResourceId = params['ResourceId']
|
21167
|
-
unless params['SmartSubtitlesTask'].nil?
|
21168
|
-
@SmartSubtitlesTask = SmartSubtitlesTaskInput.new
|
21169
|
-
@SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
|
21170
|
-
end
|
21171
21291
|
@SkipMateData = params['SkipMateData']
|
21172
21292
|
end
|
21173
21293
|
end
|
@@ -21353,22 +21473,16 @@ module TencentCloud
|
|
21353
21473
|
# 媒体质检结果输出。
|
21354
21474
|
class QualityControlData < TencentCloud::Common::AbstractModel
|
21355
21475
|
# @param NoAudio: 为true时表示视频无音频轨。
|
21356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21357
21476
|
# @type NoAudio: Boolean
|
21358
21477
|
# @param NoVideo: 为true时表示视频无视频轨。
|
21359
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21360
21478
|
# @type NoVideo: Boolean
|
21361
21479
|
# @param QualityEvaluationScore: 视频无参考质量评分,百分制。
|
21362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21363
21480
|
# @type QualityEvaluationScore: Integer
|
21364
21481
|
# @param QualityEvaluationMeanOpinionScore: 视频无参考质量评分,MOS分数。
|
21365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21366
21482
|
# @type QualityEvaluationMeanOpinionScore: Float
|
21367
21483
|
# @param QualityControlResultSet: 内容质检检出异常项。
|
21368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21369
21484
|
# @type QualityControlResultSet: Array
|
21370
|
-
# @param ContainerDiagnoseResultSet:
|
21371
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21485
|
+
# @param ContainerDiagnoseResultSet: 格式诊断检出异常项。
|
21372
21486
|
# @type ContainerDiagnoseResultSet: Array
|
21373
21487
|
|
21374
21488
|
attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityEvaluationMeanOpinionScore, :QualityControlResultSet, :ContainerDiagnoseResultSet
|
@@ -21586,6 +21700,30 @@ module TencentCloud
|
|
21586
21700
|
end
|
21587
21701
|
end
|
21588
21702
|
|
21703
|
+
# 媒体质检检测策略。
|
21704
|
+
class QualityControlStrategy < TencentCloud::Common::AbstractModel
|
21705
|
+
# @param StrategyType: 策略类型。取值:
|
21706
|
+
# - TimeSpotCheck
|
21707
|
+
# @type StrategyType: String
|
21708
|
+
# @param TimeSpotCheck: 根据时间的抽检策略。
|
21709
|
+
# @type TimeSpotCheck: :class:`Tencentcloud::Mps.v20190612.models.TimeSpotCheck`
|
21710
|
+
|
21711
|
+
attr_accessor :StrategyType, :TimeSpotCheck
|
21712
|
+
|
21713
|
+
def initialize(strategytype=nil, timespotcheck=nil)
|
21714
|
+
@StrategyType = strategytype
|
21715
|
+
@TimeSpotCheck = timespotcheck
|
21716
|
+
end
|
21717
|
+
|
21718
|
+
def deserialize(params)
|
21719
|
+
@StrategyType = params['StrategyType']
|
21720
|
+
unless params['TimeSpotCheck'].nil?
|
21721
|
+
@TimeSpotCheck = TimeSpotCheck.new
|
21722
|
+
@TimeSpotCheck.deserialize(params['TimeSpotCheck'])
|
21723
|
+
end
|
21724
|
+
end
|
21725
|
+
end
|
21726
|
+
|
21589
21727
|
# 媒体质检模板详情
|
21590
21728
|
class QualityControlTemplate < TencentCloud::Common::AbstractModel
|
21591
21729
|
# @param Definition: 媒体质检模板唯一标识。
|
@@ -21610,10 +21748,12 @@ module TencentCloud
|
|
21610
21748
|
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
21611
21749
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21612
21750
|
# @type UpdateTime: String
|
21751
|
+
# @param Strategy: 媒体质检的抽检策略。
|
21752
|
+
# @type Strategy: :class:`Tencentcloud::Mps.v20190612.models.QualityControlStrategy`
|
21613
21753
|
|
21614
|
-
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime
|
21754
|
+
attr_accessor :Definition, :Name, :Comment, :Type, :QualityControlItemSet, :CreateTime, :UpdateTime, :Strategy
|
21615
21755
|
|
21616
|
-
def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil)
|
21756
|
+
def initialize(definition=nil, name=nil, comment=nil, type=nil, qualitycontrolitemset=nil, createtime=nil, updatetime=nil, strategy=nil)
|
21617
21757
|
@Definition = definition
|
21618
21758
|
@Name = name
|
21619
21759
|
@Comment = comment
|
@@ -21621,6 +21761,7 @@ module TencentCloud
|
|
21621
21761
|
@QualityControlItemSet = qualitycontrolitemset
|
21622
21762
|
@CreateTime = createtime
|
21623
21763
|
@UpdateTime = updatetime
|
21764
|
+
@Strategy = strategy
|
21624
21765
|
end
|
21625
21766
|
|
21626
21767
|
def deserialize(params)
|
@@ -21638,6 +21779,10 @@ module TencentCloud
|
|
21638
21779
|
end
|
21639
21780
|
@CreateTime = params['CreateTime']
|
21640
21781
|
@UpdateTime = params['UpdateTime']
|
21782
|
+
unless params['Strategy'].nil?
|
21783
|
+
@Strategy = QualityControlStrategy.new
|
21784
|
+
@Strategy.deserialize(params['Strategy'])
|
21785
|
+
end
|
21641
21786
|
end
|
21642
21787
|
end
|
21643
21788
|
|
@@ -22168,6 +22313,67 @@ module TencentCloud
|
|
22168
22313
|
end
|
22169
22314
|
end
|
22170
22315
|
|
22316
|
+
# 规则条件配置。
|
22317
|
+
class RuleConditionItem < TencentCloud::Common::AbstractModel
|
22318
|
+
# @param Key: 质检项条件对应的Key。
|
22319
|
+
# @type Key: String
|
22320
|
+
# @param Value: 条件对应的Value。
|
22321
|
+
# @type Value: String
|
22322
|
+
|
22323
|
+
attr_accessor :Key, :Value
|
22324
|
+
|
22325
|
+
def initialize(key=nil, value=nil)
|
22326
|
+
@Key = key
|
22327
|
+
@Value = value
|
22328
|
+
end
|
22329
|
+
|
22330
|
+
def deserialize(params)
|
22331
|
+
@Key = params['Key']
|
22332
|
+
@Value = params['Value']
|
22333
|
+
end
|
22334
|
+
end
|
22335
|
+
|
22336
|
+
# 任务判断条件
|
22337
|
+
class Rules < TencentCloud::Common::AbstractModel
|
22338
|
+
# @param Id: 判断条件id
|
22339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22340
|
+
# @type Id: String
|
22341
|
+
# @param Conditions: 判断条件配置
|
22342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22343
|
+
# @type Conditions: Array
|
22344
|
+
# @param Linker: 条件列表的链接符号,取值如下:
|
22345
|
+
|
22346
|
+
# - &&:逻辑与
|
22347
|
+
# - ||:逻辑或
|
22348
|
+
# @type Linker: String
|
22349
|
+
# @param RearDriveIndexs: 满足判断条件执行节点索引;
|
22350
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22351
|
+
# @type RearDriveIndexs: Array
|
22352
|
+
|
22353
|
+
attr_accessor :Id, :Conditions, :Linker, :RearDriveIndexs
|
22354
|
+
|
22355
|
+
def initialize(id=nil, conditions=nil, linker=nil, reardriveindexs=nil)
|
22356
|
+
@Id = id
|
22357
|
+
@Conditions = conditions
|
22358
|
+
@Linker = linker
|
22359
|
+
@RearDriveIndexs = reardriveindexs
|
22360
|
+
end
|
22361
|
+
|
22362
|
+
def deserialize(params)
|
22363
|
+
@Id = params['Id']
|
22364
|
+
unless params['Conditions'].nil?
|
22365
|
+
@Conditions = []
|
22366
|
+
params['Conditions'].each do |i|
|
22367
|
+
ruleconditionitem_tmp = RuleConditionItem.new
|
22368
|
+
ruleconditionitem_tmp.deserialize(i)
|
22369
|
+
@Conditions << ruleconditionitem_tmp
|
22370
|
+
end
|
22371
|
+
end
|
22372
|
+
@Linker = params['Linker']
|
22373
|
+
@RearDriveIndexs = params['RearDriveIndexs']
|
22374
|
+
end
|
22375
|
+
end
|
22376
|
+
|
22171
22377
|
# AWS S3存储输入
|
22172
22378
|
class S3InputInfo < TencentCloud::Common::AbstractModel
|
22173
22379
|
# @param S3Bucket: S3 bucket。
|
@@ -22501,13 +22707,10 @@ module TencentCloud
|
|
22501
22707
|
# @param Input: 分析任务的输入。
|
22502
22708
|
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
|
22503
22709
|
# @param Output: 分析任务的输出。
|
22504
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22505
22710
|
# @type Output: Array
|
22506
22711
|
# @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22507
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22508
22712
|
# @type BeginProcessTime: String
|
22509
22713
|
# @param FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
22510
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
22511
22714
|
# @type FinishTime: String
|
22512
22715
|
|
22513
22716
|
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :BeginProcessTime, :FinishTime
|
@@ -22545,6 +22748,45 @@ module TencentCloud
|
|
22545
22748
|
end
|
22546
22749
|
end
|
22547
22750
|
|
22751
|
+
# 媒体质检任务结果类型
|
22752
|
+
class ScheduleExecRuleTaskResult < TencentCloud::Common::AbstractModel
|
22753
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
22754
|
+
# @type Status: String
|
22755
|
+
# @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) 列表。
|
22756
|
+
# @type ErrCodeExt: String
|
22757
|
+
# @param Message: 错误信息。
|
22758
|
+
# @type Message: String
|
22759
|
+
# @param Input: 条件判断任务的输入。
|
22760
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.ExecRulesTask`
|
22761
|
+
# @param Output: 条件判断任务的输出。
|
22762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22763
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.ExecRuleTaskData`
|
22764
|
+
|
22765
|
+
attr_accessor :Status, :ErrCodeExt, :Message, :Input, :Output
|
22766
|
+
|
22767
|
+
def initialize(status=nil, errcodeext=nil, message=nil, input=nil, output=nil)
|
22768
|
+
@Status = status
|
22769
|
+
@ErrCodeExt = errcodeext
|
22770
|
+
@Message = message
|
22771
|
+
@Input = input
|
22772
|
+
@Output = output
|
22773
|
+
end
|
22774
|
+
|
22775
|
+
def deserialize(params)
|
22776
|
+
@Status = params['Status']
|
22777
|
+
@ErrCodeExt = params['ErrCodeExt']
|
22778
|
+
@Message = params['Message']
|
22779
|
+
unless params['Input'].nil?
|
22780
|
+
@Input = ExecRulesTask.new
|
22781
|
+
@Input.deserialize(params['Input'])
|
22782
|
+
end
|
22783
|
+
unless params['Output'].nil?
|
22784
|
+
@Output = ExecRuleTaskData.new
|
22785
|
+
@Output.deserialize(params['Output'])
|
22786
|
+
end
|
22787
|
+
end
|
22788
|
+
end
|
22789
|
+
|
22548
22790
|
# 媒体质检任务结果类型
|
22549
22791
|
class ScheduleQualityControlTaskResult < TencentCloud::Common::AbstractModel
|
22550
22792
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
@@ -23647,13 +23889,31 @@ module TencentCloud
|
|
23647
23889
|
# @param RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
|
23648
23890
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
23649
23891
|
# @type RawParameter: :class:`Tencentcloud::Mps.v20190612.models.RawSmartSubtitleParameter`
|
23892
|
+
# @param OutputStorage: 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
23893
|
+
# **注意**:当InputInfo.Type为URL时,该参数是必填项。
|
23894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23895
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
23896
|
+
# @param OutputObjectPath: 生成字幕文件的输出路径,可以为相对路径或者绝对路径。
|
23897
|
+
# 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
23898
|
+
|
23899
|
+
# 相对路径示例:
|
23900
|
+
# - 文件名_{变量名}.{format}
|
23901
|
+
# - 文件名.{format}
|
23650
23902
|
|
23651
|
-
|
23903
|
+
# 绝对路径示例:
|
23904
|
+
# - /自定义路径/文件名_{变量名}.{format}
|
23652
23905
|
|
23653
|
-
|
23906
|
+
# 如果不填,则默认为相对路径: `{inputName}_smartsubtitle_{definition}.{format}`。
|
23907
|
+
# @type OutputObjectPath: String
|
23908
|
+
|
23909
|
+
attr_accessor :Definition, :UserExtPara, :RawParameter, :OutputStorage, :OutputObjectPath
|
23910
|
+
|
23911
|
+
def initialize(definition=nil, userextpara=nil, rawparameter=nil, outputstorage=nil, outputobjectpath=nil)
|
23654
23912
|
@Definition = definition
|
23655
23913
|
@UserExtPara = userextpara
|
23656
23914
|
@RawParameter = rawparameter
|
23915
|
+
@OutputStorage = outputstorage
|
23916
|
+
@OutputObjectPath = outputobjectpath
|
23657
23917
|
end
|
23658
23918
|
|
23659
23919
|
def deserialize(params)
|
@@ -23663,6 +23923,11 @@ module TencentCloud
|
|
23663
23923
|
@RawParameter = RawSmartSubtitleParameter.new
|
23664
23924
|
@RawParameter.deserialize(params['RawParameter'])
|
23665
23925
|
end
|
23926
|
+
unless params['OutputStorage'].nil?
|
23927
|
+
@OutputStorage = TaskOutputStorage.new
|
23928
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
23929
|
+
end
|
23930
|
+
@OutputObjectPath = params['OutputObjectPath']
|
23666
23931
|
end
|
23667
23932
|
end
|
23668
23933
|
|
@@ -23957,6 +24222,22 @@ module TencentCloud
|
|
23957
24222
|
end
|
23958
24223
|
end
|
23959
24224
|
|
24225
|
+
# 字幕位置信息
|
24226
|
+
class SubtitlePosition < TencentCloud::Common::AbstractModel
|
24227
|
+
# @param CenterY: 居中位置时Y的坐标值
|
24228
|
+
# @type CenterY: Integer
|
24229
|
+
|
24230
|
+
attr_accessor :CenterY
|
24231
|
+
|
24232
|
+
def initialize(centery=nil)
|
24233
|
+
@CenterY = centery
|
24234
|
+
end
|
24235
|
+
|
24236
|
+
def deserialize(params)
|
24237
|
+
@CenterY = params['CenterY']
|
24238
|
+
end
|
24239
|
+
end
|
24240
|
+
|
23960
24241
|
# 字幕流配置参数。
|
23961
24242
|
class SubtitleTemplate < TencentCloud::Common::AbstractModel
|
23962
24243
|
# @param Path: 要压制到视频中的字幕文件地址。
|
@@ -24655,6 +24936,37 @@ module TencentCloud
|
|
24655
24936
|
end
|
24656
24937
|
end
|
24657
24938
|
|
24939
|
+
# 媒体质检的检测策略。
|
24940
|
+
class TimeSpotCheck < TencentCloud::Common::AbstractModel
|
24941
|
+
# @param CheckDuration: 抽检策略的每次循环检测的时长。取值范围(单位s):
|
24942
|
+
|
24943
|
+
# - 最小值:10
|
24944
|
+
# - 最大值:86400
|
24945
|
+
# @type CheckDuration: Integer
|
24946
|
+
# @param CheckInterval: 抽检测略的检测间隔,表示在一次检测结束后,等待多长时间后,再次检测。
|
24947
|
+
# @type CheckInterval: Integer
|
24948
|
+
# @param SkipDuration: 片头跳过时长。
|
24949
|
+
# @type SkipDuration: Integer
|
24950
|
+
# @param CirclesNumber: 循环次数,该字段为空或 0 时,默认循环直至视频结束。
|
24951
|
+
# @type CirclesNumber: Integer
|
24952
|
+
|
24953
|
+
attr_accessor :CheckDuration, :CheckInterval, :SkipDuration, :CirclesNumber
|
24954
|
+
|
24955
|
+
def initialize(checkduration=nil, checkinterval=nil, skipduration=nil, circlesnumber=nil)
|
24956
|
+
@CheckDuration = checkduration
|
24957
|
+
@CheckInterval = checkinterval
|
24958
|
+
@SkipDuration = skipduration
|
24959
|
+
@CirclesNumber = circlesnumber
|
24960
|
+
end
|
24961
|
+
|
24962
|
+
def deserialize(params)
|
24963
|
+
@CheckDuration = params['CheckDuration']
|
24964
|
+
@CheckInterval = params['CheckInterval']
|
24965
|
+
@SkipDuration = params['SkipDuration']
|
24966
|
+
@CirclesNumber = params['CirclesNumber']
|
24967
|
+
end
|
24968
|
+
end
|
24969
|
+
|
24658
24970
|
# 音轨信息
|
24659
24971
|
class TrackInfo < TencentCloud::Common::AbstractModel
|
24660
24972
|
# @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.1112
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|