tencentcloud-sdk-mps 3.0.624 → 3.0.626

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 +36 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05ef71960aca4de5e8eaf94828ecbcb63a77640b
4
- data.tar.gz: a50879893ae3d8228174a5ad78c7db7cf0abc789
3
+ metadata.gz: 66fc338d9f2def45da9f64bab1bf78edbfd47863
4
+ data.tar.gz: 2fa725cef7fd89b1ce33836bd2d2400e536a404b
5
5
  SHA512:
6
- metadata.gz: 67e98d274782cde89ad982d1da5aac3ef530c48b6407c89b62b0e9f63abde1d4e3af392f40fb3b5e5c8ba9ac181859e46c770eb1e32cdd5ebdc1b4d2941e0a67
7
- data.tar.gz: 99c57125cd6d3b6a6609365260c3294291bc296c2a4b8dcc9bdbaede14335e1e353d542386b553c09cf540657e453c6bcfa40c9eed5ecc2fd438116b9f17c6b3
6
+ metadata.gz: e145c66d2972cfb4a339670af95284fffe175f3c30859d6bd65230da35fd2224b64c3428f5b3afab780471ddc80e6105ba64b3eea664008b533c573721b22316
7
+ data.tar.gz: cbe45958c1287a5fb178db33fb878ca83d46138a61f695a299c1fe354592b1258af084c3f07d6e48d43ffaa92771087a471aa4724cbbede405d765d62e3ed8a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.624
1
+ 3.0.626
@@ -3668,22 +3668,27 @@ module TencentCloud
3668
3668
  # 当外层参数 Container 为 hls 时,可选值为:
3669
3669
  # <li>libfdk_aac;</li>
3670
3670
  # <li>libmp3lame。</li>
3671
+ # 注意:此字段可能返回 null,表示取不到有效值。
3671
3672
  # @type Codec: String
3672
3673
  # @param Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
3674
+ # 注意:此字段可能返回 null,表示取不到有效值。
3673
3675
  # @type Bitrate: Integer
3674
3676
  # @param SampleRate: 音频流的采样率,可选值:
3675
3677
  # <li>32000</li>
3676
3678
  # <li>44100</li>
3677
3679
  # <li>48000</li>
3678
3680
  # 单位:Hz。
3681
+ # 注意:此字段可能返回 null,表示取不到有效值。
3679
3682
  # @type SampleRate: Integer
3680
3683
  # @param AudioChannel: 音频通道方式,可选值:
3681
3684
  # <li>1:单通道</li>
3682
3685
  # <li>2:双通道</li>
3683
3686
  # <li>6:立体声</li>
3684
3687
  # 当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
3688
+ # 注意:此字段可能返回 null,表示取不到有效值。
3685
3689
  # @type AudioChannel: Integer
3686
3690
  # @param StreamSelects: 指定输出要保留的音频轨道。默认是全部保留源的。
3691
+ # 注意:此字段可能返回 null,表示取不到有效值。
3687
3692
  # @type StreamSelects: Array
3688
3693
 
3689
3694
  attr_accessor :Codec, :Bitrate, :SampleRate, :AudioChannel, :StreamSelects
@@ -14345,10 +14350,13 @@ module TencentCloud
14345
14350
  # @param AddonAudioStream: 外挂音轨参数。
14346
14351
  # 注意:此字段可能返回 null,表示取不到有效值。
14347
14352
  # @type AddonAudioStream: Array
14353
+ # @param StdExtInfo: 转码扩展字段。
14354
+ # 注意:此字段可能返回 null,表示取不到有效值。
14355
+ # @type StdExtInfo: String
14348
14356
 
14349
- attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SubtitleTemplate, :AddonAudioStream
14357
+ attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SubtitleTemplate, :AddonAudioStream, :StdExtInfo
14350
14358
 
14351
- def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, subtitletemplate=nil, addonaudiostream=nil)
14359
+ def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, subtitletemplate=nil, addonaudiostream=nil, stdextinfo=nil)
14352
14360
  @Container = container
14353
14361
  @RemoveVideo = removevideo
14354
14362
  @RemoveAudio = removeaudio
@@ -14357,6 +14365,7 @@ module TencentCloud
14357
14365
  @TEHDConfig = tehdconfig
