tencentcloud-sdk-vod 3.0.708 → 3.0.709
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180717/models.rb +144 -4
- 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: 3b4acace0b8fc0911ff29ba2e3c40147b344e87b
|
4
|
+
data.tar.gz: 085e830660b13dbf4d84ed05f8981e3d1a5c4bcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a89477dd2907f224d950f1496a2d47a75997407047ace3cf90189ebd7a3eb87f1d8263b78b789f85523e343b696ceb02d46ab431dbe60c512052271d0625357
|
7
|
+
data.tar.gz: 3752062e6346b7007849f2182442a0ac9c16c8bc1b9c544bdf1432e0153dadeb05fc67c795db0809a00f8e9c0caea9055166bb660ff20e2d80abb4bbaa4ebc1e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.709
|
data/lib/v20180717/models.rb
CHANGED
@@ -11330,11 +11330,12 @@ module TencentCloud
|
|
11330
11330
|
# <li>FastClipMedia:快速剪辑任务;</li>
|
11331
11331
|
# <li>RemoveWatermarkTask:智能去除水印任务;</li>
|
11332
11332
|
# <li>DescribeFileAttributesTask:获取文件属性任务;</li>
|
11333
|
-
# <li>RebuildMedia
|
11333
|
+
# <li>RebuildMedia:音画质重生任务(不推荐使用);</li>
|
11334
11334
|
# <li>ReviewAudioVideo:音视频审核任务;</li>
|
11335
11335
|
# <li>ExtractTraceWatermark:提取溯源水印任务;</li>
|
11336
11336
|
# <li>ExtractCopyRightWatermark:提取版权水印任务;</li>
|
11337
|
-
# <li>QualityInspect
|
11337
|
+
# <li>QualityInspect:音画质检测任务;</li>
|
11338
|
+
# <li>QualityEnhance:音画质重生任务。</li>
|
11338
11339
|
# @type TaskType: String
|
11339
11340
|
# @param Status: 任务状态,取值:
|
11340
11341
|
# <li>WAITING:等待中;</li>
|
@@ -11407,12 +11408,15 @@ module TencentCloud
|
|
11407
11408
|
# @param QualityInspectTask: 音画质检测任务信息,仅当 TaskType 为 QualityInspect 时该字段有值。
|
11408
11409
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11409
11410
|
# @type QualityInspectTask: :class:`Tencentcloud::Vod.v20180717.models.QualityInspectTask`
|
11411
|
+
# @param QualityEnhanceTask: 音画质重生任务信息,仅当 TaskType 为 QualityEnhance,该字段有值。
|
11412
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11413
|
+
# @type QualityEnhanceTask: :class:`Tencentcloud::Vod.v20180717.models.QualityEnhanceTask`
|
11410
11414
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11411
11415
|
# @type RequestId: String
|
11412
11416
|
|
11413
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ExtractCopyRightWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :QualityInspectTask, :RequestId
|
11417
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ExtractCopyRightWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :QualityInspectTask, :QualityEnhanceTask, :RequestId
|
11414
11418
|
|
11415
|
-
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, rebuildmediatask=nil, extracttracewatermarktask=nil, extractcopyrightwatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, qualityinspecttask=nil, requestid=nil)
|
11419
|
+
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, rebuildmediatask=nil, extracttracewatermarktask=nil, extractcopyrightwatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, qualityinspecttask=nil, qualityenhancetask=nil, requestid=nil)
|
11416
11420
|
@TaskType = tasktype
|
11417
11421
|
@Status = status
|
11418
11422
|
@CreateTime = createtime
|
@@ -11438,6 +11442,7 @@ module TencentCloud
|
|
11438
11442
|
@ReduceMediaBitrateTask = reducemediabitratetask
|
11439
11443
|
@DescribeFileAttributesTask = describefileattributestask
|
11440
11444
|
@QualityInspectTask = qualityinspecttask
|
11445
|
+
@QualityEnhanceTask = qualityenhancetask
|
11441
11446
|
@RequestId = requestid
|
11442
11447
|
end
|
11443
11448
|
|
@@ -11527,6 +11532,10 @@ module TencentCloud
|
|
11527
11532
|
@QualityInspectTask = QualityInspectTask.new
|
11528
11533
|
@QualityInspectTask.deserialize(params['QualityInspectTask'])
|
11529
11534
|
end
|
11535
|
+
unless params['QualityEnhanceTask'].nil?
|
11536
|
+
@QualityEnhanceTask = QualityEnhanceTask.new
|
11537
|
+
@QualityEnhanceTask.deserialize(params['QualityEnhanceTask'])
|
11538
|
+
end
|
11530
11539
|
@RequestId = params['RequestId']
|
11531
11540
|
end
|
11532
11541
|
end
|
@@ -21180,6 +21189,136 @@ module TencentCloud
|
|
21180
21189
|
end
|
21181
21190
|
end
|
21182
21191
|
|
21192
|
+
# 音画质重生任务
|
21193
|
+
class QualityEnhanceTask < TencentCloud::Common::AbstractModel
|
21194
|
+
# @param TaskId: 任务 ID。
|
21195
|
+
# @type TaskId: String
|
21196
|
+
# @param Status: 任务流状态,取值:
|
21197
|
+
# <li>PROCESSING:处理中;</li>
|
21198
|
+
# <li>FINISH:已完成。</li>
|
21199
|
+
# @type Status: String
|
21200
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败:
|
21201
|
+
# <li>40000:输入参数不合法,请检查输入参数;</li>
|
21202
|
+
# <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
21203
|
+
# <li>70000:内部服务错误,建议重试。</li>
|
21204
|
+
# @type ErrCode: Integer
|
21205
|
+
# @param Message: 错误信息。
|
21206
|
+
# @type Message: String
|
21207
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
21208
|
+
# @type ErrCodeExt: String
|
21209
|
+
# @param Progress: 音画质重生任务进度,取值范围 [0-100] 。
|
21210
|
+
# @type Progress: Integer
|
21211
|
+
# @param Input: 音画质重生任务的输入。
|
21212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21213
|
+
# @type Input: :class:`Tencentcloud::Vod.v20180717.models.QualityEnhanceTaskInput`
|
21214
|
+
# @param Output: 音画质重生任务的输出。
|
21215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21216
|
+
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.QualityEnhanceTaskOutput`
|
21217
|
+
# @param MetaData: 音画质重生输出视频的元信息。
|
21218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21219
|
+
# @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
|
21220
|
+
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
21221
|
+
# @type SessionId: String
|
21222
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
21223
|
+
# @type SessionContext: String
|
21224
|
+
|
21225
|
+
attr_accessor :TaskId, :Status, :ErrCode, :Message, :ErrCodeExt, :Progress, :Input, :Output, :MetaData, :SessionId, :SessionContext
|
21226
|
+
|
21227
|
+
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, errcodeext=nil, progress=nil, input=nil, output=nil, metadata=nil, sessionid=nil, sessioncontext=nil)
|
21228
|
+
@TaskId = taskid
|
21229
|
+
@Status = status
|
21230
|
+
@ErrCode = errcode
|
21231
|
+
@Message = message
|
21232
|
+
@ErrCodeExt = errcodeext
|
21233
|
+
@Progress = progress
|
21234
|
+
@Input = input
|
21235
|
+
@Output = output
|
21236
|
+
@MetaData = metadata
|
21237
|
+
@SessionId = sessionid
|
21238
|
+
@SessionContext = sessioncontext
|
21239
|
+
end
|
21240
|
+
|
21241
|
+
def deserialize(params)
|
21242
|
+
@TaskId = params['TaskId']
|
21243
|
+
@Status = params['Status']
|
21244
|
+
@ErrCode = params['ErrCode']
|
21245
|
+
@Message = params['Message']
|
21246
|
+
@ErrCodeExt = params['ErrCodeExt']
|
21247
|
+
@Progress = params['Progress']
|
21248
|
+
unless params['Input'].nil?
|
21249
|
+
@Input = QualityEnhanceTaskInput.new
|
21250
|
+
@Input.deserialize(params['Input'])
|
21251
|
+
end
|
21252
|
+
unless params['Output'].nil?
|
21253
|
+
@Output = QualityEnhanceTaskOutput.new
|
21254
|
+
@Output.deserialize(params['Output'])
|
21255
|
+
end
|
21256
|
+
unless params['MetaData'].nil?
|
21257
|
+
@MetaData = MediaMetaData.new
|
21258
|
+
@MetaData.deserialize(params['MetaData'])
|
21259
|
+
end
|
21260
|
+
@SessionId = params['SessionId']
|
21261
|
+
@SessionContext = params['SessionContext']
|
21262
|
+
end
|
21263
|
+
end
|
21264
|
+
|
21265
|
+
# 音画质重生任务的输入。
|
21266
|
+
class QualityEnhanceTaskInput < TencentCloud::Common::AbstractModel
|
21267
|
+
# @param FileId: 媒体文件 ID。
|
21268
|
+
# @type FileId: String
|
21269
|
+
# @param Definition: 音画质重生模板 ID。
|
21270
|
+
# @type Definition: Integer
|
21271
|
+
|
21272
|
+
attr_accessor :FileId, :Definition
|
21273
|
+
|
21274
|
+
def initialize(fileid=nil, definition=nil)
|
21275
|
+
@FileId = fileid
|
21276
|
+
@Definition = definition
|
21277
|
+
end
|
21278
|
+
|
21279
|
+
def deserialize(params)
|
21280
|
+
@FileId = params['FileId']
|
21281
|
+
@Definition = params['Definition']
|
21282
|
+
end
|
21283
|
+
end
|
21284
|
+
|
21285
|
+
# 音画质重生任务输出
|
21286
|
+
class QualityEnhanceTaskOutput < TencentCloud::Common::AbstractModel
|
21287
|
+
# @param FileType: 文件类型,例如 mp4、flv 等。
|
21288
|
+
# @type FileType: String
|
21289
|
+
# @param FileUrl: 媒体文件播放地址。
|
21290
|
+
# @type FileUrl: String
|
21291
|
+
# @param FileId: 媒体文件 ID。
|
21292
|
+
# @type FileId: String
|
21293
|
+
# @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
21294
|
+
# @type MediaName: String
|
21295
|
+
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
21296
|
+
# <li>默认值:0,表示其他分类。</li>
|
21297
|
+
# @type ClassId: Integer
|
21298
|
+
# @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
21299
|
+
# @type ExpireTime: String
|
21300
|
+
|
21301
|
+
attr_accessor :FileType, :FileUrl, :FileId, :MediaName, :ClassId, :ExpireTime
|
21302
|
+
|
21303
|
+
def initialize(filetype=nil, fileurl=nil, fileid=nil, medianame=nil, classid=nil, expiretime=nil)
|
21304
|
+
@FileType = filetype
|
21305
|
+
@FileUrl = fileurl
|
21306
|
+
@FileId = fileid
|
21307
|
+
@MediaName = medianame
|
21308
|
+
@ClassId = classid
|
21309
|
+
@ExpireTime = expiretime
|
21310
|
+
end
|
21311
|
+
|
21312
|
+
def deserialize(params)
|
21313
|
+
@FileType = params['FileType']
|
21314
|
+
@FileUrl = params['FileUrl']
|
21315
|
+
@FileId = params['FileId']
|
21316
|
+
@MediaName = params['MediaName']
|
21317
|
+
@ClassId = params['ClassId']
|
21318
|
+
@ExpireTime = params['ExpireTime']
|
21319
|
+
end
|
21320
|
+
end
|
21321
|
+
|
21183
21322
|
# 视频画面质量评价的控制参数。
|
21184
21323
|
class QualityEvaluationConfigureInfo < TencentCloud::Common::AbstractModel
|
21185
21324
|
# @param Switch: 视频画面质量评价检测开关,可选值:
|
@@ -25163,6 +25302,7 @@ module TencentCloud
|
|
25163
25302
|
# 花括号 {} 表示由 A、B、C、D 4 个水印组成的大周期,可以看出每个大周期持续 20 秒。
|
25164
25303
|
# 可以看出,A、B、C、D 都是周期性地显示 5 秒、隐藏 15 秒,且四者有固定的显示顺序。
|
25165
25304
|
# 此配置项即用来描述单个水印的周期配置。
|
25305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25166
25306
|
# @type CycleConfig: :class:`Tencentcloud::Vod.v20180717.models.WatermarkCycleConfigForUpdate`
|
25167
25307
|
|
25168
25308
|
attr_accessor :Width, :Height, :CycleConfig
|
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.709
|
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-11-
|
11
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|