tencentcloud-sdk-vod 3.0.597 → 3.0.598
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 +1132 -15
- metadata +2 -2
data/lib/v20180717/models.rb
CHANGED
@@ -188,6 +188,42 @@ module TencentCloud
|
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
|
+
# 视频画面低光、过曝检测的控制参数。
|
192
|
+
class AbnormalLightingConfigureInfo < TencentCloud::Common::AbstractModel
|
193
|
+
# @param Switch: 视频画面低光、过曝检测开关,可选值:
|
194
|
+
# <li>ON:开启;</li>
|
195
|
+
# <li>OFF:关闭。</li>
|
196
|
+
# @type Switch: String
|
197
|
+
|
198
|
+
attr_accessor :Switch
|
199
|
+
|
200
|
+
def initialize(switch=nil)
|
201
|
+
@Switch = switch
|
202
|
+
end
|
203
|
+
|
204
|
+
def deserialize(params)
|
205
|
+
@Switch = params['Switch']
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
# 视频画面低光、过曝检测的控制参数。
|
210
|
+
class AbnormalLightingConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
211
|
+
# @param Switch: 视频画面低光、过曝检测开关,可选值:
|
212
|
+
# <li>ON:开启;</li>
|
213
|
+
# <li>OFF:关闭。</li>
|
214
|
+
# @type Switch: String
|
215
|
+
|
216
|
+
attr_accessor :Switch
|
217
|
+
|
218
|
+
def initialize(switch=nil)
|
219
|
+
@Switch = switch
|
220
|
+
end
|
221
|
+
|
222
|
+
def deserialize(params)
|
223
|
+
@Switch = params['Switch']
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
191
227
|
# 域名的地区加速信息
|
192
228
|
class AccelerateAreaInfo < TencentCloud::Common::AbstractModel
|
193
229
|
# @param Area: 加速地区,可选值:
|
@@ -4409,6 +4445,78 @@ module TencentCloud
|
|
4409
4445
|
end
|
4410
4446
|
end
|
4411
4447
|
|
4448
|
+
# 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
4449
|
+
class BlackWhiteEdgeConfigureInfo < TencentCloud::Common::AbstractModel
|
4450
|
+
# @param Switch: 视频画面黑边、白边、黑屏、白屏检测开关,可选值:
|
4451
|
+
# <li>ON:开启;</li>
|
4452
|
+
# <li>OFF:关闭。</li>
|
4453
|
+
# @type Switch: String
|
4454
|
+
|
4455
|
+
attr_accessor :Switch
|
4456
|
+
|
4457
|
+
def initialize(switch=nil)
|
4458
|
+
@Switch = switch
|
4459
|
+
end
|
4460
|
+
|
4461
|
+
def deserialize(params)
|
4462
|
+
@Switch = params['Switch']
|
4463
|
+
end
|
4464
|
+
end
|
4465
|
+
|
4466
|
+
# 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
4467
|
+
class BlackWhiteEdgeConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
4468
|
+
# @param Switch: 视频画面黑边、白边、黑屏、白屏检测开关,可选值:
|
4469
|
+
# <li>ON:开启;</li>
|
4470
|
+
# <li>OFF:关闭。</li>
|
4471
|
+
# @type Switch: String
|
4472
|
+
|
4473
|
+
attr_accessor :Switch
|
4474
|
+
|
4475
|
+
def initialize(switch=nil)
|
4476
|
+
@Switch = switch
|
4477
|
+
end
|
4478
|
+
|
4479
|
+
def deserialize(params)
|
4480
|
+
@Switch = params['Switch']
|
4481
|
+
end
|
4482
|
+
end
|
4483
|
+
|
4484
|
+
# 视频画面模糊检测的控制参数。
|
4485
|
+
class BlurConfigureInfo < TencentCloud::Common::AbstractModel
|
4486
|
+
# @param Switch: 视频画面模糊检测开关,可选值:
|
4487
|
+
# <li>ON:开启;</li>
|
4488
|
+
# <li>OFF:关闭。</li>
|
4489
|
+
# @type Switch: String
|
4490
|
+
|
4491
|
+
attr_accessor :Switch
|
4492
|
+
|
4493
|
+
def initialize(switch=nil)
|
4494
|
+
@Switch = switch
|
4495
|
+
end
|
4496
|
+
|
4497
|
+
def deserialize(params)
|
4498
|
+
@Switch = params['Switch']
|
4499
|
+
end
|
4500
|
+
end
|
4501
|
+
|
4502
|
+
# 视频画面模糊检测的控制参数。
|
4503
|
+
class BlurConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
4504
|
+
# @param Switch: 视频画面模糊检测开关,可选值:
|
4505
|
+
# <li>ON:开启;</li>
|
4506
|
+
# <li>OFF:关闭。</li>
|
4507
|
+
# @type Switch: String
|
4508
|
+
|
4509
|
+
attr_accessor :Switch
|
4510
|
+
|
4511
|
+
def initialize(switch=nil)
|
4512
|
+
@Switch = switch
|
4513
|
+
end
|
4514
|
+
|
4515
|
+
def deserialize(params)
|
4516
|
+
@Switch = params['Switch']
|
4517
|
+
end
|
4518
|
+
end
|
4519
|
+
|
4412
4520
|
# 画布信息。制作视频时,如果源素材(视频或者图片)不能填满输出的视频窗口,将用设置的画布进行背景绘制。
|
4413
4521
|
class Canvas < TencentCloud::Common::AbstractModel
|
4414
4522
|
# @param Color: 背景颜色,取值有:
|
@@ -5311,6 +5419,42 @@ module TencentCloud
|
|
5311
5419
|
end
|
5312
5420
|
end
|
5313
5421
|
|
5422
|
+
# 视频画面花屏检测的控制参数。
|
5423
|
+
class CrashScreenConfigureInfo < TencentCloud::Common::AbstractModel
|
5424
|
+
# @param Switch: 视频画面花屏检测开关,可选值:
|
5425
|
+
# <li>ON:开启;</li>
|
5426
|
+
# <li>OFF:关闭。</li>
|
5427
|
+
# @type Switch: String
|
5428
|
+
|
5429
|
+
attr_accessor :Switch
|
5430
|
+
|
5431
|
+
def initialize(switch=nil)
|
5432
|
+
@Switch = switch
|
5433
|
+
end
|
5434
|
+
|
5435
|
+
def deserialize(params)
|
5436
|
+
@Switch = params['Switch']
|
5437
|
+
end
|
5438
|
+
end
|
5439
|
+
|
5440
|
+
# 视频画面花屏检测的控制参数。
|
5441
|
+
class CrashScreenConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
5442
|
+
# @param Switch: 视频画面花屏检测开关,可选值:
|
5443
|
+
# <li>ON:开启;</li>
|
5444
|
+
# <li>OFF:关闭。</li>
|
5445
|
+
# @type Switch: String
|
5446
|
+
|
5447
|
+
attr_accessor :Switch
|
5448
|
+
|
5449
|
+
def initialize(switch=nil)
|
5450
|
+
@Switch = switch
|
5451
|
+
end
|
5452
|
+
|
5453
|
+
def deserialize(params)
|
5454
|
+
@Switch = params['Switch']
|
5455
|
+
end
|
5456
|
+
end
|
5457
|
+
|
5314
5458
|
# CreateAIAnalysisTemplate请求参数结构体
|
5315
5459
|
class CreateAIAnalysisTemplateRequest < TencentCloud::Common::AbstractModel
|
5316
5460
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
@@ -6317,6 +6461,124 @@ module TencentCloud
|
|
6317
6461
|
end
|
6318
6462
|
end
|
6319
6463
|
|
6464
|
+
# CreateQualityInspectTemplate请求参数结构体
|
6465
|
+
class CreateQualityInspectTemplateRequest < TencentCloud::Common::AbstractModel
|
6466
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6467
|
+
# @type SubAppId: Integer
|
6468
|
+
# @param Name: 音画质检测模板名称。
|
6469
|
+
# @type Name: String
|
6470
|
+
# @param Comment: 音画质检测模板描述。
|
6471
|
+
# @type Comment: String
|
6472
|
+
# @param ScreenshotInterval: 截帧间隔,单位为秒,最小值为 1。当不填时,默认截帧间隔为 1 秒。
|
6473
|
+
# @type ScreenshotInterval: Float
|
6474
|
+
# @param JitterConfigure: 视频画面抖动重影检测的控制参数。
|
6475
|
+
# @type JitterConfigure: :class:`Tencentcloud::Vod.v20180717.models.JitterConfigureInfo`
|
6476
|
+
# @param BlurConfigure: 视频画面模糊检测的控制参数。
|
6477
|
+
# @type BlurConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlurConfigureInfo`
|
6478
|
+
# @param AbnormalLightingConfigure: 视频画面低光、过曝检测的控制参数。
|
6479
|
+
# @type AbnormalLightingConfigure: :class:`Tencentcloud::Vod.v20180717.models.AbnormalLightingConfigureInfo`
|
6480
|
+
# @param CrashScreenConfigure: 视频画面花屏检测的控制参数。
|
6481
|
+
# @type CrashScreenConfigure: :class:`Tencentcloud::Vod.v20180717.models.CrashScreenConfigureInfo`
|
6482
|
+
# @param BlackWhiteEdgeConfigure: 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
6483
|
+
# @type BlackWhiteEdgeConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlackWhiteEdgeConfigureInfo`
|
6484
|
+
# @param NoiseConfigure: 视频画面噪点检测的控制参数。
|
6485
|
+
# @type NoiseConfigure: :class:`Tencentcloud::Vod.v20180717.models.NoiseConfigureInfo`
|
6486
|
+
# @param MosaicConfigure: 视频画面马赛克检测的控制参数。
|
6487
|
+
# @type MosaicConfigure: :class:`Tencentcloud::Vod.v20180717.models.MosaicConfigureInfo`
|
6488
|
+
# @param QRCodeConfigure: 视频画面二维码检测的控制参数。
|
6489
|
+
# @type QRCodeConfigure: :class:`Tencentcloud::Vod.v20180717.models.QRCodeConfigureInfo`
|
6490
|
+
# @param QualityEvaluationConfigure: 视频画面质量评价的控制参数。
|
6491
|
+
# @type QualityEvaluationConfigure: :class:`Tencentcloud::Vod.v20180717.models.QualityEvaluationConfigureInfo`
|
6492
|
+
# @param VoiceConfigure: 音频(静音、低音、爆音)检测的控制参数。
|
6493
|
+
# @type VoiceConfigure: :class:`Tencentcloud::Vod.v20180717.models.VoiceConfigureInfo`
|
6494
|
+
|
6495
|
+
attr_accessor :SubAppId, :Name, :Comment, :ScreenshotInterval, :JitterConfigure, :BlurConfigure, :AbnormalLightingConfigure, :CrashScreenConfigure, :BlackWhiteEdgeConfigure, :NoiseConfigure, :MosaicConfigure, :QRCodeConfigure, :QualityEvaluationConfigure, :VoiceConfigure
|
6496
|
+
|
6497
|
+
def initialize(subappid=nil, name=nil, comment=nil, screenshotinterval=nil, jitterconfigure=nil, blurconfigure=nil, abnormallightingconfigure=nil, crashscreenconfigure=nil, blackwhiteedgeconfigure=nil, noiseconfigure=nil, mosaicconfigure=nil, qrcodeconfigure=nil, qualityevaluationconfigure=nil, voiceconfigure=nil)
|
6498
|
+
@SubAppId = subappid
|
6499
|
+
@Name = name
|
6500
|
+
@Comment = comment
|
6501
|
+
@ScreenshotInterval = screenshotinterval
|
6502
|
+
@JitterConfigure = jitterconfigure
|
6503
|
+
@BlurConfigure = blurconfigure
|
6504
|
+
@AbnormalLightingConfigure = abnormallightingconfigure
|
6505
|
+
@CrashScreenConfigure = crashscreenconfigure
|
6506
|
+
@BlackWhiteEdgeConfigure = blackwhiteedgeconfigure
|
6507
|
+
@NoiseConfigure = noiseconfigure
|
6508
|
+
@MosaicConfigure = mosaicconfigure
|
6509
|
+
@QRCodeConfigure = qrcodeconfigure
|
6510
|
+
@QualityEvaluationConfigure = qualityevaluationconfigure
|
6511
|
+
@VoiceConfigure = voiceconfigure
|
6512
|
+
end
|
6513
|
+
|
6514
|
+
def deserialize(params)
|
6515
|
+
@SubAppId = params['SubAppId']
|
6516
|
+
@Name = params['Name']
|
6517
|
+
@Comment = params['Comment']
|
6518
|
+
@ScreenshotInterval = params['ScreenshotInterval']
|
6519
|
+
unless params['JitterConfigure'].nil?
|
6520
|
+
@JitterConfigure = JitterConfigureInfo.new
|
6521
|
+
@JitterConfigure.deserialize(params['JitterConfigure'])
|
6522
|
+
end
|
6523
|
+
unless params['BlurConfigure'].nil?
|
6524
|
+
@BlurConfigure = BlurConfigureInfo.new
|
6525
|
+
@BlurConfigure.deserialize(params['BlurConfigure'])
|
6526
|
+
end
|
6527
|
+
unless params['AbnormalLightingConfigure'].nil?
|
6528
|
+
@AbnormalLightingConfigure = AbnormalLightingConfigureInfo.new
|
6529
|
+
@AbnormalLightingConfigure.deserialize(params['AbnormalLightingConfigure'])
|
6530
|
+
end
|
6531
|
+
unless params['CrashScreenConfigure'].nil?
|
6532
|
+
@CrashScreenConfigure = CrashScreenConfigureInfo.new
|
6533
|
+
@CrashScreenConfigure.deserialize(params['CrashScreenConfigure'])
|
6534
|
+
end
|
6535
|
+
unless params['BlackWhiteEdgeConfigure'].nil?
|
6536
|
+
@BlackWhiteEdgeConfigure = BlackWhiteEdgeConfigureInfo.new
|
6537
|
+
@BlackWhiteEdgeConfigure.deserialize(params['BlackWhiteEdgeConfigure'])
|
6538
|
+
end
|
6539
|
+
unless params['NoiseConfigure'].nil?
|
6540
|
+
@NoiseConfigure = NoiseConfigureInfo.new
|
6541
|
+
@NoiseConfigure.deserialize(params['NoiseConfigure'])
|
6542
|
+
end
|
6543
|
+
unless params['MosaicConfigure'].nil?
|
6544
|
+
@MosaicConfigure = MosaicConfigureInfo.new
|
6545
|
+
@MosaicConfigure.deserialize(params['MosaicConfigure'])
|
6546
|
+
end
|
6547
|
+
unless params['QRCodeConfigure'].nil?
|
6548
|
+
@QRCodeConfigure = QRCodeConfigureInfo.new
|
6549
|
+
@QRCodeConfigure.deserialize(params['QRCodeConfigure'])
|
6550
|
+
end
|
6551
|
+
unless params['QualityEvaluationConfigure'].nil?
|
6552
|
+
@QualityEvaluationConfigure = QualityEvaluationConfigureInfo.new
|
6553
|
+
@QualityEvaluationConfigure.deserialize(params['QualityEvaluationConfigure'])
|
6554
|
+
end
|
6555
|
+
unless params['VoiceConfigure'].nil?
|
6556
|
+
@VoiceConfigure = VoiceConfigureInfo.new
|
6557
|
+
@VoiceConfigure.deserialize(params['VoiceConfigure'])
|
6558
|
+
end
|
6559
|
+
end
|
6560
|
+
end
|
6561
|
+
|
6562
|
+
# CreateQualityInspectTemplate返回参数结构体
|
6563
|
+
class CreateQualityInspectTemplateResponse < TencentCloud::Common::AbstractModel
|
6564
|
+
# @param Definition: 音画质检测模板 ID。
|
6565
|
+
# @type Definition: Integer
|
6566
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6567
|
+
# @type RequestId: String
|
6568
|
+
|
6569
|
+
attr_accessor :Definition, :RequestId
|
6570
|
+
|
6571
|
+
def initialize(definition=nil, requestid=nil)
|
6572
|
+
@Definition = definition
|
6573
|
+
@RequestId = requestid
|
6574
|
+
end
|
6575
|
+
|
6576
|
+
def deserialize(params)
|
6577
|
+
@Definition = params['Definition']
|
6578
|
+
@RequestId = params['RequestId']
|
6579
|
+
end
|
6580
|
+
end
|
6581
|
+
|
6320
6582
|
# CreateRebuildMediaTemplate请求参数结构体
|
6321
6583
|
class CreateRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
6322
6584
|
# @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
|
@@ -7689,6 +7951,42 @@ module TencentCloud
|
|
7689
7951
|
end
|
7690
7952
|
end
|
7691
7953
|
|
7954
|
+
# DeleteQualityInspectTemplate请求参数结构体
|
7955
|
+
class DeleteQualityInspectTemplateRequest < TencentCloud::Common::AbstractModel
|
7956
|
+
# @param Definition: 音画质检测模板号。
|
7957
|
+
# @type Definition: Integer
|
7958
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7959
|
+
# @type SubAppId: Integer
|
7960
|
+
|
7961
|
+
attr_accessor :Definition, :SubAppId
|
7962
|
+
|
7963
|
+
def initialize(definition=nil, subappid=nil)
|
7964
|
+
@Definition = definition
|
7965
|
+
@SubAppId = subappid
|
7966
|
+
end
|
7967
|
+
|
7968
|
+
def deserialize(params)
|
7969
|
+
@Definition = params['Definition']
|
7970
|
+
@SubAppId = params['SubAppId']
|
7971
|
+
end
|
7972
|
+
end
|
7973
|
+
|
7974
|
+
# DeleteQualityInspectTemplate返回参数结构体
|
7975
|
+
class DeleteQualityInspectTemplateResponse < TencentCloud::Common::AbstractModel
|
7976
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7977
|
+
# @type RequestId: String
|
7978
|
+
|
7979
|
+
attr_accessor :RequestId
|
7980
|
+
|
7981
|
+
def initialize(requestid=nil)
|
7982
|
+
@RequestId = requestid
|
7983
|
+
end
|
7984
|
+
|
7985
|
+
def deserialize(params)
|
7986
|
+
@RequestId = params['RequestId']
|
7987
|
+
end
|
7988
|
+
end
|
7989
|
+
|
7692
7990
|
# DeleteRebuildMediaTemplate请求参数结构体
|
7693
7991
|
class DeleteRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
7694
7992
|
# @param Definition: 音画质重生模板号。
|
@@ -9957,6 +10255,71 @@ module TencentCloud
|
|
9957
10255
|
end
|
9958
10256
|
end
|
9959
10257
|
|
10258
|
+
# DescribeQualityInspectTemplates请求参数结构体
|
10259
|
+
class DescribeQualityInspectTemplatesRequest < TencentCloud::Common::AbstractModel
|
10260
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
10261
|
+
# @type SubAppId: Integer
|
10262
|
+
# @param Definitions: 音画质检测模板列表。长度限制:100。
|
10263
|
+
# @type Definitions: Array
|
10264
|
+
# @param Type: 模板类型过滤条件,可选值:
|
10265
|
+
# <li>Preset:系统预置模板;</li>
|
10266
|
+
# <li>Custom:用户自定义模板。</li>
|
10267
|
+
# @type Type: String
|
10268
|
+
# @param Offset: 分页偏移量,默认值:0。
|
10269
|
+
# @type Offset: Integer
|
10270
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
10271
|
+
# @type Limit: Integer
|
10272
|
+
|
10273
|
+
attr_accessor :SubAppId, :Definitions, :Type, :Offset, :Limit
|
10274
|
+
|
10275
|
+
def initialize(subappid=nil, definitions=nil, type=nil, offset=nil, limit=nil)
|
10276
|
+
@SubAppId = subappid
|
10277
|
+
@Definitions = definitions
|
10278
|
+
@Type = type
|
10279
|
+
@Offset = offset
|
10280
|
+
@Limit = limit
|
10281
|
+
end
|
10282
|
+
|
10283
|
+
def deserialize(params)
|
10284
|
+
@SubAppId = params['SubAppId']
|
10285
|
+
@Definitions = params['Definitions']
|
10286
|
+
@Type = params['Type']
|
10287
|
+
@Offset = params['Offset']
|
10288
|
+
@Limit = params['Limit']
|
10289
|
+
end
|
10290
|
+
end
|
10291
|
+
|
10292
|
+
# DescribeQualityInspectTemplates返回参数结构体
|
10293
|
+
class DescribeQualityInspectTemplatesResponse < TencentCloud::Common::AbstractModel
|
10294
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
10295
|
+
# @type TotalCount: Integer
|
10296
|
+
# @param QualityInspectTemplateSet: 音画质检测模板详情列表。
|
10297
|
+
# @type QualityInspectTemplateSet: Array
|
10298
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10299
|
+
# @type RequestId: String
|
10300
|
+
|
10301
|
+
attr_accessor :TotalCount, :QualityInspectTemplateSet, :RequestId
|
10302
|
+
|
10303
|
+
def initialize(totalcount=nil, qualityinspecttemplateset=nil, requestid=nil)
|
10304
|
+
@TotalCount = totalcount
|
10305
|
+
@QualityInspectTemplateSet = qualityinspecttemplateset
|
10306
|
+
@RequestId = requestid
|
10307
|
+
end
|
10308
|
+
|
10309
|
+
def deserialize(params)
|
10310
|
+
@TotalCount = params['TotalCount']
|
10311
|
+
unless params['QualityInspectTemplateSet'].nil?
|
10312
|
+
@QualityInspectTemplateSet = []
|
10313
|
+
params['QualityInspectTemplateSet'].each do |i|
|
10314
|
+
qualityinspecttemplateitem_tmp = QualityInspectTemplateItem.new
|
10315
|
+
qualityinspecttemplateitem_tmp.deserialize(i)
|
10316
|
+
@QualityInspectTemplateSet << qualityinspecttemplateitem_tmp
|
10317
|
+
end
|
10318
|
+
end
|
10319
|
+
@RequestId = params['RequestId']
|
10320
|
+
end
|
10321
|
+
end
|
10322
|
+
|
9960
10323
|
# DescribeRebuildMediaTemplates请求参数结构体
|
9961
10324
|
class DescribeRebuildMediaTemplatesRequest < TencentCloud::Common::AbstractModel
|
9962
10325
|
# @param Definitions: 音画质重生模板列表。
|
@@ -10696,7 +11059,8 @@ module TencentCloud
|
|
10696
11059
|
# <li>RebuildMedia:音画质重生任务;</li>
|
10697
11060
|
# <li>ReviewAudioVideo:音视频审核任务;</li>
|
10698
11061
|
# <li>ExtractTraceWatermark:提取溯源水印任务;</li>
|
10699
|
-
# <li>ExtractCopyRightWatermark
|
11062
|
+
# <li>ExtractCopyRightWatermark:提取版权水印任务;</li>
|
11063
|
+
# <li>QualityInspect:音画质检测任务。</li>
|
10700
11064
|
# @type TaskType: String
|
10701
11065
|
# @param Status: 任务状态,取值:
|
10702
11066
|
# <li>WAITING:等待中;</li>
|
@@ -10766,12 +11130,15 @@ module TencentCloud
|
|
10766
11130
|
# @param DescribeFileAttributesTask: 获取文件属性任务信息,仅当 TaskType 为 DescribeFileAttributes,该字段有值。
|
10767
11131
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10768
11132
|
# @type DescribeFileAttributesTask: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
|
11133
|
+
# @param QualityInspectTask: 音画质检测任务信息,仅当 TaskType 为 QualityInspect 时该字段有值。
|
11134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11135
|
+
# @type QualityInspectTask: :class:`Tencentcloud::Vod.v20180717.models.QualityInspectTask`
|
10769
11136
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10770
11137
|
# @type RequestId: String
|
10771
11138
|
|
10772
|
-
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, :RequestId
|
11139
|
+
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
|
10773
11140
|
|
10774
|
-
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, requestid=nil)
|
11141
|
+
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)
|
10775
11142
|
@TaskType = tasktype
|
10776
11143
|
@Status = status
|
10777
11144
|
@CreateTime = createtime
|
@@ -10796,6 +11163,7 @@ module TencentCloud
|
|
10796
11163
|
@ReviewAudioVideoTask = reviewaudiovideotask
|
10797
11164
|
@ReduceMediaBitrateTask = reducemediabitratetask
|
10798
11165
|
@DescribeFileAttributesTask = describefileattributestask
|
11166
|
+
@QualityInspectTask = qualityinspecttask
|
10799
11167
|
@RequestId = requestid
|
10800
11168
|
end
|
10801
11169
|
|
@@ -10881,6 +11249,10 @@ module TencentCloud
|
|
10881
11249
|
@DescribeFileAttributesTask = DescribeFileAttributesTask.new
|
10882
11250
|
@DescribeFileAttributesTask.deserialize(params['DescribeFileAttributesTask'])
|
10883
11251
|
end
|
11252
|
+
unless params['QualityInspectTask'].nil?
|
11253
|
+
@QualityInspectTask = QualityInspectTask.new
|
11254
|
+
@QualityInspectTask.deserialize(params['QualityInspectTask'])
|
11255
|
+
end
|
10884
11256
|
@RequestId = params['RequestId']
|
10885
11257
|
end
|
10886
11258
|
end
|
@@ -11943,6 +12315,7 @@ module TencentCloud
|
|
11943
12315
|
# <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
|
11944
12316
|
# <li>ExtractCopyRightWatermarkComplete:提取版权水印完成;</li>
|
11945
12317
|
# <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
|
12318
|
+
# <li>QualityInspectComplete:音画质检测完成。</li>
|
11946
12319
|
# <b>兼容 2017 版的事件类型:</b>
|
11947
12320
|
# <li>TranscodeComplete:视频转码完成;</li>
|
11948
12321
|
# <li>ConcatComplete:视频拼接完成;</li>
|
@@ -12016,10 +12389,13 @@ module TencentCloud
|
|
12016
12389
|
# @param DescribeFileAttributesCompleteEvent: 获取文件属性完成事件,当事件类型为 DescribeFileAttributesComplete 时有效。
|
12017
12390
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12018
12391
|
# @type DescribeFileAttributesCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
|
12392
|
+
# @param QualityInspectCompleteEvent: 音画质检测完成事件,当事件类型为 QualityInspectComplete 时有效。
|
12393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12394
|
+
# @type QualityInspectCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.QualityInspectTask`
|
12019
12395
|
|
12020
|
-
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent
|
12396
|
+
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent, :QualityInspectCompleteEvent
|
12021
12397
|
|
12022
|
-
def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil)
|
12398
|
+
def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil, qualityinspectcompleteevent=nil)
|
12023
12399
|
@EventHandle = eventhandle
|
12024
12400
|
@EventType = eventtype
|
12025
12401
|
@FileUploadEvent = fileuploadevent
|
@@ -12044,6 +12420,7 @@ module TencentCloud
|
|
12044
12420
|
@ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
|
12045
12421
|
@ReduceMediaBitrateCompleteEvent = reducemediabitratecompleteevent
|
12046
12422
|
@DescribeFileAttributesCompleteEvent = describefileattributescompleteevent
|
12423
|
+
@QualityInspectCompleteEvent = qualityinspectcompleteevent
|
12047
12424
|
end
|
12048
12425
|
|
12049
12426
|
def deserialize(params)
|
@@ -12137,6 +12514,10 @@ module TencentCloud
|
|
12137
12514
|
@DescribeFileAttributesCompleteEvent = DescribeFileAttributesTask.new
|
12138
12515
|
@DescribeFileAttributesCompleteEvent.deserialize(params['DescribeFileAttributesCompleteEvent'])
|
12139
12516
|
end
|
12517
|
+
unless params['QualityInspectCompleteEvent'].nil?
|
12518
|
+
@QualityInspectCompleteEvent = QualityInspectTask.new
|
12519
|
+
@QualityInspectCompleteEvent.deserialize(params['QualityInspectCompleteEvent'])
|
12520
|
+
end
|
12140
12521
|
end
|
12141
12522
|
end
|
12142
12523
|
|
@@ -13491,18 +13872,114 @@ module TencentCloud
|
|
13491
13872
|
end
|
13492
13873
|
end
|
13493
13874
|
|
13494
|
-
#
|
13495
|
-
class
|
13496
|
-
# @param
|
13497
|
-
# @type
|
13498
|
-
# @param
|
13499
|
-
# @type
|
13875
|
+
# InspectMediaQuality请求参数结构体
|
13876
|
+
class InspectMediaQualityRequest < TencentCloud::Common::AbstractModel
|
13877
|
+
# @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
|
13878
|
+
# @type FileId: String
|
13879
|
+
# @param Definition: 音画质检测模板 ID。
|
13880
|
+
# @type Definition: Integer
|
13881
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
13882
|
+
# @type SubAppId: Integer
|
13883
|
+
# @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
13884
|
+
# @type TasksPriority: Integer
|
13885
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,音画质检测完成回调将返回该字段值,最长 1000 个字符。
|
13886
|
+
# @type SessionContext: String
|
13887
|
+
# @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
13888
|
+
# @type SessionId: String
|
13889
|
+
# @param ExtInfo: 保留字段,特殊用途时使用。
|
13890
|
+
# @type ExtInfo: String
|
13500
13891
|
|
13501
|
-
attr_accessor :
|
13892
|
+
attr_accessor :FileId, :Definition, :SubAppId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
|
13502
13893
|
|
13503
|
-
def initialize(
|
13504
|
-
@
|
13505
|
-
@
|
13894
|
+
def initialize(fileid=nil, definition=nil, subappid=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
|
13895
|
+
@FileId = fileid
|
13896
|
+
@Definition = definition
|
13897
|
+
@SubAppId = subappid
|
13898
|
+
@TasksPriority = taskspriority
|
13899
|
+
@SessionContext = sessioncontext
|
13900
|
+
@SessionId = sessionid
|
13901
|
+
@ExtInfo = extinfo
|
13902
|
+
end
|
13903
|
+
|
13904
|
+
def deserialize(params)
|
13905
|
+
@FileId = params['FileId']
|
13906
|
+
@Definition = params['Definition']
|
13907
|
+
@SubAppId = params['SubAppId']
|
13908
|
+
@TasksPriority = params['TasksPriority']
|
13909
|
+
@SessionContext = params['SessionContext']
|
13910
|
+
@SessionId = params['SessionId']
|
13911
|
+
@ExtInfo = params['ExtInfo']
|
13912
|
+
end
|
13913
|
+
end
|
13914
|
+
|
13915
|
+
# InspectMediaQuality返回参数结构体
|
13916
|
+
class InspectMediaQualityResponse < TencentCloud::Common::AbstractModel
|
13917
|
+
# @param TaskId: 音画质检测任务 ID。
|
13918
|
+
# @type TaskId: String
|
13919
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13920
|
+
# @type RequestId: String
|
13921
|
+
|
13922
|
+
attr_accessor :TaskId, :RequestId
|
13923
|
+
|
13924
|
+
def initialize(taskid=nil, requestid=nil)
|
13925
|
+
@TaskId = taskid
|
13926
|
+
@RequestId = requestid
|
13927
|
+
end
|
13928
|
+
|
13929
|
+
def deserialize(params)
|
13930
|
+
@TaskId = params['TaskId']
|
13931
|
+
@RequestId = params['RequestId']
|
13932
|
+
end
|
13933
|
+
end
|
13934
|
+
|
13935
|
+
# 视频画面抖动重影检测的控制参数。
|
13936
|
+
class JitterConfigureInfo < TencentCloud::Common::AbstractModel
|
13937
|
+
# @param Switch: 视频画面抖动重影检测开关,可选值:
|
13938
|
+
# <li>ON:开启;</li>
|
13939
|
+
# <li>OFF:关闭。</li>
|
13940
|
+
# @type Switch: String
|
13941
|
+
|
13942
|
+
attr_accessor :Switch
|
13943
|
+
|
13944
|
+
def initialize(switch=nil)
|
13945
|
+
@Switch = switch
|
13946
|
+
end
|
13947
|
+
|
13948
|
+
def deserialize(params)
|
13949
|
+
@Switch = params['Switch']
|
13950
|
+
end
|
13951
|
+
end
|
13952
|
+
|
13953
|
+
# 视频画面抖动重影检测的控制参数。
|
13954
|
+
class JitterConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
13955
|
+
# @param Switch: 视频画面抖动重影检测开关,可选值:
|
13956
|
+
# <li>ON:开启;</li>
|
13957
|
+
# <li>OFF:关闭。</li>
|
13958
|
+
# @type Switch: String
|
13959
|
+
|
13960
|
+
attr_accessor :Switch
|
13961
|
+
|
13962
|
+
def initialize(switch=nil)
|
13963
|
+
@Switch = switch
|
13964
|
+
end
|
13965
|
+
|
13966
|
+
def deserialize(params)
|
13967
|
+
@Switch = params['Switch']
|
13968
|
+
end
|
13969
|
+
end
|
13970
|
+
|
13971
|
+
# License 请求次数统计数据。
|
13972
|
+
class LicenseUsageDataItem < TencentCloud::Common::AbstractModel
|
13973
|
+
# @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
13974
|
+
# @type Time: String
|
13975
|
+
# @param Count: License 请求次数。
|
13976
|
+
# @type Count: Integer
|
13977
|
+
|
13978
|
+
attr_accessor :Time, :Count
|
13979
|
+
|
13980
|
+
def initialize(time=nil, count=nil)
|
13981
|
+
@Time = time
|
13982
|
+
@Count = count
|
13506
13983
|
end
|
13507
13984
|
|
13508
13985
|
def deserialize(params)
|
@@ -17009,6 +17486,124 @@ module TencentCloud
|
|
17009
17486
|
end
|
17010
17487
|
end
|
17011
17488
|
|
17489
|
+
# ModifyQualityInspectTemplate请求参数结构体
|
17490
|
+
class ModifyQualityInspectTemplateRequest < TencentCloud::Common::AbstractModel
|
17491
|
+
# @param Definition: 模板 ID。
|
17492
|
+
# @type Definition: Integer
|
17493
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
17494
|
+
# @type SubAppId: Integer
|
17495
|
+
# @param Name: 模板名称,长度限制:64 个字符。
|
17496
|
+
# @type Name: String
|
17497
|
+
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
17498
|
+
# @type Comment: String
|
17499
|
+
# @param ScreenshotInterval: 截帧间隔,单位为秒,最小值为 1。
|
17500
|
+
# @type ScreenshotInterval: Float
|
17501
|
+
# @param JitterConfigure: 视频画面抖动重影检测的控制参数。
|
17502
|
+
# @type JitterConfigure: :class:`Tencentcloud::Vod.v20180717.models.JitterConfigureInfoForUpdate`
|
17503
|
+
# @param BlurConfigure: 视频画面模糊检测的控制参数。
|
17504
|
+
# @type BlurConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlurConfigureInfoForUpdate`
|
17505
|
+
# @param AbnormalLightingConfigure: 视频画面低光、过曝检测的控制参数。
|
17506
|
+
# @type AbnormalLightingConfigure: :class:`Tencentcloud::Vod.v20180717.models.AbnormalLightingConfigureInfoForUpdate`
|
17507
|
+
# @param CrashScreenConfigure: 视频画面花屏检测的控制参数。
|
17508
|
+
# @type CrashScreenConfigure: :class:`Tencentcloud::Vod.v20180717.models.CrashScreenConfigureInfoForUpdate`
|
17509
|
+
# @param BlackWhiteEdgeConfigure: 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
17510
|
+
# @type BlackWhiteEdgeConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlackWhiteEdgeConfigureInfoForUpdate`
|
17511
|
+
# @param NoiseConfigure: 视频画面噪点检测的控制参数。
|
17512
|
+
# @type NoiseConfigure: :class:`Tencentcloud::Vod.v20180717.models.NoiseConfigureInfoForUpdate`
|
17513
|
+
# @param MosaicConfigure: 视频画面马赛克检测的控制参数。
|
17514
|
+
# @type MosaicConfigure: :class:`Tencentcloud::Vod.v20180717.models.MosaicConfigureInfoForUpdate`
|
17515
|
+
# @param QRCodeConfigure: 视频画面二维码检测的控制参数。
|
17516
|
+
# @type QRCodeConfigure: :class:`Tencentcloud::Vod.v20180717.models.QRCodeConfigureInfoForUpdate`
|
17517
|
+
# @param QualityEvaluationConfigure: 视频画面质量评价的控制参数。
|
17518
|
+
# @type QualityEvaluationConfigure: :class:`Tencentcloud::Vod.v20180717.models.QualityEvaluationConfigureInfoForUpdate`
|
17519
|
+
# @param VoiceConfigure: 音频(静音、低音、爆音)检测的控制参数。
|
17520
|
+
# @type VoiceConfigure: :class:`Tencentcloud::Vod.v20180717.models.VoiceConfigureInfoForUpdate`
|
17521
|
+
|
17522
|
+
attr_accessor :Definition, :SubAppId, :Name, :Comment, :ScreenshotInterval, :JitterConfigure, :BlurConfigure, :AbnormalLightingConfigure, :CrashScreenConfigure, :BlackWhiteEdgeConfigure, :NoiseConfigure, :MosaicConfigure, :QRCodeConfigure, :QualityEvaluationConfigure, :VoiceConfigure
|
17523
|
+
|
17524
|
+
def initialize(definition=nil, subappid=nil, name=nil, comment=nil, screenshotinterval=nil, jitterconfigure=nil, blurconfigure=nil, abnormallightingconfigure=nil, crashscreenconfigure=nil, blackwhiteedgeconfigure=nil, noiseconfigure=nil, mosaicconfigure=nil, qrcodeconfigure=nil, qualityevaluationconfigure=nil, voiceconfigure=nil)
|
17525
|
+
@Definition = definition
|
17526
|
+
@SubAppId = subappid
|
17527
|
+
@Name = name
|
17528
|
+
@Comment = comment
|
17529
|
+
@ScreenshotInterval = screenshotinterval
|
17530
|
+
@JitterConfigure = jitterconfigure
|
17531
|
+
@BlurConfigure = blurconfigure
|
17532
|
+
@AbnormalLightingConfigure = abnormallightingconfigure
|
17533
|
+
@CrashScreenConfigure = crashscreenconfigure
|
17534
|
+
@BlackWhiteEdgeConfigure = blackwhiteedgeconfigure
|
17535
|
+
@NoiseConfigure = noiseconfigure
|
17536
|
+
@MosaicConfigure = mosaicconfigure
|
17537
|
+
@QRCodeConfigure = qrcodeconfigure
|
17538
|
+
@QualityEvaluationConfigure = qualityevaluationconfigure
|
17539
|
+
@VoiceConfigure = voiceconfigure
|
17540
|
+
end
|
17541
|
+
|
17542
|
+
def deserialize(params)
|
17543
|
+
@Definition = params['Definition']
|
17544
|
+
@SubAppId = params['SubAppId']
|
17545
|
+
@Name = params['Name']
|
17546
|
+
@Comment = params['Comment']
|
17547
|
+
@ScreenshotInterval = params['ScreenshotInterval']
|
17548
|
+
unless params['JitterConfigure'].nil?
|
17549
|
+
@JitterConfigure = JitterConfigureInfoForUpdate.new
|
17550
|
+
@JitterConfigure.deserialize(params['JitterConfigure'])
|
17551
|
+
end
|
17552
|
+
unless params['BlurConfigure'].nil?
|
17553
|
+
@BlurConfigure = BlurConfigureInfoForUpdate.new
|
17554
|
+
@BlurConfigure.deserialize(params['BlurConfigure'])
|
17555
|
+
end
|
17556
|
+
unless params['AbnormalLightingConfigure'].nil?
|
17557
|
+
@AbnormalLightingConfigure = AbnormalLightingConfigureInfoForUpdate.new
|
17558
|
+
@AbnormalLightingConfigure.deserialize(params['AbnormalLightingConfigure'])
|
17559
|
+
end
|
17560
|
+
unless params['CrashScreenConfigure'].nil?
|
17561
|
+
@CrashScreenConfigure = CrashScreenConfigureInfoForUpdate.new
|
17562
|
+
@CrashScreenConfigure.deserialize(params['CrashScreenConfigure'])
|
17563
|
+
end
|
17564
|
+
unless params['BlackWhiteEdgeConfigure'].nil?
|
17565
|
+
@BlackWhiteEdgeConfigure = BlackWhiteEdgeConfigureInfoForUpdate.new
|
17566
|
+
@BlackWhiteEdgeConfigure.deserialize(params['BlackWhiteEdgeConfigure'])
|
17567
|
+
end
|
17568
|
+
unless params['NoiseConfigure'].nil?
|
17569
|
+
@NoiseConfigure = NoiseConfigureInfoForUpdate.new
|
17570
|
+
@NoiseConfigure.deserialize(params['NoiseConfigure'])
|
17571
|
+
end
|
17572
|
+
unless params['MosaicConfigure'].nil?
|
17573
|
+
@MosaicConfigure = MosaicConfigureInfoForUpdate.new
|
17574
|
+
@MosaicConfigure.deserialize(params['MosaicConfigure'])
|
17575
|
+
end
|
17576
|
+
unless params['QRCodeConfigure'].nil?
|
17577
|
+
@QRCodeConfigure = QRCodeConfigureInfoForUpdate.new
|
17578
|
+
@QRCodeConfigure.deserialize(params['QRCodeConfigure'])
|
17579
|
+
end
|
17580
|
+
unless params['QualityEvaluationConfigure'].nil?
|
17581
|
+
@QualityEvaluationConfigure = QualityEvaluationConfigureInfoForUpdate.new
|
17582
|
+
@QualityEvaluationConfigure.deserialize(params['QualityEvaluationConfigure'])
|
17583
|
+
end
|
17584
|
+
unless params['VoiceConfigure'].nil?
|
17585
|
+
@VoiceConfigure = VoiceConfigureInfoForUpdate.new
|
17586
|
+
@VoiceConfigure.deserialize(params['VoiceConfigure'])
|
17587
|
+
end
|
17588
|
+
end
|
17589
|
+
end
|
17590
|
+
|
17591
|
+
# ModifyQualityInspectTemplate返回参数结构体
|
17592
|
+
class ModifyQualityInspectTemplateResponse < TencentCloud::Common::AbstractModel
|
17593
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17594
|
+
# @type RequestId: String
|
17595
|
+
|
17596
|
+
attr_accessor :RequestId
|
17597
|
+
|
17598
|
+
def initialize(requestid=nil)
|
17599
|
+
@RequestId = requestid
|
17600
|
+
end
|
17601
|
+
|
17602
|
+
def deserialize(params)
|
17603
|
+
@RequestId = params['RequestId']
|
17604
|
+
end
|
17605
|
+
end
|
17606
|
+
|
17012
17607
|
# ModifyRebuildMediaTemplate请求参数结构体
|
17013
17608
|
class ModifyRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
17014
17609
|
# @param Definition: 音画质重生模板号。
|
@@ -17913,6 +18508,42 @@ module TencentCloud
|
|
17913
18508
|
end
|
17914
18509
|
end
|
17915
18510
|
|
18511
|
+
# 视频画面马赛克检测的控制参数。
|
18512
|
+
class MosaicConfigureInfo < TencentCloud::Common::AbstractModel
|
18513
|
+
# @param Switch: 视频画面马赛克检测开关,可选值:
|
18514
|
+
# <li>ON:开启;</li>
|
18515
|
+
# <li>OFF:关闭。</li>
|
18516
|
+
# @type Switch: String
|
18517
|
+
|
18518
|
+
attr_accessor :Switch
|
18519
|
+
|
18520
|
+
def initialize(switch=nil)
|
18521
|
+
@Switch = switch
|
18522
|
+
end
|
18523
|
+
|
18524
|
+
def deserialize(params)
|
18525
|
+
@Switch = params['Switch']
|
18526
|
+
end
|
18527
|
+
end
|
18528
|
+
|
18529
|
+
# 视频画面马赛克检测的控制参数。
|
18530
|
+
class MosaicConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
18531
|
+
# @param Switch: 视频画面马赛克检测开关,可选值:
|
18532
|
+
# <li>ON:开启;</li>
|
18533
|
+
# <li>OFF:关闭。</li>
|
18534
|
+
# @type Switch: String
|
18535
|
+
|
18536
|
+
attr_accessor :Switch
|
18537
|
+
|
18538
|
+
def initialize(switch=nil)
|
18539
|
+
@Switch = switch
|
18540
|
+
end
|
18541
|
+
|
18542
|
+
def deserialize(params)
|
18543
|
+
@Switch = params['Switch']
|
18544
|
+
end
|
18545
|
+
end
|
18546
|
+
|
17916
18547
|
# 视频处理任务中的马赛克参数类型
|
17917
18548
|
class MosaicInput < TencentCloud::Common::AbstractModel
|
17918
18549
|
# @param CoordinateOrigin: 原点位置,目前仅支持:
|
@@ -17973,6 +18604,42 @@ module TencentCloud
|
|
17973
18604
|
end
|
17974
18605
|
end
|
17975
18606
|
|
18607
|
+
# 视频画面噪点检测的控制参数。
|
18608
|
+
class NoiseConfigureInfo < TencentCloud::Common::AbstractModel
|
18609
|
+
# @param Switch: 视频画面噪点检测开关,可选值:
|
18610
|
+
# <li>ON:开启;</li>
|
18611
|
+
# <li>OFF:关闭。</li>
|
18612
|
+
# @type Switch: String
|
18613
|
+
|
18614
|
+
attr_accessor :Switch
|
18615
|
+
|
18616
|
+
def initialize(switch=nil)
|
18617
|
+
@Switch = switch
|
18618
|
+
end
|
18619
|
+
|
18620
|
+
def deserialize(params)
|
18621
|
+
@Switch = params['Switch']
|
18622
|
+
end
|
18623
|
+
end
|
18624
|
+
|
18625
|
+
# 视频画面噪点检测的控制参数。
|
18626
|
+
class NoiseConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
18627
|
+
# @param Switch: 视频画面噪点检测开关,可选值:
|
18628
|
+
# <li>ON:开启;</li>
|
18629
|
+
# <li>OFF:关闭。</li>
|
18630
|
+
# @type Switch: String
|
18631
|
+
|
18632
|
+
attr_accessor :Switch
|
18633
|
+
|
18634
|
+
def initialize(switch=nil)
|
18635
|
+
@Switch = switch
|
18636
|
+
end
|
18637
|
+
|
18638
|
+
def deserialize(params)
|
18639
|
+
@Switch = params['Switch']
|
18640
|
+
end
|
18641
|
+
end
|
18642
|
+
|
17976
18643
|
# 物体识别任务控制参数
|
17977
18644
|
class ObjectConfigureInfo < TencentCloud::Common::AbstractModel
|
17978
18645
|
# @param Switch: 物体识别任务开关,可选值:
|
@@ -19961,6 +20628,420 @@ module TencentCloud
|
|
19961
20628
|
end
|
19962
20629
|
end
|
19963
20630
|
|
20631
|
+
# 视频画面二维码检测的控制参数。
|
20632
|
+
class QRCodeConfigureInfo < TencentCloud::Common::AbstractModel
|
20633
|
+
# @param Switch: 视频画面二维码检测开关,可选值:
|
20634
|
+
# <li>ON:开启;</li>
|
20635
|
+
# <li>OFF:关闭。</li>
|
20636
|
+
# @type Switch: String
|
20637
|
+
|
20638
|
+
attr_accessor :Switch
|
20639
|
+
|
20640
|
+
def initialize(switch=nil)
|
20641
|
+
@Switch = switch
|
20642
|
+
end
|
20643
|
+
|
20644
|
+
def deserialize(params)
|
20645
|
+
@Switch = params['Switch']
|
20646
|
+
end
|
20647
|
+
end
|
20648
|
+
|
20649
|
+
# 视频画面二维码检测的控制参数。
|
20650
|
+
class QRCodeConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
20651
|
+
# @param Switch: 视频画面二维码检测开关,可选值:
|
20652
|
+
# <li>ON:开启;</li>
|
20653
|
+
# <li>OFF:关闭。</li>
|
20654
|
+
# @type Switch: String
|
20655
|
+
|
20656
|
+
attr_accessor :Switch
|
20657
|
+
|
20658
|
+
def initialize(switch=nil)
|
20659
|
+
@Switch = switch
|
20660
|
+
end
|
20661
|
+
|
20662
|
+
def deserialize(params)
|
20663
|
+
@Switch = params['Switch']
|
20664
|
+
end
|
20665
|
+
end
|
20666
|
+
|
20667
|
+
# 视频画面质量评价的控制参数。
|
20668
|
+
class QualityEvaluationConfigureInfo < TencentCloud::Common::AbstractModel
|
20669
|
+
# @param Switch: 视频画面质量评价检测开关,可选值:
|
20670
|
+
# <li>ON:开启;</li>
|
20671
|
+
# <li>OFF:关闭。</li>
|
20672
|
+
# @type Switch: String
|
20673
|
+
# @param Score: 视频画面质量评价过滤阈值,结果只返回低于该值的时间段,默认值为 60。
|
20674
|
+
# @type Score: Integer
|
20675
|
+
|
20676
|
+
attr_accessor :Switch, :Score
|
20677
|
+
|
20678
|
+
def initialize(switch=nil, score=nil)
|
20679
|
+
@Switch = switch
|
20680
|
+
@Score = score
|
20681
|
+
end
|
20682
|
+
|
20683
|
+
def deserialize(params)
|
20684
|
+
@Switch = params['Switch']
|
20685
|
+
@Score = params['Score']
|
20686
|
+
end
|
20687
|
+
end
|
20688
|
+
|
20689
|
+
# 视频画面质量评价的控制参数。
|
20690
|
+
class QualityEvaluationConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
20691
|
+
# @param Switch: 视频画面质量评价开关,可选值:
|
20692
|
+
# <li>ON:开启;</li>
|
20693
|
+
# <li>OFF:关闭。</li>
|
20694
|
+
# @type Switch: String
|
20695
|
+
# @param Score: 视频画面质量评价过滤阈值,结果只返回低于该值的时间段。
|
20696
|
+
# @type Score: Integer
|
20697
|
+
|
20698
|
+
attr_accessor :Switch, :Score
|
20699
|
+
|
20700
|
+
def initialize(switch=nil, score=nil)
|
20701
|
+
@Switch = switch
|
20702
|
+
@Score = score
|
20703
|
+
end
|
20704
|
+
|
20705
|
+
def deserialize(params)
|
20706
|
+
@Switch = params['Switch']
|
20707
|
+
@Score = params['Score']
|
20708
|
+
end
|
20709
|
+
end
|
20710
|
+
|
20711
|
+
# 音画质检测异常片段信息。
|
20712
|
+
class QualityInspectItem < TencentCloud::Common::AbstractModel
|
20713
|
+
# @param Confidence: 置信度,取值范围:[0, 100]。
|
20714
|
+
# <font color=red>注意:</font> 仅当 Type 取值为下列之一时,本字段取值有效:
|
20715
|
+
# <li>Mosaic:马赛克;</li>
|
20716
|
+
# <li>QRCode:二维码;</li>
|
20717
|
+
# <li>AppletCode:小程序码;</li>
|
20718
|
+
# <li>BarCode:条形码。</li>
|
20719
|
+
# @type Confidence: Integer
|
20720
|
+
# @param StartTimeOffset: 异常片段起始的偏移时间,单位:秒。
|
20721
|
+
# @type StartTimeOffset: Float
|
20722
|
+
# @param EndTimeOffset: 异常片段终止的偏移时间,单位:秒。
|
20723
|
+
# @type EndTimeOffset: Float
|
20724
|
+
# @param AreaCoordSet: 检测出异常的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
20725
|
+
# <font color=red>注意:</font> 仅当 Type 取值为下列之一时,本字段取值有效:
|
20726
|
+
# <li>BlackWhiteEdge:黑白边;</li>
|
20727
|
+
# <li>Mosaic:马赛克;</li>
|
20728
|
+
# <li>QRCode:二维码;</li>
|
20729
|
+
# <li>AppletCode:小程序码;</li>
|
20730
|
+
# <li>BarCode:条形码。</li>
|
20731
|
+
# @type AreaCoordSet: Array
|
20732
|
+
|
20733
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :AreaCoordSet
|
20734
|
+
|
20735
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, areacoordset=nil)
|
20736
|
+
@Confidence = confidence
|
20737
|
+
@StartTimeOffset = starttimeoffset
|
20738
|
+
@EndTimeOffset = endtimeoffset
|
20739
|
+
@AreaCoordSet = areacoordset
|
20740
|
+
end
|
20741
|
+
|
20742
|
+
def deserialize(params)
|
20743
|
+
@Confidence = params['Confidence']
|
20744
|
+
@StartTimeOffset = params['StartTimeOffset']
|
20745
|
+
@EndTimeOffset = params['EndTimeOffset']
|
20746
|
+
@AreaCoordSet = params['AreaCoordSet']
|
20747
|
+
end
|
20748
|
+
end
|
20749
|
+
|
20750
|
+
# 音画质检测异常结果信息。
|
20751
|
+
class QualityInspectResultItem < TencentCloud::Common::AbstractModel
|
20752
|
+
# @param Type: 异常类型,取值范围:
|
20753
|
+
# <li>Jitter:抖动;</li>
|
20754
|
+
# <li>Blur:模糊;</li>
|
20755
|
+
# <li>LowLighting:低光照;</li>
|
20756
|
+
# <li>HighLighting:过曝;</li>
|
20757
|
+
# <li>CrashScreen:花屏;</li>
|
20758
|
+
# <li>BlackWhiteEdge:黑白边;</li>
|
20759
|
+
# <li>SolidColorScreen:纯色屏;</li>
|
20760
|
+
# <li>Noise:噪点;</li>
|
20761
|
+
# <li>Mosaic:马赛克;</li>
|
20762
|
+
# <li>QRCode:二维码;</li>
|
20763
|
+
# <li>AppletCode:小程序码;</li>
|
20764
|
+
# <li>BarCode:条形码;</li>
|
20765
|
+
# <li>LowVoice:低音;</li>
|
20766
|
+
# <li>HighVoice:爆音;</li>
|
20767
|
+
# <li>NoVoice:静音;</li>
|
20768
|
+
# <li>LowEvaluation:无参考打分低于阈值。</li>
|
20769
|
+
# @type Type: String
|
20770
|
+
# @param SegmentSet: 异常片段列表。
|
20771
|
+
# <font color=red>注意:</font> 该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
20772
|
+
# @type SegmentSet: Array
|
20773
|
+
# @param SegmentSetFileUrl: 异常片段列表文件 URL。文件 内容 为 JSON,数据结构与 SegmentSet 字段一致。(文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
20774
|
+
# @type SegmentSetFileUrl: String
|
20775
|
+
# @param SegmentSetFileUrlExpireTime: 异常片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
20776
|
+
# @type SegmentSetFileUrlExpireTime: String
|
20777
|
+
|
20778
|
+
attr_accessor :Type, :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime
|
20779
|
+
|
20780
|
+
def initialize(type=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
|
20781
|
+
@Type = type
|
20782
|
+
@SegmentSet = segmentset
|
20783
|
+
@SegmentSetFileUrl = segmentsetfileurl
|
20784
|
+
@SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
|
20785
|
+
end
|
20786
|
+
|
20787
|
+
def deserialize(params)
|
20788
|
+
@Type = params['Type']
|
20789
|
+
unless params['SegmentSet'].nil?
|
20790
|
+
@SegmentSet = []
|
20791
|
+
params['SegmentSet'].each do |i|
|
20792
|
+
qualityinspectitem_tmp = QualityInspectItem.new
|
20793
|
+
qualityinspectitem_tmp.deserialize(i)
|
20794
|
+
@SegmentSet << qualityinspectitem_tmp
|
20795
|
+
end
|
20796
|
+
end
|
20797
|
+
@SegmentSetFileUrl = params['SegmentSetFileUrl']
|
20798
|
+
@SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
|
20799
|
+
end
|
20800
|
+
end
|
20801
|
+
|
20802
|
+
# 音画质检测任务信息。
|
20803
|
+
class QualityInspectTask < TencentCloud::Common::AbstractModel
|
20804
|
+
# @param TaskId: 任务 ID。
|
20805
|
+
# @type TaskId: String
|
20806
|
+
# @param Status: 任务状态,取值:
|
20807
|
+
# <li>PROCESSING:处理中;</li>
|
20808
|
+
# <li>FINISH:已完成。</li>
|
20809
|
+
# @type Status: String
|
20810
|
+
# @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) 列表。
|
20811
|
+
# @type ErrCodeExt: String
|
20812
|
+
# @param Message: 错误信息。
|
20813
|
+
# @type Message: String
|
20814
|
+
# @param MetaData: 音画质检测输入音视频的元信息。
|
20815
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20816
|
+
# @type MetaData: :class:`Tencentcloud::Vod.v20180717.models.MediaMetaData`
|
20817
|
+
# @param Input: 音画质检测任务输入。
|
20818
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20819
|
+
# @type Input: :class:`Tencentcloud::Vod.v20180717.models.QualityInspectTaskInput`
|
20820
|
+
# @param Output: 音画质检测任务输出。
|
20821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20822
|
+
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.QualityInspectTaskOutput`
|
20823
|
+
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
20824
|
+
# @type SessionId: String
|
20825
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,音画质检测完成回调将返回该字段值,最长 1000 个字符。
|
20826
|
+
# @type SessionContext: String
|
20827
|
+
|
20828
|
+
attr_accessor :TaskId, :Status, :ErrCodeExt, :Message, :MetaData, :Input, :Output, :SessionId, :SessionContext
|
20829
|
+
|
20830
|
+
def initialize(taskid=nil, status=nil, errcodeext=nil, message=nil, metadata=nil, input=nil, output=nil, sessionid=nil, sessioncontext=nil)
|
20831
|
+
@TaskId = taskid
|
20832
|
+
@Status = status
|
20833
|
+
@ErrCodeExt = errcodeext
|
20834
|
+
@Message = message
|
20835
|
+
@MetaData = metadata
|
20836
|
+
@Input = input
|
20837
|
+
@Output = output
|
20838
|
+
@SessionId = sessionid
|
20839
|
+
@SessionContext = sessioncontext
|
20840
|
+
end
|
20841
|
+
|
20842
|
+
def deserialize(params)
|
20843
|
+
@TaskId = params['TaskId']
|
20844
|
+
@Status = params['Status']
|
20845
|
+
@ErrCodeExt = params['ErrCodeExt']
|
20846
|
+
@Message = params['Message']
|
20847
|
+
unless params['MetaData'].nil?
|
20848
|
+
@MetaData = MediaMetaData.new
|
20849
|
+
@MetaData.deserialize(params['MetaData'])
|
20850
|
+
end
|
20851
|
+
unless params['Input'].nil?
|
20852
|
+
@Input = QualityInspectTaskInput.new
|
20853
|
+
@Input.deserialize(params['Input'])
|
20854
|
+
end
|
20855
|
+
unless params['Output'].nil?
|
20856
|
+
@Output = QualityInspectTaskOutput.new
|
20857
|
+
@Output.deserialize(params['Output'])
|
20858
|
+
end
|
20859
|
+
@SessionId = params['SessionId']
|
20860
|
+
@SessionContext = params['SessionContext']
|
20861
|
+
end
|
20862
|
+
end
|
20863
|
+
|
20864
|
+
# 音画质检测任务的输入。
|
20865
|
+
class QualityInspectTaskInput < TencentCloud::Common::AbstractModel
|
20866
|
+
# @param FileId: 媒体文件 ID。
|
20867
|
+
# @type FileId: String
|
20868
|
+
# @param Definition: 音画质检测模板 ID。
|
20869
|
+
# @type Definition: Integer
|
20870
|
+
|
20871
|
+
attr_accessor :FileId, :Definition
|
20872
|
+
|
20873
|
+
def initialize(fileid=nil, definition=nil)
|
20874
|
+
@FileId = fileid
|
20875
|
+
@Definition = definition
|
20876
|
+
end
|
20877
|
+
|
20878
|
+
def deserialize(params)
|
20879
|
+
@FileId = params['FileId']
|
20880
|
+
@Definition = params['Definition']
|
20881
|
+
end
|
20882
|
+
end
|
20883
|
+
|
20884
|
+
# 音画质检测任务的输出。
|
20885
|
+
class QualityInspectTaskOutput < TencentCloud::Common::AbstractModel
|
20886
|
+
# @param NoAudio: 媒体文件是否无音频轨,取值范围:
|
20887
|
+
# <li>0:否,即有音频轨;</li>
|
20888
|
+
# <li>1:是,即无音频轨。</li>
|
20889
|
+
# @type NoAudio: Integer
|
20890
|
+
# @param NoVideo: 媒体文件是否无视频轨,取值范围:
|
20891
|
+
# <li>0:否,即有视频轨;</li>
|
20892
|
+
# <li>1:是,即无视频轨。</li>
|
20893
|
+
# @type NoVideo: Integer
|
20894
|
+
# @param QualityEvaluationScore: 视频画面质量评分,取值范围:[0, 100]。
|
20895
|
+
# @type QualityEvaluationScore: Integer
|
20896
|
+
# @param QualityInspectResultSet: 音画质检测出的异常项列表。
|
20897
|
+
# @type QualityInspectResultSet: Array
|
20898
|
+
|
20899
|
+
attr_accessor :NoAudio, :NoVideo, :QualityEvaluationScore, :QualityInspectResultSet
|
20900
|
+
|
20901
|
+
def initialize(noaudio=nil, novideo=nil, qualityevaluationscore=nil, qualityinspectresultset=nil)
|
20902
|
+
@NoAudio = noaudio
|
20903
|
+
@NoVideo = novideo
|
20904
|
+
@QualityEvaluationScore = qualityevaluationscore
|
20905
|
+
@QualityInspectResultSet = qualityinspectresultset
|
20906
|
+
end
|
20907
|
+
|
20908
|
+
def deserialize(params)
|
20909
|
+
@NoAudio = params['NoAudio']
|
20910
|
+
@NoVideo = params['NoVideo']
|
20911
|
+
@QualityEvaluationScore = params['QualityEvaluationScore']
|
20912
|
+
unless params['QualityInspectResultSet'].nil?
|
20913
|
+
@QualityInspectResultSet = []
|
20914
|
+
params['QualityInspectResultSet'].each do |i|
|
20915
|
+
qualityinspectresultitem_tmp = QualityInspectResultItem.new
|
20916
|
+
qualityinspectresultitem_tmp.deserialize(i)
|
20917
|
+
@QualityInspectResultSet << qualityinspectresultitem_tmp
|
20918
|
+
end
|
20919
|
+
end
|
20920
|
+
end
|
20921
|
+
end
|
20922
|
+
|
20923
|
+
# 音画质检测模板详情。
|
20924
|
+
class QualityInspectTemplateItem < TencentCloud::Common::AbstractModel
|
20925
|
+
# @param Definition: 模板 ID。
|
20926
|
+
# @type Definition: Integer
|
20927
|
+
# @param Type: 模板类型,可选值:
|
20928
|
+
# <li>Preset:系统预置模板;</li>
|
20929
|
+
# <li>Custom:用户自定义模板。</li>
|
20930
|
+
# @type Type: String
|
20931
|
+
# @param Name: 模板名称。
|
20932
|
+
# @type Name: String
|
20933
|
+
# @param Comment: 模板描述。
|
20934
|
+
# @type Comment: String
|
20935
|
+
# @param ScreenshotInterval: 截帧间隔,单位为秒。
|
20936
|
+
# @type ScreenshotInterval: Float
|
20937
|
+
# @param JitterConfigure: 视频画面抖动重影检测的控制参数。
|
20938
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20939
|
+
# @type JitterConfigure: :class:`Tencentcloud::Vod.v20180717.models.JitterConfigureInfo`
|
20940
|
+
# @param BlurConfigure: 视频画面模糊检测的控制参数。
|
20941
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20942
|
+
# @type BlurConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlurConfigureInfo`
|
20943
|
+
# @param AbnormalLightingConfigure: 视频画面低光、过曝检测的控制参数。
|
20944
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20945
|
+
# @type AbnormalLightingConfigure: :class:`Tencentcloud::Vod.v20180717.models.AbnormalLightingConfigureInfo`
|
20946
|
+
# @param CrashScreenConfigure: 视频画面花屏检测的控制参数。
|
20947
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20948
|
+
# @type CrashScreenConfigure: :class:`Tencentcloud::Vod.v20180717.models.CrashScreenConfigureInfo`
|
20949
|
+
# @param BlackWhiteEdgeConfigure: 视频画面黑边、白边、黑屏、白屏检测的控制参数。
|
20950
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20951
|
+
# @type BlackWhiteEdgeConfigure: :class:`Tencentcloud::Vod.v20180717.models.BlackWhiteEdgeConfigureInfo`
|
20952
|
+
# @param NoiseConfigure: 视频画面噪点检测的控制参数。
|
20953
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20954
|
+
# @type NoiseConfigure: :class:`Tencentcloud::Vod.v20180717.models.NoiseConfigureInfo`
|
20955
|
+
# @param MosaicConfigure: 视频画面马赛克检测的控制参数。
|
20956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20957
|
+
# @type MosaicConfigure: :class:`Tencentcloud::Vod.v20180717.models.MosaicConfigureInfo`
|
20958
|
+
# @param QRCodeConfigure: 视频画面二维码检测的控制参数。
|
20959
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20960
|
+
# @type QRCodeConfigure: :class:`Tencentcloud::Vod.v20180717.models.QRCodeConfigureInfo`
|
20961
|
+
# @param QualityEvaluationConfigure: 视频画面质量评价的控制参数。
|
20962
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20963
|
+
# @type QualityEvaluationConfigure: :class:`Tencentcloud::Vod.v20180717.models.QualityEvaluationConfigureInfo`
|
20964
|
+
# @param VoiceConfigure: 音频(静音、低音、爆音)检测的控制参数。
|
20965
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20966
|
+
# @type VoiceConfigure: :class:`Tencentcloud::Vod.v20180717.models.VoiceConfigureInfo`
|
20967
|
+
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
20968
|
+
# @type CreateTime: String
|
20969
|
+
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
20970
|
+
# @type UpdateTime: String
|
20971
|
+
|
20972
|
+
attr_accessor :Definition, :Type, :Name, :Comment, :ScreenshotInterval, :JitterConfigure, :BlurConfigure, :AbnormalLightingConfigure, :CrashScreenConfigure, :BlackWhiteEdgeConfigure, :NoiseConfigure, :MosaicConfigure, :QRCodeConfigure, :QualityEvaluationConfigure, :VoiceConfigure, :CreateTime, :UpdateTime
|
20973
|
+
|
20974
|
+
def initialize(definition=nil, type=nil, name=nil, comment=nil, screenshotinterval=nil, jitterconfigure=nil, blurconfigure=nil, abnormallightingconfigure=nil, crashscreenconfigure=nil, blackwhiteedgeconfigure=nil, noiseconfigure=nil, mosaicconfigure=nil, qrcodeconfigure=nil, qualityevaluationconfigure=nil, voiceconfigure=nil, createtime=nil, updatetime=nil)
|
20975
|
+
@Definition = definition
|
20976
|
+
@Type = type
|
20977
|
+
@Name = name
|
20978
|
+
@Comment = comment
|
20979
|
+
@ScreenshotInterval = screenshotinterval
|
20980
|
+
@JitterConfigure = jitterconfigure
|
20981
|
+
@BlurConfigure = blurconfigure
|
20982
|
+
@AbnormalLightingConfigure = abnormallightingconfigure
|
20983
|
+
@CrashScreenConfigure = crashscreenconfigure
|
20984
|
+
@BlackWhiteEdgeConfigure = blackwhiteedgeconfigure
|
20985
|
+
@NoiseConfigure = noiseconfigure
|
20986
|
+
@MosaicConfigure = mosaicconfigure
|
20987
|
+
@QRCodeConfigure = qrcodeconfigure
|
20988
|
+
@QualityEvaluationConfigure = qualityevaluationconfigure
|
20989
|
+
@VoiceConfigure = voiceconfigure
|
20990
|
+
@CreateTime = createtime
|
20991
|
+
@UpdateTime = updatetime
|
20992
|
+
end
|
20993
|
+
|
20994
|
+
def deserialize(params)
|
20995
|
+
@Definition = params['Definition']
|
20996
|
+
@Type = params['Type']
|
20997
|
+
@Name = params['Name']
|
20998
|
+
@Comment = params['Comment']
|
20999
|
+
@ScreenshotInterval = params['ScreenshotInterval']
|
21000
|
+
unless params['JitterConfigure'].nil?
|
21001
|
+
@JitterConfigure = JitterConfigureInfo.new
|
21002
|
+
@JitterConfigure.deserialize(params['JitterConfigure'])
|
21003
|
+
end
|
21004
|
+
unless params['BlurConfigure'].nil?
|
21005
|
+
@BlurConfigure = BlurConfigureInfo.new
|
21006
|
+
@BlurConfigure.deserialize(params['BlurConfigure'])
|
21007
|
+
end
|
21008
|
+
unless params['AbnormalLightingConfigure'].nil?
|
21009
|
+
@AbnormalLightingConfigure = AbnormalLightingConfigureInfo.new
|
21010
|
+
@AbnormalLightingConfigure.deserialize(params['AbnormalLightingConfigure'])
|
21011
|
+
end
|
21012
|
+
unless params['CrashScreenConfigure'].nil?
|
21013
|
+
@CrashScreenConfigure = CrashScreenConfigureInfo.new
|
21014
|
+
@CrashScreenConfigure.deserialize(params['CrashScreenConfigure'])
|
21015
|
+
end
|
21016
|
+
unless params['BlackWhiteEdgeConfigure'].nil?
|
21017
|
+
@BlackWhiteEdgeConfigure = BlackWhiteEdgeConfigureInfo.new
|
21018
|
+
@BlackWhiteEdgeConfigure.deserialize(params['BlackWhiteEdgeConfigure'])
|
21019
|
+
end
|
21020
|
+
unless params['NoiseConfigure'].nil?
|
21021
|
+
@NoiseConfigure = NoiseConfigureInfo.new
|
21022
|
+
@NoiseConfigure.deserialize(params['NoiseConfigure'])
|
21023
|
+
end
|
21024
|
+
unless params['MosaicConfigure'].nil?
|
21025
|
+
@MosaicConfigure = MosaicConfigureInfo.new
|
21026
|
+
@MosaicConfigure.deserialize(params['MosaicConfigure'])
|
21027
|
+
end
|
21028
|
+
unless params['QRCodeConfigure'].nil?
|
21029
|
+
@QRCodeConfigure = QRCodeConfigureInfo.new
|
21030
|
+
@QRCodeConfigure.deserialize(params['QRCodeConfigure'])
|
21031
|
+
end
|
21032
|
+
unless params['QualityEvaluationConfigure'].nil?
|
21033
|
+
@QualityEvaluationConfigure = QualityEvaluationConfigureInfo.new
|
21034
|
+
@QualityEvaluationConfigure.deserialize(params['QualityEvaluationConfigure'])
|
21035
|
+
end
|
21036
|
+
unless params['VoiceConfigure'].nil?
|
21037
|
+
@VoiceConfigure = VoiceConfigureInfo.new
|
21038
|
+
@VoiceConfigure.deserialize(params['VoiceConfigure'])
|
21039
|
+
end
|
21040
|
+
@CreateTime = params['CreateTime']
|
21041
|
+
@UpdateTime = params['UpdateTime']
|
21042
|
+
end
|
21043
|
+
end
|
21044
|
+
|
19964
21045
|
# 音画质重生音频控制控制信息。
|
19965
21046
|
class RebuildAudioInfo < TencentCloud::Common::AbstractModel
|
19966
21047
|
# @param AudioDenoiseInfo: 音频降噪控制参数。
|
@@ -25164,6 +26245,42 @@ module TencentCloud
|
|
25164
26245
|
end
|
25165
26246
|
end
|
25166
26247
|
|
26248
|
+
# 音频(静音、低音、爆音)检测的控制参数。
|
26249
|
+
class VoiceConfigureInfo < TencentCloud::Common::AbstractModel
|
26250
|
+
# @param Switch: 音频(静音、低音、爆音)检测开关,可选值:
|
26251
|
+
# <li>ON:开启;</li>
|
26252
|
+
# <li>OFF:关闭。</li>
|
26253
|
+
# @type Switch: String
|
26254
|
+
|
26255
|
+
attr_accessor :Switch
|
26256
|
+
|
26257
|
+
def initialize(switch=nil)
|
26258
|
+
@Switch = switch
|
26259
|
+
end
|
26260
|
+
|
26261
|
+
def deserialize(params)
|
26262
|
+
@Switch = params['Switch']
|
26263
|
+
end
|
26264
|
+
end
|
26265
|
+
|
26266
|
+
# 音频(静音、低音、爆音)检测的控制参数。
|
26267
|
+
class VoiceConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
26268
|
+
# @param Switch: 音频(静音、低音、爆音)检测开关,可选值:
|
26269
|
+
# <li>ON:开启;</li>
|
26270
|
+
# <li>OFF:关闭。</li>
|
26271
|
+
# @type Switch: String
|
26272
|
+
|
26273
|
+
attr_accessor :Switch
|
26274
|
+
|
26275
|
+
def initialize(switch=nil)
|
26276
|
+
@Switch = switch
|
26277
|
+
end
|
26278
|
+
|
26279
|
+
def deserialize(params)
|
26280
|
+
@Switch = params['Switch']
|
26281
|
+
end
|
26282
|
+
end
|
26283
|
+
|
25167
26284
|
# 水印周期配置。
|
25168
26285
|
class WatermarkCycleConfigForUpdate < TencentCloud::Common::AbstractModel
|
25169
26286
|
# @param StartTime: 水印在视频里第一次出现的播放时间点,单位:秒。
|