tencentcloud-sdk-mps 3.0.1169 → 3.0.1171

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 +142 -15
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efa95cea08959c9bfa3d1ab2b37ea3f015dfbf4f
4
- data.tar.gz: 1535af88485998b540fcf439cfab13c700a5a084
3
+ metadata.gz: 88028c2aa73daafb9684b08adf489cac6d47d602
4
+ data.tar.gz: c234562dfca89b36608dbef2bcce342473de9bdf
5
5
  SHA512:
6
- metadata.gz: c8f07ddee3f644cf343c517a166eb2bc5058b1dc69f05b35e082e51c0ab4c453d369d7197526690fe43c139d536efaeedcbdc593a62974891e42ef05ebde4386
7
- data.tar.gz: 4c8e0fd71ac2a90f1eb072fa4269e1acf0a85b1ad4db05cc6f386b6550f3b5b5bc4de0a2b0284ea2cadd83b60edc0185cac744ec22a8f5c53d9dbd22bbd4232e
6
+ metadata.gz: cfd1e3b4628e336a6121abed12060dffa22a032e4a9e0926cca174fed5f74f4c8e70c20603bcf4aca10f77f36a4b31135914e8d715440bf72fb7bb5f2f2a2361
7
+ data.tar.gz: fb6fdf1a6bade29adc942f2063d20105cbddfec44040aed26ce2039b23ebb6e8c2951859b66cbea71a387c8864251c8a987fe705b140f85cd17d44596fc11760
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1169
1
+ 3.0.1171
@@ -537,6 +537,9 @@ module TencentCloud
537
537
  # @type Definition: Integer
538
538
  # @param WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
539
539
  # @type WatermarkSet: Array
540
+ # @param BlindWatermark: 数字水印参数
541
+ # 注意:此字段可能返回 null,表示取不到有效值。
542
+ # @type BlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkInput`
540
543
  # @param OutputStorage: 转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。
541
544
  # 注意:此字段可能返回 null,表示取不到有效值。
542
545
  # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
@@ -572,11 +575,12 @@ module TencentCloud
572
575
  # 注意:此字段可能返回 null,表示取不到有效值。
573
576
  # @type KeyPTSList: Array
574
577
 
575
- attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo, :KeyPTSList
578
+ attr_accessor :Definition, :WatermarkSet, :BlindWatermark, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo, :KeyPTSList
576
579
 
577
- def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=nil, subtitletemplate=nil, stdextinfo=nil, keyptslist=nil)
580
+ def initialize(definition=nil, watermarkset=nil, blindwatermark=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=nil, subtitletemplate=nil, stdextinfo=nil, keyptslist=nil)
578
581
  @Definition = definition
579
582
  @WatermarkSet = watermarkset
583
+ @BlindWatermark = blindwatermark
580
584
  @OutputStorage = outputstorage
581
585
  @OutputObjectPath = outputobjectpath
582
586
  @SubStreamObjectName = substreamobjectname
@@ -599,6 +603,10 @@ module TencentCloud
599
603
  @WatermarkSet << watermarkinput_tmp
600
604
  end
601
605
  end
606
+ unless params['BlindWatermark'].nil?
607
+ @BlindWatermark = BlindWatermarkInput.new
608
+ @BlindWatermark.deserialize(params['BlindWatermark'])
609
+ end
602
610
  unless params['OutputStorage'].nil?
603
611
  @OutputStorage = TaskOutputStorage.new
604
612
  @OutputStorage.deserialize(params['OutputStorage'])
@@ -5774,6 +5782,22 @@ module TencentCloud
5774
5782
  end
5775
5783
  end
5776
5784
 
