tencentcloud-sdk-mps 3.0.638 → 3.0.640

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +59 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 900174d434712e120bb40f987742011c1e9329c5
4
- data.tar.gz: 158f157c8e4f609ccb614539889c8f4faf8c5baa
3
+ metadata.gz: 853cdb6d8a79c8eeb65df7fec765f6dbcffec749
4
+ data.tar.gz: 8c998bbac9122b1ee22af2810da54ccc62077a3a
5
5
  SHA512:
6
- metadata.gz: 892e8164d386f1d330fd9cd773ffd328c0c91ef3a6265e62394f1f839d211775aa3595998f7a403dd73f57905c7e01324c716ad121942f790673243fb260a69e
7
- data.tar.gz: 13bdd0c73afc6224d6e7f1a45a5a15c7d4287b2780e68e1bfbd626e3f958bff5896d90d1229c8483960dc0e900bfa6bde5ba970973159b5a000b90ba434870c8
6
+ metadata.gz: cd2de165a2f52d8eaa298d1cf8bb47d4e5f2809b6a262d64778bc5d05436ba3a6d91e64b34c49c321ee164082ed9e50c594fd3e7728943df9fdf60debb6569c1
7
+ data.tar.gz: bddd49b72d13bd8382d696d705f12d2adb85cae201c40c0baa1934a0cf6c31981e4bada9884a84650df5bfdc459c7e0a786b18621e9e83bde2386ed832da74e9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.638
1
+ 3.0.640
@@ -467,16 +467,20 @@ module TencentCloud
467
467
  # @type SubStreamObjectName: String
468
468
  # @param SegmentObjectName: 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。
469
469
  # @type SegmentObjectName: String
470
+ # @param AddOnSubtitles: 要插入的字幕文件。
471
+ # 注意:此字段可能返回 null,表示取不到有效值。
472
+ # @type AddOnSubtitles: Array
470
473
 
471
- attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName
474
+ attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles
472
475
 
473
- def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil)
476
+ def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil)
474
477
  @Definition = definition
475
478
  @WatermarkSet = watermarkset
476
479
  @OutputStorage = outputstorage
477
480
  @OutputObjectPath = outputobjectpath
478
481
  @SubStreamObjectName = substreamobjectname
479
482
  @SegmentObjectName = segmentobjectname
483
+ @AddOnSubtitles = addonsubtitles
480
484
  end
481
485
 
482
486
  def deserialize(params)
@@ -496,6 +500,14 @@ module TencentCloud
496
500
  @OutputObjectPath = params['OutputObjectPath']
497
501
  @SubStreamObjectName = params['SubStreamObjectName']
498
502
  @SegmentObjectName = params['SegmentObjectName']
503
+ unless params['AddOnSubtitles'].nil?
504
+ @AddOnSubtitles = []
505
+ params['AddOnSubtitles'].each do |i|
506
+ addonsubtitle_tmp = AddOnSubtitle.new
507
+ addonsubtitle_tmp.deserialize(i)
508
+ @AddOnSubtitles << addonsubtitle_tmp
509
+ end
510
+ end
499
511
  end
500
512
  end
501
513
 
@@ -604,6 +616,33 @@ module TencentCloud
604
616
  end
605
617
  end
606
618
 
619
+ # 外挂字幕。
620
+ class AddOnSubtitle < TencentCloud::Common::AbstractModel
621
+ # @param Type: 插入形式,可选值:
622
+ # <li>subtitle-stream:插入字幕轨道</li>
623
+ # <li>close-caption:编码到SEI帧</li>
624
+ # 注意:此字段可能返回 null,表示取不到有效值。
625
+ # @type Type: String
626
+ # @param Subtitle: 字幕文件。
627
+ # 注意:此字段可能返回 null,表示取不到有效值。
628
+ # @type Subtitle: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
629
+
630
+ attr_accessor :Type, :Subtitle
631
+
632
+ def initialize(type=nil, subtitle=nil)
633
+ @Type = type
634
+ @Subtitle = subtitle
635
+ end
636
+
637
+ def deserialize(params)
638
+ @Type = params['Type']
639
+ unless params['Subtitle'].nil?
640
+ @Subtitle = MediaInputInfo.new
641
+ @Subtitle.deserialize(params['Subtitle'])
642
+ end
643
+ end
644
+ end
645
+
607
646
  # 智能分析结果
