tencentcloud-sdk-mps 3.0.637 → 3.0.639

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: a662811862e58f9e71ea549fdd3993da8fe9e15a
4
- data.tar.gz: f54ae9d9fc1be4d9d8a7fbc1fa14fa403e6d051b
3
+ metadata.gz: fa52f17c968aeb064bb09d80de426ee6e5ca82d2
4
+ data.tar.gz: 6b6ef0e24b11fd4618f51c0e07bd71aef3427bdc
5
5
  SHA512:
6
- metadata.gz: d02b0fe7dc9d135eab5015a0c5a1587c9572ff5248a2f3c259fa10ab8707288afd7821978c6cbcee28cfcf91148c7650238701e76e78d09dc91328fb81377b4e
7
- data.tar.gz: cdaedab666f644958e243dae71bf9a4a91dbdae299eeae0c7a4dbdb48eee9602aa733bac9c59979d9bc09d71874fed6767059c6dc93ed0d6fb877acbeb976254
6
+ metadata.gz: 39b2aba72fe4ccc1a91ffd2220e9cae83f3eb4e4b16a90b940606dd9f7859d92fe4312eecc509643a83b14af558d2d9f23ec757e21e98f34699538147b61103a
7
+ data.tar.gz: c5e7c4fbaedaba09b84f867281b4005c09e359571eb6be34cf71cade56944ef425ca91469af218c6b102202198987565f8b305452f5b6d536f09750fd3286fe0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.637
1
+ 3.0.639
@@ -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.637
4
+ version: 3.0.639
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-16 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common