tencentcloud-sdk-mps 3.0.1207 → 3.0.1210
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 +80 -31
- 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: c3bb4358880b6224251fa9a5e4d3a778cc21f9b2
|
|
4
|
+
data.tar.gz: 6ccdde1976ea4267610fe7de24d1c5aebd7bd523
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efe6869e4ca1c67b3b71a69d7070e498be252e351ff8d32f58ae68d1662de7366e2c650e32389f1cc729ea48e0c862eefb73f73f0dcf2ad0801568ab35babcec
|
|
7
|
+
data.tar.gz: ad756e64d1113c70e8a28d3b19b0b7a2e13cd8d774e21e20c23b66f278acf3424f4dab98ed8f2ef7e98283f623aae2adb2a20edb7997d3e4a06a3176055d705e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1210
|
data/lib/v20190612/models.rb
CHANGED
|
@@ -9111,13 +9111,16 @@ module TencentCloud
|
|
|
9111
9111
|
# @type Name: String
|
|
9112
9112
|
# @param Comment: 图片处理模板描述信息,长度限制:256个字符。
|
|
9113
9113
|
# @type Comment: String
|
|
9114
|
+
# @param StdExtInfo: 图片处理模板拓展参数。
|
|
9115
|
+
# @type StdExtInfo: String
|
|
9114
9116
|
|
|
9115
|
-
attr_accessor :ProcessImageTemplate, :Name, :Comment
|
|
9117
|
+
attr_accessor :ProcessImageTemplate, :Name, :Comment, :StdExtInfo
|
|
9116
9118
|
|
|
9117
|
-
def initialize(processimagetemplate=nil, name=nil, comment=nil)
|
|
9119
|
+
def initialize(processimagetemplate=nil, name=nil, comment=nil, stdextinfo=nil)
|
|
9118
9120
|
@ProcessImageTemplate = processimagetemplate
|
|
9119
9121
|
@Name = name
|
|
9120
9122
|
@Comment = comment
|
|
9123
|
+
@StdExtInfo = stdextinfo
|
|
9121
9124
|
end
|
|
9122
9125
|
|
|
9123
9126
|
def deserialize(params)
|
|
@@ -9127,6 +9130,7 @@ module TencentCloud
|
|
|
9127
9130
|
end
|
|
9128
9131
|
@Name = params['Name']
|
|
9129
9132
|
@Comment = params['Comment']
|
|
9133
|
+
@StdExtInfo = params['StdExtInfo']
|
|
9130
9134
|
end
|
|
9131
9135
|
end
|
|
9132
9136
|
|
|
@@ -27113,16 +27117,19 @@ module TencentCloud
|
|
|
27113
27117
|
# @param Output: 媒体质检任务的输出。
|
|
27114
27118
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27115
27119
|
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.QualityControlData`
|
|
27120
|
+
# @param Progress: 任务执行进度。
|
|
27121
|
+
# @type Progress: Integer
|
|
27116
27122
|
|
|
27117
|
-
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
|
|
27123
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
|
|
27118
27124
|
|
|
27119
|
-
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
|
|
27125
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
|
|
27120
27126
|
@Status = status
|
|
27121
27127
|
@ErrCodeExt = errcodeext
|
|
27122
27128
|
@ErrCode = errcode
|
|
27123
27129
|
@Message = message
|
|
27124
27130
|
@Input = input
|
|
27125
27131
|
@Output = output
|
|
27132
|
+
@Progress = progress
|
|
27126
27133
|
end
|
|
27127
27134
|
|
|
27128
27135
|
def deserialize(params)
|
|
@@ -27138,6 +27145,7 @@ module TencentCloud
|
|
|
27138
27145
|
@Output = QualityControlData.new
|
|
27139
27146
|
@Output.deserialize(params['Output'])
|
|
27140
27147
|
end
|
|
27148
|
+
@Progress = params['Progress']
|
|
27141
27149
|
end
|
|
27142
27150
|
end
|
|
27143
27151
|
|
|
@@ -29225,6 +29233,8 @@ module TencentCloud
|
|
|
29225
29233
|
# @param SubtitleFileInput: 要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
|
|
29226
29234
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29227
29235
|
# @type SubtitleFileInput: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
|
29236
|
+
# @param FontFileInput: 压制字幕字体文件的输入信息,目前仅支持url和cos。都填时url优先于cos。填了FontFileInput时FontFileInput优先于FontType
|
|
29237
|
+
# @type FontFileInput: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
|
29228
29238
|
# @param FontType: 字体类型,支持:
|
|
29229
29239
|
# <li>hei.ttf:黑体</li>
|
|
29230
29240
|
# <li>song.ttf:宋体</li>
|
|
@@ -29243,11 +29253,20 @@ module TencentCloud
|
|
|
29243
29253
|
# <li>korean.ttf:韩语</li>
|
|
29244
29254
|
# <li>japanese.ttf:日语</li>
|
|
29245
29255
|
# <li>thai.ttf:泰语</li>
|
|
29246
|
-
# 默认:hei.ttf
|
|
29256
|
+
# 默认:hei.ttf 黑体。
|
|
29257
|
+
# <br>注意:
|
|
29258
|
+
# <li>楷体推荐使用kai.ttf</li>
|
|
29259
|
+
# <li>填了FontFileInput时FontFileInput优先</li>
|
|
29260
|
+
|
|
29247
29261
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29248
29262
|
# @type FontType: String
|
|
29249
|
-
# @param FontSize:
|
|
29250
|
-
|
|
29263
|
+
# @param FontSize: 字体大小,不指定则以字幕文件中为准。支持像素和百分比格式:
|
|
29264
|
+
|
|
29265
|
+
# - 像素:Npx,N范围:(0,4096]。
|
|
29266
|
+
# - 百分百:N%,N范围:(0,100];例如10%表示字幕字体大小=10%*源视频高度。
|
|
29267
|
+
|
|
29268
|
+
# 不填且字幕文件无设置时,默认源视频高度的5%。
|
|
29269
|
+
|
|
29251
29270
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29252
29271
|
# @type FontSize: String
|
|
29253
29272
|
# @param FontColor: 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
|
|
@@ -29281,13 +29300,18 @@ module TencentCloud
|
|
|
29281
29300
|
|
|
29282
29301
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29283
29302
|
# @type BoardY: String
|
|
29284
|
-
# @param BoardWidth:
|
|
29285
|
-
#
|
|
29303
|
+
# @param BoardWidth: 底板的宽度,正整数。
|
|
29304
|
+
# - 代表像素时,取值范围:[0,4096]。
|
|
29305
|
+
# - 代表百分数时,[0, 100]。
|
|
29306
|
+
# 开启底板且不填此值时,默认源视频宽像素的90%。
|
|
29286
29307
|
|
|
29287
29308
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29288
29309
|
# @type BoardWidth: Integer
|
|
29289
|
-
# @param BoardHeight:
|
|
29290
|
-
#
|
|
29310
|
+
# @param BoardHeight: 底板的高度,正整数。
|
|
29311
|
+
# - 代表像素时,取值范围:[0,4096]。
|
|
29312
|
+
# - 代表百分数时,[0, 100]。
|
|
29313
|
+
# 开启底板且不填此值时,默认为源视频高像素的15%。
|
|
29314
|
+
|
|
29291
29315
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29292
29316
|
# @type BoardHeight: Integer
|
|
29293
29317
|
# @param BoardColor: 底板颜色。格式:0xRRGGBB,
|
|
@@ -29300,37 +29324,48 @@ module TencentCloud
|
|
|
29300
29324
|
# 默认值:0.8。
|
|
29301
29325
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29302
29326
|
# @type BoardAlpha: Float
|
|
29303
|
-
# @param OutlineWidth:
|
|
29304
|
-
#
|
|
29327
|
+
# @param OutlineWidth: 描边宽度。浮点数。
|
|
29328
|
+
# - 代表像素值时, [0, 1000]。
|
|
29329
|
+
# - 代表百分数时,[0, 100]。
|
|
29330
|
+
# 不填默认源视频高度的0.3%。
|
|
29305
29331
|
# @type OutlineWidth: Float
|
|
29306
|
-
# @param OutlineColor: 描边颜色。6位16进制RGB
|
|
29307
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29332
|
+
# @param OutlineColor: 描边颜色。6位16进制RGB。不填默认黑色。
|
|
29308
29333
|
# @type OutlineColor: String
|
|
29309
|
-
# @param OutlineAlpha: 描边透明度。(0,1]
|
|
29310
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29334
|
+
# @param OutlineAlpha: 描边透明度。(0,1] 正浮点数。不填默认1,完全不透明
|
|
29311
29335
|
# @type OutlineAlpha: Float
|
|
29312
|
-
# @param ShadowWidth:
|
|
29313
|
-
#
|
|
29336
|
+
# @param ShadowWidth: 阴影宽度。浮点数。
|
|
29337
|
+
# - 代表像素值时, [0, 1000]。
|
|
29338
|
+
# - 代表百分数时,[0, 100]。
|
|
29339
|
+
# 不填默认无阴影。
|
|
29314
29340
|
# @type ShadowWidth: Float
|
|
29315
|
-
# @param ShadowColor: 阴影颜色。6位16进制RGB
|
|
29316
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29341
|
+
# @param ShadowColor: 阴影颜色。6位16进制RGB。不填默认黑色(有设置阴影的情况下)
|
|
29317
29342
|
# @type ShadowColor: String
|
|
29318
|
-
# @param ShadowAlpha: 阴影透明度。(0,1]
|
|
29319
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29343
|
+
# @param ShadowAlpha: 阴影透明度。(0,1] 正浮点数。不填默认1,完全不透明(有设置阴影的情况下)
|
|
29320
29344
|
# @type ShadowAlpha: Float
|
|
29321
|
-
# @param LineSpacing:
|
|
29322
|
-
#
|
|
29345
|
+
# @param LineSpacing: 行间距。正整数。
|
|
29346
|
+
# - 代表像素值时, [0, 1000]。
|
|
29347
|
+
# - 代表百分数时,[0, 100]。不填默认0。
|
|
29323
29348
|
# @type LineSpacing: Integer
|
|
29324
|
-
# @param Alignment:
|
|
29325
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
29349
|
+
# @param Alignment: 对齐方式,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。不填默认底部对齐。
|
|
29326
29350
|
# @type Alignment: String
|
|
29327
|
-
|
|
29328
|
-
|
|
29329
|
-
|
|
29330
|
-
|
|
29351
|
+
# @param BoardWidthUnit: 默认0。为1时BoardWidth代表百分之几,以视频宽为基准
|
|
29352
|
+
# @type BoardWidthUnit: Integer
|
|
29353
|
+
# @param BoardHeightUnit: 默认0。为1时BoardHeight代表百分之几,以视频高为基准
|
|
29354
|
+
# @type BoardHeightUnit: Integer
|
|
29355
|
+
# @param OutlineWidthUnit: 默认0。为1时OutlineWidth代表百分之几,以视频高为基准
|
|
29356
|
+
# @type OutlineWidthUnit: Integer
|
|
29357
|
+
# @param ShadowWidthUnit: 默认0。为1时ShadowWidth代表百分之几,以视频高为基准
|
|
29358
|
+
# @type ShadowWidthUnit: Integer
|
|
29359
|
+
# @param LineSpacingUnit: 默认0。为1时LineSpacing代表百分之几,以视频高为基准
|
|
29360
|
+
# @type LineSpacingUnit: Integer
|
|
29361
|
+
|
|
29362
|
+
attr_accessor :Path, :StreamIndex, :SubtitleFileInput, :FontFileInput, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha, :OutlineWidth, :OutlineColor, :OutlineAlpha, :ShadowWidth, :ShadowColor, :ShadowAlpha, :LineSpacing, :Alignment, :BoardWidthUnit, :BoardHeightUnit, :OutlineWidthUnit, :ShadowWidthUnit, :LineSpacingUnit
|
|
29363
|
+
|
|
29364
|
+
def initialize(path=nil, streamindex=nil, subtitlefileinput=nil, fontfileinput=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, ypos=nil, boardy=nil, boardwidth=nil, boardheight=nil, boardcolor=nil, boardalpha=nil, outlinewidth=nil, outlinecolor=nil, outlinealpha=nil, shadowwidth=nil, shadowcolor=nil, shadowalpha=nil, linespacing=nil, alignment=nil, boardwidthunit=nil, boardheightunit=nil, outlinewidthunit=nil, shadowwidthunit=nil, linespacingunit=nil)
|
|
29331
29365
|
@Path = path
|
|
29332
29366
|
@StreamIndex = streamindex
|
|
29333
29367
|
@SubtitleFileInput = subtitlefileinput
|
|
29368
|
+
@FontFileInput = fontfileinput
|
|
29334
29369
|
@FontType = fonttype
|
|
29335
29370
|
@FontSize = fontsize
|
|
29336
29371
|
@FontColor = fontcolor
|
|
@@ -29349,6 +29384,11 @@ module TencentCloud
|
|
|
29349
29384
|
@ShadowAlpha = shadowalpha
|
|
29350
29385
|
@LineSpacing = linespacing
|
|
29351
29386
|
@Alignment = alignment
|
|
29387
|
+
@BoardWidthUnit = boardwidthunit
|
|
29388
|
+
@BoardHeightUnit = boardheightunit
|
|
29389
|
+
@OutlineWidthUnit = outlinewidthunit
|
|
29390
|
+
@ShadowWidthUnit = shadowwidthunit
|
|
29391
|
+
@LineSpacingUnit = linespacingunit
|
|
29352
29392
|
end
|
|
29353
29393
|
|
|
29354
29394
|
def deserialize(params)
|
|
@@ -29358,6 +29398,10 @@ module TencentCloud
|
|
|
29358
29398
|
@SubtitleFileInput = MediaInputInfo.new
|
|
29359
29399
|
@SubtitleFileInput.deserialize(params['SubtitleFileInput'])
|
|
29360
29400
|
end
|
|
29401
|
+
unless params['FontFileInput'].nil?
|
|
29402
|
+
@FontFileInput = MediaInputInfo.new
|
|
29403
|
+
@FontFileInput.deserialize(params['FontFileInput'])
|
|
29404
|
+
end
|
|
29361
29405
|
@FontType = params['FontType']
|
|
29362
29406
|
@FontSize = params['FontSize']
|
|
29363
29407
|
@FontColor = params['FontColor']
|
|
@@ -29376,6 +29420,11 @@ module TencentCloud
|
|
|
29376
29420
|
@ShadowAlpha = params['ShadowAlpha']
|
|
29377
29421
|
@LineSpacing = params['LineSpacing']
|
|
29378
29422
|
@Alignment = params['Alignment']
|
|
29423
|
+
@BoardWidthUnit = params['BoardWidthUnit']
|
|
29424
|
+
@BoardHeightUnit = params['BoardHeightUnit']
|
|
29425
|
+
@OutlineWidthUnit = params['OutlineWidthUnit']
|
|
29426
|
+
@ShadowWidthUnit = params['ShadowWidthUnit']
|
|
29427
|
+
@LineSpacingUnit = params['LineSpacingUnit']
|
|
29379
29428
|
end
|
|
29380
29429
|
end
|
|
29381
29430
|
|
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.1210
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|