tencentcloud-sdk-mps 3.0.1150 → 3.0.1151
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 +109 -13
- 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: 871925abe46379905ec6de82a52aa858916e285c
|
4
|
+
data.tar.gz: 4074fc41d41073d1dc89bf90d6e0fda2734ffe6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0851331e11d5923f8eba4785cff23abbb80b80003eb8e623b16dbb3d9e7a92de4f26bc9dc81dd5342c13401f73e1a5d3352877b657d89823d7ebdc640e4f30e0
|
7
|
+
data.tar.gz: ece0769a4724cb29b762bc5a3d10de824c6d74267901b611a1a653ca35a5c63a4d4eee1f0bf58a561789863d605aebd233f28dd440a029a89840eeb6fffae243
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1151
|
data/lib/v20190612/models.rb
CHANGED
@@ -843,6 +843,7 @@ module TencentCloud
|
|
843
843
|
# <li>DeLogo:智能擦除</li>
|
844
844
|
# <li>Description:大模型摘要</li>
|
845
845
|
# <li>Dubbing:智能译制</li>
|
846
|
+
# <li>VideoRemake: 视频去重</li>
|
846
847
|
# @type Type: String
|
847
848
|
# @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
848
849
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -877,10 +878,13 @@ module TencentCloud
|
|
877
878
|
# @param DubbingTask: 视频内容分析译制任务的查询结果,当任务类型为 Dubbing 时有效。
|
878
879
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
879
880
|
# @type DubbingTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingResult`
|
881
|
+
# @param VideoRemakeTask: 视频内容分析去重任务的查询结果,当任务类型为 VideoRemake 时有效。
|
882
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
883
|
+
# @type VideoRemakeTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeResult`
|
880
884
|
|
881
|
-
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask
|
885
|
+
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask, :VideoRemakeTask
|
882
886
|
|
883
|
-
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)
|
887
|
+
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, videoremaketask=nil)
|
884
888
|
@Type = type
|
885
889
|
@ClassificationTask = classificationtask
|
886
890
|
@CoverTask = covertask
|
@@ -893,6 +897,7 @@ module TencentCloud
|
|
893
897
|
@DescriptionTask = descriptiontask
|
894
898
|
@HorizontalToVerticalTask = horizontaltoverticaltask
|
895
899
|
@DubbingTask = dubbingtask
|
900
|
+
@VideoRemakeTask = videoremaketask
|
896
901
|
end
|
897
902
|
|
898
903
|
def deserialize(params)
|
@@ -941,6 +946,10 @@ module TencentCloud
|
|
941
946
|
@DubbingTask = AiAnalysisTaskDubbingResult.new
|
942
947
|
@DubbingTask.deserialize(params['DubbingTask'])
|
943
948
|
end
|
949
|
+
unless params['VideoRemakeTask'].nil?
|
950
|
+
@VideoRemakeTask = AiAnalysisTaskVideoRemakeResult.new
|
951
|
+
@VideoRemakeTask.deserialize(params['VideoRemakeTask'])
|
952
|
+
end
|
944
953
|
end
|
945
954
|
end
|
946
955
|
|
@@ -1905,6 +1914,84 @@ module TencentCloud
|
|
1905
1914
|
end
|
1906
1915
|
end
|
1907
1916
|
|
1917
|
+
# 视频去重任务输入类型
|
1918
|
+
class AiAnalysisTaskVideoRemakeInput < TencentCloud::Common::AbstractModel
|
1919
|
+
# @param Definition: 视频智能去重模板 ID
|
1920
|
+
# @type Definition: Integer
|
1921
|
+
|
1922
|
+
attr_accessor :Definition
|
1923
|
+
|
1924
|
+
def initialize(definition=nil)
|
1925
|
+
@Definition = definition
|
1926
|
+
end
|
1927
|
+
|
1928
|
+
def deserialize(params)
|
1929
|
+
@Definition = params['Definition']
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# 视频去重结果信息
|
1934
|
+
class AiAnalysisTaskVideoRemakeOutput < TencentCloud::Common::AbstractModel
|
1935
|
+
# @param Path: 视频智能去重文件路径
|
1936
|
+
# @type Path: String
|
1937
|
+
# @param OutputStorage: 智能视频去重的存储位置
|
1938
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
1939
|
+
|
1940
|
+
attr_accessor :Path, :OutputStorage
|
1941
|
+
|
1942
|
+
def initialize(path=nil, outputstorage=nil)
|
1943
|
+
@Path = path
|
1944
|
+
@OutputStorage = outputstorage
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
def deserialize(params)
|
1948
|
+
@Path = params['Path']
|
1949
|
+
unless params['OutputStorage'].nil?
|
1950
|
+
@OutputStorage = TaskOutputStorage.new
|
1951
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
1952
|
+
end
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# 视频去重结果数据结构
|
1957
|
+
class AiAnalysisTaskVideoRemakeResult < TencentCloud::Common::AbstractModel
|
1958
|
+
# @param Status: 任务状态,有 `PROCESSING`,`SUCCESS` 和 `FAIL` 三种
|
1959
|
+
# @type Status: String
|
1960
|
+
# @param ErrCode: 错误码,0:成功,其他值:失败
|
1961
|
+
# @type ErrCode: Integer
|
1962
|
+
# @param Message: 错误信息
|
1963
|
+
# @type Message: String
|
1964
|
+
# @param Input: 去重任务输入
|
1965
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeInput`
|
1966
|
+
# @param Output: 去重任务输出
|
1967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1968
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeOutput`
|
1969
|
+
|
1970
|
+
attr_accessor :Status, :ErrCode, :Message, :Input, :Output
|
1971
|
+
|
1972
|
+
def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1973
|
+
@Status = status
|
1974
|
+
@ErrCode = errcode
|
1975
|
+
@Message = message
|
1976
|
+
@Input = input
|
1977
|
+
@Output = output
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
def deserialize(params)
|
1981
|
+
@Status = params['Status']
|
1982
|
+
@ErrCode = params['ErrCode']
|
1983
|
+
@Message = params['Message']
|
1984
|
+
unless params['Input'].nil?
|
1985
|
+
@Input = AiAnalysisTaskVideoRemakeInput.new
|
1986
|
+
@Input.deserialize(params['Input'])
|
1987
|
+
end
|
1988
|
+
unless params['Output'].nil?
|
1989
|
+
@Output = AiAnalysisTaskVideoRemakeOutput.new
|
1990
|
+
@Output.deserialize(params['Output'])
|
1991
|
+
end
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1908
1995
|
# 内容审核结果
|
1909
1996
|
class AiContentReviewResult < TencentCloud::Common::AbstractModel
|
1910
1997
|
# @param Type: 任务的类型,可以取的值有:
|
@@ -2259,8 +2346,8 @@ module TencentCloud
|
|
2259
2346
|
|
2260
2347
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
2261
2348
|
extend Gem::Deprecate
|
2262
|
-
deprecate :OutputStorage, :none, 2025,
|
2263
|
-
deprecate :OutputStorage=, :none, 2025,
|
2349
|
+
deprecate :OutputStorage, :none, 2025, 10
|
2350
|
+
deprecate :OutputStorage=, :none, 2025, 10
|
2264
2351
|
|
2265
2352
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
2266
2353
|
@SegmentSet = segmentset
|
@@ -14354,8 +14441,8 @@ module TencentCloud
|
|
14354
14441
|
|
14355
14442
|
attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
|
14356
14443
|
extend Gem::Deprecate
|
14357
|
-
deprecate :ContrastInfoSet, :none, 2025,
|
14358
|
-
deprecate :ContrastInfoSet=, :none, 2025,
|
14444
|
+
deprecate :ContrastInfoSet, :none, 2025, 10
|
14445
|
+
deprecate :ContrastInfoSet=, :none, 2025, 10
|
14359
14446
|
|
14360
14447
|
def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
|
14361
14448
|
@TaskType = tasktype
|
@@ -16535,10 +16622,10 @@ module TencentCloud
|
|
16535
16622
|
|
16536
16623
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
16537
16624
|
extend Gem::Deprecate
|
16538
|
-
deprecate :QualityControlResults, :none, 2025,
|
16539
|
-
deprecate :QualityControlResults=, :none, 2025,
|
16540
|
-
deprecate :DiagnoseResults, :none, 2025,
|
16541
|
-
deprecate :DiagnoseResults=, :none, 2025,
|
16625
|
+
deprecate :QualityControlResults, :none, 2025, 10
|
16626
|
+
deprecate :QualityControlResults=, :none, 2025, 10
|
16627
|
+
deprecate :DiagnoseResults, :none, 2025, 10
|
16628
|
+
deprecate :DiagnoseResults=, :none, 2025, 10
|
16542
16629
|
|
16543
16630
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
16544
16631
|
@QualityControlResults = qualitycontrolresults
|
@@ -21170,12 +21257,15 @@ module TencentCloud
|
|
21170
21257
|
# @type Timestamp: Integer
|
21171
21258
|
# @param Sign: 事件通知安全签名 Sign = MD5(Timestamp + NotifyKey)。说明:媒体处理把Timestamp 和 TaskNotifyConfig 里面的NotifyKey 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
|
21172
21259
|
# @type Sign: String
|
21260
|
+
# @param BatchTaskEvent: 批量处理任务信息,仅当 EventType 为 BatchTask,该字段有值。
|
21261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21262
|
+
# @type BatchTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.BatchSubTaskResult`
|
21173
21263
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21174
21264
|
# @type RequestId: String
|
21175
21265
|
|
21176
|
-
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :RequestId
|
21266
|
+
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :BatchTaskEvent, :RequestId
|
21177
21267
|
|
21178
|
-
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, requestid=nil)
|
21268
|
+
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, batchtaskevent=nil, requestid=nil)
|
21179
21269
|
@EventType = eventtype
|
21180
21270
|
@WorkflowTaskEvent = workflowtaskevent
|
21181
21271
|
@EditMediaTaskEvent = editmediataskevent
|
@@ -21184,6 +21274,7 @@ module TencentCloud
|
|
21184
21274
|
@ScheduleTaskEvent = scheduletaskevent
|
21185
21275
|
@Timestamp = timestamp
|
21186
21276
|
@Sign = sign
|
21277
|
+
@BatchTaskEvent = batchtaskevent
|
21187
21278
|
@RequestId = requestid
|
21188
21279
|
end
|
21189
21280
|
|
@@ -21205,6 +21296,10 @@ module TencentCloud
|
|
21205
21296
|
end
|
21206
21297
|
@Timestamp = params['Timestamp']
|
21207
21298
|
@Sign = params['Sign']
|
21299
|
+
unless params['BatchTaskEvent'].nil?
|
21300
|
+
@BatchTaskEvent = BatchSubTaskResult.new
|
21301
|
+
@BatchTaskEvent.deserialize(params['BatchTaskEvent'])
|
21302
|
+
end
|
21208
21303
|
@RequestId = params['RequestId']
|
21209
21304
|
end
|
21210
21305
|
end
|
@@ -24507,10 +24602,11 @@ module TencentCloud
|
|
24507
24602
|
# @type WatermarkModel: String
|
24508
24603
|
# @param AutoAreas: 自动擦除自定义区域。
|
24509
24604
|
# 对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
|
24510
|
-
# 注意,当擦除方式为custom
|
24605
|
+
# 注意,当擦除方式为custom时,此参数将不会生效。修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
24511
24606
|
# @type AutoAreas: Array
|
24512
24607
|
# @param CustomAreas: 指定擦除自定义区域。
|
24513
24608
|
# 对选定区域,在选定时间段内不进行检测识别直接进行擦除。
|
24609
|
+
# 注意:修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
24514
24610
|
# @type CustomAreas: Array
|
24515
24611
|
|
24516
24612
|
attr_accessor :WatermarkEraseMethod, :WatermarkModel, :AutoAreas, :CustomAreas
|
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.1151
|
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-
|
11
|
+
date: 2025-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|