tencentcloud-sdk-vod 1.0.363 → 3.0.379

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/v20180717/models.rb +21 -8
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04f83c85c94372117512af7e51f468cf03491ea6
4
- data.tar.gz: bf980c1cfbdb4474ef83b4b35f52803c168c8a07
3
+ metadata.gz: ebf7efce71155d53dd372c48aa12a6dd72d8a878
4
+ data.tar.gz: 4c79c2eaaeb54494de143cb19cd5a5e40c9ed5b6
5
5
  SHA512:
6
- metadata.gz: 8c294a6c7ef3c12e172c81434104e760c8d3fb69479b47df415b2bfc35dbdaf7244124b542463024719fbe81f360b3533055377a19675d9d4b196b4a3dc88b1f
7
- data.tar.gz: 18a6ab3d449c364dc810f91321343130cd298919bdb1ae02dad6662ee3a5a9963c82e63cde52fea8a5d0d6bc092dd80ea3c4ca925fc61c9165c3a96ea084f12c
6
+ metadata.gz: ac72426e020f092422769b2148c2b555edfa0e921254d10e6900848069e07c12edf6921a68c0dcdf3e74ca63e08a69339e8210cf47b2f25013f109079dd4f323
7
+ data.tar.gz: 0634d4a28fac44efa63ca53fce7c8d464558d796d1e996b49e001abe6da023771b2c888954b4bc2739005d4c9f6336adc7f002b2065d0233580b550ab7af1fbc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.363
1
+ 3.0.379
@@ -20005,14 +20005,14 @@ module TencentCloud
20005
20005
  # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
20006
20006
  # 默认值:open。
20007
20007
  # @type ResolutionAdaptive: String
20008
- # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
20008
+ # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 8192],单位:px。
20009
20009
  # <li>当 Width、Height 均为 0,则分辨率同源;</li>
20010
20010
  # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
20011
20011
  # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
20012
20012
  # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
20013
20013
  # 默认值:0。
20014
20014
  # @type Width: Integer
20015
- # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
20015
+ # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 8192],单位:px。
20016
20016
  # <li>当 Width、Height 均为 0,则分辨率同源;</li>
20017
20017
  # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
20018
20018
  # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
@@ -20036,10 +20036,15 @@ module TencentCloud
20036
20036
  # @param Gop: 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。
20037
20037
  # 当填 0 或不填时,系统将自动设置 gop 长度。
20038
20038
  # @type Gop: Integer
20039
+ # @param PreserveHDRSwitch: 当原始视频为 HDR(High Dynamic Range)时,转码输出是否依然保持 HDR。取值范围:
20040
+ # <li>ON: 如果原始文件是 HDR,则转码输出保持 HDR;否则转码输出为 SDR (Standard Dynamic Range)。</li>
20041
+ # <li>OFF: 无论原始文件是 HDR 还是 SDR,转码输出均为 SDR。</li>
20042
+ # 默认值:OFF。
20043
+ # @type PreserveHDRSwitch: String
20039
20044
 
20040
- attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType, :Vcrf, :Gop
20045
+ attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType, :Vcrf, :Gop, :PreserveHDRSwitch
20041
20046
 
20042
- def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, vcrf=nil, gop=nil)
20047
+ def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, vcrf=nil, gop=nil, preservehdrswitch=nil)
20043
20048
  @Codec = codec
20044
20049
  @Fps = fps
20045
20050
  @Bitrate = bitrate
@@ -20049,6 +20054,7 @@ module TencentCloud
20049
20054
  @FillType = filltype
20050
20055
  @Vcrf = vcrf
20051
20056
  @Gop = gop
20057
+ @PreserveHDRSwitch = preservehdrswitch
20052
20058
  end
20053
20059
 
20054
20060
  def deserialize(params)
@@ -20061,6 +20067,7 @@ module TencentCloud
20061
20067
  @FillType = params['FillType']
20062
20068
  @Vcrf = params['Vcrf']
20063
20069
  @Gop = params['Gop']
20070
+ @PreserveHDRSwitch = params['PreserveHDRSwitch']
20064
20071
  end
20065
20072
  end
20066
20073
 
@@ -20085,13 +20092,13 @@ module TencentCloud
20085
20092
  # <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
20086
20093
  # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
20087
20094
  # @type ResolutionAdaptive: String
20088
- # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
20095
+ # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 8192],单位:px。
20089
20096
  # <li>当 Width、Height 均为 0,则分辨率同源;</li>
20090
20097
  # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
20091
20098
  # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
20092
20099
  # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
20093
20100
  # @type Width: Integer
20094
- # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
20101
+ # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 8192],单位:px。
20095
20102
  # @type Height: Integer
20096
20103
  # @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
20097
20104
  # <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
@@ -20109,10 +20116,14 @@ module TencentCloud
20109
20116
  # @param Gop: 关键帧 I 帧之间的间隔,取值范围:0 和 [1, 100000],单位:帧数。
20110
20117
  # 当填 0 或不填时,系统将自动设置 gop 长度。
20111
20118
  # @type Gop: Integer
20119
+ # @param PreserveHDRSwitch: 当原始视频为 HDR(High Dynamic Range)时,转码输出是否依然保持 HDR。取值范围:
20120
+ # <li>ON: 如果原始文件是 HDR,则转码输出保持 HDR;否则转码输出为 SDR (Standard Dynamic Range)。</li>
20121
+ # <li>OFF: 无论原始文件是 HDR 还是 SDR,转码输出均为 SDR。</li>
20122
+ # @type PreserveHDRSwitch: String
20112
20123
 
20113
- attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType, :Vcrf, :Gop
20124
+ attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType, :Vcrf, :Gop, :PreserveHDRSwitch
20114
20125
 
20115
- def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, vcrf=nil, gop=nil)
20126
+ def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil, vcrf=nil, gop=nil, preservehdrswitch=nil)
20116
20127
  @Codec = codec
20117
20128
  @Fps = fps
20118
20129
  @Bitrate = bitrate
@@ -20122,6 +20133,7 @@ module TencentCloud
20122
20133
  @FillType = filltype
20123
20134
  @Vcrf = vcrf
20124
20135
  @Gop = gop
20136
+ @PreserveHDRSwitch = preservehdrswitch
20125
20137
  end
20126
20138
 
20127
20139
  def deserialize(params)
@@ -20134,6 +20146,7 @@ module TencentCloud
20134
20146
  @FillType = params['FillType']
20135
20147
  @Vcrf = params['Vcrf']
20136
20148
  @Gop = params['Gop']
20149
+ @PreserveHDRSwitch = params['PreserveHDRSwitch']
20137
20150
  end
20138
20151
  end
20139
20152
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vod
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.363
4
+ version: 3.0.379
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
@@ -33,10 +33,10 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/VERSION
37
36
  - lib/tencentcloud-sdk-vod.rb
38
- - lib/v20180717/client.rb
39
37
  - lib/v20180717/models.rb
38
+ - lib/v20180717/client.rb
39
+ - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses:
42
42
  - Apache-2.0
@@ -49,17 +49,17 @@ require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - VOD