14358
14366
  @SubtitleTemplate = subtitletemplate
14359
14367
  @AddonAudioStream = addonaudiostream
14368
+ @StdExtInfo = stdextinfo
14360
14369
  end
14361
14370
 
14362
14371
  def deserialize(params)
@@ -14387,6 +14396,7 @@ module TencentCloud
14387
14396
  @AddonAudioStream << mediainputinfo_tmp
14388
14397
  end
14389
14398
  end
14399
+ @StdExtInfo = params['StdExtInfo']
14390
14400
  end
14391
14401
  end
14392
14402
 
@@ -15915,16 +15925,22 @@ module TencentCloud
15915
15925
  # AWS S3存储输入
15916
15926
  class S3InputInfo < TencentCloud::Common::AbstractModel
15917
15927
  # @param S3Bucket: S3 bucket。
15928
+ # 注意:此字段可能返回 null,表示取不到有效值。
15918
15929
  # @type S3Bucket: String
15919
15930
  # @param S3Region: S3 bucket 对应的区域,目前支持:
15920
15931
  # us-east-1
15921
15932
  # eu-west-3
15933
+
15934
+ # 注意:此字段可能返回 null,表示取不到有效值。
15922
15935
  # @type S3Region: String
15923
15936
  # @param S3Object: S3 bucket 中的媒体资源路径。
15937
+ # 注意:此字段可能返回 null,表示取不到有效值。
15924
15938
  # @type S3Object: String
15925
15939
  # @param S3SecretId: AWS 内网访问 媒体资源的秘钥id。
15940
+ # 注意:此字段可能返回 null,表示取不到有效值。
15926
15941
  # @type S3SecretId: String
15927
15942
  # @param S3SecretKey: AWS 内网访问 媒体资源的秘钥key。
15943
+ # 注意:此字段可能返回 null,表示取不到有效值。
15928
15944
  # @type S3SecretKey: String
15929
15945
 
15930
15946
  attr_accessor :S3Bucket, :S3Region, :S3Object, :S3SecretId, :S3SecretKey
@@ -16818,8 +16834,10 @@ module TencentCloud
16818
16834
  # 字幕流配置参数。
16819
16835
  class SubtitleTemplate < TencentCloud::Common::AbstractModel
16820
16836
  # @param Path: 要压制到视频中的字幕文件地址。
16837
+ # 注意:此字段可能返回 null,表示取不到有效值。
16821
16838
  # @type Path: String
16822
16839
  # @param StreamIndex: 指定要压制到视频中的字幕轨道,如果有指定Path,则Path 优先级更高。Path 和 StreamIndex 至少指定一个。
16840
+ # 注意:此字段可能返回 null,表示取不到有效值。
16823
16841
  # @type StreamIndex: Integer
16824
16842
  # @param FontType: 字体类型,
16825
16843
  # <li>hei.ttf:黑体</li>
@@ -16827,15 +16845,19 @@ module TencentCloud
16827
16845
  # <li>simkai.ttf:楷体</li>
16828
16846
  # <li>arial.ttf:仅支持英文</li>
16829
16847
  # 默认hei.ttf
16848
+ # 注意:此字段可能返回 null,表示取不到有效值。
16830
16849
  # @type FontType: String
16831
16850
  # @param FontSize: 字体大小,格式:Npx,N 为数值,不指定则以字幕文件中为准。
16851
+ # 注意:此字段可能返回 null,表示取不到有效值。
16832
16852
  # @type FontSize: String
16833
16853
  # @param FontColor: 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)
16854
+ # 注意:此字段可能返回 null,表示取不到有效值。
16834
16855
  # @type FontColor: String
16835
16856
  # @param FontAlpha: 文字透明度,取值范围:(0, 1]
16836
16857
  # <li>0:完全透明</li>
16837
16858
  # <li>1:完全不透明</li>
16838
16859
  # 默认值:1。
16860
+ # 注意:此字段可能返回 null,表示取不到有效值。
16839
16861
  # @type FontAlpha: Float
16840
16862
 
16841
16863
  attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha
@@ -16995,8 +17017,10 @@ module TencentCloud
16995
17017
  # <li>TEHD-100:极速高清-100(视频极速高清)。</li>
