tencentcloud-sdk-mps 3.0.1170 → 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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +54 -10
- 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: 88028c2aa73daafb9684b08adf489cac6d47d602
|
|
4
|
+
data.tar.gz: c234562dfca89b36608dbef2bcce342473de9bdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfd1e3b4628e336a6121abed12060dffa22a032e4a9e0926cca174fed5f74f4c8e70c20603bcf4aca10f77f36a4b31135914e8d715440bf72fb7bb5f2f2a2361
|
|
7
|
+
data.tar.gz: fb6fdf1a6bade29adc942f2063d20105cbddfec44040aed26ce2039b23ebb6e8c2951859b66cbea71a387c8864251c8a987fe705b140f85cd17d44596fc11760
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1171
|
data/lib/v20190612/models.rb
CHANGED
|
@@ -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: 智能分类任务开关,可选值:
|
|
@@ -15982,28 +16006,32 @@ module TencentCloud
|
|
|
15982
16006
|
# 默认值:logo。
|
|
15983
16007
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15984
16008
|
# @type Type: String
|
|
15985
|
-
# @param AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2]
|
|
16009
|
+
# @param AreaCoordSet: 图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。注意:该字段最大值为4096。
|
|
15986
16010
|
# 示例值:[101, 85, 111, 95]
|
|
15987
16011
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15988
16012
|
# @type AreaCoordSet: Array
|
|
15989
|
-
# @param BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet
|
|
16013
|
+
# @param BoundingBox: 图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。当表示像素时,该字段最大值为4096。
|
|
15990
16014
|
# - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)
|
|
15991
16015
|
# - [50, 50, 350, 280] : 表示像素 (数值大于等于1)
|
|
15992
16016
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15993
16017
|
# @type BoundingBox: Array
|
|
16018
|
+
# @param BoundingBoxUnitType: BoundingBox字段单位。设置为0时,按照该字段规则自动选择单位;设置为1时,单位为比例;设置为2时,单位为像素。
|
|
16019
|
+
# @type BoundingBoxUnitType: Integer
|
|
15994
16020
|
|
|
15995
|
-
attr_accessor :Type, :AreaCoordSet, :BoundingBox
|
|
16021
|
+
attr_accessor :Type, :AreaCoordSet, :BoundingBox, :BoundingBoxUnitType
|
|
15996
16022
|
|
|
15997
|
-
def initialize(type=nil, areacoordset=nil, boundingbox=nil)
|
|
16023
|
+
def initialize(type=nil, areacoordset=nil, boundingbox=nil, boundingboxunittype=nil)
|
|
15998
16024
|
@Type = type
|
|
15999
16025
|
@AreaCoordSet = areacoordset
|
|
16000
16026
|
@BoundingBox = boundingbox
|
|
16027
|
+
@BoundingBoxUnitType = boundingboxunittype
|
|
16001
16028
|
end
|
|
16002
16029
|
|
|
16003
16030
|
def deserialize(params)
|
|
16004
16031
|
@Type = params['Type']
|
|
16005
16032
|
@AreaCoordSet = params['AreaCoordSet']
|
|
16006
16033
|
@BoundingBox = params['BoundingBox']
|
|
16034
|
+
@BoundingBoxUnitType = params['BoundingBoxUnitType']
|
|
16007
16035
|
end
|
|
16008
16036
|
end
|
|
16009
16037
|
|
|
@@ -22362,16 +22390,22 @@ module TencentCloud
|
|
|
22362
22390
|
# <li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
22363
22391
|
# 如果不填,则默认为相对路径:{inputName}.{format}。
|
|
22364
22392
|
# @type OutputPath: String
|
|
22393
|
+
# @param Definition: 图片处理模板唯一标识。
|
|
22394
|
+
# @type Definition: Integer
|
|
22395
|
+
# @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
|
22396
|
+
# @type ResourceId: String
|
|
22365
22397
|
# @param ImageTask: 图片处理参数。
|
|
22366
22398
|
# @type ImageTask: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
|
|
22367
22399
|
|
|
22368
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :ImageTask
|
|
22400
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :Definition, :ResourceId, :ImageTask
|
|
22369
22401
|
|
|
22370
|
-
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)
|
|
22371
22403
|
@InputInfo = inputinfo
|
|
22372
22404
|
@OutputStorage = outputstorage
|
|
22373
22405
|
@OutputDir = outputdir
|
|
22374
22406
|
@OutputPath = outputpath
|
|
22407
|
+
@Definition = definition
|
|
22408
|
+
@ResourceId = resourceid
|
|
22375
22409
|
@ImageTask = imagetask
|
|
22376
22410
|
end
|
|
22377
22411
|
|
|
@@ -22386,6 +22420,8 @@ module TencentCloud
|
|
|
22386
22420
|
end
|
|
22387
22421
|
@OutputDir = params['OutputDir']
|
|
22388
22422
|
@OutputPath = params['OutputPath']
|
|
22423
|
+
@Definition = params['Definition']
|
|
22424
|
+
@ResourceId = params['ResourceId']
|
|
22389
22425
|
unless params['ImageTask'].nil?
|
|
22390
22426
|
@ImageTask = ImageTaskInput.new
|
|
22391
22427
|
@ImageTask.deserialize(params['ImageTask'])
|
|
@@ -27112,6 +27148,9 @@ module TencentCloud
|
|
|
27112
27148
|
# @type OverrideParameter: :class:`Tencentcloud::Mps.v20190612.models.OverrideTranscodeParameter`
|
|
27113
27149
|
# @param WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
|
|
27114
27150
|
# @type WatermarkSet: Array
|
|
27151
|
+
# @param BlindWatermark: 数字水印参数。
|
|
27152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27153
|
+
# @type BlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkInput`
|
|
27115
27154
|
# @param MosaicSet: 马赛克列表,最大可支持 10 张。
|
|
27116
27155
|
# @type MosaicSet: Array
|
|
27117
27156
|
# @param StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
|
|
@@ -27145,13 +27184,14 @@ module TencentCloud
|
|
|
27145
27184
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27146
27185
|
# @type HeadTailParameter: :class:`Tencentcloud::Mps.v20190612.models.HeadTailParameter`
|
|
27147
27186
|
|
|
27148
|
-
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
|
|
27149
27188
|
|
|
27150
|
-
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)
|
|
27151
27190
|
@Definition = definition
|
|
27152
27191
|
@RawParameter = rawparameter
|
|
27153
27192
|
@OverrideParameter = overrideparameter
|
|
27154
27193
|
@WatermarkSet = watermarkset
|
|
27194
|
+
@BlindWatermark = blindwatermark
|
|
27155
27195
|
@MosaicSet = mosaicset
|
|
27156
27196
|
@StartTimeOffset = starttimeoffset
|
|
27157
27197
|
@EndTimeOffset = endtimeoffset
|
|
@@ -27180,6 +27220,10 @@ module TencentCloud
|
|
|
27180
27220
|
@WatermarkSet << watermarkinput_tmp
|
|
27181
27221
|
end
|
|
27182
27222
|
end
|
|
27223
|
+
unless params['BlindWatermark'].nil?
|
|
27224
|
+
@BlindWatermark = BlindWatermarkInput.new
|
|
27225
|
+
@BlindWatermark.deserialize(params['BlindWatermark'])
|
|
27226
|
+
end
|
|
27183
27227
|
unless params['MosaicSet'].nil?
|
|
27184
27228
|
@MosaicSet = []
|
|
27185
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.
|
|
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-
|
|
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
|