tencentcloud-sdk-mps 3.0.1161 → 3.0.1166

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 +49 -27
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e014e7f6853ead0564b6621e8b9f5dc1631b72e
4
- data.tar.gz: 9284dd268d7719fef51316d451a8cdd289069c52
3
+ metadata.gz: 1b95857501bb3c49b4ad0d2dcbeea645c9a1b22d
4
+ data.tar.gz: f61b6a8b99b54fbeaeeb59873cfedae210e65e01
5
5
  SHA512:
6
- metadata.gz: 44b9402b326abfaf06777b375a79710d30e5b36d4ed031ae0b9d4cde995e628a7064082f2ec11a64bbf180b11a1e68add370c97db49842444531c17bf393bc32
7
- data.tar.gz: 5eed151bc5f4907689fc036c33b0dd89ebe9abfd919c412092ec6af9d1866b1ad50870404b8588897c8cb7c11446a37490327f0d9d28982ebcd4cb49a537c222
6
+ metadata.gz: 3e44001955f935bc3c9180c6477f080dc0860eb096d8b19b982717e71239aee8e6a2c7e10e7fc228fdc3765c6f996151c350aad864f36bb8e15636ed08cd2ef4
7
+ data.tar.gz: 248c6311c7e8f6249ecdfeb65ee494c3fa502252de784137af841d90e0d26c6152171be850b0563be7743d6c5f8b1c796a8afb51acc32510b49eda59f36e3246
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1161
1
+ 3.0.1166
@@ -568,10 +568,13 @@ module TencentCloud
568
568
  # @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
569
569
  # @param StdExtInfo: 转码参数扩展字段
570
570
  # @type StdExtInfo: String
571
+ # @param KeyPTSList: 指定pts时间的帧设为关键帧,并切片。单位毫秒(允许相对偏差<=1ms)。当同时指定gop和切片时长时,会共同作用。注意需开启RawPts,保持帧率随源,并确保传入的pts时间在源中是有对应帧的。
572
+ # 注意:此字段可能返回 null,表示取不到有效值。
573
+ # @type KeyPTSList: Array
571
574
 
572
- attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo
575
+ attr_accessor :Definition, :WatermarkSet, :OutputStorage, :OutputObjectPath, :SubStreamObjectName, :SegmentObjectName, :AddOnSubtitles, :DrmInfo, :DefinitionType, :SubtitleTemplate, :StdExtInfo, :KeyPTSList
573
576
 
574
- def initialize(definition=nil, watermarkset=nil, outputstorage=nil, outputobjectpath=nil, substreamobjectname=nil, segmentobjectname=nil, addonsubtitles=nil, drminfo=nil, definitiontype=nil, subtitletemplate=nil, stdextinfo=nil)
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)
575
578
  @Definition = definition
576
579
  @WatermarkSet = watermarkset
577
580
  @OutputStorage = outputstorage
@@ -583,6 +586,7 @@ module TencentCloud
583
586
  @DefinitionType = definitiontype
584
587
  @SubtitleTemplate = subtitletemplate
585
588
  @StdExtInfo = stdextinfo
589
+ @KeyPTSList = keyptslist
586
590
  end
587
591
 
588
592
  def deserialize(params)
@@ -620,6 +624,7 @@ module TencentCloud
620
624
  @SubtitleTemplate.deserialize(params['SubtitleTemplate'])
621
625
  end
622
626
  @StdExtInfo = params['StdExtInfo']
627
+ @KeyPTSList = params['KeyPTSList']
623
628
  end
624
629
  end
625
630
 
@@ -2492,8 +2497,8 @@ module TencentCloud
2492
2497
 
2493
2498
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
2494
2499
  extend Gem::Deprecate
2495
- deprecate :OutputStorage, :none, 2025, 10
2496
- deprecate :OutputStorage=, :none, 2025, 10
2500
+ deprecate :OutputStorage, :none, 2025, 11
2501
+ deprecate :OutputStorage=, :none, 2025, 11
2497
2502
 
2498
2503
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
2499
2504
  @SegmentSet = segmentset
@@ -7152,8 +7157,8 @@ module TencentCloud
7152
7157
  # 注意:
7153
7158
  # 此值只是区分模板类型,任务使用RemoveAudio和RemoveVideo的值
7154
7159
  # @type PureAudio: Integer
7155
- # @param SegmentType: hls 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment
7156
- # 注:自适应码流的hls分片格式已此字段为准
7160
+ # @param SegmentType: 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment
7161
+ # 注:自适应码流的分片格式以此字段为准
7157
7162
  # @type SegmentType: String
