tencentcloud-sdk-vod 3.0.1123 → 3.0.1125
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 +105 -0
- data/lib/v20180717/models.rb +212 -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: 0dfc82a2d6dd836902596c4fb01fbadbee59757e
|
4
|
+
data.tar.gz: b2cbb69f6a2f00475be73f0f304fa6fab413d825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43d0616c815e5c5fee527a54ffc1a5d40ecf933653a5101ce344eec8a7d19e9e73b72d900e28b0fa9f7ff97531c72042e236765a4ec2be4b236e1e77444ecbd1
|
7
|
+
data.tar.gz: 0bcea3f90982880d81477367c897abf44ea53825d8ccba1c785b6382b96bfe6dd8069ca30a49b03ade77e82972ed101b30134eb759f4eca2d9df7d8454020349
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1125
|
data/lib/v20180717/client.rb
CHANGED
@@ -541,6 +541,37 @@ module TencentCloud
|
|
541
541
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
542
542
|
end
|
543
543
|
|
544
|
+
# 该接口用于创建自定义模板,模板用于 ProcessMediaByMPS 接口的部分功能。
|
545
|
+
# 创建模板时,需要将 MPS 相关参数以 JSON 格式填入 MPSCreateTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
546
|
+
# 当前支持创建自定义模板的 MPS 功能:
|
547
|
+
# 1. [音视频增强](https://cloud.tencent.com/document/product/862/118703)。
|
548
|
+
|
549
|
+
# > 以该种方式创建的任务模板:
|
550
|
+
# > 1. 模板的管理仍在点播平台中完成。
|
551
|
+
# > 2. 该功能目前仍在内测中,如需测试体验,您可以联系我们获得支持。
|
552
|
+
|
553
|
+
# @param request: Request instance for CreateMPSTemplate.
|
554
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateMPSTemplateRequest`
|
555
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateMPSTemplateResponse`
|
556
|
+
def CreateMPSTemplate(request)
|
557
|
+
body = send_request('CreateMPSTemplate', request.serialize)
|
558
|
+
response = JSON.parse(body)
|
559
|
+
if response['Response'].key?('Error') == false
|
560
|
+
model = CreateMPSTemplateResponse.new
|
561
|
+
model.deserialize(response['Response'])
|
562
|
+
model
|
563
|
+
else
|
564
|
+
code = response['Response']['Error']['Code']
|
565
|
+
message = response['Response']['Error']['Message']
|
566
|
+
reqid = response['Response']['RequestId']
|
567
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
568
|
+
end
|
569
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
570
|
+
raise e
|
571
|
+
rescue StandardError => e
|
572
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
573
|
+
end
|
574
|
+
|
544
575
|
# 该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、不适宜视频识别等视频处理。
|
545
576
|
|
546
577
|
# @param request: Request instance for CreatePersonSample.
|
@@ -1202,6 +1233,30 @@ module TencentCloud
|
|
1202
1233
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1203
1234
|
end
|
1204
1235
|
|
1236
|
+
# 删除用户自定义 MPS 任务模板。
|
1237
|
+
|
1238
|
+
# @param request: Request instance for DeleteMPSTemplate.
|
1239
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteMPSTemplateRequest`
|
1240
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteMPSTemplateResponse`
|
1241
|
+
def DeleteMPSTemplate(request)
|
1242
|
+
body = send_request('DeleteMPSTemplate', request.serialize)
|
1243
|
+
response = JSON.parse(body)
|
1244
|
+
if response['Response'].key?('Error') == false
|
1245
|
+
model = DeleteMPSTemplateResponse.new
|
1246
|
+
model.deserialize(response['Response'])
|
1247
|
+
model
|
1248
|
+
else
|
1249
|
+
code = response['Response']['Error']['Code']
|
1250
|
+
message = response['Response']['Error']['Message']
|
1251
|
+
reqid = response['Response']['RequestId']
|
1252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1253
|
+
end
|
1254
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1255
|
+
raise e
|
1256
|
+
rescue StandardError => e
|
1257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1258
|
+
end
|
1259
|
+
|
1205
1260
|
# * 删除媒体及其对应的视频处理文件(原始文件、如转码视频、雪碧图、截图、微信发布视频等);
|
1206
1261
|
# * 可单独删除指定 ID 的视频文件下的原文件、转码视频、微信发布视频等;
|
1207
1262
|
# * 注意:原文件删除后,无法发起转码、微信发布等任何视频处理操作。
|
@@ -2315,6 +2370,31 @@ module TencentCloud
|
|
2315
2370
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2316
2371
|
end
|
2317
2372
|
|
2373
|
+
# 获取用户自定义媒体处理服务(MPS)任务模板。
|
2374
|
+
# 查询模板列表时,需要将 MPS 相关参数以 JSON 格式填入 MPSDescribeTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
2375
|
+
|
2376
|
+
# @param request: Request instance for DescribeMPSTemplates.
|
2377
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeMPSTemplatesRequest`
|
2378
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeMPSTemplatesResponse`
|
2379
|
+
def DescribeMPSTemplates(request)
|
2380
|
+
body = send_request('DescribeMPSTemplates', request.serialize)
|
2381
|
+
response = JSON.parse(body)
|
2382
|
+
if response['Response'].key?('Error') == false
|
2383
|
+
model = DescribeMPSTemplatesResponse.new
|
2384
|
+
model.deserialize(response['Response'])
|
2385
|
+
model
|
2386
|
+
else
|
2387
|
+
code = response['Response']['Error']['Code']
|
2388
|
+
message = response['Response']['Error']['Message']
|
2389
|
+
reqid = response['Response']['RequestId']
|
2390
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2391
|
+
end
|
2392
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2393
|
+
raise e
|
2394
|
+
rescue StandardError => e
|
2395
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2396
|
+
end
|
2397
|
+
|
2318
2398
|
# 1. 该接口可以获取多个媒体文件的多种信息,包括:
|
2319
2399
|
# 1. 基础信息(basicInfo):包括媒体名称、分类、播放地址、封面图片等。
|
2320
2400
|
# 2. 元信息(metaData):包括大小、时长、视频流信息、音频流信息等。
|
@@ -3584,6 +3664,31 @@ module TencentCloud
|
|
3584
3664
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3585
3665
|
end
|
3586
3666
|
|
3667
|
+
# 修改用户自定义 MPS 任务模板。
|
3668
|
+
# 修改模板时,需要将 MPS 相关参数以 JSON 格式填入 MPSModifyTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
3669
|
+
|
3670
|
+
# @param request: Request instance for ModifyMPSTemplate.
|
3671
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyMPSTemplateRequest`
|
3672
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyMPSTemplateResponse`
|
3673
|
+
def ModifyMPSTemplate(request)
|
3674
|
+
body = send_request('ModifyMPSTemplate', request.serialize)
|
3675
|
+
response = JSON.parse(body)
|
3676
|
+
if response['Response'].key?('Error') == false
|
3677
|
+
model = ModifyMPSTemplateResponse.new
|
3678
|
+
model.deserialize(response['Response'])
|
3679
|
+
model
|
3680
|
+
else
|
3681
|
+
code = response['Response']['Error']['Code']
|
3682
|
+
message = response['Response']['Error']['Message']
|
3683
|
+
reqid = response['Response']['RequestId']
|
3684
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3685
|
+
end
|
3686
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3687
|
+
raise e
|
3688
|
+
rescue StandardError => e
|
3689
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3690
|
+
end
|
3691
|
+
|
3587
3692
|
# 修改媒体文件的属性,包括分类、名称、描述、标签、过期时间、打点信息、视频封面、字幕信息等。
|
3588
3693
|
|
3589
3694
|
# @param request: Request instance for ModifyMediaInfo.
|
data/lib/v20180717/models.rb
CHANGED
@@ -7349,6 +7349,55 @@ module TencentCloud
|
|
7349
7349
|
end
|
7350
7350
|
end
|
7351
7351
|
|
7352
|
+
# CreateMPSTemplate请求参数结构体
|
7353
|
+
class CreateMPSTemplateRequest < TencentCloud::Common::AbstractModel
|
7354
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
7355
|
+
# @type SubAppId: Integer
|
7356
|
+
# @param TemplateType: 需要创建的 MPS 模板的类型。取值:
|
7357
|
+
# <li>Transcode: 创建转码模板,目前仅支持创建增强模板。</li>
|
7358
|
+
# @type TemplateType: String
|
7359
|
+
# @param MPSCreateTemplateParams: MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
|
7360
|
+
# 目前仅支持通过此方式创建以下任务类型的模板:
|
7361
|
+
# 1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig 此处必填,且 Container 目前暂不支持 hls。
|
7362
|
+
|
7363
|
+
# 目前模板中仅支持配置以上参数,其他参数无需填写。若包含其它参数,系统将自动忽略。以上透传参数以JSON形式表示。
|
7364
|
+
# @type MPSCreateTemplateParams: String
|
7365
|
+
|
7366
|
+
attr_accessor :SubAppId, :TemplateType, :MPSCreateTemplateParams
|
7367
|
+
|
7368
|
+
def initialize(subappid=nil, templatetype=nil, mpscreatetemplateparams=nil)
|
7369
|
+
@SubAppId = subappid
|
7370
|
+
@TemplateType = templatetype
|
7371
|
+
@MPSCreateTemplateParams = mpscreatetemplateparams
|
7372
|
+
end
|
7373
|
+
|
7374
|
+
def deserialize(params)
|
7375
|
+
@SubAppId = params['SubAppId']
|
7376
|
+
@TemplateType = params['TemplateType']
|
7377
|
+
@MPSCreateTemplateParams = params['MPSCreateTemplateParams']
|
7378
|
+
end
|
7379
|
+
end
|
7380
|
+
|
7381
|
+
# CreateMPSTemplate返回参数结构体
|
7382
|
+
class CreateMPSTemplateResponse < TencentCloud::Common::AbstractModel
|
7383
|
+
# @param Definition: MPS 任务模板唯一标识。该模板独立于直接在 MPS 服务中创建的模板。
|
7384
|
+
# @type Definition: Integer
|
7385
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7386
|
+
# @type RequestId: String
|
7387
|
+
|
7388
|
+
attr_accessor :Definition, :RequestId
|
7389
|
+
|
7390
|
+
def initialize(definition=nil, requestid=nil)
|
7391
|
+
@Definition = definition
|
7392
|
+
@RequestId = requestid
|
7393
|
+
end
|
7394
|
+
|
7395
|
+
def deserialize(params)
|
7396
|
+
@Definition = params['Definition']
|
7397
|
+
@RequestId = params['RequestId']
|
7398
|
+
end
|
7399
|
+
end
|
7400
|
+
|
7352
7401
|
# CreatePersonSample请求参数结构体
|
7353
7402
|
class CreatePersonSampleRequest < TencentCloud::Common::AbstractModel
|
7354
7403
|
# @param Name: 素材名称,长度限制:20 个字符。
|
@@ -8998,6 +9047,47 @@ module TencentCloud
|
|
8998
9047
|
end
|
8999
9048
|
end
|
9000
9049
|
|
9050
|
+
# DeleteMPSTemplate请求参数结构体
|
9051
|
+
class DeleteMPSTemplateRequest < TencentCloud::Common::AbstractModel
|
9052
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
9053
|
+
# @type SubAppId: Integer
|
9054
|
+
# @param TemplateType: 需要删除的 MPS 模板的类型。取值:
|
9055
|
+
# <li>Transcode: 删除转码模板。</li>
|
9056
|
+
# @type TemplateType: String
|
9057
|
+
# @param Definition: MPS 任务模板唯一标识。
|
9058
|
+
# @type Definition: Integer
|
9059
|
+
|
9060
|
+
attr_accessor :SubAppId, :TemplateType, :Definition
|
9061
|
+
|
9062
|
+
def initialize(subappid=nil, templatetype=nil, definition=nil)
|
9063
|
+
@SubAppId = subappid
|
9064
|
+
@TemplateType = templatetype
|
9065
|
+
@Definition = definition
|
9066
|
+
end
|
9067
|
+
|
9068
|
+
def deserialize(params)
|
9069
|
+
@SubAppId = params['SubAppId']
|
9070
|
+
@TemplateType = params['TemplateType']
|
9071
|
+
@Definition = params['Definition']
|
9072
|
+
end
|
9073
|
+
end
|
9074
|
+
|
9075
|
+
# DeleteMPSTemplate返回参数结构体
|
9076
|
+
class DeleteMPSTemplateResponse < TencentCloud::Common::AbstractModel
|
9077
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9078
|
+
# @type RequestId: String
|
9079
|
+
|
9080
|
+
attr_accessor :RequestId
|
9081
|
+
|
9082
|
+
def initialize(requestid=nil)
|
9083
|
+
@RequestId = requestid
|
9084
|
+
end
|
9085
|
+
|
9086
|
+
def deserialize(params)
|
9087
|
+
@RequestId = params['RequestId']
|
9088
|
+
end
|
9089
|
+
end
|
9090
|
+
|
9001
9091
|
# DeleteMedia请求参数结构体
|
9002
9092
|
class DeleteMediaRequest < TencentCloud::Common::AbstractModel
|
9003
9093
|
# @param FileId: 媒体文件的唯一标识。
|
@@ -11374,6 +11464,63 @@ module TencentCloud
|
|
11374
11464
|
end
|
11375
11465
|
end
|
11376
11466
|
|
11467
|
+
# DescribeMPSTemplates请求参数结构体
|
11468
|
+
class DescribeMPSTemplatesRequest < TencentCloud::Common::AbstractModel
|
11469
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
11470
|
+
# @type SubAppId: Integer
|
11471
|
+
# @param TemplateType: MPS 模板类型。根据需要查询的 MPS 模板的类型对结果进行过滤。取值:
|
11472
|
+
# <li>Transcode: 查询转码模板列表。</li>
|
11473
|
+
# @type TemplateType: String
|
11474
|
+
# @param MPSDescribeTemplateParams: MPS 查询模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧查询 MPS 任务模板列表。目前仅支持通过此方式查询以下任务类型的模板:
|
11475
|
+
# 1. 音视频增强:仅支持填写“[获取转码模板列表](https://cloud.tencent.com/document/product/862/37593)”接口中的 Definitions、Offset 和 Limit 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
11476
|
+
# @type MPSDescribeTemplateParams: String
|
11477
|
+
|
11478
|
+
attr_accessor :SubAppId, :TemplateType, :MPSDescribeTemplateParams
|
11479
|
+
|
11480
|
+
def initialize(subappid=nil, templatetype=nil, mpsdescribetemplateparams=nil)
|
11481
|
+
@SubAppId = subappid
|
11482
|
+
@TemplateType = templatetype
|
11483
|
+
@MPSDescribeTemplateParams = mpsdescribetemplateparams
|
11484
|
+
end
|
11485
|
+
|
11486
|
+
def deserialize(params)
|
11487
|
+
@SubAppId = params['SubAppId']
|
11488
|
+
@TemplateType = params['TemplateType']
|
11489
|
+
@MPSDescribeTemplateParams = params['MPSDescribeTemplateParams']
|
11490
|
+
end
|
11491
|
+
end
|
11492
|
+
|
11493
|
+
# DescribeMPSTemplates返回参数结构体
|
11494
|
+
class DescribeMPSTemplatesResponse < TencentCloud::Common::AbstractModel
|
11495
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
11496
|
+
# @type TotalCount: Integer
|
11497
|
+
# @param MPSTemplateSet: MPS 任务模板详情列表。
|
11498
|
+
# @type MPSTemplateSet: Array
|
11499
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11500
|
+
# @type RequestId: String
|
11501
|
+
|
11502
|
+
attr_accessor :TotalCount, :MPSTemplateSet, :RequestId
|
11503
|
+
|
11504
|
+
def initialize(totalcount=nil, mpstemplateset=nil, requestid=nil)
|
11505
|
+
@TotalCount = totalcount
|
11506
|
+
@MPSTemplateSet = mpstemplateset
|
11507
|
+
@RequestId = requestid
|
11508
|
+
end
|
11509
|
+
|
11510
|
+
def deserialize(params)
|
11511
|
+
@TotalCount = params['TotalCount']
|
11512
|
+
unless params['MPSTemplateSet'].nil?
|
11513
|
+
@MPSTemplateSet = []
|
11514
|
+
params['MPSTemplateSet'].each do |i|
|
11515
|
+
mpstemplate_tmp = MPSTemplate.new
|
11516
|
+
mpstemplate_tmp.deserialize(i)
|
11517
|
+
@MPSTemplateSet << mpstemplate_tmp
|
11518
|
+
end
|
11519
|
+
end
|
11520
|
+
@RequestId = params['RequestId']
|
11521
|
+
end
|
11522
|
+
end
|
11523
|
+
|
11377
11524
|
# DescribeMediaInfos请求参数结构体
|
11378
11525
|
class DescribeMediaInfosRequest < TencentCloud::Common::AbstractModel
|
11379
11526
|
# @param FileIds: 媒体文件 ID 列表,N 从 0 开始取值,最大 19。
|
@@ -16231,7 +16378,6 @@ module TencentCloud
|
|
16231
16378
|
# @param Message: 错误信息。
|
16232
16379
|
# @type Message: String
|
16233
16380
|
# @param Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
16234
|
-
# 示例:{"Definition": 24}
|
16235
16381
|
# @type Input: String
|
16236
16382
|
# @param Output: MPS 视频处理任务输出。
|
16237
16383
|
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.MPSTaskOutput`
|
@@ -16283,6 +16429,27 @@ module TencentCloud
|
|
16283
16429
|
end
|
16284
16430
|
end
|
16285
16431
|
|
16432
|
+
# MPS 任务模板详情。
|
16433
|
+
class MPSTemplate < TencentCloud::Common::AbstractModel
|
16434
|
+
# @param TaskType: MPS 模板的类型。取值:
|
16435
|
+
# <li>Transcode: 转码模板。</li>
|
16436
|
+
# @type TaskType: String
|
16437
|
+
# @param MPSTemplateInfo: MPS 任务模板详情内容。
|
16438
|
+
# @type MPSTemplateInfo: String
|
16439
|
+
|
16440
|
+
attr_accessor :TaskType, :MPSTemplateInfo
|
16441
|
+
|
16442
|
+
def initialize(tasktype=nil, mpstemplateinfo=nil)
|
16443
|
+
@TaskType = tasktype
|
16444
|
+
@MPSTemplateInfo = mpstemplateinfo
|
16445
|
+
end
|
16446
|
+
|
16447
|
+
def deserialize(params)
|
16448
|
+
@TaskType = params['TaskType']
|
16449
|
+
@MPSTemplateInfo = params['MPSTemplateInfo']
|
16450
|
+
end
|
16451
|
+
end
|
16452
|
+
|
16286
16453
|
# ManageTask请求参数结构体
|
16287
16454
|
class ManageTaskRequest < TencentCloud::Common::AbstractModel
|
16288
16455
|
# @param TaskId: 视频处理的任务 ID。
|
@@ -19514,6 +19681,49 @@ module TencentCloud
|
|
19514
19681
|
end
|
19515
19682
|
end
|
19516
19683
|
|
19684
|
+
# ModifyMPSTemplate请求参数结构体
|
19685
|
+
class ModifyMPSTemplateRequest < TencentCloud::Common::AbstractModel
|
19686
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
19687
|
+
# @type SubAppId: Integer
|
19688
|
+
# @param TemplateType: 需要修改的 MPS 模板的类型。取值:
|
19689
|
+
# <li>Transcode: 创建转码模板,目前仅支持修改增强参数。</li>
|
19690
|
+
# @type TemplateType: String
|
19691
|
+
# @param MPSModifyTemplateParams: MPS 修改模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧修改用户自定义的 MPS 任务模板。
|
19692
|
+
# 目前仅支持通过此方式修改以下任务类型的模板:
|
19693
|
+
# 1. 音视频增强:仅支持填写“[修改转码模板](https://cloud.tencent.com/document/api/862/37578)”接口中的 Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
19694
|
+
# @type MPSModifyTemplateParams: String
|
19695
|
+
|
19696
|
+
attr_accessor :SubAppId, :TemplateType, :MPSModifyTemplateParams
|
19697
|
+
|
19698
|
+
def initialize(subappid=nil, templatetype=nil, mpsmodifytemplateparams=nil)
|
19699
|
+
@SubAppId = subappid
|
19700
|
+
@TemplateType = templatetype
|
19701
|
+
@MPSModifyTemplateParams = mpsmodifytemplateparams
|
19702
|
+
end
|
19703
|
+
|
19704
|
+
def deserialize(params)
|
19705
|
+
@SubAppId = params['SubAppId']
|
19706
|
+
@TemplateType = params['TemplateType']
|
19707
|
+
@MPSModifyTemplateParams = params['MPSModifyTemplateParams']
|
19708
|
+
end
|
19709
|
+
end
|
19710
|
+
|
19711
|
+
# ModifyMPSTemplate返回参数结构体
|
19712
|
+
class ModifyMPSTemplateResponse < TencentCloud::Common::AbstractModel
|
19713
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19714
|
+
# @type RequestId: String
|
19715
|
+
|
19716
|
+
attr_accessor :RequestId
|
19717
|
+
|
19718
|
+
def initialize(requestid=nil)
|
19719
|
+
@RequestId = requestid
|
19720
|
+
end
|
19721
|
+
|
19722
|
+
def deserialize(params)
|
19723
|
+
@RequestId = params['RequestId']
|
19724
|
+
end
|
19725
|
+
end
|
19726
|
+
|
19517
19727
|
# ModifyMediaInfo请求参数结构体
|
19518
19728
|
class ModifyMediaInfoRequest < TencentCloud::Common::AbstractModel
|
19519
19729
|
# @param FileId: 媒体文件唯一标识。
|
@@ -22240,8 +22450,7 @@ module TencentCloud
|
|
22240
22450
|
# 填写说明:
|
22241
22451
|
# 1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
|
22242
22452
|
# 2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
|
22243
|
-
# 3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/
|
22244
|
-
# 示例:{"AiAnalysisTask":{"Definition":25}}
|
22453
|
+
# 3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](https://cloud.tencent.com/document/product/266/122580) 接口创建自定义模板。
|
22245
22454
|
# @type MPSProcessMediaParams: String
|
22246
22455
|
# @param ExtInfo: 保留字段,特殊用途时使用。
|
22247
22456
|
# @type ExtInfo: String
|
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.1125
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|