tencentcloud-sdk-mps 3.0.721 → 3.0.723
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +151 -4
- 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: aa0d8e1dfa1ac89fd8ac7e7372931b949966f72c
|
4
|
+
data.tar.gz: 06ad57723f3fd0270713b9c5245a375e950d1d0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 694b7957d1a92e309712db194059d8fbff2656edae4aa1fb8413f9bd9e50b51cf90934915c5adb4da46a25c63616ce5732f95c7c0517ac1655868d5f817a3ff6
|
7
|
+
data.tar.gz: d31830061f19e0aa008da89d98e139f8bd5a17f2412444a4e0b2f3e5345120d947836e47d921fb74037e3633097cd02def0b28da00be1efb461ec84f468218c1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.723
|
data/lib/v20190612/models.rb
CHANGED
@@ -668,6 +668,8 @@ module TencentCloud
|
|
668
668
|
# <li>Tag:智能标签</li>
|
669
669
|
# <li>FrameTag:智能按帧标签</li>
|
670
670
|
# <li>Highlight:智能精彩集锦</li>
|
671
|
+
# <li>DeLogo:智能去水印</li>
|
672
|
+
# <li>Description:大模型摘要</li>
|
671
673
|
# @type Type: String
|
672
674
|
# @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
673
675
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -687,10 +689,13 @@ module TencentCloud
|
|
687
689
|
# @param DeLogoTask: 视频内容分析去水印任务的查询结果,当任务类型为 DeLogo 时有效。
|
688
690
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
689
691
|
# @type DeLogoTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoResult`
|
692
|
+
# @param DescriptionTask: 视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。
|
693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
694
|
+
# @type DescriptionTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionResult`
|
690
695
|
|
691
|
-
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask
|
696
|
+
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :DescriptionTask
|
692
697
|
|
693
|
-
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil)
|
698
|
+
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, descriptiontask=nil)
|
694
699
|
@Type = type
|
695
700
|
@ClassificationTask = classificationtask
|
696
701
|
@CoverTask = covertask
|
@@ -698,6 +703,7 @@ module TencentCloud
|
|
698
703
|
@FrameTagTask = frametagtask
|
699
704
|
@HighlightTask = highlighttask
|
700
705
|
@DeLogoTask = delogotask
|
706
|
+
@DescriptionTask = descriptiontask
|
701
707
|
end
|
702
708
|
|
703
709
|
def deserialize(params)
|
@@ -726,6 +732,10 @@ module TencentCloud
|
|
726
732
|
@DeLogoTask = AiAnalysisTaskDelLogoResult.new
|
727
733
|
@DeLogoTask.deserialize(params['DeLogoTask'])
|
728
734
|
end
|
735
|
+
unless params['DescriptionTask'].nil?
|
736
|
+
@DescriptionTask = AiAnalysisTaskDescriptionResult.new
|
737
|
+
@DescriptionTask.deserialize(params['DescriptionTask'])
|
738
|
+
end
|
729
739
|
end
|
730
740
|
end
|
731
741
|
|
@@ -978,6 +988,84 @@ module TencentCloud
|
|
978
988
|
end
|
979
989
|
end
|
980
990
|
|
991
|
+
# 智能分类任务输入类型
|
992
|
+
class AiAnalysisTaskDescriptionInput < TencentCloud::Common::AbstractModel
|
993
|
+
# @param Definition: 视频智能描述模板 ID。
|
994
|
+
# @type Definition: Integer
|
995
|
+
|
996
|
+
attr_accessor :Definition
|
997
|
+
|
998
|
+
def initialize(definition=nil)
|
999
|
+
@Definition = definition
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
def deserialize(params)
|
1003
|
+
@Definition = params['Definition']
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
# 智能描述结果信息
|
1008
|
+
class AiAnalysisTaskDescriptionOutput < TencentCloud::Common::AbstractModel
|
1009
|
+
# @param DescriptionSet: 视频智能描述列表。
|
1010
|
+
# @type DescriptionSet: Array
|
1011
|
+
|
1012
|
+
attr_accessor :DescriptionSet
|
1013
|
+
|
1014
|
+
def initialize(descriptionset=nil)
|
1015
|
+
@DescriptionSet = descriptionset
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
def deserialize(params)
|
1019
|
+
unless params['DescriptionSet'].nil?
|
1020
|
+
@DescriptionSet = []
|
1021
|
+
params['DescriptionSet'].each do |i|
|
1022
|
+
mediaaianalysisdescriptionitem_tmp = MediaAiAnalysisDescriptionItem.new
|
1023
|
+
mediaaianalysisdescriptionitem_tmp.deserialize(i)
|
1024
|
+
@DescriptionSet << mediaaianalysisdescriptionitem_tmp
|
1025
|
+
end
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
# 智能描述结果类型
|
1031
|
+
class AiAnalysisTaskDescriptionResult < TencentCloud::Common::AbstractModel
|
1032
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
1033
|
+
# @type Status: String
|
1034
|
+
# @param ErrCode: 错误码,0:成功,其他值:失败。
|
1035
|
+
# @type ErrCode: Integer
|
1036
|
+
# @param Message: 错误信息。
|
1037
|
+
# @type Message: String
|
1038
|
+
# @param Input: 智能描述任务输入。
|
1039
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionInput`
|
1040
|
+
# @param Output: 智能描述任务输出。
|
1041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1042
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionOutput`
|
1043
|
+
|
1044
|
+
attr_accessor :Status, :ErrCode, :Message, :Input, :Output
|
1045
|
+
|
1046
|
+
def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1047
|
+
@Status = status
|
1048
|
+
@ErrCode = errcode
|
1049
|
+
@Message = message
|
1050
|
+
@Input = input
|
1051
|
+
@Output = output
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def deserialize(params)
|
1055
|
+
@Status = params['Status']
|
1056
|
+
@ErrCode = params['ErrCode']
|
1057
|
+
@Message = params['Message']
|
1058
|
+
unless params['Input'].nil?
|
1059
|
+
@Input = AiAnalysisTaskDescriptionInput.new
|
1060
|
+
@Input.deserialize(params['Input'])
|
1061
|
+
end
|
1062
|
+
unless params['Output'].nil?
|
1063
|
+
@Output = AiAnalysisTaskDescriptionOutput.new
|
1064
|
+
@Output.deserialize(params['Output'])
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
981
1069
|
# 智能按帧标签任务输入类型
|
982
1070
|
class AiAnalysisTaskFrameTagInput < TencentCloud::Common::AbstractModel
|
983
1071
|
# @param Definition: 视频智能按帧标签模板 ID。
|
@@ -1380,6 +1468,33 @@ module TencentCloud
|
|
1380
1468
|
end
|
1381
1469
|
end
|
1382
1470
|
|
1471
|
+
# 分段信息。
|
1472
|
+
class AiParagraphInfo < TencentCloud::Common::AbstractModel
|
1473
|
+
# @param Summary: 分段摘要
|
1474
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1475
|
+
# @type Summary: String
|
1476
|
+
# @param StartTimeOffset: 分段起始时间点,秒
|
1477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1478
|
+
# @type StartTimeOffset: Float
|
1479
|
+
# @param EndTimeOffset: 分段结束时间点,秒
|
1480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1481
|
+
# @type EndTimeOffset: Float
|
1482
|
+
|
1483
|
+
attr_accessor :Summary, :StartTimeOffset, :EndTimeOffset
|
1484
|
+
|
1485
|
+
def initialize(summary=nil, starttimeoffset=nil, endtimeoffset=nil)
|
1486
|
+
@Summary = summary
|
1487
|
+
@StartTimeOffset = starttimeoffset
|
1488
|
+
@EndTimeOffset = endtimeoffset
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
def deserialize(params)
|
1492
|
+
@Summary = params['Summary']
|
1493
|
+
@StartTimeOffset = params['StartTimeOffset']
|
1494
|
+
@EndTimeOffset = params['EndTimeOffset']
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
|
1383
1498
|
# 视频质检输入参数类型
|
1384
1499
|
class AiQualityControlTaskInput < TencentCloud::Common::AbstractModel
|
1385
1500
|
# @param Definition: 视频质检模板 ID 。暂时可以直接使用 预设模板ID 10,后面控制台支持用户配置自定义模板。
|
@@ -1559,8 +1674,8 @@ module TencentCloud
|
|
1559
1674
|
|
1560
1675
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
1561
1676
|
extend Gem::Deprecate
|
1562
|
-
deprecate :OutputStorage, :none, 2023,
|
1563
|
-
deprecate :OutputStorage=, :none, 2023,
|
1677
|
+
deprecate :OutputStorage, :none, 2023, 12
|
1678
|
+
deprecate :OutputStorage=, :none, 2023, 12
|
1564
1679
|
|
1565
1680
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
1566
1681
|
@SegmentSet = segmentset
|
@@ -13137,6 +13252,38 @@ module TencentCloud
|
|
13137
13252
|
end
|
13138
13253
|
end
|
13139
13254
|
|
13255
|
+
# 智能描述信息
|
13256
|
+
class MediaAiAnalysisDescriptionItem < TencentCloud::Common::AbstractModel
|
13257
|
+
# @param Description: 智能描述。
|
13258
|
+
# @type Description: String
|
13259
|
+
# @param Confidence: 智能描述的可信度,取值范围是 0 到 100。
|
13260
|
+
# @type Confidence: Float
|
13261
|
+
# @param Paragraphs: 分段结果。
|
13262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13263
|
+
# @type Paragraphs: Array
|
13264
|
+
|
13265
|
+
attr_accessor :Description, :Confidence, :Paragraphs
|
13266
|
+
|
13267
|
+
def initialize(description=nil, confidence=nil, paragraphs=nil)
|
13268
|
+
@Description = description
|
13269
|
+
@Confidence = confidence
|
13270
|
+
@Paragraphs = paragraphs
|
13271
|
+
end
|
13272
|
+
|
13273
|
+
def deserialize(params)
|
13274
|
+
@Description = params['Description']
|
13275
|
+
@Confidence = params['Confidence']
|
13276
|
+
unless params['Paragraphs'].nil?
|
13277
|
+
@Paragraphs = []
|
13278
|
+
params['Paragraphs'].each do |i|
|
13279
|
+
aiparagraphinfo_tmp = AiParagraphInfo.new
|
13280
|
+
aiparagraphinfo_tmp.deserialize(i)
|
13281
|
+
@Paragraphs << aiparagraphinfo_tmp
|
13282
|
+
end
|
13283
|
+
end
|
13284
|
+
end
|
13285
|
+
end
|
13286
|
+
|
13140
13287
|
# 智能按帧标签结果信息
|
13141
13288
|
class MediaAiAnalysisFrameTagItem < TencentCloud::Common::AbstractModel
|
13142
13289
|
# @param Tag: 按帧标签名称。
|
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.723
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|