7158
7163
 
7159
7164
  attr_accessor :Format, :StreamInfos, :Name, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment, :PureAudio, :SegmentType
@@ -7959,8 +7964,8 @@ module TencentCloud
7959
7964
 
7960
7965
  attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :OutputType, :OutputKind, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamSelector
7961
7966
  extend Gem::Deprecate
7962
- deprecate :PidSelector, :none, 2025, 10
7963
- deprecate :PidSelector=, :none, 2025, 10
7967
+ deprecate :PidSelector, :none, 2025, 11
7968
+ deprecate :PidSelector=, :none, 2025, 11
7964
7969
 
7965
7970
  def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil)
7966
7971
  @OutputName = outputname
@@ -8873,14 +8878,17 @@ module TencentCloud
8873
8878
  # @type InputGroup: Array
8874
8879
  # @param EventId: 该Flow关联的媒体传输事件ID,每个flow只能关联一个Event。
8875
8880
  # @type EventId: String
8881
+ # @param OutputGroup: 流的输出组。
8882
+ # @type OutputGroup: Array
8876
8883
 
8877
- attr_accessor :FlowName, :MaxBandwidth, :InputGroup, :EventId
8884
+ attr_accessor :FlowName, :MaxBandwidth, :InputGroup, :EventId, :OutputGroup
8878
8885
 
8879
- def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil, eventid=nil)
8886
+ def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil, eventid=nil, outputgroup=nil)
8880
8887
  @FlowName = flowname
8881
8888
  @MaxBandwidth = maxbandwidth
8882
8889
  @InputGroup = inputgroup
8883
8890
  @EventId = eventid
8891
+ @OutputGroup = outputgroup
8884
8892
  end
8885
8893
 
8886
8894
  def deserialize(params)
@@ -8895,6 +8903,14 @@ module TencentCloud
8895
8903
  end
8896
8904
  end
8897
8905
  @EventId = params['EventId']
8906
+ unless params['OutputGroup'].nil?
8907
+ @OutputGroup = []
8908
+ params['OutputGroup'].each do |i|
8909
+ createoutputinfo_tmp = CreateOutputInfo.new
8910
+ createoutputinfo_tmp.deserialize(i)
8911
+ @OutputGroup << createoutputinfo_tmp
8912
+ end
8913
+ end
8898
8914
  end
8899
8915
  end
8900
8916
 
@@ -11692,8 +11708,8 @@ module TencentCloud
11692
11708
 
11693
11709
  attr_accessor :OutputId, :OutputName, :OutputType, :OutputKind, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings, :HLSPullSettings, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamUrls, :StreamSelector
11694
11710
  extend Gem::Deprecate
11695
- deprecate :PidSelector, :none, 2025, 10
11696
- deprecate :PidSelector=, :none, 2025, 10
11711
+ deprecate :PidSelector, :none, 2025, 11
11712
+ deprecate :PidSelector=, :none, 2025, 11
11697
11713
 
11698
11714
  def initialize(outputid=nil, outputname=nil, outputtype=nil, outputkind=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil, hlspullsettings=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamurls=nil, streamselector=nil)
11699
11715
  @OutputId = outputid
@@ -14239,9 +14255,14 @@ module TencentCloud
14239
14255
  # 输出HLS:可以使用切片模式或singlefile模式
14240
14256
  # 输出DASH:只能singlefile模式
14241
14257
 
14242
- # - widevine+fairplay:
14258
+ # - widevine+fairplay,playready+fairplay,widevine+playready+fairplay:
14243
14259
  # 只能用于HLS,切片格式只能是mp4
14244
14260
  # 可以使用切片模式或singfile模式
14261
+
14262
+ # - widevine+playready:
14263
+ # 可用于HLS、MPEG-DASH,切片格式只能是mp4
14264
+ # HLS格式时,可以使用切片模式或singfile模式
14265
+ # MPEG-DASH时,只能使用singlefile模式
14245
14266
  # @type Type: String
14246
14267
  # @param SimpleAesDrm: SimpleAes 加密信息。
14247
14268
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -14749,8 +14770,8 @@ module TencentCloud
14749
14770
 
14750
14771
  attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
14751
14772
  extend Gem::Deprecate
14752
- deprecate :ContrastInfoSet, :none, 2025, 10
14753
- deprecate :ContrastInfoSet=, :none, 2025, 10
14773
+ deprecate :ContrastInfoSet, :none, 2025, 11
14774
+ deprecate :ContrastInfoSet=, :none, 2025, 11
14754
14775
 