608
647
  class AiAnalysisResult < TencentCloud::Common::AbstractModel
609
648
  # @param Type: 任务的类型,可以取的值有:
@@ -14353,10 +14392,13 @@ module TencentCloud
14353
14392
  # @param StdExtInfo: 转码扩展字段。
14354
14393
  # 注意:此字段可能返回 null,表示取不到有效值。
14355
14394
  # @type StdExtInfo: String
14395
+ # @param AddOnSubtitles: 要插入的字幕文件。
14396
+ # 注意:此字段可能返回 null,表示取不到有效值。
14397
+ # @type AddOnSubtitles: Array
14356
14398
 
14357
- attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SubtitleTemplate, :AddonAudioStream, :StdExtInfo
14399
+ attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SubtitleTemplate, :AddonAudioStream, :StdExtInfo, :AddOnSubtitles
14358
14400
 
14359
- def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, subtitletemplate=nil, addonaudiostream=nil, stdextinfo=nil)
14401
+ def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, subtitletemplate=nil, addonaudiostream=nil, stdextinfo=nil, addonsubtitles=nil)
14360
14402
  @Container = container
14361
14403
  @RemoveVideo = removevideo
14362
14404
  @RemoveAudio = removeaudio
@@ -14366,6 +14408,7 @@ module TencentCloud
14366
14408
  @SubtitleTemplate = subtitletemplate
14367
14409
  @AddonAudioStream = addonaudiostream
14368
14410
  @StdExtInfo = stdextinfo
14411
+ @AddOnSubtitles = addonsubtitles
14369
14412
  end
14370
14413
 
14371
14414
  def deserialize(params)
@@ -14397,6 +14440,14 @@ module TencentCloud
14397
14440
  end
14398
14441
  end
14399
14442
  @StdExtInfo = params['StdExtInfo']
14443
+ unless params['AddOnSubtitles'].nil?
14444
+ @AddOnSubtitles = []
14445
+ params['AddOnSubtitles'].each do |i|
14446
+ addonsubtitle_tmp = AddOnSubtitle.new
14447
+ addonsubtitle_tmp.deserialize(i)
14448
+ @AddOnSubtitles << addonsubtitle_tmp
14449
+ end
14450
+ end
14400
14451
  end
14401
14452
  end
14402
14453
 
@@ -15965,12 +16016,16 @@ module TencentCloud
15965
16016
  # AWS S3 输出位置
15966
16017
  class S3OutputStorage < TencentCloud::Common::AbstractModel
15967
16018
  # @param S3Bucket: S3 bucket。
16019
+ # 注意:此字段可能返回 null,表示取不到有效值。
15968
16020
  # @type S3Bucket: String
15969
16021
  # @param S3Region: S3 bucket 对应的区域。
16022
+ # 注意:此字段可能返回 null,表示取不到有效值。
15970
16023
  # @type S3Region: String
15971
16024
  # @param S3SecretId: AWS 内网上传 媒体资源的秘钥id。
16025
+ # 注意:此字段可能返回 null,表示取不到有效值。
15972
16026
  # @type S3SecretId: String
15973
16027
  # @param S3SecretKey: AWS 内网上传 媒体资源的秘钥key。
16028
+ # 注意:此字段可能返回 null,表示取不到有效值。
15974
16029
  # @type S3SecretKey: String
15975
16030
 
15976
16031
  attr_accessor :S3Bucket, :S3Region, :S3SecretId, :S3SecretKey
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.638
4
+ version: 3.0.640
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-17 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common