tencentcloud-sdk-mps 3.0.1125 → 3.0.1127

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 +60 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7560f7e79769067717e0a352dbe92f498bfa6659
4
- data.tar.gz: 67a1cb393dc826c4be020fde6106402bcf23897d
3
+ metadata.gz: 809f44d6d1d72888d9a4ac4826a7c05159f1142a
4
+ data.tar.gz: 87e029f75b2a2443a003802078ba20e88840dd1e
5
5
  SHA512:
6
- metadata.gz: 55d5b5beae8b621a06f91c5868c02a7ec9546cebb7597a87f8cc4b2c04859b8ccfd40c0cfe5e12e71c377ebb6a7aee3326d457e423b45722085ae7b60c7eaf10
7
- data.tar.gz: a22b8b5c7a9c8cb27a22397f14783bf3c9b448b9930e2e1ffe191f1865607e0969a75c76d390563edf3d259754c99aaf114eed48d0327dc16324995d458e97c0
6
+ metadata.gz: fbb4557760fa5c35e19e925e636599f0e25777a0ef22a59e6ec16139ac7c24308f6cd50dbff836e1a73fb7d16da9389bfa4b7e30e7bc44754a59991b3a69afd9
7
+ data.tar.gz: 860a0551fbb4426c0e8fed485baa4d4f8fc68e84d21911858009ffd5d6c43c5d665ec349c0b6bd72e2ef9e683d21b201a770fa0b094916bc659d188f8466962a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1125
1
+ 3.0.1127
@@ -22066,10 +22066,13 @@ module TencentCloud
22066
22066
  # @param EnhanceConfig: 音视频增强配置
22067
22067
  # 注意:此字段可能返回 null,表示取不到有效值。
22068
22068
  # @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
22069
+ # @param SubtitleTemplate: 字幕参数
22070
+ # 注意:此字段可能返回 null,表示取不到有效值。
22071
+ # @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
22069
22072
 
22070
- attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :StdExtInfo, :EnhanceConfig
22073
+ attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :StdExtInfo, :EnhanceConfig, :SubtitleTemplate
22071
22074
 
22072
- def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, stdextinfo=nil, enhanceconfig=nil)
22075
+ def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, stdextinfo=nil, enhanceconfig=nil, subtitletemplate=nil)
22073
22076
  @Container = container
22074
22077
  @RemoveVideo = removevideo
22075
22078
  @RemoveAudio = removeaudio
@@ -22078,6 +22081,7 @@ module TencentCloud
22078
22081
  @TEHDConfig = tehdconfig
22079
22082
  @StdExtInfo = stdextinfo
22080
22083
  @EnhanceConfig = enhanceconfig
22084
+ @SubtitleTemplate = subtitletemplate
22081
22085
  end
22082
22086
 
22083
22087
  def deserialize(params)
@@ -22101,6 +22105,10 @@ module TencentCloud
22101
22105
  @EnhanceConfig = EnhanceConfig.new
22102
22106
  @EnhanceConfig.deserialize(params['EnhanceConfig'])
22103
22107
  end
22108
+ unless params['SubtitleTemplate'].nil?
22109
+ @SubtitleTemplate = SubtitleTemplate.new
22110
+ @SubtitleTemplate.deserialize(params['SubtitleTemplate'])
22111
+ end
22104
22112
  end
22105
22113
  end
22106
22114
 
@@ -24293,6 +24301,9 @@ module TencentCloud
24293
24301
 
24294
24302
  # 注意:此字段可能返回 null,表示取不到有效值。
24295
24303
  # @type StreamIndex: Integer
24304
+ # @param SubtitleFileInput: 要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
24305
+ # 注意:此字段可能返回 null,表示取不到有效值。
24306
+ # @type SubtitleFileInput: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
24296
24307
  # @param FontType: 字体类型,支持:
24297
24308
  # <li>hei.ttf:黑体</li>
24298
24309
  # <li>song.ttf:宋体</li>
@@ -24368,12 +24379,37 @@ module TencentCloud
24368
24379
  # 默认值:0.8。
24369
24380
  # 注意:此字段可能返回 null,表示取不到有效值。
24370
24381
  # @type BoardAlpha: Float