14755
14776
  def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
14756
14777
  @TaskType = tasktype
@@ -16970,10 +16991,10 @@ module TencentCloud
16970
16991
 
16971
16992
  attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
16972
16993
  extend Gem::Deprecate
16973
- deprecate :QualityControlResults, :none, 2025, 10
16974
- deprecate :QualityControlResults=, :none, 2025, 10
16975
- deprecate :DiagnoseResults, :none, 2025, 10
16976
- deprecate :DiagnoseResults=, :none, 2025, 10
16994
+ deprecate :QualityControlResults, :none, 2025, 11
16995
+ deprecate :QualityControlResults=, :none, 2025, 11
16996
+ deprecate :DiagnoseResults, :none, 2025, 11
16997
+ deprecate :DiagnoseResults=, :none, 2025, 11
16977
16998
 
16978
16999
  def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
16979
17000
  @QualityControlResults = qualitycontrolresults
@@ -20086,8 +20107,8 @@ module TencentCloud
20086
20107
 
20087
20108
  attr_accessor :OutputId, :OutputName, :Description, :Protocol, :OutputKind, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :OutputType, :PidSelector, :StreamSelector
20088
20109
  extend Gem::Deprecate
20089
- deprecate :PidSelector, :none, 2025, 10
20090
- deprecate :PidSelector=, :none, 2025, 10
20110
+ deprecate :PidSelector, :none, 2025, 11
20111
+ deprecate :PidSelector=, :none, 2025, 11
20091
20112
 
20092
20113
  def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil, streamselector=nil)
20093
20114
  @OutputId = outputid
@@ -25927,11 +25948,13 @@ module TencentCloud
25927
25948
  # @type KeyServerUrl: String
25928
25949
  # @param Vector: 加密初始化向量(十六进制32字节字符串),该字段内容为用户自定义。
25929
25950
  # @type Vector: String
25930
- # @param EncryptionMethod: 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
25931
- # 加密方式选择WideVine+FairPlay时,仅支持cbcs
25951
+ # @param EncryptionMethod: 加密方式,FairPlay 默认cbcs
25952
+ # 加密方式,PlayReady,Widevine 默认cenc
25953
+ # 加密方式,WideVine+FairPlay,Playready+Fairplay,Widevine+Playready+Fairplay默认cbcs
25954
+ # 加密方式,Widevine+Playready默认cenc
25932
25955
 
25933
- # cbcs:PlayReady,Widevine,FairPlay,WideVine+FairPlay 支持;
25934
- # cenc:PlayReady,Widevine支持;
25956
+ # cbcs:PlayReady,Widevine,FairPlay,WideVine+FairPlay,Widevine+Playready,Playready+Fairplay,Widevine+Playready+Fairplay支持;
25957
+ # cenc:PlayReady,Widevine,Widevine+Playready支持;
25935
25958
  # @type EncryptionMethod: String
25936
25959
  # @param EncryptionPreset: 子流加密规则,默认 preset0
25937
25960
  # preset0:全部子流使用同一个key加密;
@@ -28031,7 +28054,6 @@ module TencentCloud
28031
28054
  # @type Vcrf: Integer
28032
28055
  # @param HlsTime: 分片平均时长,范围:(0-10],单位:秒
28033
28056
  # 不填表示自动,将根据视频的GOP等特征自动选择合适的分片时长。
28034
- # 注意:只能在封装格式hls的情况下使用
28035
28057
  # 注意:此字段可能返回 null,表示取不到有效值。
28036
28058
  # @type HlsTime: Integer
28037
28059
  # @param SegmentType: hls 分片类型,可选值 :
@@ -28218,7 +28240,7 @@ module TencentCloud
28218
28240
  # 注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。
28219
28241
  # 注意:VP8、VP9编码容器目前只支持webm,mkv。
28220
28242
  # 注意:MPEG2、dnxhd 编码容器目前只支持mxf。
28221
- # 注意:MV-HEVC编码容器目前只支持mp4,hls,mov。其中hls格式只支持mp4分片格式。
28243
+ # 注意:MV-HEVC编码容器目前只支持mp4,hls,mov。其中hls格式只支持mp4分片格式。且要求输入源为全景视频(带多视角)。
28222
28244
  # 注意:此字段可能返回 null,表示取不到有效值。
28223
28245
  # @type Codec: String
28224
28246
  # @param Fps: 视频帧率,取值范围:
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.1161
4
+ version: 3.0.1166
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-04 00:00:00.000000000 Z
11
+ date: 2025-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common