5785
+ # 媒体处理任务中的数字水印参数类型
5786
+ class BlindWatermarkInput < TencentCloud::Common::AbstractModel
5787
+ # @param Definition: 数字水印模板ID
5788
+ # @type Definition: Integer
5789
+
5790
+ attr_accessor :Definition
5791
+
5792
+ def initialize(definition=nil)
5793
+ @Definition = definition
5794
+ end
5795
+
5796
+ def deserialize(params)
5797
+ @Definition = params['Definition']
5798
+ end
5799
+ end
5800
+
5777
5801
  # 智能分类任务控制参数
5778
5802
  class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
5779
5803
  # @param Switch: 智能分类任务开关,可选值:
@@ -12436,16 +12460,22 @@ module TencentCloud
12436
12460
  # * Preset:系统预置模板;
12437
12461
  # * Custom:用户自定义模板。
12438
12462
  # @type Type: String
12463
+ # @param EraseType: 智能擦除模板擦除类型过滤条件。
12464
+ # - subtitle 去字幕
12465
+ # - watermark 去水印
12466
+ # - privacy 隐私保护
12467
+ # @type EraseType: String
12439
12468
  # @param Name: 智能擦除模板名过滤条件,长度限制:64 个字符。
12440
12469
  # @type Name: String
12441
12470
 
12442
- attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
12471
+ attr_accessor :Definitions, :Offset, :Limit, :Type, :EraseType, :Name
12443
12472
 
12444
- def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
12473
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil, erasetype=nil, name=nil)
12445
12474
  @Definitions = definitions
12446
12475
  @Offset = offset
12447
12476
  @Limit = limit
12448
12477
  @Type = type
12478
+ @EraseType = erasetype
12449
12479
  @Name = name
12450
12480
  end
12451
12481
 
@@ -12454,6 +12484,7 @@ module TencentCloud
12454
12484
  @Offset = params['Offset']
12455
12485
  @Limit = params['Limit']
12456
12486
  @Type = params['Type']
12487
+ @EraseType = params['EraseType']
12457
12488
  @Name = params['Name']
12458
12489
  end
12459
12490
  end
@@ -15975,28 +16006,32 @@ module TencentCloud
15975
16006
  # 默认值:logo。
15976
16007
  # 注意:此字段可能返回 null,表示取不到有效值。
15977
16008
  # @type Type: String
15978
- # @param AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
16009
+ # @param AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
15979
16010
  # 示例值:[101, 85, 111, 95]
15980
16011
  # 注意:此字段可能返回 null,表示取不到有效值。
15981
16012
  # @type AreaCoordSet: Array
15982
- # @param BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。
16013
+ # @param BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
15983
16014
  # - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
15984
16015
  # - [50, 50, 350, 280] : 表示像素 (数值大于等于1)
15985
16016
  # 注意:此字段可能返回 null,表示取不到有效值。
15986
16017
  # @type BoundingBox: Array
16018
+ # @param BoundingBoxUnitType: BoundingBox字段单位。设置为0时,按照该字段规则自动选择单位;设置为1时,单位为比例;设置为2时,单位为像素。
16019
+ # @type BoundingBoxUnitType: Integer
15987
16020
 
15988
- attr_accessor :Type, :AreaCoordSet, :BoundingBox
16021
+ attr_accessor :Type, :AreaCoordSet, :BoundingBox, :BoundingBoxUnitType
15989
16022
 
15990
- def initialize(type=nil, areacoordset=nil, boundingbox=nil)
16023
+ def initialize(type=nil, areacoordset=nil, boundingbox=nil, boundingboxunittype=nil)
15991
16024
  @Type = type
15992
16025
  @AreaCoordSet = areacoordset
15993
16026
  @BoundingBox = boundingbox
16027
+ @BoundingBoxUnitType = boundingboxunittype
15994
16028
  end
15995
16029
 
15996
16030
  def deserialize(params)
15997
16031
  @Type = params['Type']
15998
16032
  @AreaCoordSet = params['AreaCoordSet']
15999
16033
  @BoundingBox = params['BoundingBox']
16034
+ @BoundingBoxUnitType = params['BoundingBoxUnitType']
16000
16035
  end
16001
16036
  end
