tencentcloud-sdk-vod 1.0.364 → 3.0.380
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/v20180717/models.rb +21 -8
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73ffcc38cf7887dc5776783ad3a29df978da1253
|
4
|
+
data.tar.gz: 96f1a91a8c6175b6ca00f523b2e82020b489f5d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1cc8bbc97cbe005b04b7dfee7db3212594461e887e322233ceba4faf0f4947a8dcab5c61e8b31aee19a0795641c77fde537f23226fb8f08990f65b6dcd6c34
|
7
|
+
data.tar.gz: 0e9c8c583ffd4ac7c024024f72fddd1fddab84e6510fdfc2eb59d7e204d834a79705aaf4f95dd05ab40d97ea153da75d7755c15507f11612b159d92eb3b62246
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.380
|
data/lib/v20180717/models.rb
CHANGED
@@ -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,
|
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,
|
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,
|
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,
|
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:
|
4
|
+
version: 3.0.380
|
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-
|
11
|
+
date: 2022-08-04 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.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - VOD
|