16996
17018
  # <li>TEHD-200:极速高清-200(音频极速高清)。</li>
16997
17019
  # 不填代表不修改。
17020
+ # 注意:此字段可能返回 null,表示取不到有效值。
16998
17021
  # @type Type: String
16999
17022
  # @param MaxVideoBitrate: 视频码率上限,不填代表不修改。
17023
+ # 注意:此字段可能返回 null,表示取不到有效值。
17000
17024
  # @type MaxVideoBitrate: Integer
17001
17025
 
17002
17026
  attr_accessor :Type, :MaxVideoBitrate
@@ -18151,41 +18175,51 @@ module TencentCloud
18151
18175
  # <li>av1:AOMedia Video 1 编码</li>
18152
18176
  # 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
18153
18177
  # 注意:av1 编码容器目前只支持 mp4 。
18178
+ # 注意:此字段可能返回 null,表示取不到有效值。
18154
18179
  # @type Codec: String
18155
18180
  # @param Fps: 视频帧率,取值范围:[0, 120],单位:Hz。
18156
18181
  # 当取值为 0,表示帧率和原始视频保持一致。
18182
+ # 注意:此字段可能返回 null,表示取不到有效值。
18157
18183
  # @type Fps: Integer
18158
18184
  # @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
18159
18185
  # 当取值为 0,表示视频码率和原始视频保持一致。
18186
+ # 注意:此字段可能返回 null,表示取不到有效值。
18160
18187
  # @type Bitrate: Integer
18161
18188
  # @param ResolutionAdaptive: 分辨率自适应,可选值:
18162
18189
  # <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
18163
18190
  # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
18164
18191
  # 注意:自适应模式时,Width不能小于Height。
18192
+ # 注意:此字段可能返回 null,表示取不到有效值。
18165
18193
  # @type ResolutionAdaptive: String
18166
18194
  # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
18167
18195
  # <li>当 Width、Height 均为 0,则分辨率同源;</li>
18168
18196
  # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
18169
18197
  # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
18170
18198
  # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
18199
+ # 注意:此字段可能返回 null,表示取不到有效值。
18171
18200
  # @type Width: Integer
18172
18201
  # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
18202
+ # 注意:此字段可能返回 null,表示取不到有效值。
18173
18203
  # @type Height: Integer
18174
18204
  # @param Gop: 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。当填 0 时,系统将自动设置 gop 长度。
18205
+ # 注意:此字段可能返回 null,表示取不到有效值。
18175
18206
  # @type Gop: Integer
18176
18207
  # @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
18177
18208
  # <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
18178
18209
  # <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
18179
18210
  # <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
18180
18211
  # <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>
18212
+ # 注意:此字段可能返回 null,表示取不到有效值。
18181
18213
  # @type FillType: String
18182
18214
  # @param Vcrf: 视频恒定码率控制因子。取值范围为[0, 51],填0表示禁用该参数。
18183
18215
  # 如果没有特殊需求,不建议指定该参数。
18216
+ # 注意:此字段可能返回 null,表示取不到有效值。
18184
18217
  # @type Vcrf: Integer
18185
18218
  # @param ContentAdaptStream: 内容自适应编码。可选值:
18186
18219
  # <li>0:不开启</li>
18187
18220
  # <li>1:开启</li>
18188
18221
  # 默认值: 0. 当开启该参数时,将会自适应生成多个不同分辨率,不同码率的码流, 其中VideoTemplate的宽和高为多个码流中的最大分辨率,VideoTemplate中的码率为多个码流中的最高码率, VideoTemplate中的vcrf为多个码流中的最高质量。 当不设置分辨率、码率和vcrf时, ContentAdaptStream 参数生成的最高分辨率为视频源的分辨率,视频质量为接近vmaf95分。 若要开启该参数或了解计费细节, 请联系您的腾讯云商务。
18222
+ # 注意:此字段可能返回 null,表示取不到有效值。
18189
18223
  # @type ContentAdaptStream: Integer
18190
18224
 
18191
18225
  attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :FillType, :Vcrf, :ContentAdaptStream
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.624
4
+ version: 3.0.626
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-07-31 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common