16002
16037
 
@@ -16650,6 +16685,70 @@ module TencentCloud
16650
16685
  end
16651
16686
  end
16652
16687
 
16688
+ # 直播摘要结果信息。
16689
+ class LiveAiAnalysisDescriptionItem < TencentCloud::Common::AbstractModel
16690
+ # @param Paragraphs: 分段结果。
16691
+ # 注意:此字段可能返回 null,表示取不到有效值。
16692
+ # @type Paragraphs: Array
16693
+
16694
+ attr_accessor :Paragraphs
16695
+
16696
+ def initialize(paragraphs=nil)
16697
+ @Paragraphs = paragraphs
16698
+ end
16699
+
16700
+ def deserialize(params)
16701
+ unless params['Paragraphs'].nil?
16702
+ @Paragraphs = []
16703
+ params['Paragraphs'].each do |i|
16704
+ liveaiparagraphinfo_tmp = LiveAiParagraphInfo.new
16705
+ liveaiparagraphinfo_tmp.deserialize(i)
16706
+ @Paragraphs << liveaiparagraphinfo_tmp
16707
+ end
16708
+ end
16709
+ end
16710
+ end
16711
+
16712
+ # 分段信息。
16713
+ class LiveAiParagraphInfo < TencentCloud::Common::AbstractModel
16714
+ # @param Summary: 分段摘要
16715
+ # @type Summary: String
16716
+ # @param Title: 分段标题
16717
+ # @type Title: String
16718
+ # @param Keywords: 分段关键词
16719
+ # @type Keywords: Array
16720
+ # @param StartTimeOffset: 分段起始时间点,秒
16721
+ # @type StartTimeOffset: Float
16722
+ # @param EndTimeOffset: 分段结束时间点,秒
16723
+ # @type EndTimeOffset: Float
16724
+ # @param BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
16725
+ # @type BeginTime: String
16726
+ # @param EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
16727
+ # @type EndTime: String
16728
+
16729
+ attr_accessor :Summary, :Title, :Keywords, :StartTimeOffset, :EndTimeOffset, :BeginTime, :EndTime
16730
+
16731
+ def initialize(summary=nil, title=nil, keywords=nil, starttimeoffset=nil, endtimeoffset=nil, begintime=nil, endtime=nil)
16732
+ @Summary = summary
16733
+ @Title = title
16734
+ @Keywords = keywords
16735
+ @StartTimeOffset = starttimeoffset
16736
+ @EndTimeOffset = endtimeoffset
16737
+ @BeginTime = begintime
16738
+ @EndTime = endtime
16739
+ end
16740
+
16741
+ def deserialize(params)
16742
+ @Summary = params['Summary']
16743
+ @Title = params['Title']
16744
+ @Keywords = params['Keywords']
16745
+ @StartTimeOffset = params['StartTimeOffset']
16746
+ @EndTimeOffset = params['EndTimeOffset']
16747
+ @BeginTime = params['BeginTime']
16748
+ @EndTime = params['EndTime']
16749
+ end
16750
+ end
16751
+
16653
16752
  # 直播录制输出文件信息
16654
16753
  class LiveRecordFile < TencentCloud::Common::AbstractModel
16655
16754
  # @param Url: 直播录制文件地址
@@ -16909,7 +17008,10 @@ module TencentCloud
16909
17008
 
16910
17009
  # 直播流分析结果
16911
17010
  class LiveStreamAiAnalysisResultInfo < TencentCloud::Common::AbstractModel
16912
- # @param ResultSet: 直播分析子任务结果,暂时只支持直播拆条。
17011
+ # @param ResultSet: 直播分析子任务结果,支持:
17012
+ # <li>直播拆条</li>
17013
+ # <li>直播高光集锦</li>
17014
+ # <li>直播摘要</li>
16913
17015
  # 注意:此字段可能返回 null,表示取不到有效值。
16914
17016
  # @type ResultSet: Array
