tencentcloud-sdk-mps 3.0.1146 → 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +134 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e9a9d10a371adc881aa03f4b759d3de71684844
4
- data.tar.gz: 55dd44206281faed8cfc99938e77bfeb10f121c1
3
+ metadata.gz: 871925abe46379905ec6de82a52aa858916e285c
4
+ data.tar.gz: 4074fc41d41073d1dc89bf90d6e0fda2734ffe6d
5
5
  SHA512:
6
- metadata.gz: e3a60e0215396aa2f6a2312a41ee4eb209715012a0c234a49968878235b6032df1587b925437e4abeff93a11602a196b6f6b2cae762fc9b9cd15dc5d9be0e693
7
- data.tar.gz: 5618a647f154022e2c346df603795a1db6067a30f195bafdc8c1bcf511156ae71d88bc1b1ba40389eb7c7474b074cfd2837f329f27c4208beeecd0f04f27324b
6
+ metadata.gz: 0851331e11d5923f8eba4785cff23abbb80b80003eb8e623b16dbb3d9e7a92de4f26bc9dc81dd5342c13401f73e1a5d3352877b657d89823d7ebdc640e4f30e0
7
+ data.tar.gz: ece0769a4724cb29b762bc5a3d10de824c6d74267901b611a1a653ca35a5c63a4d4eee1f0bf58a561789863d605aebd233f28dd440a029a89840eeb6fffae243
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1146
1
+ 3.0.1151
@@ -803,13 +803,21 @@ module TencentCloud
803
803
  # 注意:仅支持中文、英文、数字、空格、下划线(_)、短横线(-)、句点(.)和中英文括号,长度不能超过64个字符。
804
804
  # 注意:此字段可能返回 null,表示取不到有效值。
805
805
  # @type SubtitleName: String
806
+ # @param OutputFormat: 字幕输出格式。取值{"WebVTT","TTML"}。
807
+ # 默认值:"WebVTT"
808
+ # @type OutputFormat: String
809
+ # @param DefaultTrack: 默认字幕轨道。为true时指定当前字幕为默认字幕轨道,最多可指定1条默认字幕轨道。
810
+ # 默认值:false
811
+ # @type DefaultTrack: Boolean
806
812
 
807
- attr_accessor :Type, :Subtitle, :SubtitleName
813
+ attr_accessor :Type, :Subtitle, :SubtitleName, :OutputFormat, :DefaultTrack
808
814
 
809
- def initialize(type=nil, subtitle=nil, subtitlename=nil)
815
+ def initialize(type=nil, subtitle=nil, subtitlename=nil, outputformat=nil, defaulttrack=nil)
810
816
  @Type = type
811
817
  @Subtitle = subtitle
812
818
  @SubtitleName = subtitlename
819
+ @OutputFormat = outputformat
820
+ @DefaultTrack = defaulttrack
813
821
  end
814
822
 
815
823
  def deserialize(params)
@@ -819,6 +827,8 @@ module TencentCloud
819
827
  @Subtitle.deserialize(params['Subtitle'])
820
828
  end
821
829
  @SubtitleName = params['SubtitleName']
830
+ @OutputFormat = params['OutputFormat']
831
+ @DefaultTrack = params['DefaultTrack']
822
832
  end
823
833
  end
824
834
 
@@ -833,6 +843,7 @@ module TencentCloud
833
843
  # <li>DeLogo:智能擦除</li>
834
844
  # <li>Description:大模型摘要</li>
835
845
  # <li>Dubbing:智能译制</li>
846
+ # <li>VideoRemake: 视频去重</li>
836
847
  # @type Type: String
837
848
  # @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
838
849
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -867,10 +878,13 @@ module TencentCloud
867
878
  # @param DubbingTask: 视频内容分析译制任务的查询结果,当任务类型为 Dubbing 时有效。
868
879
  # 注意:此字段可能返回 null,表示取不到有效值。
869
880
  # @type DubbingTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingResult`
881
+ # @param VideoRemakeTask: 视频内容分析去重任务的查询结果,当任务类型为 VideoRemake 时有效。
882
+ # 注意:此字段可能返回 null,表示取不到有效值。
883
+ # @type VideoRemakeTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeResult`
870
884
 
871
- 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
872
886
 
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)
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)
874
888
  @Type = type
875
889
  @ClassificationTask = classificationtask
876
890
  @CoverTask = covertask
