tencentcloud-sdk-mps 3.0.847 → 3.0.849
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 +79 -18
- 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: 6a9f53646fa7fa7f687de8ecf66eb46c5f3fde65
|
4
|
+
data.tar.gz: 925949ae488fc103817eab6f3e36261d8a9a7379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2fb807eff1ece124a0ad0d822bb3f8f3079aadc418f57a2f130461d5316dca0d1c441b19a0031ebf18a1c163b693cdc159dd6e3a7cf94421e49723e7c9c2c35
|
7
|
+
data.tar.gz: 6c6c7e2a19a0220702c86b7d18f1bbdcf28b9a71473d834609c2664f6658ae84d00bef107d172468bc0bf05635b657d649f189828265bab0216fa006d0e68f85
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.849
|
data/lib/v20190612/models.rb
CHANGED
@@ -577,10 +577,22 @@ module TencentCloud
|
|
577
577
|
# @param PureAudio: 是否为纯音频,0表示视频,1表示纯音频
|
578
578
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
579
579
|
# @type PureAudio: Integer
|
580
|
+
# @param SegmentType: hls 分片类型,可选值:
|
581
|
+
# <li>ts-segment:HLS+TS 切片</li>
|
582
|
+
# <li>ts-byterange:HLS+TS byte range</li>
|
583
|
+
# <li>mp4-segment:HLS+MP4 切片</li>
|
584
|
+
# <li>mp4-byterange:HLS+MP4 byte range</li>
|
585
|
+
# <li>ts-packed-audio:TS+Packed Audio</li>
|
586
|
+
# <li>mp4-packed-audio:MP4+Packed Audio</li>
|
587
|
+
# 默认值:ts-segment
|
580
588
|
|
581
|
-
|
589
|
+
# 注:自适应码流的hls分片格式已此字段为准
|
590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
591
|
+
# @type SegmentType: String
|
592
|
+
|
593
|
+
attr_accessor :Definition, :Type, :Name, :Comment, :Format, :StreamInfos, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :CreateTime, :UpdateTime, :PureAudio, :SegmentType
|
582
594
|
|
583
|
-
def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil, pureaudio=nil)
|
595
|
+
def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil, pureaudio=nil, segmenttype=nil)
|
584
596
|
@Definition = definition
|
585
597
|
@Type = type
|
586
598
|
@Name = name
|
@@ -592,6 +604,7 @@ module TencentCloud
|
|
592
604
|
@CreateTime = createtime
|
593
605
|
@UpdateTime = updatetime
|
594
606
|
@PureAudio = pureaudio
|
607
|
+
@SegmentType = segmenttype
|
595
608
|
end
|
596
609
|
|
597
610
|
def deserialize(params)
|
@@ -613,6 +626,7 @@ module TencentCloud
|
|
613
626
|
@CreateTime = params['CreateTime']
|
614
627
|
@UpdateTime = params['UpdateTime']
|
615
628
|
@PureAudio = params['PureAudio']
|
629
|
+
@SegmentType = params['SegmentType']
|
616
630
|
end
|
617
631
|
end
|
618
632
|
|
@@ -4344,6 +4358,7 @@ module TencentCloud
|
|
4344
4358
|
# <li>aac;</li>
|
4345
4359
|
# <li>mp3;</li>
|
4346
4360
|
# <li>ac3。</li>
|
4361
|
+
# <li>eac3。</li>
|
4347
4362
|
# 当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
4348
4363
|
# <li>aac:更适合 mp4;</li>
|
4349
4364
|
# <li>mp3:更适合 flv;</li>
|
@@ -4399,6 +4414,7 @@ module TencentCloud
|
|
4399
4414
|
# <li>aac;</li>
|
4400
4415
|
# <li>mp3;</li>
|
4401
4416
|
# <li>ac3。</li>
|
4417
|
+
# <li>eac3。</li>
|
4402
4418
|
# 当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
4403
4419
|
# <li>aac:更适合 mp4;</li>
|
4404
4420
|
# <li>mp3:更适合 flv;</li>
|
@@ -5905,10 +5921,13 @@ module TencentCloud
|
|
5905
5921
|
# 1. StreamInfos.N.Video.Codec不能为copy
|
5906
5922
|
# 2. StreamInfos.N.Video.Fps不能为null
|
5907
5923
|
# @type PureAudio: Integer
|
5924
|
+
# @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
|
5925
|
+
# 注:自适应码流的hls分片格式已此字段为准
|
5926
|
+
# @type SegmentType: String
|
5908
5927
|
|
5909
|
-
attr_accessor :Format, :StreamInfos, :Name, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment, :PureAudio
|
5928
|
+
attr_accessor :Format, :StreamInfos, :Name, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment, :PureAudio, :SegmentType
|
5910
5929
|
|
5911
|
-
def initialize(format=nil, streaminfos=nil, name=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil, pureaudio=nil)
|
5930
|
+
def initialize(format=nil, streaminfos=nil, name=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil, pureaudio=nil, segmenttype=nil)
|
5912
5931
|
@Format = format
|
5913
5932
|
@StreamInfos = streaminfos
|
5914
5933
|
@Name = name
|
@@ -5916,6 +5935,7 @@ module TencentCloud
|
|
5916
5935
|
@DisableHigherVideoResolution = disablehighervideoresolution
|
5917
5936
|
@Comment = comment
|
5918
5937
|
@PureAudio = pureaudio
|
5938
|
+
@SegmentType = segmenttype
|
5919
5939
|
end
|
5920
5940
|
|
5921
5941
|
def deserialize(params)
|
@@ -5933,6 +5953,7 @@ module TencentCloud
|
|
5933
5953
|
@DisableHigherVideoResolution = params['DisableHigherVideoResolution']
|
5934
5954
|
@Comment = params['Comment']
|
5935
5955
|
@PureAudio = params['PureAudio']
|
5956
|
+
@SegmentType = params['SegmentType']
|
5936
5957
|
end
|
5937
5958
|
end
|
5938
5959
|
|
@@ -7180,7 +7201,7 @@ module TencentCloud
|
|
7180
7201
|
|
7181
7202
|
# CreateTranscodeTemplate请求参数结构体
|
7182
7203
|
class CreateTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
7183
|
-
# @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
7204
|
+
# @param Container: 封装格式,可选值:mp4、flv、hls、ts、webm、mkv、mxf、mov、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
|
7184
7205
|
# @type Container: String
|
7185
7206
|
# @param Name: 转码模板名称,长度限制:64 个字符。
|
7186
7207
|
# @type Name: String
|
@@ -15061,10 +15082,13 @@ module TencentCloud
|
|
15061
15082
|
# 1. StreamInfos.N.Video.Codec不能为copy
|
15062
15083
|
# 2. StreamInfos.N.Video.Fps不能为null
|
15063
15084
|
# @type PureAudio: Integer
|
15085
|
+
# @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
|
15086
|
+
# 注:自适应码流的hls分片格式已此字段为准
|
15087
|
+
# @type SegmentType: String
|
15064
15088
|
|
15065
|
-
attr_accessor :Definition, :Name, :Format, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :StreamInfos, :Comment, :PureAudio
|
15089
|
+
attr_accessor :Definition, :Name, :Format, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :StreamInfos, :Comment, :PureAudio, :SegmentType
|
15066
15090
|
|
15067
|
-
def initialize(definition=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil, pureaudio=nil)
|
15091
|
+
def initialize(definition=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil, pureaudio=nil, segmenttype=nil)
|
15068
15092
|
@Definition = definition
|
15069
15093
|
@Name = name
|
15070
15094
|
@Format = format
|
@@ -15073,6 +15097,7 @@ module TencentCloud
|
|
15073
15097
|
@StreamInfos = streaminfos
|
15074
15098
|
@Comment = comment
|
15075
15099
|
@PureAudio = pureaudio
|
15100
|
+
@SegmentType = segmenttype
|
15076
15101
|
end
|
15077
15102
|
|
15078
15103
|
def deserialize(params)
|
@@ -15091,6 +15116,7 @@ module TencentCloud
|
|
15091
15116
|
end
|
15092
15117
|
@Comment = params['Comment']
|
15093
15118
|
@PureAudio = params['PureAudio']
|
15119
|
+
@SegmentType = params['SegmentType']
|
15094
15120
|
end
|
15095
15121
|
end
|
15096
15122
|
|
@@ -20326,15 +20352,22 @@ module TencentCloud
|
|
20326
20352
|
# 视频流配置参数
|
20327
20353
|
class VideoTemplateInfo < TencentCloud::Common::AbstractModel
|
20328
20354
|
# @param Codec: 视频流的编码格式,可选值:
|
20329
|
-
# <li>copy:纯音频模版</li>
|
20330
20355
|
# <li>h264:H.264 编码</li>
|
20331
20356
|
# <li>h265:H.265 编码</li>
|
20357
|
+
# <li>h266:H.266 编码</li>
|
20332
20358
|
# <li>av1:AOMedia Video 1 编码</li>
|
20359
|
+
# <li>vp8:VP8 编码</li>
|
20360
|
+
# <li>vp9:VP9 编码</li>
|
20361
|
+
# <li>mpeg2:MPEG2 编码</li>
|
20362
|
+
# <li>dnxhd:DNxHD 编码</li>
|
20333
20363
|
# 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
20334
|
-
|
20364
|
+
|
20365
|
+
# 注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。
|
20366
|
+
# 注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。
|
20367
|
+
# 注意:VP8、VP9编码容器目前只支持webm,mkv。
|
20368
|
+
# 注意:MPEG2、dnxhd 编码容器目前只支持mxf。
|
20335
20369
|
# @type Codec: String
|
20336
|
-
# @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。
|
20337
|
-
# 当取值为 0,表示帧率和原始视频保持一致。
|
20370
|
+
# @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
|
20338
20371
|
# 注意:自适应码率时取值范围是 [0, 60]
|
20339
20372
|
# @type Fps: Integer
|
20340
20373
|
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
@@ -20375,10 +20408,18 @@ module TencentCloud
|
|
20375
20408
|
# 如果指定该参数,将使用 CRF 的码率控制方式做转码(视频码率将不再生效)。
|
20376
20409
|
# 如果没有特殊需求,不建议指定该参数。
|
20377
20410
|
# @type Vcrf: Integer
|
20411
|
+
# @param SegmentType: hls 分片类型,可选值 :
|
20412
|
+
# <li>6:HLS+TS 切片</li>
|
20413
|
+
# <li>2:HLS+TS byte range</li>
|
20414
|
+
# <li>7:HLS+MP4 切片</li>
|
20415
|
+
# <li>5:HLS+MP4 byte range</li>
|
20416
|
+
# 默认值:6
|
20417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20418
|
+
# @type SegmentType: Integer
|
20378
20419
|
|
20379
|
-
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :FillType, :Vcrf
|
20420
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :FillType, :Vcrf, :SegmentType
|
20380
20421
|
|
20381
|
-
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, filltype=nil, vcrf=nil)
|
20422
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, filltype=nil, vcrf=nil, segmenttype=nil)
|
20382
20423
|
@Codec = codec
|
20383
20424
|
@Fps = fps
|
20384
20425
|
@Bitrate = bitrate
|
@@ -20388,6 +20429,7 @@ module TencentCloud
|
|
20388
20429
|
@Gop = gop
|
20389
20430
|
@FillType = filltype
|
20390
20431
|
@Vcrf = vcrf
|
20432
|
+
@SegmentType = segmenttype
|
20391
20433
|
end
|
20392
20434
|
|
20393
20435
|
def deserialize(params)
|
@@ -20400,6 +20442,7 @@ module TencentCloud
|
|
20400
20442
|
@Gop = params['Gop']
|
20401
20443
|
@FillType = params['FillType']
|
20402
20444
|
@Vcrf = params['Vcrf']
|
20445
|
+
@SegmentType = params['SegmentType']
|
20403
20446
|
end
|
20404
20447
|
end
|
20405
20448
|
|
@@ -20408,13 +20451,21 @@ module TencentCloud
|
|
20408
20451
|
# @param Codec: 视频流的编码格式,可选值:
|
20409
20452
|
# <li>h264:H.264 编码</li>
|
20410
20453
|
# <li>h265:H.265 编码</li>
|
20454
|
+
# <li>h266:H.266 编码</li>
|
20411
20455
|
# <li>av1:AOMedia Video 1 编码</li>
|
20456
|
+
# <li>vp8:VP8 编码</li>
|
20457
|
+
# <li>vp9:VP9 编码</li>
|
20458
|
+
# <li>mpeg2:MPEG2 编码</li>
|
20459
|
+
# <li>dnxhd:DNxHD 编码</li>
|
20412
20460
|
# 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
20413
|
-
|
20461
|
+
|
20462
|
+
# 注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。
|
20463
|
+
# 注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。
|
20464
|
+
# 注意:VP8、VP9编码容器目前只支持webm,mkv。
|
20465
|
+
# 注意:MPEG2、dnxhd 编码容器目前只支持mxf。
|
20414
20466
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
20415
20467
|
# @type Codec: String
|
20416
|
-
# @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。
|
20417
|
-
# 当取值为 0,表示帧率和原始视频保持一致。
|
20468
|
+
# @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。
|
20418
20469
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
20419
20470
|
# @type Fps: Integer
|
20420
20471
|
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
@@ -20457,10 +20508,18 @@ module TencentCloud
|
|
20457
20508
|
# 默认值: 0. 当开启该参数时,将会自适应生成多个不同分辨率,不同码率的码流, 其中VideoTemplate的宽和高为多个码流中的最大分辨率,VideoTemplate中的码率为多个码流中的最高码率, VideoTemplate中的vcrf为多个码流中的最高质量。 当不设置分辨率、码率和vcrf时, ContentAdaptStream 参数生成的最高分辨率为视频源的分辨率,视频质量为接近vmaf95分。 若要开启该参数或了解计费细节, 请联系您的腾讯云商务。
|
20458
20509
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
20459
20510
|
# @type ContentAdaptStream: Integer
|
20511
|
+
# @param SegmentType: hls 分片类型,可选值:
|
20512
|
+
# <li>6:HLS+TS 切片</li>
|
20513
|
+
# <li>2:HLS+TS byte range</li>
|
20514
|
+
# <li>7:HLS+MP4 切片</li>
|
20515
|
+
# <li>5:HLS+MP4 byte range</li>
|
20516
|
+
# 默认值:6
|
20517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20518
|
+
# @type SegmentType: Integer
|
20460
20519
|
|
20461
|
-
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :FillType, :Vcrf, :ContentAdaptStream
|
20520
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :FillType, :Vcrf, :ContentAdaptStream, :SegmentType
|
20462
20521
|
|
20463
|
-
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, filltype=nil, vcrf=nil, contentadaptstream=nil)
|
20522
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, filltype=nil, vcrf=nil, contentadaptstream=nil, segmenttype=nil)
|
20464
20523
|
@Codec = codec
|
20465
20524
|
@Fps = fps
|
20466
20525
|
@Bitrate = bitrate
|
@@ -20471,6 +20530,7 @@ module TencentCloud
|
|
20471
20530
|
@FillType = filltype
|
20472
20531
|
@Vcrf = vcrf
|
20473
20532
|
@ContentAdaptStream = contentadaptstream
|
20533
|
+
@SegmentType = segmenttype
|
20474
20534
|
end
|
20475
20535
|
|
20476
20536
|
def deserialize(params)
|
@@ -20484,6 +20544,7 @@ module TencentCloud
|
|
20484
20544
|
@FillType = params['FillType']
|
20485
20545
|
@Vcrf = params['Vcrf']
|
20486
20546
|
@ContentAdaptStream = params['ContentAdaptStream']
|
20547
|
+
@SegmentType = params['SegmentType']
|
20487
20548
|
end
|
20488
20549
|
end
|
20489
20550
|
|
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.849
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|