16915
17017
 
@@ -16936,6 +17038,7 @@ module TencentCloud
16936
17038
  # @param Type: 结果的类型,取值范围:
16937
17039
  # <li>SegmentRecognition:拆条。</li>
16938
17040
  # <li>Highlight :集锦。</li>
17041
+ # <li> Description:摘要。</li>
16939
17042
  # @type Type: String
16940
17043
  # @param SegmentResultSet: 拆条结果,当 Type 为
16941
17044
  # SegmentRecognition 时有效。
@@ -16944,13 +17047,16 @@ module TencentCloud
16944
17047
  # @param HighlightResultSet: 集锦结果,当Type 为 Highlight 时有效。
16945
17048
  # 注意:此字段可能返回 null,表示取不到有效值。
16946
17049
  # @type HighlightResultSet: Array
17050
+ # @param DescriptionResult: 摘要结果,当Type 为 Description 时有效。
17051
+ # @type DescriptionResult: :class:`Tencentcloud::Mps.v20190612.models.LiveAiAnalysisDescriptionItem`
16947
17052
 
16948
- attr_accessor :Type, :SegmentResultSet, :HighlightResultSet
17053
+ attr_accessor :Type, :SegmentResultSet, :HighlightResultSet, :DescriptionResult
16949
17054
 
16950
- def initialize(type=nil, segmentresultset=nil, highlightresultset=nil)
17055
+ def initialize(type=nil, segmentresultset=nil, highlightresultset=nil, descriptionresult=nil)
16951
17056
  @Type = type
16952
17057
  @SegmentResultSet = segmentresultset
16953
17058
  @HighlightResultSet = highlightresultset
17059
+ @DescriptionResult = descriptionresult
16954
17060
  end
16955
17061
 
16956
17062
  def deserialize(params)
@@ -16971,6 +17077,10 @@ module TencentCloud
16971
17077
  @HighlightResultSet << mediaaianalysishighlightitem_tmp
16972
17078
  end
16973
17079
  end
17080
+ unless params['DescriptionResult'].nil?
17081
+ @DescriptionResult = LiveAiAnalysisDescriptionItem.new
17082
+ @DescriptionResult.deserialize(params['DescriptionResult'])
17083
+ end
16974
17084
  end
16975
17085
  end
16976
17086
 
@@ -21581,6 +21691,7 @@ module TencentCloud
21581
21691
  # <li>AiRecognitionResult:内容识别结果;</li>
21582
21692
  # <li>LiveRecordResult:直播录制结果;</li>
21583
21693
  # <li>AiQualityControlResult:媒体质检结果;</li>
21694
+ # <li>AiAnalysisResult:内容分析结果;</li>
21584
21695
  # <li>ProcessEof:直播流处理结束。</li>
21585
21696
  # @type NotificationType: String
21586
21697
  # @param TaskId: 视频处理任务 ID。
@@ -22279,16 +22390,22 @@ module TencentCloud
22279
22390
  # <li>/自定义路径/文件名_{变量名}.{format}</li>
22280
22391
  # 如果不填,则默认为相对路径:{inputName}.{format}。
22281
22392
  # @type OutputPath: String
22393
+ # @param Definition: 图片处理模板唯一标识。
22394
+ # @type Definition: Integer
22395
+ # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
22396
+ # @type ResourceId: String
22282
22397
  # @param ImageTask: 图片处理参数。
22283
22398
  # @type ImageTask: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
22284
22399
 
22285
- attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :ImageTask
22400
+ attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :Definition, :ResourceId, :ImageTask
22286
22401
 
22287
- def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, imagetask=nil)
22402
+ def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, definition=nil, resourceid=nil, imagetask=nil)
22288
22403
  @InputInfo = inputinfo
22289
22404
  @OutputStorage = outputstorage
22290
22405
  @OutputDir = outputdir
22291
22406
  @OutputPath = outputpath