@@ -883,6 +897,7 @@ module TencentCloud
883
897
  @DescriptionTask = descriptiontask
884
898
  @HorizontalToVerticalTask = horizontaltoverticaltask
885
899
  @DubbingTask = dubbingtask
900
+ @VideoRemakeTask = videoremaketask
886
901
  end
887
902
 
888
903
  def deserialize(params)
@@ -931,6 +946,10 @@ module TencentCloud
931
946
  @DubbingTask = AiAnalysisTaskDubbingResult.new
932
947
  @DubbingTask.deserialize(params['DubbingTask'])
933
948
  end
949
+ unless params['VideoRemakeTask'].nil?
950
+ @VideoRemakeTask = AiAnalysisTaskVideoRemakeResult.new
951
+ @VideoRemakeTask.deserialize(params['VideoRemakeTask'])
952
+ end
934
953
  end
935
954
  end
936
955
 
@@ -1895,6 +1914,84 @@ module TencentCloud
1895
1914
  end
1896
1915
  end
1897
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
+
1898
1995
  # 内容审核结果
1899
1996
  class AiContentReviewResult < TencentCloud::Common::AbstractModel
1900
1997
  # @param Type: 任务的类型,可以取的值有:
@@ -2249,8 +2346,8 @@ module TencentCloud
2249
2346
 
2250
2347
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
2251
2348
  extend Gem::Deprecate
2252
- deprecate :OutputStorage, :none, 2025, 9
2253
- deprecate :OutputStorage=, :none, 2025, 9
2349
+ deprecate :OutputStorage, :none, 2025, 10
2350
+ deprecate :OutputStorage=, :none, 2025, 10
2254
2351
 
2255
2352
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
2256
2353
  @SegmentSet = segmentset
@@ -13119,8 +13216,13 @@ module TencentCloud
13119
13216
 
13120
13217
  # DescribeTasks请求参数结构体
13121
13218
  class DescribeTasksRequest < TencentCloud::Common::AbstractModel
13122
- # @param Status: 过滤条件:任务状态,可选值:WAITING(等待中)、PROCESSING(处理中)、FINISH(已完成)。
13219
+ # @param Status: 任务状态过滤条件,可选值:
13220
+ # - WAITING(等待中)
13221
+ # - PROCESSING(处理中)
13222
+ # - FINISH(已完成)。
13123
13223
  # @type Status: String
13224
+ # @param SubTaskHasFailed: 任务结束时子任务是否有失败。
13225
+ # @type SubTaskHasFailed: Boolean
13124
13226
  # @param Limit: 返回记录条数,默认值:10,最大值:100。
13125
13227
  # @type Limit: Integer
13126
13228
  # @param ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
@@ -13130,10 +13232,11 @@ module TencentCloud
13130
13232
  # @param EndTime: 查询任务结束时间。
13131
13233
  # @type EndTime: String
13132
13234
 
13133
- attr_accessor :Status, :Limit, :ScrollToken, :StartTime, :EndTime
13235
+ attr_accessor :Status, :SubTaskHasFailed, :Limit, :ScrollToken, :StartTime, :EndTime
13134
13236
 
13135
- def initialize(status=nil, limit=nil, scrolltoken=nil, starttime=nil, endtime=nil)
13237
+ def initialize(status=nil, subtaskhasfailed=nil, limit=nil, scrolltoken=nil, starttime=nil, endtime=nil)
13136
13238
  @Status = status
13239
+ @SubTaskHasFailed = subtaskhasfailed
13137
13240
  @Limit = limit
13138
13241
  @ScrollToken = scrolltoken
13139
13242
  @StartTime = starttime
@@ -13142,6 +13245,7 @@ module TencentCloud
13142
13245
 
13143
13246
  def deserialize(params)
13144
13247
  @Status = params['Status']
13248
+ @SubTaskHasFailed = params['SubTaskHasFailed']
13145
13249
  @Limit = params['Limit']
13146
13250
  @ScrollToken = params['ScrollToken']
13147
13251
  @StartTime = params['StartTime']
@@ -14337,8 +14441,8 @@ module TencentCloud
14337
14441
 
14338
14442
  attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
14339
14443
  extend Gem::Deprecate
14340
- deprecate :ContrastInfoSet, :none, 2025, 9
14341
- deprecate :ContrastInfoSet=, :none, 2025, 9
14444
+ deprecate :ContrastInfoSet, :none, 2025, 10
14445
+ deprecate :ContrastInfoSet=, :none, 2025, 10
14342
14446
 
