tencentcloud-sdk-vod 3.0.856 → 3.0.858
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/client.rb +3 -3
- data/lib/v20180717/models.rb +11 -3
- 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: 77cfa2da616c26725877f2cb012be3e5a32df7f2
|
|
4
|
+
data.tar.gz: 09dccbacd09ce9f439dbae3004374dc87652ebad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa12b36b8b3cde3ba0aae7a913e91dfa2e92b145356caa3ae64fe4561564d8acc34a37d5f4b263f55d9775cc2bb603aabedf07e585d6f86435c17bedefde3d83
|
|
7
|
+
data.tar.gz: 87d6c01e5901b820eefc13a8ff565e8a315f5ab624e7ee6b0f8c0812ac6baa7507a606f097a2f25bc21e0f66fcb8a3971d87213f7d74976da5aedd4e0aa68e77
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.858
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -4460,9 +4460,9 @@ module TencentCloud
|
|
|
4460
4460
|
# - 剪辑固化:将剪辑出来的视频保存成独立的视频,拥有独立 FileId;适用于将精彩片段长久保存的场景;
|
|
4461
4461
|
# - 剪辑不固化:剪辑得到的视频附属于输入文件,没有独立 FileId;适用于将精彩片段临时分享的场景。
|
|
4462
4462
|
|
|
4463
|
-
#
|
|
4464
|
-
# -
|
|
4465
|
-
|
|
4463
|
+
# 裁剪精度支持粗略裁剪和精确裁剪:
|
|
4464
|
+
# - 粗略剪辑:基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
|
|
4465
|
+
# - 精确剪辑:按照 StartTimeOffset 和 EndTimeOffset 参数进行精确裁剪。使用精确裁剪需要开通[即时转码](/document/product/266/102174)的功能。
|
|
4466
4466
|
|
|
4467
4467
|
# ### 剪辑固化
|
|
4468
4468
|
# 所谓剪辑固化,是指将剪辑出来的视频保存成一个独立的视频(拥有独立的 FileId)。其生命周期不受原始输入视频影响(即使原始输入视频被删除,剪辑结果也不会受到任何影响);也可以对其进行转码、微信发布等二次处理。
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -25138,7 +25138,7 @@ module TencentCloud
|
|
|
25138
25138
|
# @type IsPersistence: Integer
|
|
25139
25139
|
# @param ExpireTime: 剪辑固化后的视频存储过期时间。格式参照 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。填“9999-12-31T23:59:59Z”表示永不过期。过期后该媒体文件及其相关资源(转码结果、雪碧图等)将被永久删除。仅 IsPersistence 为 1 时有效,默认剪辑固化的视频永不过期。
|
|
25140
25140
|
# @type ExpireTime: String
|
|
25141
|
-
# @param Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
|
|
25141
|
+
# @param Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 且 Precision 为 Rough 时有效。
|
|
25142
25142
|
# @type Procedure: String
|
|
25143
25143
|
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
|
25144
25144
|
# <li>默认值:0,表示其他分类。</li>
|
|
@@ -25148,12 +25148,16 @@ module TencentCloud
|
|
|
25148
25148
|
# @type SourceContext: String
|
|
25149
25149
|
# @param SessionContext: 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。仅 IsPersistence 为 1 时有效。
|
|
25150
25150
|
# @type SessionContext: String
|
|
25151
|
+
# @param Precision: 裁剪精度,取值有:<li>Rough: 粗略裁剪,最小剪辑精度是单个 ts 分片;</li><li>Precise: 精确裁剪,做到按照剪辑时间点的毫秒级精确剪辑。</li> 默认取值 Rough。
|
|
25152
|
+
# @type Precision: String
|
|
25153
|
+
# @param OutputMediaType: 输出视频类型,取值有:<li>hls: 输出 hls 文件;</li><li>mp4:输出 mp4 文件,MP4 文件的大小不超过5G,时长小于2小时。仅当 Precision 选择 Precise 且 IsPersistence 选择0时有效,即只有非固化的精确剪辑时支持输出 MP4。</li>默认取值 hls。
|
|
25154
|
+
# @type OutputMediaType: String
|
|
25151
25155
|
# @param ExtInfo: 保留字段,特殊用途时使用。 示例值:""
|
|
25152
25156
|
# @type ExtInfo: String
|
|
25153
25157
|
|
|
25154
|
-
attr_accessor :Url, :SubAppId, :StartTimeOffset, :EndTimeOffset, :IsPersistence, :ExpireTime, :Procedure, :ClassId, :SourceContext, :SessionContext, :ExtInfo
|
|
25158
|
+
attr_accessor :Url, :SubAppId, :StartTimeOffset, :EndTimeOffset, :IsPersistence, :ExpireTime, :Procedure, :ClassId, :SourceContext, :SessionContext, :Precision, :OutputMediaType, :ExtInfo
|
|
25155
25159
|
|
|
25156
|
-
def initialize(url=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, ispersistence=nil, expiretime=nil, procedure=nil, classid=nil, sourcecontext=nil, sessioncontext=nil, extinfo=nil)
|
|
25160
|
+
def initialize(url=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, ispersistence=nil, expiretime=nil, procedure=nil, classid=nil, sourcecontext=nil, sessioncontext=nil, precision=nil, outputmediatype=nil, extinfo=nil)
|
|
25157
25161
|
@Url = url
|
|
25158
25162
|
@SubAppId = subappid
|
|
25159
25163
|
@StartTimeOffset = starttimeoffset
|
|
@@ -25164,6 +25168,8 @@ module TencentCloud
|
|
|
25164
25168
|
@ClassId = classid
|
|
25165
25169
|
@SourceContext = sourcecontext
|
|
25166
25170
|
@SessionContext = sessioncontext
|
|
25171
|
+
@Precision = precision
|
|
25172
|
+
@OutputMediaType = outputmediatype
|
|
25167
25173
|
@ExtInfo = extinfo
|
|
25168
25174
|
end
|
|
25169
25175
|
|
|
@@ -25178,6 +25184,8 @@ module TencentCloud
|
|
|
25178
25184
|
@ClassId = params['ClassId']
|
|
25179
25185
|
@SourceContext = params['SourceContext']
|
|
25180
25186
|
@SessionContext = params['SessionContext']
|
|
25187
|
+
@Precision = params['Precision']
|
|
25188
|
+
@OutputMediaType = params['OutputMediaType']
|
|
25181
25189
|
@ExtInfo = params['ExtInfo']
|
|
25182
25190
|
end
|
|
25183
25191
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.858
|
|
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-07-
|
|
11
|
+
date: 2024-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|