22407
+ @Definition = definition
22408
+ @ResourceId = resourceid
22292
22409
  @ImageTask = imagetask
22293
22410
  end
22294
22411
 
@@ -22303,6 +22420,8 @@ module TencentCloud
22303
22420
  end
22304
22421
  @OutputDir = params['OutputDir']
22305
22422
  @OutputPath = params['OutputPath']
22423
+ @Definition = params['Definition']
22424
+ @ResourceId = params['ResourceId']
22306
22425
  unless params['ImageTask'].nil?
22307
22426
  @ImageTask = ImageTaskInput.new
22308
22427
  @ImageTask.deserialize(params['ImageTask'])
@@ -27029,6 +27148,9 @@ module TencentCloud
27029
27148
  # @type OverrideParameter: :class:`Tencentcloud::Mps.v20190612.models.OverrideTranscodeParameter`
27030
27149
  # @param WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
27031
27150
  # @type WatermarkSet: Array
27151
+ # @param BlindWatermark: 数字水印参数。
27152
+ # 注意:此字段可能返回 null,表示取不到有效值。
27153
+ # @type BlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkInput`
27032
27154
  # @param MosaicSet: 马赛克列表,最大可支持 10 张。
27033
27155
  # @type MosaicSet: Array
27034
27156
  # @param StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
@@ -27062,13 +27184,14 @@ module TencentCloud
27062
27184
  # 注意:此字段可能返回 null,表示取不到有效值。
27063
27185
  # @type HeadTailParameter: :class:`Tencentcloud::Mps.v20190612.models.HeadTailParameter`
27064
27186
 
27065
- attr_accessor :Definition, :RawParameter, :OverrideParameter, :WatermarkSet, :MosaicSet, :StartTimeOffset, :EndTimeOffset, :OutputStorage, :OutputObjectPath, :SegmentObjectName, :ObjectNumberFormat, :HeadTailParameter
27187
+ attr_accessor :Definition, :RawParameter, :OverrideParameter, :WatermarkSet, :BlindWatermark, :MosaicSet, :StartTimeOffset, :EndTimeOffset, :OutputStorage, :OutputObjectPath, :SegmentObjectName, :ObjectNumberFormat, :HeadTailParameter
27066
27188
 
27067
- def initialize(definition=nil, rawparameter=nil, overrideparameter=nil, watermarkset=nil, mosaicset=nil, starttimeoffset=nil, endtimeoffset=nil, outputstorage=nil, outputobjectpath=nil, segmentobjectname=nil, objectnumberformat=nil, headtailparameter=nil)
27189
+ def initialize(definition=nil, rawparameter=nil, overrideparameter=nil, watermarkset=nil, blindwatermark=nil, mosaicset=nil, starttimeoffset=nil, endtimeoffset=nil, outputstorage=nil, outputobjectpath=nil, segmentobjectname=nil, objectnumberformat=nil, headtailparameter=nil)
27068
27190
  @Definition = definition
27069
27191
  @RawParameter = rawparameter
27070
27192
  @OverrideParameter = overrideparameter
27071
27193
  @WatermarkSet = watermarkset
27194
+ @BlindWatermark = blindwatermark
27072
27195
  @MosaicSet = mosaicset
27073
27196
  @StartTimeOffset = starttimeoffset
27074
27197
  @EndTimeOffset = endtimeoffset
@@ -27097,6 +27220,10 @@ module TencentCloud
27097
27220
  @WatermarkSet << watermarkinput_tmp
27098
27221
  end
27099
27222
  end
27223
+ unless params['BlindWatermark'].nil?
27224
+ @BlindWatermark = BlindWatermarkInput.new
27225
+ @BlindWatermark.deserialize(params['BlindWatermark'])
27226
+ end
27100
27227
  unless params['MosaicSet'].nil?
27101
27228
  @MosaicSet = []
27102
27229
  params['MosaicSet'].each do |i|
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.1169
4
+ version: 3.0.1171
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-19 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common