tencentcloud-sdk-mps 3.0.952 → 3.0.954
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +171 -33
- 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: f424e9625a88bdcaa08be5133d36b761a3b0a330
|
4
|
+
data.tar.gz: 90bae4cee43ec98e66f83ffa30d3f0032f68c1ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7621b6ccfac9b6659f6b69c14b193b5b18e72cce6d43b42cd24aebe436d1c42e70653dfcc68e742ff6014853ae750ac9ba0f050650df5a20e4db77ec00e8372
|
7
|
+
data.tar.gz: 81869bafc66457700914206fe1590a9a7bff458269ce2ba94796091df265bc9fd3ddc55418f231235f3c696a24fbc078fdeba1d349214eb04a38cccf5ca97b0e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.954
|
data/lib/v20190612/models.rb
CHANGED
@@ -2022,8 +2022,8 @@ module TencentCloud
|
|
2022
2022
|
|
2023
2023
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
2024
2024
|
extend Gem::Deprecate
|
2025
|
-
deprecate :OutputStorage, :none, 2024,
|
2026
|
-
deprecate :OutputStorage=, :none, 2024,
|
2025
|
+
deprecate :OutputStorage, :none, 2024, 12
|
2026
|
+
deprecate :OutputStorage=, :none, 2024, 12
|
2027
2027
|
|
2028
2028
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
2029
2029
|
@SegmentSet = segmentset
|
@@ -2058,14 +2058,17 @@ module TencentCloud
|
|
2058
2058
|
# @type EndTimeOffset: Float
|
2059
2059
|
# @param Text: 识别文本。
|
2060
2060
|
# @type Text: String
|
2061
|
+
# @param Wordlist: 字词时间戳信息。
|
2062
|
+
# @type Wordlist: Array
|
2061
2063
|
|
2062
|
-
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text
|
2064
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Wordlist
|
2063
2065
|
|
2064
|
-
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil)
|
2066
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, wordlist=nil)
|
2065
2067
|
@Confidence = confidence
|
2066
2068
|
@StartTimeOffset = starttimeoffset
|
2067
2069
|
@EndTimeOffset = endtimeoffset
|
2068
2070
|
@Text = text
|
2071
|
+
@Wordlist = wordlist
|
2069
2072
|
end
|
2070
2073
|
|
2071
2074
|
def deserialize(params)
|
@@ -2073,6 +2076,14 @@ module TencentCloud
|
|
2073
2076
|
@StartTimeOffset = params['StartTimeOffset']
|
2074
2077
|
@EndTimeOffset = params['EndTimeOffset']
|
2075
2078
|
@Text = params['Text']
|
2079
|
+
unless params['Wordlist'].nil?
|
2080
|
+
@Wordlist = []
|
2081
|
+
params['Wordlist'].each do |i|
|
2082
|
+
wordresult_tmp = WordResult.new
|
2083
|
+
wordresult_tmp.deserialize(i)
|
2084
|
+
@Wordlist << wordresult_tmp
|
2085
|
+
end
|
2086
|
+
end
|
2076
2087
|
end
|
2077
2088
|
end
|
2078
2089
|
|
@@ -2411,15 +2422,19 @@ module TencentCloud
|
|
2411
2422
|
class AiRecognitionTaskInput < TencentCloud::Common::AbstractModel
|
2412
2423
|
# @param Definition: 视频智能识别模板 ID 。
|
2413
2424
|
# @type Definition: Integer
|
2425
|
+
# @param UserExtPara: 用户扩展字段,一般场景不用填。
|
2426
|
+
# @type UserExtPara: String
|
2414
2427
|
|
2415
|
-
attr_accessor :Definition
|
2428
|
+
attr_accessor :Definition, :UserExtPara
|
2416
2429
|
|
2417
|
-
def initialize(definition=nil)
|
2430
|
+
def initialize(definition=nil, userextpara=nil)
|
2418
2431
|
@Definition = definition
|
2432
|
+
@UserExtPara = userextpara
|
2419
2433
|
end
|
2420
2434
|
|
2421
2435
|
def deserialize(params)
|
2422
2436
|
@Definition = params['Definition']
|
2437
|
+
@UserExtPara = params['UserExtPara']
|
2423
2438
|
end
|
2424
2439
|
end
|
2425
2440
|
|
@@ -2933,15 +2948,18 @@ module TencentCloud
|
|
2933
2948
|
# @type Text: String
|
2934
2949
|
# @param Trans: 翻译文本。
|
2935
2950
|
# @type Trans: String
|
2951
|
+
# @param Wordlist: 字词时间戳信息。
|
2952
|
+
# @type Wordlist: Array
|
2936
2953
|
|
2937
|
-
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans
|
2954
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans, :Wordlist
|
2938
2955
|
|
2939
|
-
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil)
|
2956
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil, wordlist=nil)
|
2940
2957
|
@Confidence = confidence
|
2941
2958
|
@StartTimeOffset = starttimeoffset
|
2942
2959
|
@EndTimeOffset = endtimeoffset
|
2943
2960
|
@Text = text
|
2944
2961
|
@Trans = trans
|
2962
|
+
@Wordlist = wordlist
|
2945
2963
|
end
|
2946
2964
|
|
2947
2965
|
def deserialize(params)
|
@@ -2950,6 +2968,14 @@ module TencentCloud
|
|
2950
2968
|
@EndTimeOffset = params['EndTimeOffset']
|
2951
2969
|
@Text = params['Text']
|
2952
2970
|
@Trans = params['Trans']
|
2971
|
+
unless params['Wordlist'].nil?
|
2972
|
+
@Wordlist = []
|
2973
|
+
params['Wordlist'].each do |i|
|
2974
|
+
wordresult_tmp = WordResult.new
|
2975
|
+
wordresult_tmp.deserialize(i)
|
2976
|
+
@Wordlist << wordresult_tmp
|
2977
|
+
end
|
2978
|
+
end
|
2953
2979
|
end
|
2954
2980
|
end
|
2955
2981
|
|
@@ -11143,10 +11169,26 @@ module TencentCloud
|
|
11143
11169
|
# @type TranscodeType: String
|
11144
11170
|
# @param Name: 转码模板标识过滤条件,长度限制:64 个字符。
|
11145
11171
|
# @type Name: String
|
11146
|
-
|
11147
|
-
|
11148
|
-
|
11149
|
-
|
11172
|
+
# @param SceneType: 视频场景化,可选值:
|
11173
|
+
# normal:通用转码场景:通用转码压缩场景。
|
11174
|
+
# pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
11175
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
11176
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
11177
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
11178
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
11179
|
+
# no_config:未配置。
|
11180
|
+
# @type SceneType: String
|
11181
|
+
# @param CompressType: 转码策略,可选值:
|
11182
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
11183
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
11184
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
11185
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
11186
|
+
# no_config:未配置。
|
11187
|
+
# @type CompressType: String
|
11188
|
+
|
11189
|
+
attr_accessor :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :TranscodeType, :Name, :SceneType, :CompressType
|
11190
|
+
|
11191
|
+
def initialize(definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, transcodetype=nil, name=nil, scenetype=nil, compresstype=nil)
|
11150
11192
|
@Definitions = definitions
|
11151
11193
|
@Type = type
|
11152
11194
|
@ContainerType = containertype
|
@@ -11155,6 +11197,8 @@ module TencentCloud
|
|
11155
11197
|
@Limit = limit
|
11156
11198
|
@TranscodeType = transcodetype
|
11157
11199
|
@Name = name
|
11200
|
+
@SceneType = scenetype
|
11201
|
+
@CompressType = compresstype
|
11158
11202
|
end
|
11159
11203
|
|
11160
11204
|
def deserialize(params)
|
@@ -11166,6 +11210,8 @@ module TencentCloud
|
|
11166
11210
|
@Limit = params['Limit']
|
11167
11211
|
@TranscodeType = params['TranscodeType']
|
11168
11212
|
@Name = params['Name']
|
11213
|
+
@SceneType = params['SceneType']
|
11214
|
+
@CompressType = params['CompressType']
|
11169
11215
|
end
|
11170
11216
|
end
|
11171
11217
|
|
@@ -13580,10 +13626,10 @@ module TencentCloud
|
|
13580
13626
|
|
13581
13627
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
13582
13628
|
extend Gem::Deprecate
|
13583
|
-
deprecate :QualityControlResults, :none, 2024,
|
13584
|
-
deprecate :QualityControlResults=, :none, 2024,
|
13585
|
-
deprecate :DiagnoseResults, :none, 2024,
|
13586
|
-
deprecate :DiagnoseResults=, :none, 2024,
|
13629
|
+
deprecate :QualityControlResults, :none, 2024, 12
|
13630
|
+
deprecate :QualityControlResults=, :none, 2024, 12
|
13631
|
+
deprecate :DiagnoseResults, :none, 2024, 12
|
13632
|
+
deprecate :DiagnoseResults=, :none, 2024, 12
|
13587
13633
|
|
13588
13634
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
13589
13635
|
@QualityControlResults = qualitycontrolresults
|
@@ -14376,10 +14422,14 @@ module TencentCloud
|
|
14376
14422
|
|
14377
14423
|
# 任务处理的事件通知配置。
|
14378
14424
|
class LiveStreamTaskNotifyConfig < TencentCloud::Common::AbstractModel
|
14379
|
-
# @param NotifyType:
|
14425
|
+
# @param NotifyType: 通知类型:
|
14426
|
+
# "CMQ":回调消息写入cmq队列;
|
14427
|
+
# "URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
14380
14428
|
|
14381
14429
|
# <font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
14382
14430
|
# @type NotifyType: String
|
14431
|
+
# @param NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
14432
|
+
# @type NotifyUrl: String
|
14383
14433
|
# @param CmqModel: CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
|
14384
14434
|
# @type CmqModel: String
|
14385
14435
|
# @param CmqRegion: CMQ 的园区,如 sh,bj 等。
|
@@ -14388,31 +14438,29 @@ module TencentCloud
|
|
14388
14438
|
# @type QueueName: String
|
14389
14439
|
# @param TopicName: 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
|
14390
14440
|
# @type TopicName: String
|
14391
|
-
# @param NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
14392
|
-
# @type NotifyUrl: String
|
14393
14441
|
# @param NotifyKey: 用于生成回调签名的 Key。
|
14394
14442
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14395
14443
|
# @type NotifyKey: String
|
14396
14444
|
|
14397
|
-
attr_accessor :NotifyType, :CmqModel, :CmqRegion, :QueueName, :TopicName, :
|
14445
|
+
attr_accessor :NotifyType, :NotifyUrl, :CmqModel, :CmqRegion, :QueueName, :TopicName, :NotifyKey
|
14398
14446
|
|
14399
|
-
def initialize(notifytype=nil, cmqmodel=nil, cmqregion=nil, queuename=nil, topicname=nil,
|
14447
|
+
def initialize(notifytype=nil, notifyurl=nil, cmqmodel=nil, cmqregion=nil, queuename=nil, topicname=nil, notifykey=nil)
|
14400
14448
|
@NotifyType = notifytype
|
14449
|
+
@NotifyUrl = notifyurl
|
14401
14450
|
@CmqModel = cmqmodel
|
14402
14451
|
@CmqRegion = cmqregion
|
14403
14452
|
@QueueName = queuename
|
14404
14453
|
@TopicName = topicname
|
14405
|
-
@NotifyUrl = notifyurl
|
14406
14454
|
@NotifyKey = notifykey
|
14407
14455
|
end
|
14408
14456
|
|
14409
14457
|
def deserialize(params)
|
14410
14458
|
@NotifyType = params['NotifyType']
|
14459
|
+
@NotifyUrl = params['NotifyUrl']
|
14411
14460
|
@CmqModel = params['CmqModel']
|
14412
14461
|
@CmqRegion = params['CmqRegion']
|
14413
14462
|
@QueueName = params['QueueName']
|
14414
14463
|
@TopicName = params['TopicName']
|
14415
|
-
@NotifyUrl = params['NotifyUrl']
|
14416
14464
|
@NotifyKey = params['NotifyKey']
|
14417
14465
|
end
|
14418
14466
|
end
|
@@ -21257,10 +21305,13 @@ module TencentCloud
|
|
21257
21305
|
# @param EnhanceConfig: 音视频增强配置。
|
21258
21306
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21259
21307
|
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
21308
|
+
# @param AliasName: 转码模板别名称。
|
21309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21310
|
+
# @type AliasName: String
|
21260
21311
|
|
21261
|
-
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :EnhanceConfig
|
21312
|
+
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :EnhanceConfig, :AliasName
|
21262
21313
|
|
21263
|
-
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil)
|
21314
|
+
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil, aliasname=nil)
|
21264
21315
|
@Definition = definition
|
21265
21316
|
@Container = container
|
21266
21317
|
@Name = name
|
@@ -21275,6 +21326,7 @@ module TencentCloud
|
|
21275
21326
|
@CreateTime = createtime
|
21276
21327
|
@UpdateTime = updatetime
|
21277
21328
|
@EnhanceConfig = enhanceconfig
|
21329
|
+
@AliasName = aliasname
|
21278
21330
|
end
|
21279
21331
|
|
21280
21332
|
def deserialize(params)
|
@@ -21304,6 +21356,7 @@ module TencentCloud
|
|
21304
21356
|
@EnhanceConfig = EnhanceConfig.new
|
21305
21357
|
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
21306
21358
|
end
|
21359
|
+
@AliasName = params['AliasName']
|
21307
21360
|
end
|
21308
21361
|
end
|
21309
21362
|
|
@@ -21930,10 +21983,35 @@ module TencentCloud
|
|
21930
21983
|
# @param SegmentSpecificInfo: 切片特殊配置
|
21931
21984
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21932
21985
|
# @type SegmentSpecificInfo: :class:`Tencentcloud::Mps.v20190612.models.SegmentSpecificInfo`
|
21933
|
-
|
21934
|
-
|
21935
|
-
|
21936
|
-
|
21986
|
+
# @param ScenarioBased: 模版是否开启场景化
|
21987
|
+
# 0:不开启
|
21988
|
+
# 1:开启
|
21989
|
+
# 默认值:0
|
21990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21991
|
+
# @type ScenarioBased: Integer
|
21992
|
+
# @param SceneType: 视频场景化,可选值:
|
21993
|
+
# normal:通用转码场景:通用转码压缩场景。
|
21994
|
+
# pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
21995
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
21996
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
21997
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
21998
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
21999
|
+
# 默认值:normal
|
22000
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22001
|
+
# @type SceneType: String
|
22002
|
+
# @param CompressType: 转码策略,可选值:
|
22003
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
22004
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
22005
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
22006
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
22007
|
+
# 默认值:standard_compress
|
22008
|
+
# 注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
22009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22010
|
+
# @type CompressType: String
|
22011
|
+
|
22012
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :GopUnit, :FillType, :Vcrf, :HlsTime, :SegmentType, :FpsDenominator, :Stereo3dType, :VideoProfile, :VideoLevel, :Bframes, :Mode, :Sar, :NoScenecut, :BitDepth, :RawPts, :Compress, :SegmentSpecificInfo, :ScenarioBased, :SceneType, :CompressType
|
22013
|
+
|
22014
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, gopunit=nil, filltype=nil, vcrf=nil, hlstime=nil, segmenttype=nil, fpsdenominator=nil, stereo3dtype=nil, videoprofile=nil, videolevel=nil, bframes=nil, mode=nil, sar=nil, noscenecut=nil, bitdepth=nil, rawpts=nil, compress=nil, segmentspecificinfo=nil, scenariobased=nil, scenetype=nil, compresstype=nil)
|
21937
22015
|
@Codec = codec
|
21938
22016
|
@Fps = fps
|
21939
22017
|
@Bitrate = bitrate
|
@@ -21958,6 +22036,9 @@ module TencentCloud
|
|
21958
22036
|
@RawPts = rawpts
|
21959
22037
|
@Compress = compress
|
21960
22038
|
@SegmentSpecificInfo = segmentspecificinfo
|
22039
|
+
@ScenarioBased = scenariobased
|
22040
|
+
@SceneType = scenetype
|
22041
|
+
@CompressType = compresstype
|
21961
22042
|
end
|
21962
22043
|
|
21963
22044
|
def deserialize(params)
|
@@ -21988,6 +22069,9 @@ module TencentCloud
|
|
21988
22069
|
@SegmentSpecificInfo = SegmentSpecificInfo.new
|
21989
22070
|
@SegmentSpecificInfo.deserialize(params['SegmentSpecificInfo'])
|
21990
22071
|
end
|
22072
|
+
@ScenarioBased = params['ScenarioBased']
|
22073
|
+
@SceneType = params['SceneType']
|
22074
|
+
@CompressType = params['CompressType']
|
21991
22075
|
end
|
21992
22076
|
end
|
21993
22077
|
|
@@ -22147,10 +22231,34 @@ module TencentCloud
|
|
22147
22231
|
# @param SegmentSpecificInfo: 切片特殊配置
|
22148
22232
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
22149
22233
|
# @type SegmentSpecificInfo: :class:`Tencentcloud::Mps.v20190612.models.SegmentSpecificInfo`
|
22150
|
-
|
22151
|
-
|
22152
|
-
|
22153
|
-
|
22234
|
+
# @param ScenarioBased: 模版是否开启场景化
|
22235
|
+
# 0:不开启
|
22236
|
+
# 1:开启
|
22237
|
+
# 默认值:0
|
22238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22239
|
+
# @type ScenarioBased: Integer
|
22240
|
+
# @param SceneType: 视频场景化,可选值:
|
22241
|
+
# normal:通用转码场景:通用转码压缩场景 pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
22242
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
22243
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
22244
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
22245
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
22246
|
+
# 默认值:normal
|
22247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22248
|
+
# @type SceneType: String
|
22249
|
+
# @param CompressType: 转码策略,可选值:
|
22250
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
22251
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
22252
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
22253
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
22254
|
+
# 默认值:standard_compress
|
22255
|
+
# 注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
22256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22257
|
+
# @type CompressType: String
|
22258
|
+
|
22259
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :GopUnit, :FillType, :Vcrf, :ContentAdaptStream, :HlsTime, :SegmentType, :FpsDenominator, :Stereo3dType, :VideoProfile, :VideoLevel, :Bframes, :Mode, :Sar, :NoScenecut, :BitDepth, :RawPts, :Compress, :SegmentSpecificInfo, :ScenarioBased, :SceneType, :CompressType
|
22260
|
+
|
22261
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, gopunit=nil, filltype=nil, vcrf=nil, contentadaptstream=nil, hlstime=nil, segmenttype=nil, fpsdenominator=nil, stereo3dtype=nil, videoprofile=nil, videolevel=nil, bframes=nil, mode=nil, sar=nil, noscenecut=nil, bitdepth=nil, rawpts=nil, compress=nil, segmentspecificinfo=nil, scenariobased=nil, scenetype=nil, compresstype=nil)
|
22154
22262
|
@Codec = codec
|
22155
22263
|
@Fps = fps
|
22156
22264
|
@Bitrate = bitrate
|
@@ -22176,6 +22284,9 @@ module TencentCloud
|
|
22176
22284
|
@RawPts = rawpts
|
22177
22285
|
@Compress = compress
|
22178
22286
|
@SegmentSpecificInfo = segmentspecificinfo
|
22287
|
+
@ScenarioBased = scenariobased
|
22288
|
+
@SceneType = scenetype
|
22289
|
+
@CompressType = compresstype
|
22179
22290
|
end
|
22180
22291
|
|
22181
22292
|
def deserialize(params)
|
@@ -22207,6 +22318,9 @@ module TencentCloud
|
|
22207
22318
|
@SegmentSpecificInfo = SegmentSpecificInfo.new
|
22208
22319
|
@SegmentSpecificInfo.deserialize(params['SegmentSpecificInfo'])
|
22209
22320
|
end
|
22321
|
+
@ScenarioBased = params['ScenarioBased']
|
22322
|
+
@SceneType = params['SceneType']
|
22323
|
+
@CompressType = params['CompressType']
|
22210
22324
|
end
|
22211
22325
|
end
|
22212
22326
|
|
@@ -22420,6 +22534,30 @@ module TencentCloud
|
|
22420
22534
|
end
|
22421
22535
|
end
|
22422
22536
|
|
22537
|
+
# 字词信息。
|
22538
|
+
class WordResult < TencentCloud::Common::AbstractModel
|
22539
|
+
# @param Word: 字词文本。
|
22540
|
+
# @type Word: String
|
22541
|
+
# @param Start: 字词起始时间戳,单位秒。
|
22542
|
+
# @type Start: Float
|
22543
|
+
# @param End: 字词结束时间戳,单位秒。
|
22544
|
+
# @type End: Float
|
22545
|
+
|
22546
|
+
attr_accessor :Word, :Start, :End
|
22547
|
+
|
22548
|
+
def initialize(word=nil, start=nil, _end=nil)
|
22549
|
+
@Word = word
|
22550
|
+
@Start = start
|
22551
|
+
@End = _end
|
22552
|
+
end
|
22553
|
+
|
22554
|
+
def deserialize(params)
|
22555
|
+
@Word = params['Word']
|
22556
|
+
@Start = params['Start']
|
22557
|
+
@End = params['End']
|
22558
|
+
end
|
22559
|
+
end
|
22560
|
+
|
22423
22561
|
# 工作流信息详情。
|
22424
22562
|
class WorkflowInfo < TencentCloud::Common::AbstractModel
|
22425
22563
|
# @param WorkflowId: 工作流 ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.954
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|