24382
+ # @param OutlineWidth: 描边宽度
24383
+ # 注意:此字段可能返回 null,表示取不到有效值。
24384
+ # @type OutlineWidth: Float
24385
+ # @param OutlineColor: 描边颜色。6位16进制RGB
24386
+ # 注意:此字段可能返回 null,表示取不到有效值。
24387
+ # @type OutlineColor: String
24388
+ # @param OutlineAlpha: 描边透明度。(0,1] 正浮点数
24389
+ # 注意:此字段可能返回 null,表示取不到有效值。
24390
+ # @type OutlineAlpha: Float
24391
+ # @param ShadowWidth: 阴影宽度。浮点数 [0, 1000]
24392
+ # 注意:此字段可能返回 null,表示取不到有效值。
24393
+ # @type ShadowWidth: Float
24394
+ # @param ShadowColor: 阴影颜色。6位16进制RGB
24395
+ # 注意:此字段可能返回 null,表示取不到有效值。
24396
+ # @type ShadowColor: String
24397
+ # @param ShadowAlpha: 阴影透明度。(0,1] 正浮点数
24398
+ # 注意:此字段可能返回 null,表示取不到有效值。
24399
+ # @type ShadowAlpha: Float
24400
+ # @param LineSpacing: 行间距。正整数 [0, 1000]
24401
+ # 注意:此字段可能返回 null,表示取不到有效值。
24402
+ # @type LineSpacing: Integer
24403
+ # @param Alignment: 对齐方式,,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。
24404
+ # 注意:此字段可能返回 null,表示取不到有效值。
24405
+ # @type Alignment: String
24371
24406
 
24372
- attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha
24407
+ attr_accessor :Path, :StreamIndex, :SubtitleFileInput, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha, :OutlineWidth, :OutlineColor, :OutlineAlpha, :ShadowWidth, :ShadowColor, :ShadowAlpha, :LineSpacing, :Alignment
24373
24408
 
24374
- def initialize(path=nil, streamindex=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, ypos=nil, boardy=nil, boardwidth=nil, boardheight=nil, boardcolor=nil, boardalpha=nil)
24409
+ def initialize(path=nil, streamindex=nil, subtitlefileinput=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)
24375
24410
  @Path = path
24376
24411
  @StreamIndex = streamindex
24412
+ @SubtitleFileInput = subtitlefileinput
24377
24413
  @FontType = fonttype
24378
24414
  @FontSize = fontsize
24379
24415
  @FontColor = fontcolor
@@ -24384,11 +24420,23 @@ module TencentCloud
24384
24420
  @BoardHeight = boardheight
24385
24421
  @BoardColor = boardcolor
24386
24422
  @BoardAlpha = boardalpha
24423
+ @OutlineWidth = outlinewidth
24424
+ @OutlineColor = outlinecolor
24425
+ @OutlineAlpha = outlinealpha
24426
+ @ShadowWidth = shadowwidth
24427
+ @ShadowColor = shadowcolor
24428
+ @ShadowAlpha = shadowalpha
24429
+ @LineSpacing = linespacing
24430
+ @Alignment = alignment
24387
24431
  end
24388
24432
 
24389
24433
  def deserialize(params)
24390
24434
  @Path = params['Path']
24391
24435
  @StreamIndex = params['StreamIndex']
24436
+ unless params['SubtitleFileInput'].nil?
24437
+ @SubtitleFileInput = MediaInputInfo.new
24438
+ @SubtitleFileInput.deserialize(params['SubtitleFileInput'])
24439
+ end
24392
24440
  @FontType = params['FontType']
24393
24441
  @FontSize = params['FontSize']
24394
24442
  @FontColor = params['FontColor']
@@ -24399,6 +24447,14 @@ module TencentCloud
24399
24447
  @BoardHeight = params['BoardHeight']
24400
24448
  @BoardColor = params['BoardColor']
24401
24449
  @BoardAlpha = params['BoardAlpha']
24450
+ @OutlineWidth = params['OutlineWidth']
24451
+ @OutlineColor = params['OutlineColor']
24452
+ @OutlineAlpha = params['OutlineAlpha']
24453
+ @ShadowWidth = params['ShadowWidth']
24454
+ @ShadowColor = params['ShadowColor']
24455
+ @ShadowAlpha = params['ShadowAlpha']
24456
+ @LineSpacing = params['LineSpacing']
24457
+ @Alignment = params['Alignment']
24402
24458
  end
24403
24459
  end
24404
24460
 
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.1125
4
+ version: 3.0.1127
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-08-18 00:00:00.000000000 Z
11
+ date: 2025-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common