tencentcloud-sdk-mps 3.0.1140 → 3.0.1142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +191 -9
- 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: 0ff357553355f9ad5f4b2dd44f6f4e4f2123ede5
|
4
|
+
data.tar.gz: b8c3a95ae50a55b9152c7c5ac7b2895072910c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b9d4693464504b64d1a132a759d322fb8d01dc4acc7fe56c68d437d84e9a341c07668f0a72e63bdb02a02a34f152f355b18470b72e8a39dd534655594bc649
|
7
|
+
data.tar.gz: af921a63947b64dc66734555497e381bf06445959d5092f8f02742e6a6f95a849e9c81aaff12eed9d1bd588e9f8e23090e680720c430983594d1530532364091
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1142
|
data/lib/v20190612/models.rb
CHANGED
@@ -832,6 +832,7 @@ module TencentCloud
|
|
832
832
|
# <li>Highlight:智能精彩集锦</li>
|
833
833
|
# <li>DeLogo:智能擦除</li>
|
834
834
|
# <li>Description:大模型摘要</li>
|
835
|
+
# <li>Dubbing:智能译制</li>
|
835
836
|
# @type Type: String
|
836
837
|
# @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
837
838
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -863,10 +864,13 @@ module TencentCloud
|
|
863
864
|
# @param HorizontalToVerticalTask: 视频内容分析横转竖任务的查询结果,当任务类型为 HorizontalToVertical 时有效。
|
864
865
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
865
866
|
# @type HorizontalToVerticalTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHorizontalToVerticalResult`
|
867
|
+
# @param DubbingTask: 视频内容分析译制任务的查询结果,当任务类型为 Dubbing 时有效。
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
# @type DubbingTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingResult`
|
866
870
|
|
867
|
-
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask
|
871
|
+
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask
|
868
872
|
|
869
|
-
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil, horizontaltoverticaltask=nil)
|
873
|
+
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil, horizontaltoverticaltask=nil, dubbingtask=nil)
|
870
874
|
@Type = type
|
871
875
|
@ClassificationTask = classificationtask
|
872
876
|
@CoverTask = covertask
|
@@ -878,6 +882,7 @@ module TencentCloud
|
|
878
882
|
@HeadTailTask = headtailtask
|
879
883
|
@DescriptionTask = descriptiontask
|
880
884
|
@HorizontalToVerticalTask = horizontaltoverticaltask
|
885
|
+
@DubbingTask = dubbingtask
|
881
886
|
end
|
882
887
|
|
883
888
|
def deserialize(params)
|
@@ -922,6 +927,10 @@ module TencentCloud
|
|
922
927
|
@HorizontalToVerticalTask = AiAnalysisTaskHorizontalToVerticalResult.new
|
923
928
|
@HorizontalToVerticalTask.deserialize(params['HorizontalToVerticalTask'])
|
924
929
|
end
|
930
|
+
unless params['DubbingTask'].nil?
|
931
|
+
@DubbingTask = AiAnalysisTaskDubbingResult.new
|
932
|
+
@DubbingTask.deserialize(params['DubbingTask'])
|
933
|
+
end
|
925
934
|
end
|
926
935
|
end
|
927
936
|
|
@@ -1125,15 +1134,23 @@ module TencentCloud
|
|
1125
1134
|
# @param SubtitlePos: 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
1126
1135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1127
1136
|
# @type SubtitlePos: :class:`Tencentcloud::Mps.v20190612.models.SubtitlePosition`
|
1137
|
+
# @param VoiceClonedVideo: 音色克隆后的视频文件地址
|
1138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
# @type VoiceClonedVideo: String
|
1140
|
+
# @param VoiceClonedMarkFile: 音色克隆的标注文件地址
|
1141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1142
|
+
# @type VoiceClonedMarkFile: String
|
1128
1143
|
|
1129
|
-
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos
|
1144
|
+
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos, :VoiceClonedVideo, :VoiceClonedMarkFile
|
1130
1145
|
|
1131
|
-
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil)
|
1146
|
+
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil, voiceclonedvideo=nil, voiceclonedmarkfile=nil)
|
1132
1147
|
@Path = path
|
1133
1148
|
@OutputStorage = outputstorage
|
1134
1149
|
@OriginSubtitlePath = originsubtitlepath
|
1135
1150
|
@TranslateSubtitlePath = translatesubtitlepath
|
1136
1151
|
@SubtitlePos = subtitlepos
|
1152
|
+
@VoiceClonedVideo = voiceclonedvideo
|
1153
|
+
@VoiceClonedMarkFile = voiceclonedmarkfile
|
1137
1154
|
end
|
1138
1155
|
|
1139
1156
|
def deserialize(params)
|
@@ -1148,6 +1165,8 @@ module TencentCloud
|
|
1148
1165
|
@SubtitlePos = SubtitlePosition.new
|
1149
1166
|
@SubtitlePos.deserialize(params['SubtitlePos'])
|
1150
1167
|
end
|
1168
|
+
@VoiceClonedVideo = params['VoiceClonedVideo']
|
1169
|
+
@VoiceClonedMarkFile = params['VoiceClonedMarkFile']
|
1151
1170
|
end
|
1152
1171
|
end
|
1153
1172
|
|
@@ -1268,6 +1287,88 @@ module TencentCloud
|
|
1268
1287
|
end
|
1269
1288
|
end
|
1270
1289
|
|
1290
|
+
# 智能译制任务输入类型
|
1291
|
+
class AiAnalysisTaskDubbingInput < TencentCloud::Common::AbstractModel
|
1292
|
+
# @param Definition: 视频译制模板 ID。
|
1293
|
+
# @type Definition: Integer
|
1294
|
+
|
1295
|
+
attr_accessor :Definition
|
1296
|
+
|
1297
|
+
def initialize(definition=nil)
|
1298
|
+
@Definition = definition
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
def deserialize(params)
|
1302
|
+
@Definition = params['Definition']
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# 智能译制结果信息
|
1307
|
+
class AiAnalysisTaskDubbingOutput < TencentCloud::Common::AbstractModel
|
1308
|
+
# @param VideoPath: 译制视频路径。
|
1309
|
+
# @type VideoPath: String
|
1310
|
+
# @param SpeakerPath: 标记文件路径
|
1311
|
+
# @type SpeakerPath: String
|
1312
|
+
# @param OutputStorage: 译制视频存储位置。
|
1313
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
1314
|
+
|
1315
|
+
attr_accessor :VideoPath, :SpeakerPath, :OutputStorage
|
1316
|
+
|
1317
|
+
def initialize(videopath=nil, speakerpath=nil, outputstorage=nil)
|
1318
|
+
@VideoPath = videopath
|
1319
|
+
@SpeakerPath = speakerpath
|
1320
|
+
@OutputStorage = outputstorage
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
def deserialize(params)
|
1324
|
+
@VideoPath = params['VideoPath']
|
1325
|
+
@SpeakerPath = params['SpeakerPath']
|
1326
|
+
unless params['OutputStorage'].nil?
|
1327
|
+
@OutputStorage = TaskOutputStorage.new
|
1328
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# 智能译制结果类型
|
1334
|
+
class AiAnalysisTaskDubbingResult < TencentCloud::Common::AbstractModel
|
1335
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
1336
|
+
# @type Status: String
|
1337
|
+
# @param ErrCode: 错误码,0:成功,其他值:失败。
|
1338
|
+
# @type ErrCode: Integer
|
1339
|
+
# @param Message: 错误信息。
|
1340
|
+
# @type Message: String
|
1341
|
+
# @param Input: 智能译制任务输入。
|
1342
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingInput`
|
1343
|
+
# @param Output: 智能译制任务输出。
|
1344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1345
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingOutput`
|
1346
|
+
|
1347
|
+
attr_accessor :Status, :ErrCode, :Message, :Input, :Output
|
1348
|
+
|
1349
|
+
def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1350
|
+
@Status = status
|
1351
|
+
@ErrCode = errcode
|
1352
|
+
@Message = message
|
1353
|
+
@Input = input
|
1354
|
+
@Output = output
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
def deserialize(params)
|
1358
|
+
@Status = params['Status']
|
1359
|
+
@ErrCode = params['ErrCode']
|
1360
|
+
@Message = params['Message']
|
1361
|
+
unless params['Input'].nil?
|
1362
|
+
@Input = AiAnalysisTaskDubbingInput.new
|
1363
|
+
@Input.deserialize(params['Input'])
|
1364
|
+
end
|
1365
|
+
unless params['Output'].nil?
|
1366
|
+
@Output = AiAnalysisTaskDubbingOutput.new
|
1367
|
+
@Output.deserialize(params['Output'])
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1271
1372
|
# 智能按帧标签任务输入类型
|
1272
1373
|
class AiAnalysisTaskFrameTagInput < TencentCloud::Common::AbstractModel
|
1273
1374
|
# @param Definition: 视频智能按帧标签模板 ID。
|
@@ -5329,16 +5430,15 @@ module TencentCloud
|
|
5329
5430
|
# @param Type: 类型名称。取值如下:
|
5330
5431
|
|
5331
5432
|
# <li>Dongjing:东京</li>
|
5332
|
-
# <li>
|
5433
|
+
# <li>Qingjiaopian:轻胶片</li>
|
5333
5434
|
# <li>Meiwei:美味</li>
|
5334
|
-
|
5335
5435
|
# @type Type: String
|
5336
5436
|
# @param Switch: 能力配置开关,可选值:
|
5337
5437
|
# <li>ON:开启;</li>
|
5338
5438
|
# <li>OFF:关闭。</li>
|
5339
5439
|
# 默认值:ON。
|
5340
5440
|
# @type Switch: String
|
5341
|
-
# @param Value: 效果强度,值范围:[
|
5441
|
+
# @param Value: 效果强度,值范围:[-100, 100]。
|
5342
5442
|
# @type Value: Integer
|
5343
5443
|
|
5344
5444
|
attr_accessor :Type, :Switch, :Value
|
@@ -12766,6 +12866,8 @@ module TencentCloud
|
|
12766
12866
|
# @param LiveStreamProcessTask: 直播流处理任务信息,仅当 TaskType 为 LiveStreamProcessTask,该字段有值。
|
12767
12867
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12768
12868
|
# @type LiveStreamProcessTask: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamProcessTask`
|
12869
|
+
# @param ExtractBlindWatermarkTask: 提取数字水印任务信息,仅当 TaskType 为 ExtractBlindWatermark,该字段有值。
|
12870
|
+
# @type ExtractBlindWatermarkTask: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTask`
|
12769
12871
|
# @param TaskNotifyConfig: 任务的事件通知信息。
|
12770
12872
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12771
12873
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
@@ -12786,9 +12888,9 @@ module TencentCloud
|
|
12786
12888
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12787
12889
|
# @type RequestId: String
|
12788
12890
|
|
12789
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :EditMediaTask, :WorkflowTask, :LiveStreamProcessTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ExtInfo, :ScheduleTask, :LiveScheduleTask, :RequestId
|
12891
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :EditMediaTask, :WorkflowTask, :LiveStreamProcessTask, :ExtractBlindWatermarkTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ExtInfo, :ScheduleTask, :LiveScheduleTask, :RequestId
|
12790
12892
|
|
12791
|
-
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, editmediatask=nil, workflowtask=nil, livestreamprocesstask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, extinfo=nil, scheduletask=nil, livescheduletask=nil, requestid=nil)
|
12893
|
+
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, editmediatask=nil, workflowtask=nil, livestreamprocesstask=nil, extractblindwatermarktask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, extinfo=nil, scheduletask=nil, livescheduletask=nil, requestid=nil)
|
12792
12894
|
@TaskType = tasktype
|
12793
12895
|
@Status = status
|
12794
12896
|
@CreateTime = createtime
|
@@ -12797,6 +12899,7 @@ module TencentCloud
|
|
12797
12899
|
@EditMediaTask = editmediatask
|
12798
12900
|
@WorkflowTask = workflowtask
|
12799
12901
|
@LiveStreamProcessTask = livestreamprocesstask
|
12902
|
+
@ExtractBlindWatermarkTask = extractblindwatermarktask
|
12800
12903
|
@TaskNotifyConfig = tasknotifyconfig
|
12801
12904
|
@TasksPriority = taskspriority
|
12802
12905
|
@SessionId = sessionid
|
@@ -12825,6 +12928,10 @@ module TencentCloud
|
|
12825
12928
|
@LiveStreamProcessTask = LiveStreamProcessTask.new
|
12826
12929
|
@LiveStreamProcessTask.deserialize(params['LiveStreamProcessTask'])
|
12827
12930
|
end
|
12931
|
+
unless params['ExtractBlindWatermarkTask'].nil?
|
12932
|
+
@ExtractBlindWatermarkTask = ExtractBlindWatermarkTask.new
|
12933
|
+
@ExtractBlindWatermarkTask.deserialize(params['ExtractBlindWatermarkTask'])
|
12934
|
+
end
|
12828
12935
|
unless params['TaskNotifyConfig'].nil?
|
12829
12936
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
12830
12937
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -14257,6 +14364,81 @@ module TencentCloud
|
|
14257
14364
|
end
|
14258
14365
|
end
|
14259
14366
|
|
14367
|
+
# 提取视频数字水印任务信息
|
14368
|
+
class ExtractBlindWatermarkTask < TencentCloud::Common::AbstractModel
|
14369
|
+
# @param TaskId: 媒体处理任务 ID。
|
14370
|
+
# @type TaskId: String
|
14371
|
+
# @param Status: 任务流状态,取值:
|
14372
|
+
# <li>WAITING:等待中;</li>
|
14373
|
+
# <li>PROCESSING:处理中;</li>
|
14374
|
+
# <li>FINISH:已完成。</li>
|
14375
|
+
# @type Status: String
|
14376
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败。
|
14377
|
+
# @type ErrCode: Integer
|
14378
|
+
# @param Message: 错误信息。
|
14379
|
+
# @type Message: String
|
14380
|
+
# @param InputInfo: 媒体处理的目标文件信息。
|
14381
|
+
# @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
14382
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li> <li>blind-ab:ab版权数字水印;</li>
|
14383
|
+
# @type Type: String
|
14384
|
+
# @param IsDetected: 标记是否检测到水印,如果该参数为true, Result字段将返回水印提取结果,如果该参数为false,Result字段不会返回。
|
14385
|
+
# @type IsDetected: Boolean
|
14386
|
+
# @param Result: 提取出的数字水印内容,当没有检测到水印时该字段不会返回。
|
14387
|
+
# @type Result: String
|
14388
|
+
# @param ExtractBlindWatermarkConfig: 提取数字水印配置。
|
14389
|
+
# @type ExtractBlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTaskConfig`
|
14390
|
+
|
14391
|
+
attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :Type, :IsDetected, :Result, :ExtractBlindWatermarkConfig
|
14392
|
+
|
14393
|
+
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, type=nil, isdetected=nil, result=nil, extractblindwatermarkconfig=nil)
|
14394
|
+
@TaskId = taskid
|
14395
|
+
@Status = status
|
14396
|
+
@ErrCode = errcode
|
14397
|
+
@Message = message
|
14398
|
+
@InputInfo = inputinfo
|
14399
|
+
@Type = type
|
14400
|
+
@IsDetected = isdetected
|
14401
|
+
@Result = result
|
14402
|
+
@ExtractBlindWatermarkConfig = extractblindwatermarkconfig
|
14403
|
+
end
|
14404
|
+
|
14405
|
+
def deserialize(params)
|
14406
|
+
@TaskId = params['TaskId']
|
14407
|
+
@Status = params['Status']
|
14408
|
+
@ErrCode = params['ErrCode']
|
14409
|
+
@Message = params['Message']
|
14410
|
+
unless params['InputInfo'].nil?
|
14411
|
+
@InputInfo = MediaInputInfo.new
|
14412
|
+
@InputInfo.deserialize(params['InputInfo'])
|
14413
|
+
end
|
14414
|
+
@Type = params['Type']
|
14415
|
+
@IsDetected = params['IsDetected']
|
14416
|
+
@Result = params['Result']
|
14417
|
+
unless params['ExtractBlindWatermarkConfig'].nil?
|
14418
|
+
@ExtractBlindWatermarkConfig = ExtractBlindWatermarkTaskConfig.new
|
14419
|
+
@ExtractBlindWatermarkConfig.deserialize(params['ExtractBlindWatermarkConfig'])
|
14420
|
+
end
|
14421
|
+
end
|
14422
|
+
end
|
14423
|
+
|
14424
|
+
# 提取视频转码数字水印任务配置
|
14425
|
+
class ExtractBlindWatermarkTaskConfig < TencentCloud::Common::AbstractModel
|
14426
|
+
# @param SegmentDuration: 当提取数字水印类型为blind-abseq时有效,用于指定输入视频的切片时长,单位:毫秒。
|
14427
|
+
# 如果不填默认切片时长为5秒。
|
14428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14429
|
+
# @type SegmentDuration: Integer
|
14430
|
+
|
14431
|
+
attr_accessor :SegmentDuration
|
14432
|
+
|
14433
|
+
def initialize(segmentduration=nil)
|
14434
|
+
@SegmentDuration = segmentduration
|
14435
|
+
end
|
14436
|
+
|
14437
|
+
def deserialize(params)
|
14438
|
+
@SegmentDuration = params['SegmentDuration']
|
14439
|
+
end
|
14440
|
+
end
|
14441
|
+
|
14260
14442
|
# 人脸识别任务控制参数
|
14261
14443
|
class FaceConfigureInfo < TencentCloud::Common::AbstractModel
|
14262
14444
|
# @param Switch: 人脸识别任务开关,可选值:
|
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.1142
|
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-09-
|
11
|
+
date: 2025-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|