14343
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)
14344
14448
  @TaskType = tasktype
@@ -16518,10 +16622,10 @@ module TencentCloud
16518
16622
 
16519
16623
  attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
16520
16624
  extend Gem::Deprecate
16521
- deprecate :QualityControlResults, :none, 2025, 9
16522
- deprecate :QualityControlResults=, :none, 2025, 9
16523
- deprecate :DiagnoseResults, :none, 2025, 9
16524
- deprecate :DiagnoseResults=, :none, 2025, 9
16625
+ deprecate :QualityControlResults, :none, 2025, 10
16626
+ deprecate :QualityControlResults=, :none, 2025, 10
16627
+ deprecate :DiagnoseResults, :none, 2025, 10
16628
+ deprecate :DiagnoseResults=, :none, 2025, 10
16525
16629
 
16526
16630
  def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
16527
16631
  @QualityControlResults = qualitycontrolresults
@@ -21153,12 +21257,15 @@ module TencentCloud
21153
21257
  # @type Timestamp: Integer
21154
21258
  # @param Sign: 事件通知安全签名 Sign = MD5(Timestamp + NotifyKey)。说明:媒体处理把Timestamp 和 TaskNotifyConfig 里面的NotifyKey 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
21155
21259
  # @type Sign: String
21260
+ # @param BatchTaskEvent: 批量处理任务信息,仅当 EventType 为 BatchTask,该字段有值。
21261
+ # 注意:此字段可能返回 null,表示取不到有效值。
21262
+ # @type BatchTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.BatchSubTaskResult`
21156
21263
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21157
21264
  # @type RequestId: String
21158
21265
 
21159
- attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :RequestId
21266
+ attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :BatchTaskEvent, :RequestId
21160
21267
 
21161
- 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)
21162
21269
  @EventType = eventtype
21163
21270
  @WorkflowTaskEvent = workflowtaskevent
21164
21271
  @EditMediaTaskEvent = editmediataskevent
@@ -21167,6 +21274,7 @@ module TencentCloud
21167
21274
  @ScheduleTaskEvent = scheduletaskevent
21168
21275
  @Timestamp = timestamp
21169
21276
  @Sign = sign
21277
+ @BatchTaskEvent = batchtaskevent
21170
21278
  @RequestId = requestid
21171
21279
  end
21172
21280
 
@@ -21188,6 +21296,10 @@ module TencentCloud
21188
21296
  end
21189
21297
  @Timestamp = params['Timestamp']
21190
21298
  @Sign = params['Sign']
21299
+ unless params['BatchTaskEvent'].nil?
21300
+ @BatchTaskEvent = BatchSubTaskResult.new
21301
+ @BatchTaskEvent.deserialize(params['BatchTaskEvent'])
21302
+ end
21191
21303
  @RequestId = params['RequestId']
21192
21304
  end
21193
21305
  end
@@ -22383,7 +22495,9 @@ module TencentCloud
22383
22495
  # LowVoice:低音,
22384
22496
  # HighVoice:爆音,
22385
22497
  # NoVoice:静音,
22386
- # LowEvaluation:无参考打分低于阈值。
22498
+ # LowEvaluation:视频无参考评分(MOS)低于阈值,
22499
+ # AudioEvaluation:音频无参考评分(MOS)低于阈值,
22500
+ # AudioNoise:音频噪声。
22387
22501
  # @type Type: String
22388
22502
  # @param QualityControlItems: 质检结果项。
22389
22503
  # @type QualityControlItems: Array
@@ -24488,10 +24602,11 @@ module TencentCloud
24488
24602
  # @type WatermarkModel: String
24489
24603
  # @param AutoAreas: 自动擦除自定义区域。
24490
24604
  # 对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
24491
- # 注意,当擦除方式为custom时,此参数将不会生效。
24605
+ # 注意,当擦除方式为custom时,此参数将不会生效。修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
24492
24606
  # @type AutoAreas: Array
24493
24607
  # @param CustomAreas: 指定擦除自定义区域。
24494
24608
  # 对选定区域,在选定时间段内不进行检测识别直接进行擦除。
24609
+ # 注意:修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
24495
24610
  # @type CustomAreas: Array
24496
24611
 
24497
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.1146
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-09-24 00:00:00.000000000 Z
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