tencentcloud-sdk-vod 3.0.542 → 3.0.544
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/client.rb +120 -0
- data/lib/v20180717/models.rb +594 -2
- 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: 4bc2f4685a7d4c2e90ac0187c6ca5331fa8924ef
|
4
|
+
data.tar.gz: 514b96a371da97f86241b2c500ba90b430bb6bec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa4119fb171d06d3ed2f756f3329d51a2b50b418b1397d696a34114c4171b410deb70dca3eee5b0124b1dae2ea9f4c7849ce9b1ff85331cae3c00361be1da9c
|
7
|
+
data.tar.gz: 9841aaefadab707b96b8fe360892cdc9908928c877055b40edcbefad58d86ad87e8953d3096feebc1ed3b34236b52896f352d4c59739ee049669ea423bdaf62a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.544
|
data/lib/v20180717/client.rb
CHANGED
@@ -432,6 +432,30 @@ module TencentCloud
|
|
432
432
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
433
433
|
end
|
434
434
|
|
435
|
+
# 创建音画质重生模版。
|
436
|
+
|
437
|
+
# @param request: Request instance for CreateRebuildMediaTemplate.
|
438
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateRebuildMediaTemplateRequest`
|
439
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateRebuildMediaTemplateResponse`
|
440
|
+
def CreateRebuildMediaTemplate(request)
|
441
|
+
body = send_request('CreateRebuildMediaTemplate', request.serialize)
|
442
|
+
response = JSON.parse(body)
|
443
|
+
if response['Response'].key?('Error') == false
|
444
|
+
model = CreateRebuildMediaTemplateResponse.new
|
445
|
+
model.deserialize(response['Response'])
|
446
|
+
model
|
447
|
+
else
|
448
|
+
code = response['Response']['Error']['Code']
|
449
|
+
message = response['Response']['Error']['Message']
|
450
|
+
reqid = response['Response']['RequestId']
|
451
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
452
|
+
end
|
453
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
454
|
+
raise e
|
455
|
+
rescue StandardError => e
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
457
|
+
end
|
458
|
+
|
435
459
|
# 创建用户自定义审核模板,数量上限:50。
|
436
460
|
# >模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
437
461
|
|
@@ -997,6 +1021,30 @@ module TencentCloud
|
|
997
1021
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
998
1022
|
end
|
999
1023
|
|
1024
|
+
# 删除音画质重生模版。
|
1025
|
+
|
1026
|
+
# @param request: Request instance for DeleteRebuildMediaTemplate.
|
1027
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteRebuildMediaTemplateRequest`
|
1028
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteRebuildMediaTemplateResponse`
|
1029
|
+
def DeleteRebuildMediaTemplate(request)
|
1030
|
+
body = send_request('DeleteRebuildMediaTemplate', request.serialize)
|
1031
|
+
response = JSON.parse(body)
|
1032
|
+
if response['Response'].key?('Error') == false
|
1033
|
+
model = DeleteRebuildMediaTemplateResponse.new
|
1034
|
+
model.deserialize(response['Response'])
|
1035
|
+
model
|
1036
|
+
else
|
1037
|
+
code = response['Response']['Error']['Code']
|
1038
|
+
message = response['Response']['Error']['Message']
|
1039
|
+
reqid = response['Response']['RequestId']
|
1040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1041
|
+
end
|
1042
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1043
|
+
raise e
|
1044
|
+
rescue StandardError => e
|
1045
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1046
|
+
end
|
1047
|
+
|
1000
1048
|
# 删除用户自定义审核模板。
|
1001
1049
|
# >模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
1002
1050
|
|
@@ -1973,6 +2021,30 @@ module TencentCloud
|
|
1973
2021
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
2022
|
end
|
1975
2023
|
|
2024
|
+
# 获取音画质重生模版列表。
|
2025
|
+
|
2026
|
+
# @param request: Request instance for DescribeRebuildMediaTemplates.
|
2027
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeRebuildMediaTemplatesRequest`
|
2028
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeRebuildMediaTemplatesResponse`
|
2029
|
+
def DescribeRebuildMediaTemplates(request)
|
2030
|
+
body = send_request('DescribeRebuildMediaTemplates', request.serialize)
|
2031
|
+
response = JSON.parse(body)
|
2032
|
+
if response['Response'].key?('Error') == false
|
2033
|
+
model = DescribeRebuildMediaTemplatesResponse.new
|
2034
|
+
model.deserialize(response['Response'])
|
2035
|
+
model
|
2036
|
+
else
|
2037
|
+
code = response['Response']['Error']['Code']
|
2038
|
+
message = response['Response']['Error']['Message']
|
2039
|
+
reqid = response['Response']['RequestId']
|
2040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2041
|
+
end
|
2042
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2043
|
+
raise e
|
2044
|
+
rescue StandardError => e
|
2045
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
|
+
end
|
2047
|
+
|
1976
2048
|
# <b>本接口已不推荐使用,用 [DescribeMediaProcessUsageData](/document/product/266/41464) 替代</b>
|
1977
2049
|
|
1978
2050
|
# 该接口返回查询时间范围内每天使用的视频内容智能识别时长数据,单位: 秒。
|
@@ -2886,6 +2958,30 @@ module TencentCloud
|
|
2886
2958
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2887
2959
|
end
|
2888
2960
|
|
2961
|
+
# 修改音画质重生模版。
|
2962
|
+
|
2963
|
+
# @param request: Request instance for ModifyRebuildMediaTemplate.
|
2964
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyRebuildMediaTemplateRequest`
|
2965
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyRebuildMediaTemplateResponse`
|
2966
|
+
def ModifyRebuildMediaTemplate(request)
|
2967
|
+
body = send_request('ModifyRebuildMediaTemplate', request.serialize)
|
2968
|
+
response = JSON.parse(body)
|
2969
|
+
if response['Response'].key?('Error') == false
|
2970
|
+
model = ModifyRebuildMediaTemplateResponse.new
|
2971
|
+
model.deserialize(response['Response'])
|
2972
|
+
model
|
2973
|
+
else
|
2974
|
+
code = response['Response']['Error']['Code']
|
2975
|
+
message = response['Response']['Error']['Message']
|
2976
|
+
reqid = response['Response']['RequestId']
|
2977
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2978
|
+
end
|
2979
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2980
|
+
raise e
|
2981
|
+
rescue StandardError => e
|
2982
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2983
|
+
end
|
2984
|
+
|
2889
2985
|
# 修改用户自定义审核模板。
|
2890
2986
|
# >模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
2891
2987
|
|
@@ -3428,6 +3524,30 @@ module TencentCloud
|
|
3428
3524
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3429
3525
|
end
|
3430
3526
|
|
3527
|
+
# 使用模版发起音画质重生。
|
3528
|
+
|
3529
|
+
# @param request: Request instance for RebuildMediaByTemplate.
|
3530
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::RebuildMediaByTemplateRequest`
|
3531
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::RebuildMediaByTemplateResponse`
|
3532
|
+
def RebuildMediaByTemplate(request)
|
3533
|
+
body = send_request('RebuildMediaByTemplate', request.serialize)
|
3534
|
+
response = JSON.parse(body)
|
3535
|
+
if response['Response'].key?('Error') == false
|
3536
|
+
model = RebuildMediaByTemplateResponse.new
|
3537
|
+
model.deserialize(response['Response'])
|
3538
|
+
model
|
3539
|
+
else
|
3540
|
+
code = response['Response']['Error']['Code']
|
3541
|
+
message = response['Response']['Error']['Message']
|
3542
|
+
reqid = response['Response']['RequestId']
|
3543
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3544
|
+
end
|
3545
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3546
|
+
raise e
|
3547
|
+
rescue StandardError => e
|
3548
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3549
|
+
end
|
3550
|
+
|
3431
3551
|
# 1. 刷新指定的 URL 列表。
|
3432
3552
|
# 2. URL 的域名必须已在云点播中注册。
|
3433
3553
|
# 3. 单次请求最多指定20个 URL。
|
data/lib/v20180717/models.rb
CHANGED
@@ -6074,6 +6074,96 @@ module TencentCloud
|
|
6074
6074
|
end
|
6075
6075
|
end
|
6076
6076
|
|
6077
|
+
# CreateRebuildMediaTemplate请求参数结构体
|
6078
|
+
class CreateRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
6079
|
+
# @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
|
6080
|
+
# @type Container: String
|
6081
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6082
|
+
# @type SubAppId: Integer
|
6083
|
+
# @param Name: 音画质重生模版名称。
|
6084
|
+
# @type Name: String
|
6085
|
+
# @param Comment: 模版描述。
|
6086
|
+
# @type Comment: String
|
6087
|
+
# @param RebuildVideoInfo: 音画质重生视频控制控制信息。
|
6088
|
+
# @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
|
6089
|
+
# @param RebuildAudioInfo: 音画质重生音频控制控制信息。
|
6090
|
+
# @type RebuildAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildAudioInfo`
|
6091
|
+
# @param TargetVideoInfo: 输出目标视频控制信息。
|
6092
|
+
# @type TargetVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
|
6093
|
+
# @param TargetAudioInfo: 输出目标音频控制信息。
|
6094
|
+
# @type TargetAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
|
6095
|
+
# @param RemoveVideo: 是否去除视频数据,可选值:
|
6096
|
+
# <li>0:保留</li>
|
6097
|
+
# <li>1:去除</li>
|
6098
|
+
# 默认值 0。
|
6099
|
+
# @type RemoveVideo: Integer
|
6100
|
+
# @param RemoveAudio: 是否去除音频数据,可选值:
|
6101
|
+
# <li>0:保留</li>
|
6102
|
+
# <li>1:去除</li>
|
6103
|
+
# 默认值 0。
|
6104
|
+
# @type RemoveAudio: String
|
6105
|
+
|
6106
|
+
attr_accessor :Container, :SubAppId, :Name, :Comment, :RebuildVideoInfo, :RebuildAudioInfo, :TargetVideoInfo, :TargetAudioInfo, :RemoveVideo, :RemoveAudio
|
6107
|
+
|
6108
|
+
def initialize(container=nil, subappid=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, removevideo=nil, removeaudio=nil)
|
6109
|
+
@Container = container
|
6110
|
+
@SubAppId = subappid
|
6111
|
+
@Name = name
|
6112
|
+
@Comment = comment
|
6113
|
+
@RebuildVideoInfo = rebuildvideoinfo
|
6114
|
+
@RebuildAudioInfo = rebuildaudioinfo
|
6115
|
+
@TargetVideoInfo = targetvideoinfo
|
6116
|
+
@TargetAudioInfo = targetaudioinfo
|
6117
|
+
@RemoveVideo = removevideo
|
6118
|
+
@RemoveAudio = removeaudio
|
6119
|
+
end
|
6120
|
+
|
6121
|
+
def deserialize(params)
|
6122
|
+
@Container = params['Container']
|
6123
|
+
@SubAppId = params['SubAppId']
|
6124
|
+
@Name = params['Name']
|
6125
|
+
@Comment = params['Comment']
|
6126
|
+
unless params['RebuildVideoInfo'].nil?
|
6127
|
+
@RebuildVideoInfo = RebuildVideoInfo.new
|
6128
|
+
@RebuildVideoInfo.deserialize(params['RebuildVideoInfo'])
|
6129
|
+
end
|
6130
|
+
unless params['RebuildAudioInfo'].nil?
|
6131
|
+
@RebuildAudioInfo = RebuildAudioInfo.new
|
6132
|
+
@RebuildAudioInfo.deserialize(params['RebuildAudioInfo'])
|
6133
|
+
end
|
6134
|
+
unless params['TargetVideoInfo'].nil?
|
6135
|
+
@TargetVideoInfo = RebuildMediaTargetVideoStream.new
|
6136
|
+
@TargetVideoInfo.deserialize(params['TargetVideoInfo'])
|
6137
|
+
end
|
6138
|
+
unless params['TargetAudioInfo'].nil?
|
6139
|
+
@TargetAudioInfo = RebuildMediaTargetAudioStream.new
|
6140
|
+
@TargetAudioInfo.deserialize(params['TargetAudioInfo'])
|
6141
|
+
end
|
6142
|
+
@RemoveVideo = params['RemoveVideo']
|
6143
|
+
@RemoveAudio = params['RemoveAudio']
|
6144
|
+
end
|
6145
|
+
end
|
6146
|
+
|
6147
|
+
# CreateRebuildMediaTemplate返回参数结构体
|
6148
|
+
class CreateRebuildMediaTemplateResponse < TencentCloud::Common::AbstractModel
|
6149
|
+
# @param Definition: 音画质重生模版 ID。
|
6150
|
+
# @type Definition: Integer
|
6151
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6152
|
+
# @type RequestId: String
|
6153
|
+
|
6154
|
+
attr_accessor :Definition, :RequestId
|
6155
|
+
|
6156
|
+
def initialize(definition=nil, requestid=nil)
|
6157
|
+
@Definition = definition
|
6158
|
+
@RequestId = requestid
|
6159
|
+
end
|
6160
|
+
|
6161
|
+
def deserialize(params)
|
6162
|
+
@Definition = params['Definition']
|
6163
|
+
@RequestId = params['RequestId']
|
6164
|
+
end
|
6165
|
+
end
|
6166
|
+
|
6077
6167
|
# CreateReviewTemplate请求参数结构体
|
6078
6168
|
class CreateReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
6079
6169
|
# @param Labels: 需要返回的违规标签列表,可选值为:
|
@@ -7313,6 +7403,42 @@ module TencentCloud
|
|
7313
7403
|
end
|
7314
7404
|
end
|
7315
7405
|
|
7406
|
+
# DeleteRebuildMediaTemplate请求参数结构体
|
7407
|
+
class DeleteRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
7408
|
+
# @param Definition: 音画质重生模版号。
|
7409
|
+
# @type Definition: Integer
|
7410
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7411
|
+
# @type SubAppId: Integer
|
7412
|
+
|
7413
|
+
attr_accessor :Definition, :SubAppId
|
7414
|
+
|
7415
|
+
def initialize(definition=nil, subappid=nil)
|
7416
|
+
@Definition = definition
|
7417
|
+
@SubAppId = subappid
|
7418
|
+
end
|
7419
|
+
|
7420
|
+
def deserialize(params)
|
7421
|
+
@Definition = params['Definition']
|
7422
|
+
@SubAppId = params['SubAppId']
|
7423
|
+
end
|
7424
|
+
end
|
7425
|
+
|
7426
|
+
# DeleteRebuildMediaTemplate返回参数结构体
|
7427
|
+
class DeleteRebuildMediaTemplateResponse < TencentCloud::Common::AbstractModel
|
7428
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7429
|
+
# @type RequestId: String
|
7430
|
+
|
7431
|
+
attr_accessor :RequestId
|
7432
|
+
|
7433
|
+
def initialize(requestid=nil)
|
7434
|
+
@RequestId = requestid
|
7435
|
+
end
|
7436
|
+
|
7437
|
+
def deserialize(params)
|
7438
|
+
@RequestId = params['RequestId']
|
7439
|
+
end
|
7440
|
+
end
|
7441
|
+
|
7316
7442
|
# DeleteReviewTemplate请求参数结构体
|
7317
7443
|
class DeleteReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
7318
7444
|
# @param Definition: 审核模板唯一标识。
|
@@ -9475,6 +9601,71 @@ module TencentCloud
|
|
9475
9601
|
end
|
9476
9602
|
end
|
9477
9603
|
|
9604
|
+
# DescribeRebuildMediaTemplates请求参数结构体
|
9605
|
+
class DescribeRebuildMediaTemplatesRequest < TencentCloud::Common::AbstractModel
|
9606
|
+
# @param Definitions: 音画质重生模版列表。
|
9607
|
+
# @type Definitions: Array
|
9608
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
9609
|
+
# @type SubAppId: Integer
|
9610
|
+
# @param Type: 模板类型过滤条件,可选值:
|
9611
|
+
# <li>Preset:系统预置模板;</li>
|
9612
|
+
# <li>Custom:用户自定义模板。</li>
|
9613
|
+
# @type Type: String
|
9614
|
+
# @param Offset: 分页偏移量,默认值:0。
|
9615
|
+
# @type Offset: Integer
|
9616
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
9617
|
+
# @type Limit: Integer
|
9618
|
+
|
9619
|
+
attr_accessor :Definitions, :SubAppId, :Type, :Offset, :Limit
|
9620
|
+
|
9621
|
+
def initialize(definitions=nil, subappid=nil, type=nil, offset=nil, limit=nil)
|
9622
|
+
@Definitions = definitions
|
9623
|
+
@SubAppId = subappid
|
9624
|
+
@Type = type
|
9625
|
+
@Offset = offset
|
9626
|
+
@Limit = limit
|
9627
|
+
end
|
9628
|
+
|
9629
|
+
def deserialize(params)
|
9630
|
+
@Definitions = params['Definitions']
|
9631
|
+
@SubAppId = params['SubAppId']
|
9632
|
+
@Type = params['Type']
|
9633
|
+
@Offset = params['Offset']
|
9634
|
+
@Limit = params['Limit']
|
9635
|
+
end
|
9636
|
+
end
|
9637
|
+
|
9638
|
+
# DescribeRebuildMediaTemplates返回参数结构体
|
9639
|
+
class DescribeRebuildMediaTemplatesResponse < TencentCloud::Common::AbstractModel
|
9640
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
9641
|
+
# @type TotalCount: Integer
|
9642
|
+
# @param RebuildMediaTemplateSet: 音画质重生模板详情列表。
|
9643
|
+
# @type RebuildMediaTemplateSet: Array
|
9644
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9645
|
+
# @type RequestId: String
|
9646
|
+
|
9647
|
+
attr_accessor :TotalCount, :RebuildMediaTemplateSet, :RequestId
|
9648
|
+
|
9649
|
+
def initialize(totalcount=nil, rebuildmediatemplateset=nil, requestid=nil)
|
9650
|
+
@TotalCount = totalcount
|
9651
|
+
@RebuildMediaTemplateSet = rebuildmediatemplateset
|
9652
|
+
@RequestId = requestid
|
9653
|
+
end
|
9654
|
+
|
9655
|
+
def deserialize(params)
|
9656
|
+
@TotalCount = params['TotalCount']
|
9657
|
+
unless params['RebuildMediaTemplateSet'].nil?
|
9658
|
+
@RebuildMediaTemplateSet = []
|
9659
|
+
params['RebuildMediaTemplateSet'].each do |i|
|
9660
|
+
rebuildmediatemplate_tmp = RebuildMediaTemplate.new
|
9661
|
+
rebuildmediatemplate_tmp.deserialize(i)
|
9662
|
+
@RebuildMediaTemplateSet << rebuildmediatemplate_tmp
|
9663
|
+
end
|
9664
|
+
end
|
9665
|
+
@RequestId = params['RequestId']
|
9666
|
+
end
|
9667
|
+
end
|
9668
|
+
|
9478
9669
|
# DescribeReviewDetails请求参数结构体
|
9479
9670
|
class DescribeReviewDetailsRequest < TencentCloud::Common::AbstractModel
|
9480
9671
|
# @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
@@ -16000,6 +16191,94 @@ module TencentCloud
|
|
16000
16191
|
end
|
16001
16192
|
end
|
16002
16193
|
|
16194
|
+
# ModifyRebuildMediaTemplate请求参数结构体
|
16195
|
+
class ModifyRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
16196
|
+
# @param Definition: 音画质重生模版号。
|
16197
|
+
# @type Definition: Integer
|
16198
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
16199
|
+
# @type SubAppId: String
|
16200
|
+
# @param Name: 音画质重生模版名称。
|
16201
|
+
# @type Name: String
|
16202
|
+
# @param Comment: 音画质重生模版描述。
|
16203
|
+
# @type Comment: String
|
16204
|
+
# @param RebuildVideoInfo: 音画质重生视频控制信息。
|
16205
|
+
# @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
|
16206
|
+
# @param RebuildAudioInfo: 音画质重生音频控制信息。
|
16207
|
+
# @type RebuildAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildAudioInfo`
|
16208
|
+
# @param TargetVideoInfo: 输出目标视频控制信息。
|
16209
|
+
# @type TargetVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
|
16210
|
+
# @param TargetAudioInfo: 输出目标音频控制信息。
|
16211
|
+
# @type TargetAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
|
16212
|
+
# @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
|
16213
|
+
# @type Container: String
|
16214
|
+
# @param RemoveVideo: 是否去除视频数据,可选值:
|
16215
|
+
# <li>0:保留</li>
|
16216
|
+
# <li>1:去除</li>
|
16217
|
+
# @type RemoveVideo: Integer
|
16218
|
+
# @param RemoveAudio: 是否去除音频数据,可选值:
|
16219
|
+
# <li>0:保留</li>
|
16220
|
+
# <li>1:去除</li>
|
16221
|
+
# @type RemoveAudio: Integer
|
16222
|
+
|
16223
|
+
attr_accessor :Definition, :SubAppId, :Name, :Comment, :RebuildVideoInfo, :RebuildAudioInfo, :TargetVideoInfo, :TargetAudioInfo, :Container, :RemoveVideo, :RemoveAudio
|
16224
|
+
|
16225
|
+
def initialize(definition=nil, subappid=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, container=nil, removevideo=nil, removeaudio=nil)
|
16226
|
+
@Definition = definition
|
16227
|
+
@SubAppId = subappid
|
16228
|
+
@Name = name
|
16229
|
+
@Comment = comment
|
16230
|
+
@RebuildVideoInfo = rebuildvideoinfo
|
16231
|
+
@RebuildAudioInfo = rebuildaudioinfo
|
16232
|
+
@TargetVideoInfo = targetvideoinfo
|
16233
|
+
@TargetAudioInfo = targetaudioinfo
|
16234
|
+
@Container = container
|
16235
|
+
@RemoveVideo = removevideo
|
16236
|
+
@RemoveAudio = removeaudio
|
16237
|
+
end
|
16238
|
+
|
16239
|
+
def deserialize(params)
|
16240
|
+
@Definition = params['Definition']
|
16241
|
+
@SubAppId = params['SubAppId']
|
16242
|
+
@Name = params['Name']
|
16243
|
+
@Comment = params['Comment']
|
16244
|
+
unless params['RebuildVideoInfo'].nil?
|
16245
|
+
@RebuildVideoInfo = RebuildVideoInfo.new
|
16246
|
+
@RebuildVideoInfo.deserialize(params['RebuildVideoInfo'])
|
16247
|
+
end
|
16248
|
+
unless params['RebuildAudioInfo'].nil?
|
16249
|
+
@RebuildAudioInfo = RebuildAudioInfo.new
|
16250
|
+
@RebuildAudioInfo.deserialize(params['RebuildAudioInfo'])
|
16251
|
+
end
|
16252
|
+
unless params['TargetVideoInfo'].nil?
|
16253
|
+
@TargetVideoInfo = RebuildMediaTargetVideoStream.new
|
16254
|
+
@TargetVideoInfo.deserialize(params['TargetVideoInfo'])
|
16255
|
+
end
|
16256
|
+
unless params['TargetAudioInfo'].nil?
|
16257
|
+
@TargetAudioInfo = RebuildMediaTargetAudioStream.new
|
16258
|
+
@TargetAudioInfo.deserialize(params['TargetAudioInfo'])
|
16259
|
+
end
|
16260
|
+
@Container = params['Container']
|
16261
|
+
@RemoveVideo = params['RemoveVideo']
|
16262
|
+
@RemoveAudio = params['RemoveAudio']
|
16263
|
+
end
|
16264
|
+
end
|
16265
|
+
|
16266
|
+
# ModifyRebuildMediaTemplate返回参数结构体
|
16267
|
+
class ModifyRebuildMediaTemplateResponse < TencentCloud::Common::AbstractModel
|
16268
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16269
|
+
# @type RequestId: String
|
16270
|
+
|
16271
|
+
attr_accessor :RequestId
|
16272
|
+
|
16273
|
+
def initialize(requestid=nil)
|
16274
|
+
@RequestId = requestid
|
16275
|
+
end
|
16276
|
+
|
16277
|
+
def deserialize(params)
|
16278
|
+
@RequestId = params['RequestId']
|
16279
|
+
end
|
16280
|
+
end
|
16281
|
+
|
16003
16282
|
# ModifyReviewTemplate请求参数结构体
|
16004
16283
|
class ModifyReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
16005
16284
|
# @param Definition: 审核模板唯一标识。
|
@@ -18651,6 +18930,9 @@ module TencentCloud
|
|
18651
18930
|
# @param MediaUrl: 要拉取的媒体 URL,暂不支持拉取 Dash 格式(可以支持 HLS)。
|
18652
18931
|
# 支持的扩展名详见[媒体类型](https://cloud.tencent.com/document/product/266/9760#.E5.AA.92.E4.BD.93.E7.B1.BB.E5.9E.8B)。请确保媒体 URL 可以访问。
|
18653
18932
|
# @type MediaUrl: String
|
18933
|
+
# @param MediaType: 媒体文件类型(扩展名),支持的类型详见[媒体类型](https://cloud.tencent.com/document/product/266/9760#.E5.AA.92.E4.BD.93.E7.B1.BB.E5.9E.8B)。
|
18934
|
+
# 如果 MediaType 不填或取值为空字符串,将根据 MediaUrl 自动获取文件类型。
|
18935
|
+
# @type MediaType: String
|
18654
18936
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
18655
18937
|
# @type SubAppId: Integer
|
18656
18938
|
# @param MediaName: 媒体名称。
|
@@ -18676,10 +18958,11 @@ module TencentCloud
|
|
18676
18958
|
# @param SourceContext: 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。
|
18677
18959
|
# @type SourceContext: String
|
18678
18960
|
|
18679
|
-
attr_accessor :MediaUrl, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SessionContext, :SessionId, :ExtInfo, :SourceContext
|
18961
|
+
attr_accessor :MediaUrl, :MediaType, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SessionContext, :SessionId, :ExtInfo, :SourceContext
|
18680
18962
|
|
18681
|
-
def initialize(mediaurl=nil, subappid=nil, medianame=nil, coverurl=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, sessioncontext=nil, sessionid=nil, extinfo=nil, sourcecontext=nil)
|
18963
|
+
def initialize(mediaurl=nil, mediatype=nil, subappid=nil, medianame=nil, coverurl=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, sessioncontext=nil, sessionid=nil, extinfo=nil, sourcecontext=nil)
|
18682
18964
|
@MediaUrl = mediaurl
|
18965
|
+
@MediaType = mediatype
|
18683
18966
|
@SubAppId = subappid
|
18684
18967
|
@MediaName = medianame
|
18685
18968
|
@CoverUrl = coverurl
|
@@ -18695,6 +18978,7 @@ module TencentCloud
|
|
18695
18978
|
|
18696
18979
|
def deserialize(params)
|
18697
18980
|
@MediaUrl = params['MediaUrl']
|
18981
|
+
@MediaType = params['MediaType']
|
18698
18982
|
@SubAppId = params['SubAppId']
|
18699
18983
|
@MediaName = params['MediaName']
|
18700
18984
|
@CoverUrl = params['CoverUrl']
|
@@ -18841,6 +19125,126 @@ module TencentCloud
|
|
18841
19125
|
end
|
18842
19126
|
end
|
18843
19127
|
|
19128
|
+
# 音画质重生音频控制控制信息。
|
19129
|
+
class RebuildAudioInfo < TencentCloud::Common::AbstractModel
|
19130
|
+
# @param AudioDenoiseInfo: 音频降噪控制参数。
|
19131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19132
|
+
# @type AudioDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.AudioDenoiseInfo`
|
19133
|
+
|
19134
|
+
attr_accessor :AudioDenoiseInfo
|
19135
|
+
|
19136
|
+
def initialize(audiodenoiseinfo=nil)
|
19137
|
+
@AudioDenoiseInfo = audiodenoiseinfo
|
19138
|
+
end
|
19139
|
+
|
19140
|
+
def deserialize(params)
|
19141
|
+
unless params['AudioDenoiseInfo'].nil?
|
19142
|
+
@AudioDenoiseInfo = AudioDenoiseInfo.new
|
19143
|
+
@AudioDenoiseInfo.deserialize(params['AudioDenoiseInfo'])
|
19144
|
+
end
|
19145
|
+
end
|
19146
|
+
end
|
19147
|
+
|
19148
|
+
# RebuildMediaByTemplate请求参数结构体
|
19149
|
+
class RebuildMediaByTemplateRequest < TencentCloud::Common::AbstractModel
|
19150
|
+
# @param FileId: 媒体文件 ID。
|
19151
|
+
# @type FileId: String
|
19152
|
+
# @param Definition: 音画质重生模版 ID。
|
19153
|
+
# @type Definition: Integer
|
19154
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
19155
|
+
# @type SubAppId: String
|
19156
|
+
# @param StartTimeOffset: 起始偏移时间,单位:秒,不填表示从视频开始截取。
|
19157
|
+
# @type StartTimeOffset: Float
|
19158
|
+
# @param EndTimeOffset: 结束偏移时间,单位:秒,不填表示截取到视频末尾。
|
19159
|
+
# @type EndTimeOffset: Float
|
19160
|
+
# @param OutputConfig: 音画质重生后的文件配置。
|
19161
|
+
# @type OutputConfig: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaOutputConfig`
|
19162
|
+
# @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
19163
|
+
# @type SessionId: String
|
19164
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
19165
|
+
# @type SessionContext: String
|
19166
|
+
# @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
19167
|
+
# @type TasksPriority: Integer
|
19168
|
+
# @param ExtInfo: 保留字段,特殊用途时使用。
|
19169
|
+
# @type ExtInfo: String
|
19170
|
+
|
19171
|
+
attr_accessor :FileId, :Definition, :SubAppId, :StartTimeOffset, :EndTimeOffset, :OutputConfig, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
|
19172
|
+
|
19173
|
+
def initialize(fileid=nil, definition=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
|
19174
|
+
@FileId = fileid
|
19175
|
+
@Definition = definition
|
19176
|
+
@SubAppId = subappid
|
19177
|
+
@StartTimeOffset = starttimeoffset
|
19178
|
+
@EndTimeOffset = endtimeoffset
|
19179
|
+
@OutputConfig = outputconfig
|
19180
|
+
@SessionId = sessionid
|
19181
|
+
@SessionContext = sessioncontext
|
19182
|
+
@TasksPriority = taskspriority
|
19183
|
+
@ExtInfo = extinfo
|
19184
|
+
end
|
19185
|
+
|
19186
|
+
def deserialize(params)
|
19187
|
+
@FileId = params['FileId']
|
19188
|
+
@Definition = params['Definition']
|
19189
|
+
@SubAppId = params['SubAppId']
|
19190
|
+
@StartTimeOffset = params['StartTimeOffset']
|
19191
|
+
@EndTimeOffset = params['EndTimeOffset']
|
19192
|
+
unless params['OutputConfig'].nil?
|
19193
|
+
@OutputConfig = RebuildMediaOutputConfig.new
|
19194
|
+
@OutputConfig.deserialize(params['OutputConfig'])
|
19195
|
+
end
|
19196
|
+
@SessionId = params['SessionId']
|
19197
|
+
@SessionContext = params['SessionContext']
|
19198
|
+
@TasksPriority = params['TasksPriority']
|
19199
|
+
@ExtInfo = params['ExtInfo']
|
19200
|
+
end
|
19201
|
+
end
|
19202
|
+
|
19203
|
+
# RebuildMediaByTemplate返回参数结构体
|
19204
|
+
class RebuildMediaByTemplateResponse < TencentCloud::Common::AbstractModel
|
19205
|
+
# @param TaskId: 音画质重生的任务 ID,可以通过该 ID 查询音画质重生任务的状态。
|
19206
|
+
# @type TaskId: String
|
19207
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
19208
|
+
# @type RequestId: String
|
19209
|
+
|
19210
|
+
attr_accessor :TaskId, :RequestId
|
19211
|
+
|
19212
|
+
def initialize(taskid=nil, requestid=nil)
|
19213
|
+
@TaskId = taskid
|
19214
|
+
@RequestId = requestid
|
19215
|
+
end
|
19216
|
+
|
19217
|
+
def deserialize(params)
|
19218
|
+
@TaskId = params['TaskId']
|
19219
|
+
@RequestId = params['RequestId']
|
19220
|
+
end
|
19221
|
+
end
|
19222
|
+
|
19223
|
+
# 音画质重生结果文件输出。
|
19224
|
+
class RebuildMediaOutputConfig < TencentCloud::Common::AbstractModel
|
19225
|
+
# @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
19226
|
+
# @type MediaName: String
|
19227
|
+
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
19228
|
+
# <li>默认值:0,表示其他分类。</li>
|
19229
|
+
# @type ClassId: Integer
|
19230
|
+
# @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
19231
|
+
# @type ExpireTime: String
|
19232
|
+
|
19233
|
+
attr_accessor :MediaName, :ClassId, :ExpireTime
|
19234
|
+
|
19235
|
+
def initialize(medianame=nil, classid=nil, expiretime=nil)
|
19236
|
+
@MediaName = medianame
|
19237
|
+
@ClassId = classid
|
19238
|
+
@ExpireTime = expiretime
|
19239
|
+
end
|
19240
|
+
|
19241
|
+
def deserialize(params)
|
19242
|
+
@MediaName = params['MediaName']
|
19243
|
+
@ClassId = params['ClassId']
|
19244
|
+
@ExpireTime = params['ExpireTime']
|
19245
|
+
end
|
19246
|
+
end
|
19247
|
+
|
18844
19248
|
# RebuildMedia请求参数结构体
|
18845
19249
|
class RebuildMediaRequest < TencentCloud::Common::AbstractModel
|
18846
19250
|
# @param FileId: 媒体文件 ID。
|
@@ -19412,6 +19816,194 @@ module TencentCloud
|
|
19412
19816
|
end
|
19413
19817
|
end
|
19414
19818
|
|
19819
|
+
# 音画质重生模版详情。
|
19820
|
+
class RebuildMediaTemplate < TencentCloud::Common::AbstractModel
|
19821
|
+
# @param Definition: 音画质重生模版号。
|
19822
|
+
# @type Definition: Integer
|
19823
|
+
# @param Type: 模板类型,可选值:
|
19824
|
+
# <li>Preset:系统预置模板;</li>
|
19825
|
+
# <li>Custom:用户自定义模板。</li>
|
19826
|
+
# @type Type: String
|
19827
|
+
# @param Name: 音画质重生模版名称。
|
19828
|
+
# @type Name: String
|
19829
|
+
# @param Comment: 音画质重生模版描述。
|
19830
|
+
# @type Comment: String
|
19831
|
+
# @param RebuildVideoInfo: 音画质重生视频控制信息。
|
19832
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19833
|
+
# @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
|
19834
|
+
# @param RebuildAudioInfo: 音画质重生音频控制信息。
|
19835
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19836
|
+
# @type RebuildAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildAudioInfo`
|
19837
|
+
# @param TargetVideoInfo: 输出视频控制信息。
|
19838
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19839
|
+
# @type TargetVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
|
19840
|
+
# @param TargetAudioInfo: 输出音频控制信息。
|
19841
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19842
|
+
# @type TargetAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
|
19843
|
+
# @param Container: 封装格式。可选值:mp4、hls。默认是 mp4。
|
19844
|
+
# @type Container: String
|
19845
|
+
# @param RemoveVideo: 是否去除视频数据,可选值:
|
19846
|
+
# <li>0:保留</li>
|
19847
|
+
# <li>1:去除</li>
|
19848
|
+
# 默认值 0。
|
19849
|
+
# @type RemoveVideo: Integer
|
19850
|
+
# @param RemoveAudio: 是否去除音频数据,可选值:
|
19851
|
+
# <li>0:保留</li>
|
19852
|
+
# <li>1:去除</li>
|
19853
|
+
# 默认值 0。
|
19854
|
+
# @type RemoveAudio: Integer
|
19855
|
+
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19856
|
+
# @type CreateTime: String
|
19857
|
+
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19858
|
+
# @type UpdateTime: String
|
19859
|
+
|
19860
|
+
attr_accessor :Definition, :Type, :Name, :Comment, :RebuildVideoInfo, :RebuildAudioInfo, :TargetVideoInfo, :TargetAudioInfo, :Container, :RemoveVideo, :RemoveAudio, :CreateTime, :UpdateTime
|
19861
|
+
|
19862
|
+
def initialize(definition=nil, type=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, container=nil, removevideo=nil, removeaudio=nil, createtime=nil, updatetime=nil)
|
19863
|
+
@Definition = definition
|
19864
|
+
@Type = type
|
19865
|
+
@Name = name
|
19866
|
+
@Comment = comment
|
19867
|
+
@RebuildVideoInfo = rebuildvideoinfo
|
19868
|
+
@RebuildAudioInfo = rebuildaudioinfo
|
19869
|
+
@TargetVideoInfo = targetvideoinfo
|
19870
|
+
@TargetAudioInfo = targetaudioinfo
|
19871
|
+
@Container = container
|
19872
|
+
@RemoveVideo = removevideo
|
19873
|
+
@RemoveAudio = removeaudio
|
19874
|
+
@CreateTime = createtime
|
19875
|
+
@UpdateTime = updatetime
|
19876
|
+
end
|
19877
|
+
|
19878
|
+
def deserialize(params)
|
19879
|
+
@Definition = params['Definition']
|
19880
|
+
@Type = params['Type']
|
19881
|
+
@Name = params['Name']
|
19882
|
+
@Comment = params['Comment']
|
19883
|
+
unless params['RebuildVideoInfo'].nil?
|
19884
|
+
@RebuildVideoInfo = RebuildVideoInfo.new
|
19885
|
+
@RebuildVideoInfo.deserialize(params['RebuildVideoInfo'])
|
19886
|
+
end
|
19887
|
+
unless params['RebuildAudioInfo'].nil?
|
19888
|
+
@RebuildAudioInfo = RebuildAudioInfo.new
|
19889
|
+
@RebuildAudioInfo.deserialize(params['RebuildAudioInfo'])
|
19890
|
+
end
|
19891
|
+
unless params['TargetVideoInfo'].nil?
|
19892
|
+
@TargetVideoInfo = RebuildMediaTargetVideoStream.new
|
19893
|
+
@TargetVideoInfo.deserialize(params['TargetVideoInfo'])
|
19894
|
+
end
|
19895
|
+
unless params['TargetAudioInfo'].nil?
|
19896
|
+
@TargetAudioInfo = RebuildMediaTargetAudioStream.new
|
19897
|
+
@TargetAudioInfo.deserialize(params['TargetAudioInfo'])
|
19898
|
+
end
|
19899
|
+
@Container = params['Container']
|
19900
|
+
@RemoveVideo = params['RemoveVideo']
|
19901
|
+
@RemoveAudio = params['RemoveAudio']
|
19902
|
+
@CreateTime = params['CreateTime']
|
19903
|
+
@UpdateTime = params['UpdateTime']
|
19904
|
+
end
|
19905
|
+
end
|
19906
|
+
|
19907
|
+
# 音画质重生视频控制控制信息。
|
19908
|
+
class RebuildVideoInfo < TencentCloud::Common::AbstractModel
|
19909
|
+
# @param RepairInfo: 画质修复控制参数。
|
19910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19911
|
+
# @type RepairInfo: :class:`Tencentcloud::Vod.v20180717.models.RepairInfo`
|
19912
|
+
# @param VideoFrameInterpolationInfo: 智能插帧控制参数。
|
19913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19914
|
+
# @type VideoFrameInterpolationInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoFrameInterpolationInfo`
|
19915
|
+
# @param SuperResolutionInfo: 画面超分控制参数。
|
19916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19917
|
+
# @type SuperResolutionInfo: :class:`Tencentcloud::Vod.v20180717.models.SuperResolutionInfo`
|
19918
|
+
# @param HDRInfo: 高动态范围类型控制参数。
|
19919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19920
|
+
# @type HDRInfo: :class:`Tencentcloud::Vod.v20180717.models.HDRInfo`
|
19921
|
+
# @param VideoDenoiseInfo: 视频降噪控制参数。
|
19922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19923
|
+
# @type VideoDenoiseInfo: :class:`Tencentcloud::Vod.v20180717.models.VideoDenoiseInfo`
|
19924
|
+
# @param ColorInfo: 色彩增强控制参数。
|
19925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19926
|
+
# @type ColorInfo: :class:`Tencentcloud::Vod.v20180717.models.ColorEnhanceInfo`
|
19927
|
+
# @param SharpInfo: 细节增强控制参数。
|
19928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19929
|
+
# @type SharpInfo: :class:`Tencentcloud::Vod.v20180717.models.SharpEnhanceInfo`
|
19930
|
+
# @param FaceInfo: 人脸增强控制参数。
|
19931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19932
|
+
# @type FaceInfo: :class:`Tencentcloud::Vod.v20180717.models.FaceEnhanceInfo`
|
19933
|
+
# @param LowLightInfo: 低光照控制参数。
|
19934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19935
|
+
# @type LowLightInfo: :class:`Tencentcloud::Vod.v20180717.models.LowLightEnhanceInfo`
|
19936
|
+
# @param ScratchRepairInfo: 去划痕控制参数。
|
19937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19938
|
+
# @type ScratchRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ScratchRepairInfo`
|
19939
|
+
# @param ArtifactRepairInfo: 去伪影控制参数。
|
19940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19941
|
+
# @type ArtifactRepairInfo: :class:`Tencentcloud::Vod.v20180717.models.ArtifactRepairInfo`
|
19942
|
+
|
19943
|
+
attr_accessor :RepairInfo, :VideoFrameInterpolationInfo, :SuperResolutionInfo, :HDRInfo, :VideoDenoiseInfo, :ColorInfo, :SharpInfo, :FaceInfo, :LowLightInfo, :ScratchRepairInfo, :ArtifactRepairInfo
|
19944
|
+
|
19945
|
+
def initialize(repairinfo=nil, videoframeinterpolationinfo=nil, superresolutioninfo=nil, hdrinfo=nil, videodenoiseinfo=nil, colorinfo=nil, sharpinfo=nil, faceinfo=nil, lowlightinfo=nil, scratchrepairinfo=nil, artifactrepairinfo=nil)
|
19946
|
+
@RepairInfo = repairinfo
|
19947
|
+
@VideoFrameInterpolationInfo = videoframeinterpolationinfo
|
19948
|
+
@SuperResolutionInfo = superresolutioninfo
|
19949
|
+
@HDRInfo = hdrinfo
|
19950
|
+
@VideoDenoiseInfo = videodenoiseinfo
|
19951
|
+
@ColorInfo = colorinfo
|
19952
|
+
@SharpInfo = sharpinfo
|
19953
|
+
@FaceInfo = faceinfo
|
19954
|
+
@LowLightInfo = lowlightinfo
|
19955
|
+
@ScratchRepairInfo = scratchrepairinfo
|
19956
|
+
@ArtifactRepairInfo = artifactrepairinfo
|
19957
|
+
end
|
19958
|
+
|
19959
|
+
def deserialize(params)
|
19960
|
+
unless params['RepairInfo'].nil?
|
19961
|
+
@RepairInfo = RepairInfo.new
|
19962
|
+
@RepairInfo.deserialize(params['RepairInfo'])
|
19963
|
+
end
|
19964
|
+
unless params['VideoFrameInterpolationInfo'].nil?
|
19965
|
+
@VideoFrameInterpolationInfo = VideoFrameInterpolationInfo.new
|
19966
|
+
@VideoFrameInterpolationInfo.deserialize(params['VideoFrameInterpolationInfo'])
|
19967
|
+
end
|
19968
|
+
unless params['SuperResolutionInfo'].nil?
|
19969
|
+
@SuperResolutionInfo = SuperResolutionInfo.new
|
19970
|
+
@SuperResolutionInfo.deserialize(params['SuperResolutionInfo'])
|
19971
|
+
end
|
19972
|
+
unless params['HDRInfo'].nil?
|
19973
|
+
@HDRInfo = HDRInfo.new
|
19974
|
+
@HDRInfo.deserialize(params['HDRInfo'])
|
19975
|
+
end
|
19976
|
+
unless params['VideoDenoiseInfo'].nil?
|
19977
|
+
@VideoDenoiseInfo = VideoDenoiseInfo.new
|
19978
|
+
@VideoDenoiseInfo.deserialize(params['VideoDenoiseInfo'])
|
19979
|
+
end
|
19980
|
+
unless params['ColorInfo'].nil?
|
19981
|
+
@ColorInfo = ColorEnhanceInfo.new
|
19982
|
+
@ColorInfo.deserialize(params['ColorInfo'])
|
19983
|
+
end
|
19984
|
+
unless params['SharpInfo'].nil?
|
19985
|
+
@SharpInfo = SharpEnhanceInfo.new
|
19986
|
+
@SharpInfo.deserialize(params['SharpInfo'])
|
19987
|
+
end
|
19988
|
+
unless params['FaceInfo'].nil?
|
19989
|
+
@FaceInfo = FaceEnhanceInfo.new
|
19990
|
+
@FaceInfo.deserialize(params['FaceInfo'])
|
19991
|
+
end
|
19992
|
+
unless params['LowLightInfo'].nil?
|
19993
|
+
@LowLightInfo = LowLightEnhanceInfo.new
|
19994
|
+
@LowLightInfo.deserialize(params['LowLightInfo'])
|
19995
|
+
end
|
19996
|
+
unless params['ScratchRepairInfo'].nil?
|
19997
|
+
@ScratchRepairInfo = ScratchRepairInfo.new
|
19998
|
+
@ScratchRepairInfo.deserialize(params['ScratchRepairInfo'])
|
19999
|
+
end
|
20000
|
+
unless params['ArtifactRepairInfo'].nil?
|
20001
|
+
@ArtifactRepairInfo = ArtifactRepairInfo.new
|
20002
|
+
@ArtifactRepairInfo.deserialize(params['ArtifactRepairInfo'])
|
20003
|
+
end
|
20004
|
+
end
|
20005
|
+
end
|
20006
|
+
|
19415
20007
|
# 降码率任务转自适应码流结果类型
|
19416
20008
|
class ReduceMediaBitrateAdaptiveDynamicStreamingResult < TencentCloud::Common::AbstractModel
|
19417
20009
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
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.544
|
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-04-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|