tencentcloud-sdk-mps 3.0.1170 → 3.0.1172
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 +64 -12
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c54d09b9ea03825b624996353327743b37056cb6
|
|
4
|
+
data.tar.gz: afec8fa3eb3d1d775cd7f68a4673041d2b00999f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a44cbca769f9dd2b7470688f9a84ff97d37ee4a18c265641f62a59f65f734bea0159fa0b27916dd6240ca6892768690e1ebc65771f688c86206f87c6e9283e7
|
|
7
|
+
data.tar.gz: e103d46f4db8eb5811a6718651e3e84563a053ac92466bbb10505d922fd8d626f0ce5658727a6e1e14ec9e18a16c634bf053c0be93e13cdaa075752b9930121e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1172
|
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
|
|
|
@@ -21795,12 +21823,15 @@ module TencentCloud
|
|
|
21795
21823
|
# @param BatchTaskEvent: 批量处理任务信息,仅当 EventType 为 BatchTask,该字段有值。
|
|
21796
21824
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
21797
21825
|
# @type BatchTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.BatchSubTaskResult`
|
|
21826
|
+
# @param ExtractBlindWatermarkTask: 数字水印提取任务信息,仅当 EventType 为 ExtractBlindWatermark,该字段有值。
|
|
21827
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
21828
|
+
# @type ExtractBlindWatermarkTask: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTask`
|
|
21798
21829
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21799
21830
|
# @type RequestId: String
|
|
21800
21831
|
|
|
21801
|
-
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :BatchTaskEvent, :RequestId
|
|
21832
|
+
attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :BatchTaskEvent, :ExtractBlindWatermarkTask, :RequestId
|
|
21802
21833
|
|
|
21803
|
-
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, batchtaskevent=nil, requestid=nil)
|
|
21834
|
+
def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, batchtaskevent=nil, extractblindwatermarktask=nil, requestid=nil)
|
|
21804
21835
|
@EventType = eventtype
|
|
21805
21836
|
@WorkflowTaskEvent = workflowtaskevent
|
|
21806
21837
|
@EditMediaTaskEvent = editmediataskevent
|
|
@@ -21810,6 +21841,7 @@ module TencentCloud
|
|
|
21810
21841
|
@Timestamp = timestamp
|
|
21811
21842
|
@Sign = sign
|
|
21812
21843
|
@BatchTaskEvent = batchtaskevent
|
|
21844
|
+
@ExtractBlindWatermarkTask = extractblindwatermarktask
|
|
21813
21845
|
@RequestId = requestid
|
|
21814
21846
|
end
|
|
21815
21847
|
|
|
@@ -21835,6 +21867,10 @@ module TencentCloud
|
|
|
21835
21867
|
@BatchTaskEvent = BatchSubTaskResult.new
|
|
21836
21868
|
@BatchTaskEvent.deserialize(params['BatchTaskEvent'])
|
|
21837
21869
|
end
|
|
21870
|
+
unless params['ExtractBlindWatermarkTask'].nil?
|
|
21871
|
+
@ExtractBlindWatermarkTask = ExtractBlindWatermarkTask.new
|
|
21872
|
+
@ExtractBlindWatermarkTask.deserialize(params['ExtractBlindWatermarkTask'])
|
|
21873
|
+
end
|
|
21838
21874
|
@RequestId = params['RequestId']
|
|
21839
21875
|
end
|
|
21840
21876
|
end
|
|
@@ -22362,16 +22398,22 @@ module TencentCloud
|
|
|
22362
22398
|
# <li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
22363
22399
|
# 如果不填,则默认为相对路径:{inputName}.{format}。
|
|
22364
22400
|
# @type OutputPath: String
|
|
22401
|
+
# @param Definition: 图片处理模板唯一标识。
|
|
22402
|
+
# @type Definition: Integer
|
|
22403
|
+
# @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
|
22404
|
+
# @type ResourceId: String
|
|
22365
22405
|
# @param ImageTask: 图片处理参数。
|
|
22366
22406
|
# @type ImageTask: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
|
|
22367
22407
|
|
|
22368
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :ImageTask
|
|
22408
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :Definition, :ResourceId, :ImageTask
|
|
22369
22409
|
|
|
22370
|
-
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, imagetask=nil)
|
|
22410
|
+
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, definition=nil, resourceid=nil, imagetask=nil)
|
|
22371
22411
|
@InputInfo = inputinfo
|
|
22372
22412
|
@OutputStorage = outputstorage
|
|
22373
22413
|
@OutputDir = outputdir
|
|
22374
22414
|
@OutputPath = outputpath
|
|
22415
|
+
@Definition = definition
|
|
22416
|
+
@ResourceId = resourceid
|
|
22375
22417
|
@ImageTask = imagetask
|
|
22376
22418
|
end
|
|
22377
22419
|
|
|
@@ -22386,6 +22428,8 @@ module TencentCloud
|
|
|
22386
22428
|
end
|
|
22387
22429
|
@OutputDir = params['OutputDir']
|
|
22388
22430
|
@OutputPath = params['OutputPath']
|
|
22431
|
+
@Definition = params['Definition']
|
|
22432
|
+
@ResourceId = params['ResourceId']
|
|
22389
22433
|
unless params['ImageTask'].nil?
|
|
22390
22434
|
@ImageTask = ImageTaskInput.new
|
|
22391
22435
|
@ImageTask.deserialize(params['ImageTask'])
|
|
@@ -27112,6 +27156,9 @@ module TencentCloud
|
|
|
27112
27156
|
# @type OverrideParameter: :class:`Tencentcloud::Mps.v20190612.models.OverrideTranscodeParameter`
|
|
27113
27157
|
# @param WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
|
|
27114
27158
|
# @type WatermarkSet: Array
|
|
27159
|
+
# @param BlindWatermark: 数字水印参数。
|
|
27160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27161
|
+
# @type BlindWatermark: :class:`Tencentcloud::Mps.v20190612.models.BlindWatermarkInput`
|
|
27115
27162
|
# @param MosaicSet: 马赛克列表,最大可支持 10 张。
|
|
27116
27163
|
# @type MosaicSet: Array
|
|
27117
27164
|
# @param StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
|
|
@@ -27145,13 +27192,14 @@ module TencentCloud
|
|
|
27145
27192
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27146
27193
|
# @type HeadTailParameter: :class:`Tencentcloud::Mps.v20190612.models.HeadTailParameter`
|
|
27147
27194
|
|
|
27148
|
-
attr_accessor :Definition, :RawParameter, :OverrideParameter, :WatermarkSet, :MosaicSet, :StartTimeOffset, :EndTimeOffset, :OutputStorage, :OutputObjectPath, :SegmentObjectName, :ObjectNumberFormat, :HeadTailParameter
|
|
27195
|
+
attr_accessor :Definition, :RawParameter, :OverrideParameter, :WatermarkSet, :BlindWatermark, :MosaicSet, :StartTimeOffset, :EndTimeOffset, :OutputStorage, :OutputObjectPath, :SegmentObjectName, :ObjectNumberFormat, :HeadTailParameter
|
|
27149
27196
|
|
|
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)
|
|
27197
|
+
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
27198
|
@Definition = definition
|
|
27152
27199
|
@RawParameter = rawparameter
|
|
27153
27200
|
@OverrideParameter = overrideparameter
|
|
27154
27201
|
@WatermarkSet = watermarkset
|
|
27202
|
+
@BlindWatermark = blindwatermark
|
|
27155
27203
|
@MosaicSet = mosaicset
|
|
27156
27204
|
@StartTimeOffset = starttimeoffset
|
|
27157
27205
|
@EndTimeOffset = endtimeoffset
|
|
@@ -27180,6 +27228,10 @@ module TencentCloud
|
|
|
27180
27228
|
@WatermarkSet << watermarkinput_tmp
|
|
27181
27229
|
end
|
|
27182
27230
|
end
|
|
27231
|
+
unless params['BlindWatermark'].nil?
|
|
27232
|
+
@BlindWatermark = BlindWatermarkInput.new
|
|
27233
|
+
@BlindWatermark.deserialize(params['BlindWatermark'])
|
|
27234
|
+
end
|
|
27183
27235
|
unless params['MosaicSet'].nil?
|
|
27184
27236
|
@MosaicSet = []
|
|
27185
27237
|
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.1172
|
|
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-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/tencentcloud-sdk-mps.rb
|
|
36
37
|
- lib/v20190612/client.rb
|
|
37
38
|
- lib/v20190612/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-mps.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|