tencentcloud-sdk-mps 3.0.1160 → 3.0.1165
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 +699 -253
- metadata +3 -3
data/lib/v20190612/models.rb
CHANGED
|
@@ -832,6 +832,56 @@ module TencentCloud
|
|
|
832
832
|
end
|
|
833
833
|
end
|
|
834
834
|
|
|
835
|
+
# 超分配置
|
|
836
|
+
class AdvancedSuperResolutionConfig < TencentCloud::Common::AbstractModel
|
|
837
|
+
# @param Switch: 能力配置开关,可选值:
|
|
838
|
+
# <li>ON:开启;</li>
|
|
839
|
+
# <li>OFF:关闭。</li>
|
|
840
|
+
# 默认值:ON。
|
|
841
|
+
# @type Switch: String
|
|
842
|
+
# @param Type: 类型,可选值:
|
|
843
|
+
# <li>standard:通用超分</li>
|
|
844
|
+
# <li>super:高级超分。</li>
|
|
845
|
+
# 默认值:standard。
|
|
846
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
847
|
+
# @type Type: String
|
|
848
|
+
# @param Mode: 输出图片模式,默认percent。
|
|
849
|
+
# <li> aspect: 超分至指定宽高的较大矩形。</li>
|
|
850
|
+
# <li> fixed: 超分至固定宽高,强制缩放。</li>
|
|
851
|
+
# <li> percent: 超分倍率,可以为小数。</li>
|
|
852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
853
|
+
# @type Mode: String
|
|
854
|
+
# @param Percent: 超分倍率,可以为小数。
|
|
855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
856
|
+
# @type Percent: Float
|
|
857
|
+
# @param Width: 目标图片宽度,不能超过4096。
|
|
858
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
859
|
+
# @type Width: Integer
|
|
860
|
+
# @param Height: 目标图片高度,不能超过4096。
|
|
861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
862
|
+
# @type Height: Integer
|
|
863
|
+
|
|
864
|
+
attr_accessor :Switch, :Type, :Mode, :Percent, :Width, :Height
|
|
865
|
+
|
|
866
|
+
def initialize(switch=nil, type=nil, mode=nil, percent=nil, width=nil, height=nil)
|
|
867
|
+
@Switch = switch
|
|
868
|
+
@Type = type
|
|
869
|
+
@Mode = mode
|
|
870
|
+
@Percent = percent
|
|
871
|
+
@Width = width
|
|
872
|
+
@Height = height
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
def deserialize(params)
|
|
876
|
+
@Switch = params['Switch']
|
|
877
|
+
@Type = params['Type']
|
|
878
|
+
@Mode = params['Mode']
|
|
879
|
+
@Percent = params['Percent']
|
|
880
|
+
@Width = params['Width']
|
|
881
|
+
@Height = params['Height']
|
|
882
|
+
end
|
|
883
|
+
end
|
|
884
|
+
|
|
835
885
|
# 智能分析结果
|
|
836
886
|
class AiAnalysisResult < TencentCloud::Common::AbstractModel
|
|
837
887
|
# @param Type: 任务的类型,可以取的值有:
|
|
@@ -2442,8 +2492,8 @@ module TencentCloud
|
|
|
2442
2492
|
|
|
2443
2493
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
|
2444
2494
|
extend Gem::Deprecate
|
|
2445
|
-
deprecate :OutputStorage, :none, 2025,
|
|
2446
|
-
deprecate :OutputStorage=, :none, 2025,
|
|
2495
|
+
deprecate :OutputStorage, :none, 2025, 11
|
|
2496
|
+
deprecate :OutputStorage=, :none, 2025, 11
|
|
2447
2497
|
|
|
2448
2498
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
|
2449
2499
|
@SegmentSet = segmentset
|
|
@@ -6800,7 +6850,25 @@ module TencentCloud
|
|
|
6800
6850
|
# @type Region: String
|
|
6801
6851
|
# @param Dir: 工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。
|
|
6802
6852
|
# @type Dir: String
|
|
6803
|
-
# @param Formats:
|
|
6853
|
+
# @param Formats: 支持的所有格式如下:
|
|
6854
|
+
|
|
6855
|
+
# - 视频文件扩展名,支持以下选择,共15种:
|
|
6856
|
+
# `.mp4`、`.avi`、`.mov`、`.wmv`、`.flv`、`.mkv`、`.mpg`、`.mpeg`、`.rm`、`.rmvb`、`.asf`、`.3gp`、`.webm`、`.ts`、`.m4v`
|
|
6857
|
+
|
|
6858
|
+
# - 音频文件扩展名,支持以下选择,共7种:
|
|
6859
|
+
# `.mp3`、`.wav`、`.aac`、`.flac`、`.ogg`、`.m4a`、`.amr`
|
|
6860
|
+
|
|
6861
|
+
# - 字幕文件扩展名,支持以下选择,共2种:
|
|
6862
|
+
# `.vtt`、`.srt`
|
|
6863
|
+
|
|
6864
|
+
# - `*`:支持任意文件格式
|
|
6865
|
+
|
|
6866
|
+
# - 不传或者传空列表:支持系统预设文件格式(视频:`.mp4`、`.ts`、`.flv`、`.wmv`、`.asf`、`.rm`、`.rmvb`、`.mpg`、`.mpeg`、`.3gp`、`.mov`、`.webm`、`.mkv`、`.avi`、`.m4v`,音频:`.mp3`、`.m4a`、`.flac`、`.ogg`、`.wav`、`.amr`、`.aac`,字幕:`.vtt`、`.srt`)
|
|
6867
|
+
|
|
6868
|
+
# **注意**:
|
|
6869
|
+
# 1. 如果传入的格式列表中有`*`则表示为支持任意文件格式。
|
|
6870
|
+
# 2. 扩展名传入时带不带`.`都可以,比如 `.mp4` 或 `mp4` 均支持。
|
|
6871
|
+
# 3. 自定义文件扩展名需满足数字、字母字符,长度在[1,64]范围内。
|
|
6804
6872
|
# @type Formats: Array
|
|
6805
6873
|
|
|
6806
6874
|
attr_accessor :Bucket, :Region, :Dir, :Formats
|
|
@@ -7084,8 +7152,8 @@ module TencentCloud
|
|
|
7084
7152
|
# 注意:
|
|
7085
7153
|
# 此值只是区分模板类型,任务使用RemoveAudio和RemoveVideo的值
|
|
7086
7154
|
# @type PureAudio: Integer
|
|
7087
|
-
# @param SegmentType:
|
|
7088
|
-
#
|
|
7155
|
+
# @param SegmentType: 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment
|
|
7156
|
+
# 注:自适应码流的分片格式以此字段为准
|
|
7089
7157
|
# @type SegmentType: String
|
|
7090
7158
|
|
|
7091
7159
|
attr_accessor :Format, :StreamInfos, :Name, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment, :PureAudio, :SegmentType
|
|
@@ -7891,8 +7959,8 @@ module TencentCloud
|
|
|
7891
7959
|
|
|
7892
7960
|
attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :OutputType, :OutputKind, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamSelector
|
|
7893
7961
|
extend Gem::Deprecate
|
|
7894
|
-
deprecate :PidSelector, :none, 2025,
|
|
7895
|
-
deprecate :PidSelector=, :none, 2025,
|
|
7962
|
+
deprecate :PidSelector, :none, 2025, 11
|
|
7963
|
+
deprecate :PidSelector=, :none, 2025, 11
|
|
7896
7964
|
|
|
7897
7965
|
def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil)
|
|
7898
7966
|
@OutputName = outputname
|
|
@@ -8532,28 +8600,32 @@ module TencentCloud
|
|
|
8532
8600
|
# @type Name: String
|
|
8533
8601
|
# @param VideoSrcLanguage: 智能字幕视频源语言
|
|
8534
8602
|
# 当前支持以下语言:
|
|
8535
|
-
# zh
|
|
8536
|
-
#
|
|
8537
|
-
#
|
|
8538
|
-
#
|
|
8539
|
-
#
|
|
8540
|
-
#
|
|
8541
|
-
#
|
|
8542
|
-
#
|
|
8543
|
-
#
|
|
8544
|
-
#
|
|
8545
|
-
#
|
|
8546
|
-
#
|
|
8547
|
-
#
|
|
8548
|
-
#
|
|
8549
|
-
#
|
|
8550
|
-
#
|
|
8551
|
-
#
|
|
8552
|
-
#
|
|
8553
|
-
#
|
|
8554
|
-
#
|
|
8555
|
-
#
|
|
8556
|
-
#
|
|
8603
|
+
# `zh`:简体中文
|
|
8604
|
+
# `yue`:中文粵语
|
|
8605
|
+
# `zh-PY`:中英粤
|
|
8606
|
+
# `zh_medical`:中文医疗
|
|
8607
|
+
# `zh_dialect`:中文方言
|
|
8608
|
+
# `prime_zh`:中英方言
|
|
8609
|
+
# `zh_en`:中英
|
|
8610
|
+
# `en`:英语
|
|
8611
|
+
# `ja`:日语
|
|
8612
|
+
# `ko`:韩语
|
|
8613
|
+
# `fr`:法语
|
|
8614
|
+
# `es`:西班牙语
|
|
8615
|
+
# `it`:意大利语
|
|
8616
|
+
# `de`:德语
|
|
8617
|
+
# `tr`:土耳其语
|
|
8618
|
+
# `ru`:俄语
|
|
8619
|
+
# `pt`:葡萄牙语(巴西)
|
|
8620
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
8621
|
+
# `vi`:越南语
|
|
8622
|
+
# `id`:印度尼西亚语
|
|
8623
|
+
# `ms`:马来语
|
|
8624
|
+
# `th`:泰语
|
|
8625
|
+
# `ar`:阿拉伯语
|
|
8626
|
+
# `hi`:印地语
|
|
8627
|
+
# `fil`:菲律宾语
|
|
8628
|
+
# `auto`:自动识别(仅在纯字幕翻译中支持)
|
|
8557
8629
|
# @type VideoSrcLanguage: String
|
|
8558
8630
|
# @param SubtitleType: 智能字幕字幕语言类型
|
|
8559
8631
|
# 0: 源语言
|
|
@@ -8565,42 +8637,64 @@ module TencentCloud
|
|
|
8565
8637
|
# @param Comment: 智能字幕模板描述信息
|
|
8566
8638
|
# 长度限制:256 个字符。
|
|
8567
8639
|
# @type Comment: String
|
|
8568
|
-
# @param SubtitleFormat:
|
|
8569
|
-
#
|
|
8570
|
-
#
|
|
8571
|
-
#
|
|
8640
|
+
# @param SubtitleFormat: 智能字幕文件格式:
|
|
8641
|
+
# - ASR识别翻译处理类型下:
|
|
8642
|
+
# - vtt: WebVTT 格式字幕
|
|
8643
|
+
# - srt: SRT 格式字幕
|
|
8644
|
+
# - 不填或填空:不生成字幕文件
|
|
8645
|
+
# - 纯字幕翻译处理类型下:
|
|
8646
|
+
# - original:与源文件一致
|
|
8647
|
+
# - vtt: WebVTT 格式字幕
|
|
8648
|
+
# - srt: SRT 格式字幕
|
|
8649
|
+
|
|
8650
|
+
# **注意**:
|
|
8651
|
+
# - ASR识别方式下,翻译大于等于2种语言时不允许传空或不传;
|
|
8652
|
+
# - 纯字幕翻译方式下,不允许传空或不传
|
|
8572
8653
|
# @type SubtitleFormat: String
|
|
8573
8654
|
# @param AsrHotWordsConfigure: ASR热词库参数
|
|
8574
8655
|
# @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
|
|
8575
8656
|
# @param TranslateSwitch: 字幕翻译开关
|
|
8576
|
-
# ON
|
|
8577
|
-
# OFF
|
|
8657
|
+
# `ON`: 开启翻译
|
|
8658
|
+
# `OFF`: 关闭翻译
|
|
8659
|
+
|
|
8660
|
+
# **注意**:纯字幕翻译方式下,不传默认是打开的,不允许传空或`OFF`;
|
|
8578
8661
|
# @type TranslateSwitch: String
|
|
8579
|
-
# @param TranslateDstLanguage:
|
|
8580
|
-
# 当TranslateSwitch为ON的时候生效
|
|
8662
|
+
# @param TranslateDstLanguage: 字幕翻译目标语言,当TranslateSwitch为`ON`的时候生效
|
|
8581
8663
|
# 当前支持以下语言:
|
|
8582
|
-
|
|
8583
|
-
#
|
|
8584
|
-
#
|
|
8585
|
-
#
|
|
8586
|
-
#
|
|
8587
|
-
#
|
|
8588
|
-
#
|
|
8589
|
-
#
|
|
8590
|
-
#
|
|
8591
|
-
#
|
|
8592
|
-
#
|
|
8593
|
-
#
|
|
8594
|
-
#
|
|
8595
|
-
#
|
|
8596
|
-
#
|
|
8597
|
-
#
|
|
8598
|
-
#
|
|
8664
|
+
|
|
8665
|
+
# `zh`:简体中文
|
|
8666
|
+
# `zh-TW`:繁体中文
|
|
8667
|
+
# `en`:英语
|
|
8668
|
+
# `ja`:日语
|
|
8669
|
+
# `ko`:韩语
|
|
8670
|
+
# `fr`:法语
|
|
8671
|
+
# `es`:西班牙语
|
|
8672
|
+
# `it`:意大利语
|
|
8673
|
+
# `de`:德语
|
|
8674
|
+
# `tr`:土耳其语
|
|
8675
|
+
# `ru`:俄语
|
|
8676
|
+
# `pt`:葡萄牙语(巴西)
|
|
8677
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
8678
|
+
# `vi`:越南语
|
|
8679
|
+
# `id`:印度尼西亚语
|
|
8680
|
+
# `ms`:马来语
|
|
8681
|
+
# `th`:泰语
|
|
8682
|
+
# `ar`:阿拉伯语
|
|
8683
|
+
# `hi`:印地语
|
|
8684
|
+
# `fil`:菲律宾语
|
|
8685
|
+
|
|
8686
|
+
# **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
|
|
8599
8687
|
# @type TranslateDstLanguage: String
|
|
8688
|
+
# @param ProcessType: 字幕处理类型:
|
|
8689
|
+
# - 0:ASR识别字幕
|
|
8690
|
+
# - 1:纯字幕翻译
|
|
8691
|
+
|
|
8692
|
+
# **注意**:不传的情况下默认类型为 ASR识别字幕
|
|
8693
|
+
# @type ProcessType: Integer
|
|
8600
8694
|
|
|
8601
|
-
attr_accessor :Name, :VideoSrcLanguage, :SubtitleType, :Comment, :SubtitleFormat, :AsrHotWordsConfigure, :TranslateSwitch, :TranslateDstLanguage
|
|
8695
|
+
attr_accessor :Name, :VideoSrcLanguage, :SubtitleType, :Comment, :SubtitleFormat, :AsrHotWordsConfigure, :TranslateSwitch, :TranslateDstLanguage, :ProcessType
|
|
8602
8696
|
|
|
8603
|
-
def initialize(name=nil, videosrclanguage=nil, subtitletype=nil, comment=nil, subtitleformat=nil, asrhotwordsconfigure=nil, translateswitch=nil, translatedstlanguage=nil)
|
|
8697
|
+
def initialize(name=nil, videosrclanguage=nil, subtitletype=nil, comment=nil, subtitleformat=nil, asrhotwordsconfigure=nil, translateswitch=nil, translatedstlanguage=nil, processtype=nil)
|
|
8604
8698
|
@Name = name
|
|
8605
8699
|
@VideoSrcLanguage = videosrclanguage
|
|
8606
8700
|
@SubtitleType = subtitletype
|
|
@@ -8609,6 +8703,7 @@ module TencentCloud
|
|
|
8609
8703
|
@AsrHotWordsConfigure = asrhotwordsconfigure
|
|
8610
8704
|
@TranslateSwitch = translateswitch
|
|
8611
8705
|
@TranslateDstLanguage = translatedstlanguage
|
|
8706
|
+
@ProcessType = processtype
|
|
8612
8707
|
end
|
|
8613
8708
|
|
|
8614
8709
|
def deserialize(params)
|
|
@@ -8623,6 +8718,7 @@ module TencentCloud
|
|
|
8623
8718
|
end
|
|
8624
8719
|
@TranslateSwitch = params['TranslateSwitch']
|
|
8625
8720
|
@TranslateDstLanguage = params['TranslateDstLanguage']
|
|
8721
|
+
@ProcessType = params['ProcessType']
|
|
8626
8722
|
end
|
|
8627
8723
|
end
|
|
8628
8724
|
|
|
@@ -8777,14 +8873,17 @@ module TencentCloud
|
|
|
8777
8873
|
# @type InputGroup: Array
|
|
8778
8874
|
# @param EventId: 该Flow关联的媒体传输事件ID,每个flow只能关联一个Event。
|
|
8779
8875
|
# @type EventId: String
|
|
8876
|
+
# @param OutputGroup: 流的输出组。
|
|
8877
|
+
# @type OutputGroup: :class:`Tencentcloud::Mps.v20190612.models.CreateOutputInfo`
|
|
8780
8878
|
|
|
8781
|
-
attr_accessor :FlowName, :MaxBandwidth, :InputGroup, :EventId
|
|
8879
|
+
attr_accessor :FlowName, :MaxBandwidth, :InputGroup, :EventId, :OutputGroup
|
|
8782
8880
|
|
|
8783
|
-
def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil, eventid=nil)
|
|
8881
|
+
def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil, eventid=nil, outputgroup=nil)
|
|
8784
8882
|
@FlowName = flowname
|
|
8785
8883
|
@MaxBandwidth = maxbandwidth
|
|
8786
8884
|
@InputGroup = inputgroup
|
|
8787
8885
|
@EventId = eventid
|
|
8886
|
+
@OutputGroup = outputgroup
|
|
8788
8887
|
end
|
|
8789
8888
|
|
|
8790
8889
|
def deserialize(params)
|
|
@@ -8799,6 +8898,10 @@ module TencentCloud
|
|
|
8799
8898
|
end
|
|
8800
8899
|
end
|
|
8801
8900
|
@EventId = params['EventId']
|
|
8901
|
+
unless params['OutputGroup'].nil?
|
|
8902
|
+
@OutputGroup = CreateOutputInfo.new
|
|
8903
|
+
@OutputGroup.deserialize(params['OutputGroup'])
|
|
8904
|
+
end
|
|
8802
8905
|
end
|
|
8803
8906
|
end
|
|
8804
8907
|
|
|
@@ -11596,8 +11699,8 @@ module TencentCloud
|
|
|
11596
11699
|
|
|
11597
11700
|
attr_accessor :OutputId, :OutputName, :OutputType, :OutputKind, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings, :HLSPullSettings, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamUrls, :StreamSelector
|
|
11598
11701
|
extend Gem::Deprecate
|
|
11599
|
-
deprecate :PidSelector, :none, 2025,
|
|
11600
|
-
deprecate :PidSelector=, :none, 2025,
|
|
11702
|
+
deprecate :PidSelector, :none, 2025, 11
|
|
11703
|
+
deprecate :PidSelector=, :none, 2025, 11
|
|
11601
11704
|
|
|
11602
11705
|
def initialize(outputid=nil, outputname=nil, outputtype=nil, outputkind=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil, hlspullsettings=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamurls=nil, streamselector=nil)
|
|
11603
11706
|
@OutputId = outputid
|
|
@@ -12391,15 +12494,20 @@ module TencentCloud
|
|
|
12391
12494
|
# @type Type: String
|
|
12392
12495
|
# @param Name: 智能字幕模板标识过滤条件,长度限制:64 个字符。
|
|
12393
12496
|
# @type Name: String
|
|
12497
|
+
# @param ProcessType: 字幕处理类型:
|
|
12498
|
+
# - 0:ASR识别字幕
|
|
12499
|
+
# - 1:纯字幕翻译
|
|
12500
|
+
# @type ProcessType: Integer
|
|
12394
12501
|
|
|
12395
|
-
attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
|
|
12502
|
+
attr_accessor :Definitions, :Offset, :Limit, :Type, :Name, :ProcessType
|
|
12396
12503
|
|
|
12397
|
-
def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
|
|
12504
|
+
def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil, processtype=nil)
|
|
12398
12505
|
@Definitions = definitions
|
|
12399
12506
|
@Offset = offset
|
|
12400
12507
|
@Limit = limit
|
|
12401
12508
|
@Type = type
|
|
12402
12509
|
@Name = name
|
|
12510
|
+
@ProcessType = processtype
|
|
12403
12511
|
end
|
|
12404
12512
|
|
|
12405
12513
|
def deserialize(params)
|
|
@@ -12408,6 +12516,7 @@ module TencentCloud
|
|
|
12408
12516
|
@Limit = params['Limit']
|
|
12409
12517
|
@Type = params['Type']
|
|
12410
12518
|
@Name = params['Name']
|
|
12519
|
+
@ProcessType = params['ProcessType']
|
|
12411
12520
|
end
|
|
12412
12521
|
end
|
|
12413
12522
|
|
|
@@ -13480,10 +13589,30 @@ module TencentCloud
|
|
|
13480
13589
|
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
|
13481
13590
|
# no_config:未配置。
|
|
13482
13591
|
# @type CompressType: String
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13592
|
+
# @param EnhanceSceneType: 增强场景配置,可选值:
|
|
13593
|
+
# <li>common(通用),通用增强参数,适用于各种视频类型的基础优化参数,提升整体画质。</li>
|
|
13594
|
+
# <li>AIGC,整体分辨率提升,利用AI技术提升视频整体分辨率,增强画面清晰度。</li>
|
|
13595
|
+
# <li>short_play(短剧),增强面部与字幕细节,突出人物面部表情细节和字幕清晰度,提升观剧体验。</li>
|
|
13596
|
+
# <li>short_video(短视频),优化复杂多样的画质问题,针对短视频的复杂场景,优化画质,解决多种视觉问题。</li>
|
|
13597
|
+
# <li>game(游戏视频),修复运动模糊,提升细节,重点提升游戏细节清晰度,恢复运动模糊区域,使游戏画面内容更清晰,更丰富。</li>
|
|
13598
|
+
# <li>HD_movie_series(超高清影视剧),获得超高清流畅效果,针对广电/OTT超高清视频的诉求,生成4K 60fps HDR的超高清标准视频。支持广电场景格式标准要求。</li>
|
|
13599
|
+
# <li>LQ_material(低清素材/老片修复),整体分辨率提升,针对老旧视频由于拍摄年代较久存在的分辨率不足、模糊失真、划痕损伤和色温等问题进行专门优化。</li>
|
|
13600
|
+
# <li>lecture(秀场/电商/大会/讲座),美化提升面部效果,针对秀场/电商/大会/讲座等存在人物进行讲解的场景,进行人脸区域、噪声消除、毛刺处理的专门优化。</li>
|
|
13601
|
+
# @type EnhanceSceneType: String
|
|
13602
|
+
# @param EnhanceTranscodeType: 增强转码类型,可选值:
|
|
13603
|
+
# <li>Common(普通转码)</li>
|
|
13604
|
+
# <li>TEHD-100(极速高清视频转码)</li>
|
|
13605
|
+
# <li>TEHD-200(极速高清音频转码)</li>
|
|
13606
|
+
# @type EnhanceTranscodeType: String
|
|
13607
|
+
# @param EnhanceType: 增强类型,可选值:
|
|
13608
|
+
# <li>VideoEnhance(仅视频增强)</li>
|
|
13609
|
+
# <li>AudioEnhance(仅音频增强)</li>
|
|
13610
|
+
# <li>VideoAudioEnhance(视频音频增强都含)</li>
|
|
13611
|
+
# @type EnhanceType: String
|
|
13612
|
+
|
|
13613
|
+
attr_accessor :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :TranscodeType, :Name, :SceneType, :CompressType, :EnhanceSceneType, :EnhanceTranscodeType, :EnhanceType
|
|
13614
|
+
|
|
13615
|
+
def initialize(definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, transcodetype=nil, name=nil, scenetype=nil, compresstype=nil, enhancescenetype=nil, enhancetranscodetype=nil, enhancetype=nil)
|
|
13487
13616
|
@Definitions = definitions
|
|
13488
13617
|
@Type = type
|
|
13489
13618
|
@ContainerType = containertype
|
|
@@ -13494,6 +13623,9 @@ module TencentCloud
|
|
|
13494
13623
|
@Name = name
|
|
13495
13624
|
@SceneType = scenetype
|
|
13496
13625
|
@CompressType = compresstype
|
|
13626
|
+
@EnhanceSceneType = enhancescenetype
|
|
13627
|
+
@EnhanceTranscodeType = enhancetranscodetype
|
|
13628
|
+
@EnhanceType = enhancetype
|
|
13497
13629
|
end
|
|
13498
13630
|
|
|
13499
13631
|
def deserialize(params)
|
|
@@ -13507,6 +13639,9 @@ module TencentCloud
|
|
|
13507
13639
|
@Name = params['Name']
|
|
13508
13640
|
@SceneType = params['SceneType']
|
|
13509
13641
|
@CompressType = params['CompressType']
|
|
13642
|
+
@EnhanceSceneType = params['EnhanceSceneType']
|
|
13643
|
+
@EnhanceTranscodeType = params['EnhanceTranscodeType']
|
|
13644
|
+
@EnhanceType = params['EnhanceType']
|
|
13510
13645
|
end
|
|
13511
13646
|
end
|
|
13512
13647
|
|
|
@@ -13952,6 +14087,36 @@ module TencentCloud
|
|
|
13952
14087
|
end
|
|
13953
14088
|
end
|
|
13954
14089
|
|
|
14090
|
+
# 大模型增强
|
|
14091
|
+
class DiffusionEnhanceConfig < TencentCloud::Common::AbstractModel
|
|
14092
|
+
# @param Switch: 能力配置开关,可选值:
|
|
14093
|
+
|
|
14094
|
+
# ON:开启;
|
|
14095
|
+
# OFF:关闭。
|
|
14096
|
+
# 默认,OFF。
|
|
14097
|
+
# @type Switch: String
|
|
14098
|
+
# @param Type: 强度类型,可选值:
|
|
14099
|
+
|
|
14100
|
+
# weak
|
|
14101
|
+
# normal
|
|
14102
|
+
# strong
|
|
14103
|
+
# 默认值:normal。
|
|
14104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14105
|
+
# @type Type: String
|
|
14106
|
+
|
|
14107
|
+
attr_accessor :Switch, :Type
|
|
14108
|
+
|
|
14109
|
+
def initialize(switch=nil, type=nil)
|
|
14110
|
+
@Switch = switch
|
|
14111
|
+
@Type = type
|
|
14112
|
+
end
|
|
14113
|
+
|
|
14114
|
+
def deserialize(params)
|
|
14115
|
+
@Switch = params['Switch']
|
|
14116
|
+
@Type = params['Type']
|
|
14117
|
+
end
|
|
14118
|
+
end
|
|
14119
|
+
|
|
13955
14120
|
# DisableSchedule请求参数结构体
|
|
13956
14121
|
class DisableScheduleRequest < TencentCloud::Common::AbstractModel
|
|
13957
14122
|
# @param ScheduleId: 编排唯一表示。
|
|
@@ -14080,6 +14245,10 @@ module TencentCloud
|
|
|
14080
14245
|
# 可以用于HLS和DASH,切片格式只能是mp4
|
|
14081
14246
|
# 输出HLS:可以使用切片模式或singlefile模式
|
|
14082
14247
|
# 输出DASH:只能singlefile模式
|
|
14248
|
+
|
|
14249
|
+
# - widevine+fairplay:
|
|
14250
|
+
# 只能用于HLS,切片格式只能是mp4
|
|
14251
|
+
# 可以使用切片模式或singfile模式
|
|
14083
14252
|
# @type Type: String
|
|
14084
14253
|
# @param SimpleAesDrm: SimpleAes 加密信息。
|
|
14085
14254
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -14587,8 +14756,8 @@ module TencentCloud
|
|
|
14587
14756
|
|
|
14588
14757
|
attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
|
|
14589
14758
|
extend Gem::Deprecate
|
|
14590
|
-
deprecate :ContrastInfoSet, :none, 2025,
|
|
14591
|
-
deprecate :ContrastInfoSet=, :none, 2025,
|
|
14759
|
+
deprecate :ContrastInfoSet, :none, 2025, 11
|
|
14760
|
+
deprecate :ContrastInfoSet=, :none, 2025, 11
|
|
14592
14761
|
|
|
14593
14762
|
def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
|
|
14594
14763
|
@TaskType = tasktype
|
|
@@ -15561,6 +15730,35 @@ module TencentCloud
|
|
|
15561
15730
|
end
|
|
15562
15731
|
end
|
|
15563
15732
|
|
|
15733
|
+
# 新插帧配置,支持分数帧率
|
|
15734
|
+
class FrameRateWithDenConfig < TencentCloud::Common::AbstractModel
|
|
15735
|
+
# @param Switch: 能力配置开关,可选值:
|
|
15736
|
+
# <li>ON:开启;</li>
|
|
15737
|
+
# <li>OFF:关闭。</li>
|
|
15738
|
+
# 默认值:ON。
|
|
15739
|
+
# @type Switch: String
|
|
15740
|
+
# @param FpsNum: 帧率分子,取值范围:非负数,除以分母后小于120,单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
|
|
15741
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15742
|
+
# @type FpsNum: Integer
|
|
15743
|
+
# @param FpsDen: 帧率分母,取值范围:大于等于1。 默认值 1。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 FpsDenominator。
|
|
15744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15745
|
+
# @type FpsDen: Integer
|
|
15746
|
+
|
|
15747
|
+
attr_accessor :Switch, :FpsNum, :FpsDen
|
|
15748
|
+
|
|
15749
|
+
def initialize(switch=nil, fpsnum=nil, fpsden=nil)
|
|
15750
|
+
@Switch = switch
|
|
15751
|
+
@FpsNum = fpsnum
|
|
15752
|
+
@FpsDen = fpsden
|
|
15753
|
+
end
|
|
15754
|
+
|
|
15755
|
+
def deserialize(params)
|
|
15756
|
+
@Switch = params['Switch']
|
|
15757
|
+
@FpsNum = params['FpsNum']
|
|
15758
|
+
@FpsDen = params['FpsDen']
|
|
15759
|
+
end
|
|
15760
|
+
end
|
|
15761
|
+
|
|
15564
15762
|
# 智能按帧标签任务控制参数
|
|
15565
15763
|
class FrameTagConfigureInfo < TencentCloud::Common::AbstractModel
|
|
15566
15764
|
# @param Switch: 智能按帧标签任务开关,可选值:
|
|
@@ -15656,7 +15854,7 @@ module TencentCloud
|
|
|
15656
15854
|
# <li>HDR10</li>
|
|
15657
15855
|
# <li>HLG</li>
|
|
15658
15856
|
# 默认值:HDR10。
|
|
15659
|
-
# 注意:video的编码方式需要为h265;
|
|
15857
|
+
# 注意:video的编码方式需要为h264或h265;
|
|
15660
15858
|
# 注意:视频编码位深为10。
|
|
15661
15859
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15662
15860
|
# @type Type: String
|
|
@@ -15842,6 +16040,8 @@ module TencentCloud
|
|
|
15842
16040
|
# @param SuperResolution: 超分配置。
|
|
15843
16041
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15844
16042
|
# @type SuperResolution: :class:`Tencentcloud::Mps.v20190612.models.SuperResolutionConfig`
|
|
16043
|
+
# @param AdvancedSuperResolutionConfig: 高级超分配置。
|
|
16044
|
+
# @type AdvancedSuperResolutionConfig: :class:`Tencentcloud::Mps.v20190612.models.AdvancedSuperResolutionConfig`
|
|
15845
16045
|
# @param Denoise: 降噪配置。
|
|
15846
16046
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15847
16047
|
# @type Denoise: :class:`Tencentcloud::Mps.v20190612.models.ImageDenoiseConfig`
|
|
@@ -15861,10 +16061,11 @@ module TencentCloud
|
|
|
15861
16061
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15862
16062
|
# @type LowLightEnhance: :class:`Tencentcloud::Mps.v20190612.models.LowLightEnhanceConfig`
|
|
15863
16063
|
|
|
15864
|
-
attr_accessor :SuperResolution, :Denoise, :ImageQualityEnhance, :ColorEnhance, :SharpEnhance, :FaceEnhance, :LowLightEnhance
|
|
16064
|
+
attr_accessor :SuperResolution, :AdvancedSuperResolutionConfig, :Denoise, :ImageQualityEnhance, :ColorEnhance, :SharpEnhance, :FaceEnhance, :LowLightEnhance
|
|
15865
16065
|
|
|
15866
|
-
def initialize(superresolution=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, sharpenhance=nil, faceenhance=nil, lowlightenhance=nil)
|
|
16066
|
+
def initialize(superresolution=nil, advancedsuperresolutionconfig=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, sharpenhance=nil, faceenhance=nil, lowlightenhance=nil)
|
|
15867
16067
|
@SuperResolution = superresolution
|
|
16068
|
+
@AdvancedSuperResolutionConfig = advancedsuperresolutionconfig
|
|
15868
16069
|
@Denoise = denoise
|
|
15869
16070
|
@ImageQualityEnhance = imagequalityenhance
|
|
15870
16071
|
@ColorEnhance = colorenhance
|
|
@@ -15878,6 +16079,10 @@ module TencentCloud
|
|
|
15878
16079
|
@SuperResolution = SuperResolutionConfig.new
|
|
15879
16080
|
@SuperResolution.deserialize(params['SuperResolution'])
|
|
15880
16081
|
end
|
|
16082
|
+
unless params['AdvancedSuperResolutionConfig'].nil?
|
|
16083
|
+
@AdvancedSuperResolutionConfig = AdvancedSuperResolutionConfig.new
|
|
16084
|
+
@AdvancedSuperResolutionConfig.deserialize(params['AdvancedSuperResolutionConfig'])
|
|
16085
|
+
end
|
|
15881
16086
|
unless params['Denoise'].nil?
|
|
15882
16087
|
@Denoise = ImageDenoiseConfig.new
|
|
15883
16088
|
@Denoise.deserialize(params['Denoise'])
|
|
@@ -15999,6 +16204,8 @@ module TencentCloud
|
|
|
15999
16204
|
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
16000
16205
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16001
16206
|
# @type Status: String
|
|
16207
|
+
# @param ErrMsg: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
16208
|
+
# @type ErrMsg: String
|
|
16002
16209
|
# @param Message: 错误信息。
|
|
16003
16210
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16004
16211
|
# @type Message: String
|
|
@@ -16009,10 +16216,11 @@ module TencentCloud
|
|
|
16009
16216
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16010
16217
|
# @type Progress: Integer
|
|
16011
16218
|
|
|
16012
|
-
attr_accessor :Status, :Message, :Output, :Progress
|
|
16219
|
+
attr_accessor :Status, :ErrMsg, :Message, :Output, :Progress
|
|
16013
16220
|
|
|
16014
|
-
def initialize(status=nil, message=nil, output=nil, progress=nil)
|
|
16221
|
+
def initialize(status=nil, errmsg=nil, message=nil, output=nil, progress=nil)
|
|
16015
16222
|
@Status = status
|
|
16223
|
+
@ErrMsg = errmsg
|
|
16016
16224
|
@Message = message
|
|
16017
16225
|
@Output = output
|
|
16018
16226
|
@Progress = progress
|
|
@@ -16020,6 +16228,7 @@ module TencentCloud
|
|
|
16020
16228
|
|
|
16021
16229
|
def deserialize(params)
|
|
16022
16230
|
@Status = params['Status']
|
|
16231
|
+
@ErrMsg = params['ErrMsg']
|
|
16023
16232
|
@Message = params['Message']
|
|
16024
16233
|
unless params['Output'].nil?
|
|
16025
16234
|
@Output = ImageProcessTaskOutput.new
|
|
@@ -16768,10 +16977,10 @@ module TencentCloud
|
|
|
16768
16977
|
|
|
16769
16978
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
|
16770
16979
|
extend Gem::Deprecate
|
|
16771
|
-
deprecate :QualityControlResults, :none, 2025,
|
|
16772
|
-
deprecate :QualityControlResults=, :none, 2025,
|
|
16773
|
-
deprecate :DiagnoseResults, :none, 2025,
|
|
16774
|
-
deprecate :DiagnoseResults=, :none, 2025,
|
|
16980
|
+
deprecate :QualityControlResults, :none, 2025, 11
|
|
16981
|
+
deprecate :QualityControlResults=, :none, 2025, 11
|
|
16982
|
+
deprecate :DiagnoseResults, :none, 2025, 11
|
|
16983
|
+
deprecate :DiagnoseResults=, :none, 2025, 11
|
|
16775
16984
|
|
|
16776
16985
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
|
16777
16986
|
@QualityControlResults = qualitycontrolresults
|
|
@@ -19884,8 +20093,8 @@ module TencentCloud
|
|
|
19884
20093
|
|
|
19885
20094
|
attr_accessor :OutputId, :OutputName, :Description, :Protocol, :OutputKind, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :OutputType, :PidSelector, :StreamSelector
|
|
19886
20095
|
extend Gem::Deprecate
|
|
19887
|
-
deprecate :PidSelector, :none, 2025,
|
|
19888
|
-
deprecate :PidSelector=, :none, 2025,
|
|
20096
|
+
deprecate :PidSelector, :none, 2025, 11
|
|
20097
|
+
deprecate :PidSelector=, :none, 2025, 11
|
|
19889
20098
|
|
|
19890
20099
|
def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil, streamselector=nil)
|
|
19891
20100
|
@OutputId = outputid
|
|
@@ -20327,8 +20536,10 @@ module TencentCloud
|
|
|
20327
20536
|
# @param Definition: 智能字幕模板唯一标识
|
|
20328
20537
|
# @type Definition: Integer
|
|
20329
20538
|
# @param TranslateSwitch: 字幕翻译开关
|
|
20330
|
-
# ON
|
|
20331
|
-
# OFF
|
|
20539
|
+
# `ON`: 开启翻译
|
|
20540
|
+
# `OFF`: 关闭翻译
|
|
20541
|
+
|
|
20542
|
+
# **注意**:纯字幕翻译方式下,不传默认是打开的,不允许传空或`OFF`;
|
|
20332
20543
|
# @type TranslateSwitch: String
|
|
20333
20544
|
# @param Name: 智能字幕模板名称
|
|
20334
20545
|
# 长度限制:64 个字符。
|
|
@@ -20338,33 +20549,47 @@ module TencentCloud
|
|
|
20338
20549
|
# @type Comment: String
|
|
20339
20550
|
# @param VideoSrcLanguage: 智能字幕视频源语言
|
|
20340
20551
|
# 当前支持以下语言:
|
|
20341
|
-
|
|
20342
|
-
#
|
|
20343
|
-
#
|
|
20344
|
-
#
|
|
20345
|
-
#
|
|
20346
|
-
#
|
|
20347
|
-
#
|
|
20348
|
-
#
|
|
20349
|
-
#
|
|
20350
|
-
#
|
|
20351
|
-
#
|
|
20352
|
-
#
|
|
20353
|
-
#
|
|
20354
|
-
#
|
|
20355
|
-
#
|
|
20356
|
-
#
|
|
20357
|
-
#
|
|
20358
|
-
#
|
|
20359
|
-
#
|
|
20360
|
-
#
|
|
20361
|
-
#
|
|
20362
|
-
#
|
|
20552
|
+
|
|
20553
|
+
# `zh`:简体中文
|
|
20554
|
+
# `yue`:中文粵语
|
|
20555
|
+
# `zh-PY`:中英粤
|
|
20556
|
+
# `zh_medical`:中文医疗
|
|
20557
|
+
# `zh_dialect`:中文方言
|
|
20558
|
+
# `prime_zh`:中英方言
|
|
20559
|
+
# `zh_en`:中英
|
|
20560
|
+
# `en`:英语
|
|
20561
|
+
# `ja`:日语
|
|
20562
|
+
# `ko`:韩语
|
|
20563
|
+
# `fr`:法语
|
|
20564
|
+
# `es`:西班牙语
|
|
20565
|
+
# `it`:意大利语
|
|
20566
|
+
# `de`:德语
|
|
20567
|
+
# `tr`:土耳其语
|
|
20568
|
+
# `ru`:俄语
|
|
20569
|
+
# `pt`:葡萄牙语(巴西)
|
|
20570
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
20571
|
+
# `vi`:越南语
|
|
20572
|
+
# `id`:印度尼西亚语
|
|
20573
|
+
# `ms`:马来语
|
|
20574
|
+
# `th`:泰语
|
|
20575
|
+
# `ar`:阿拉伯语
|
|
20576
|
+
# `hi`:印地语
|
|
20577
|
+
# `fil`:菲律宾语
|
|
20578
|
+
# `auto`:自动识别(仅在纯字幕翻译中支持)
|
|
20363
20579
|
# @type VideoSrcLanguage: String
|
|
20364
|
-
# @param SubtitleFormat:
|
|
20365
|
-
#
|
|
20366
|
-
#
|
|
20367
|
-
#
|
|
20580
|
+
# @param SubtitleFormat: 智能字幕文件格式:
|
|
20581
|
+
# - ASR识别翻译处理类型下:
|
|
20582
|
+
# - vtt: WebVTT 格式字幕
|
|
20583
|
+
# - srt: SRT 格式字幕
|
|
20584
|
+
# - 不填或填空:不生成字幕文件
|
|
20585
|
+
# - 纯字幕翻译处理类型下:
|
|
20586
|
+
# - original:与源文件一致
|
|
20587
|
+
# - vtt: WebVTT 格式字幕
|
|
20588
|
+
# - srt: SRT 格式字幕
|
|
20589
|
+
|
|
20590
|
+
# **注意**:
|
|
20591
|
+
# - ASR识别方式下,翻译大于等于2种语言时不允许传空或不传;
|
|
20592
|
+
# - 纯字幕翻译方式下,不允许传空或不传
|
|
20368
20593
|
# @type SubtitleFormat: String
|
|
20369
20594
|
# @param SubtitleType: 智能字幕字幕语言类型
|
|
20370
20595
|
# 0: 源语言
|
|
@@ -20378,28 +20603,40 @@ module TencentCloud
|
|
|
20378
20603
|
# @param TranslateDstLanguage: 字幕翻译目标语言
|
|
20379
20604
|
# 当TranslateSwitch为ON的时候生效
|
|
20380
20605
|
# 当前支持以下语言:
|
|
20381
|
-
|
|
20382
|
-
#
|
|
20383
|
-
#
|
|
20384
|
-
#
|
|
20385
|
-
#
|
|
20386
|
-
#
|
|
20387
|
-
#
|
|
20388
|
-
#
|
|
20389
|
-
#
|
|
20390
|
-
#
|
|
20391
|
-
#
|
|
20392
|
-
#
|
|
20393
|
-
#
|
|
20394
|
-
#
|
|
20395
|
-
#
|
|
20396
|
-
#
|
|
20397
|
-
#
|
|
20606
|
+
|
|
20607
|
+
# `zh`:简体中文
|
|
20608
|
+
# `zh-TW`:繁体中文
|
|
20609
|
+
# `en`:英语
|
|
20610
|
+
# `ja`:日语
|
|
20611
|
+
# `ko`:韩语
|
|
20612
|
+
# `fr`:法语
|
|
20613
|
+
# `es`:西班牙语
|
|
20614
|
+
# `it`:意大利语
|
|
20615
|
+
# `de`:德语
|
|
20616
|
+
# `tr`:土耳其语
|
|
20617
|
+
# `ru`:俄语
|
|
20618
|
+
# `pt`:葡萄牙语(巴西)
|
|
20619
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
20620
|
+
# `vi`:越南语
|
|
20621
|
+
# `id`:印度尼西亚语
|
|
20622
|
+
# `ms`:马来语
|
|
20623
|
+
# `th`:泰语
|
|
20624
|
+
# `ar`:阿拉伯语
|
|
20625
|
+
# `hi`:印地语
|
|
20626
|
+
# `fil`:菲律宾语
|
|
20627
|
+
|
|
20628
|
+
# **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
|
|
20398
20629
|
# @type TranslateDstLanguage: String
|
|
20630
|
+
# @param ProcessType: 字幕处理类型:
|
|
20631
|
+
# - 0:ASR识别字幕
|
|
20632
|
+
# - 1:纯字幕翻译
|
|
20399
20633
|
|
|
20400
|
-
|
|
20634
|
+
# **注意**:不传的情况下,默认是ASR方式
|
|
20635
|
+
# @type ProcessType: Integer
|
|
20401
20636
|
|
|
20402
|
-
|
|
20637
|
+
attr_accessor :Definition, :TranslateSwitch, :Name, :Comment, :VideoSrcLanguage, :SubtitleFormat, :SubtitleType, :AsrHotWordsConfigure, :TranslateDstLanguage, :ProcessType
|
|
20638
|
+
|
|
20639
|
+
def initialize(definition=nil, translateswitch=nil, name=nil, comment=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, asrhotwordsconfigure=nil, translatedstlanguage=nil, processtype=nil)
|
|
20403
20640
|
@Definition = definition
|
|
20404
20641
|
@TranslateSwitch = translateswitch
|
|
20405
20642
|
@Name = name
|
|
@@ -20409,6 +20646,7 @@ module TencentCloud
|
|
|
20409
20646
|
@SubtitleType = subtitletype
|
|
20410
20647
|
@AsrHotWordsConfigure = asrhotwordsconfigure
|
|
20411
20648
|
@TranslateDstLanguage = translatedstlanguage
|
|
20649
|
+
@ProcessType = processtype
|
|
20412
20650
|
end
|
|
20413
20651
|
|
|
20414
20652
|
def deserialize(params)
|
|
@@ -20424,6 +20662,7 @@ module TencentCloud
|
|
|
20424
20662
|
@AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
|
|
20425
20663
|
end
|
|
20426
20664
|
@TranslateDstLanguage = params['TranslateDstLanguage']
|
|
20665
|
+
@ProcessType = params['ProcessType']
|
|
20427
20666
|
end
|
|
20428
20667
|
end
|
|
20429
20668
|
|
|
@@ -22487,6 +22726,87 @@ module TencentCloud
|
|
|
22487
22726
|
end
|
|
22488
22727
|
end
|
|
22489
22728
|
|
|
22729
|
+
# 纯字幕翻译结果
|
|
22730
|
+
class PureSubtitleTransResult < TencentCloud::Common::AbstractModel
|
|
22731
|
+
# @param Status: 任务状态(有以下三种):
|
|
22732
|
+
# - PROCESSING
|
|
22733
|
+
# - SUCCESS
|
|
22734
|
+
# - FAIL
|
|
22735
|
+
# @type Status: String
|
|
22736
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。
|
|
22737
|
+
# @type ErrCodeExt: String
|
|
22738
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
|
22739
|
+
# @type ErrCode: Integer
|
|
22740
|
+
# @param Message: 错误信息
|
|
22741
|
+
# @type Message: String
|
|
22742
|
+
# @param Input: 翻译任务输入信息。
|
|
22743
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskResultInput`
|
|
22744
|
+
# @param Output: 纯字幕翻译输出结果
|
|
22745
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22746
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.PureSubtitleTransResultOutput`
|
|
22747
|
+
# @param Progress: 任务进度。
|
|
22748
|
+
# @type Progress: Integer
|
|
22749
|
+
|
|
22750
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
|
|
22751
|
+
|
|
22752
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
|
|
22753
|
+
@Status = status
|
|
22754
|
+
@ErrCodeExt = errcodeext
|
|
22755
|
+
@ErrCode = errcode
|
|
22756
|
+
@Message = message
|
|
22757
|
+
@Input = input
|
|
22758
|
+
@Output = output
|
|
22759
|
+
@Progress = progress
|
|
22760
|
+
end
|
|
22761
|
+
|
|
22762
|
+
def deserialize(params)
|
|
22763
|
+
@Status = params['Status']
|
|
22764
|
+
@ErrCodeExt = params['ErrCodeExt']
|
|
22765
|
+
@ErrCode = params['ErrCode']
|
|
22766
|
+
@Message = params['Message']
|
|
22767
|
+
unless params['Input'].nil?
|
|
22768
|
+
@Input = SmartSubtitleTaskResultInput.new
|
|
22769
|
+
@Input.deserialize(params['Input'])
|
|
22770
|
+
end
|
|
22771
|
+
unless params['Output'].nil?
|
|
22772
|
+
@Output = PureSubtitleTransResultOutput.new
|
|
22773
|
+
@Output.deserialize(params['Output'])
|
|
22774
|
+
end
|
|
22775
|
+
@Progress = params['Progress']
|
|
22776
|
+
end
|
|
22777
|
+
end
|
|
22778
|
+
|
|
22779
|
+
# 翻译详细输出结果
|
|
22780
|
+
class PureSubtitleTransResultOutput < TencentCloud::Common::AbstractModel
|
|
22781
|
+
# @param OutputStorage: 字幕文件存储位置。
|
|
22782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22783
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
22784
|
+
# @param SubtitleResults: 多语言翻译的结果集合
|
|
22785
|
+
# @type SubtitleResults: Array
|
|
22786
|
+
|
|
22787
|
+
attr_accessor :OutputStorage, :SubtitleResults
|
|
22788
|
+
|
|
22789
|
+
def initialize(outputstorage=nil, subtitleresults=nil)
|
|
22790
|
+
@OutputStorage = outputstorage
|
|
22791
|
+
@SubtitleResults = subtitleresults
|
|
22792
|
+
end
|
|
22793
|
+
|
|
22794
|
+
def deserialize(params)
|
|
22795
|
+
unless params['OutputStorage'].nil?
|
|
22796
|
+
@OutputStorage = TaskOutputStorage.new
|
|
22797
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
|
22798
|
+
end
|
|
22799
|
+
unless params['SubtitleResults'].nil?
|
|
22800
|
+
@SubtitleResults = []
|
|
22801
|
+
params['SubtitleResults'].each do |i|
|
|
22802
|
+
subtitletransresultitem_tmp = SubtitleTransResultItem.new
|
|
22803
|
+
subtitletransresultitem_tmp.deserialize(i)
|
|
22804
|
+
@SubtitleResults << subtitletransresultitem_tmp
|
|
22805
|
+
end
|
|
22806
|
+
end
|
|
22807
|
+
end
|
|
22808
|
+
end
|
|
22809
|
+
|
|
22490
22810
|
# 媒体质检结果输出。
|
|
22491
22811
|
class QualityControlData < TencentCloud::Common::AbstractModel
|
|
22492
22812
|
# @param NoAudio: 为true时表示视频无音频轨。
|
|
@@ -22980,60 +23300,79 @@ module TencentCloud
|
|
|
22980
23300
|
# @type SubtitleType: Integer
|
|
22981
23301
|
# @param VideoSrcLanguage: 智能字幕视频源语言
|
|
22982
23302
|
# 当前支持以下语言:
|
|
22983
|
-
# zh
|
|
22984
|
-
#
|
|
22985
|
-
#
|
|
22986
|
-
#
|
|
22987
|
-
#
|
|
22988
|
-
#
|
|
22989
|
-
#
|
|
22990
|
-
#
|
|
22991
|
-
#
|
|
22992
|
-
#
|
|
22993
|
-
#
|
|
22994
|
-
#
|
|
22995
|
-
#
|
|
22996
|
-
#
|
|
22997
|
-
#
|
|
22998
|
-
#
|
|
22999
|
-
#
|
|
23000
|
-
#
|
|
23001
|
-
#
|
|
23002
|
-
#
|
|
23003
|
-
#
|
|
23004
|
-
#
|
|
23303
|
+
# `zh`:简体中文
|
|
23304
|
+
# `yue`:中文粵语
|
|
23305
|
+
# `zh-PY`:中英粤
|
|
23306
|
+
# `zh_medical`:中文医疗
|
|
23307
|
+
# `zh_dialect`:中文方言
|
|
23308
|
+
# `prime_zh`:中英方言
|
|
23309
|
+
# `zh_en`:中英
|
|
23310
|
+
# `en`:英语
|
|
23311
|
+
# `ja`:日语
|
|
23312
|
+
# `ko`:韩语
|
|
23313
|
+
# `fr`:法语
|
|
23314
|
+
# `es`:西班牙语
|
|
23315
|
+
# `it`:意大利语
|
|
23316
|
+
# `de`:德语
|
|
23317
|
+
# `tr`:土耳其语
|
|
23318
|
+
# `ru`:俄语
|
|
23319
|
+
# `pt`:葡萄牙语(巴西)
|
|
23320
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
23321
|
+
# `vi`:越南语
|
|
23322
|
+
# `id`:印度尼西亚语
|
|
23323
|
+
# `ms`:马来语
|
|
23324
|
+
# `th`:泰语
|
|
23325
|
+
# `ar`:阿拉伯语
|
|
23326
|
+
# `hi`:印地语
|
|
23327
|
+
# `fil`:菲律宾语
|
|
23328
|
+
# `auto`:自动识别(仅在纯字幕翻译中支持)
|
|
23005
23329
|
# @type VideoSrcLanguage: String
|
|
23006
|
-
# @param SubtitleFormat:
|
|
23007
|
-
#
|
|
23008
|
-
#
|
|
23009
|
-
#
|
|
23330
|
+
# @param SubtitleFormat: 智能字幕文件格式:
|
|
23331
|
+
# - ASR识别翻译处理类型下:
|
|
23332
|
+
# - vtt: WebVTT 格式字幕
|
|
23333
|
+
# - srt: SRT 格式字幕
|
|
23334
|
+
# - 不填或填空:不生成字幕文件
|
|
23335
|
+
# - 纯字幕翻译处理类型下:
|
|
23336
|
+
# - original:与源文件一致
|
|
23337
|
+
# - vtt: WebVTT 格式字幕
|
|
23338
|
+
# - srt: SRT 格式字幕
|
|
23339
|
+
|
|
23340
|
+
# **注意**:
|
|
23341
|
+
# - ASR识别方式下,翻译大于等于2种语言时不允许传空或不传;
|
|
23342
|
+
# - 纯字幕翻译方式下,不允许传空或不传
|
|
23010
23343
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
23011
23344
|
# @type SubtitleFormat: String
|
|
23012
23345
|
# @param TranslateSwitch: 字幕翻译开关
|
|
23013
|
-
# ON
|
|
23014
|
-
# OFF
|
|
23346
|
+
# `ON`: 开启翻译
|
|
23347
|
+
# `OFF`: 关闭翻译
|
|
23348
|
+
|
|
23349
|
+
# **注意**:纯字幕翻译方式下,不传默认是打开的,不允许传空或`OFF`;
|
|
23015
23350
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
23016
23351
|
# @type TranslateSwitch: String
|
|
23017
23352
|
# @param TranslateDstLanguage: 字幕翻译目标语言
|
|
23018
|
-
# 当TranslateSwitch为ON
|
|
23019
|
-
#
|
|
23020
|
-
# zh
|
|
23021
|
-
# en
|
|
23022
|
-
# ja
|
|
23023
|
-
# ko
|
|
23024
|
-
# fr
|
|
23025
|
-
# es
|
|
23026
|
-
# it
|
|
23027
|
-
# de
|
|
23028
|
-
# tr
|
|
23029
|
-
# ru
|
|
23030
|
-
# pt
|
|
23031
|
-
#
|
|
23032
|
-
#
|
|
23033
|
-
#
|
|
23034
|
-
#
|
|
23035
|
-
#
|
|
23036
|
-
#
|
|
23353
|
+
# 当TranslateSwitch为ON的时候生效,翻译语言列表:
|
|
23354
|
+
# `zh`:简体中文
|
|
23355
|
+
# `zh-TW`:繁体中文
|
|
23356
|
+
# `en`:英语
|
|
23357
|
+
# `ja`:日语
|
|
23358
|
+
# `ko`:韩语
|
|
23359
|
+
# `fr`:法语
|
|
23360
|
+
# `es`:西班牙语
|
|
23361
|
+
# `it`:意大利语
|
|
23362
|
+
# `de`:德语
|
|
23363
|
+
# `tr`:土耳其语
|
|
23364
|
+
# `ru`:俄语
|
|
23365
|
+
# `pt`:葡萄牙语(巴西)
|
|
23366
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
23367
|
+
# `vi`:越南语
|
|
23368
|
+
# `id`:印度尼西亚语
|
|
23369
|
+
# `ms`:马来语
|
|
23370
|
+
# `th`:泰语
|
|
23371
|
+
# `ar`:阿拉伯语
|
|
23372
|
+
# `hi`:印地语
|
|
23373
|
+
# `fil`:菲律宾语
|
|
23374
|
+
|
|
23375
|
+
# **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
|
|
23037
23376
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
23038
23377
|
# @type TranslateDstLanguage: String
|
|
23039
23378
|
# @param AsrHotWordsConfigure: ASR热词库参数
|
|
@@ -23041,10 +23380,16 @@ module TencentCloud
|
|
|
23041
23380
|
# @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
|
|
23042
23381
|
# @param ExtInfo: 自定义参数
|
|
23043
23382
|
# @type ExtInfo: String
|
|
23383
|
+
# @param ProcessType: 字幕处理类型:
|
|
23384
|
+
# - 0:ASR识别字幕
|
|
23385
|
+
# - 1:纯字幕翻译
|
|
23044
23386
|
|
|
23045
|
-
|
|
23387
|
+
# **注意**:不传的情况下默认类型为 ASR识别字幕
|
|
23388
|
+
# @type ProcessType: Integer
|
|
23046
23389
|
|
|
23047
|
-
|
|
23390
|
+
attr_accessor :SubtitleType, :VideoSrcLanguage, :SubtitleFormat, :TranslateSwitch, :TranslateDstLanguage, :AsrHotWordsConfigure, :ExtInfo, :ProcessType
|
|
23391
|
+
|
|
23392
|
+
def initialize(subtitletype=nil, videosrclanguage=nil, subtitleformat=nil, translateswitch=nil, translatedstlanguage=nil, asrhotwordsconfigure=nil, extinfo=nil, processtype=nil)
|
|
23048
23393
|
@SubtitleType = subtitletype
|
|
23049
23394
|
@VideoSrcLanguage = videosrclanguage
|
|
23050
23395
|
@SubtitleFormat = subtitleformat
|
|
@@ -23052,6 +23397,7 @@ module TencentCloud
|
|
|
23052
23397
|
@TranslateDstLanguage = translatedstlanguage
|
|
23053
23398
|
@AsrHotWordsConfigure = asrhotwordsconfigure
|
|
23054
23399
|
@ExtInfo = extinfo
|
|
23400
|
+
@ProcessType = processtype
|
|
23055
23401
|
end
|
|
23056
23402
|
|
|
23057
23403
|
def deserialize(params)
|
|
@@ -23065,6 +23411,7 @@ module TencentCloud
|
|
|
23065
23411
|
@AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
|
|
23066
23412
|
end
|
|
23067
23413
|
@ExtInfo = params['ExtInfo']
|
|
23414
|
+
@ProcessType = params['ProcessType']
|
|
23068
23415
|
end
|
|
23069
23416
|
end
|
|
23070
23417
|
|
|
@@ -24900,15 +25247,18 @@ module TencentCloud
|
|
|
24900
25247
|
# @param SegmentSet: 语音全文识别片段列表。
|
|
24901
25248
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
24902
25249
|
# @type SegmentSet: Array
|
|
25250
|
+
# @param Path: 字幕文件路径
|
|
25251
|
+
# @type Path: String
|
|
24903
25252
|
# @param SubtitlePath: 字幕文件地址。
|
|
24904
25253
|
# @type SubtitlePath: String
|
|
24905
25254
|
# @param OutputStorage: 字幕文件存储位置。
|
|
24906
25255
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
24907
25256
|
|
|
24908
|
-
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
|
25257
|
+
attr_accessor :SegmentSet, :Path, :SubtitlePath, :OutputStorage
|
|
24909
25258
|
|
|
24910
|
-
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
|
25259
|
+
def initialize(segmentset=nil, path=nil, subtitlepath=nil, outputstorage=nil)
|
|
24911
25260
|
@SegmentSet = segmentset
|
|
25261
|
+
@Path = path
|
|
24912
25262
|
@SubtitlePath = subtitlepath
|
|
24913
25263
|
@OutputStorage = outputstorage
|
|
24914
25264
|
end
|
|
@@ -24922,6 +25272,7 @@ module TencentCloud
|
|
|
24922
25272
|
@SegmentSet << smartsubtitletaskasrfulltextsegmentitem_tmp
|
|
24923
25273
|
end
|
|
24924
25274
|
end
|
|
25275
|
+
@Path = params['Path']
|
|
24925
25276
|
@SubtitlePath = params['SubtitlePath']
|
|
24926
25277
|
unless params['OutputStorage'].nil?
|
|
24927
25278
|
@OutputStorage = TaskOutputStorage.new
|
|
@@ -25097,13 +25448,19 @@ module TencentCloud
|
|
|
25097
25448
|
# @type SubtitlePath: String
|
|
25098
25449
|
# @param OutputStorage: 字幕文件存储位置。
|
|
25099
25450
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
25451
|
+
# @param Path: 字幕文件地址
|
|
25452
|
+
# @type Path: String
|
|
25453
|
+
# @param SubtitleResults: 多语言翻译时返回翻译结果。
|
|
25454
|
+
# @type SubtitleResults: Array
|
|
25100
25455
|
|
|
25101
|
-
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
|
25456
|
+
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage, :Path, :SubtitleResults
|
|
25102
25457
|
|
|
25103
|
-
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
|
25458
|
+
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil, path=nil, subtitleresults=nil)
|
|
25104
25459
|
@SegmentSet = segmentset
|
|
25105
25460
|
@SubtitlePath = subtitlepath
|
|
25106
25461
|
@OutputStorage = outputstorage
|
|
25462
|
+
@Path = path
|
|
25463
|
+
@SubtitleResults = subtitleresults
|
|
25107
25464
|
end
|
|
25108
25465
|
|
|
25109
25466
|
def deserialize(params)
|
|
@@ -25120,6 +25477,15 @@ module TencentCloud
|
|
|
25120
25477
|
@OutputStorage = TaskOutputStorage.new
|
|
25121
25478
|
@OutputStorage.deserialize(params['OutputStorage'])
|
|
25122
25479
|
end
|
|
25480
|
+
@Path = params['Path']
|
|
25481
|
+
unless params['SubtitleResults'].nil?
|
|
25482
|
+
@SubtitleResults = []
|
|
25483
|
+
params['SubtitleResults'].each do |i|
|
|
25484
|
+
subtitletransresultitem_tmp = SubtitleTransResultItem.new
|
|
25485
|
+
subtitletransresultitem_tmp.deserialize(i)
|
|
25486
|
+
@SubtitleResults << subtitletransresultitem_tmp
|
|
25487
|
+
end
|
|
25488
|
+
end
|
|
25123
25489
|
end
|
|
25124
25490
|
end
|
|
25125
25491
|
|
|
@@ -25188,32 +25554,40 @@ module TencentCloud
|
|
|
25188
25554
|
# @param AsrHotWordsLibraryName: 模板关联热词库名称
|
|
25189
25555
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25190
25556
|
# @type AsrHotWordsLibraryName: String
|
|
25191
|
-
# @param VideoSrcLanguage:
|
|
25192
|
-
|
|
25193
|
-
# zh
|
|
25194
|
-
#
|
|
25195
|
-
#
|
|
25196
|
-
#
|
|
25197
|
-
#
|
|
25198
|
-
#
|
|
25199
|
-
#
|
|
25200
|
-
#
|
|
25201
|
-
#
|
|
25202
|
-
#
|
|
25203
|
-
#
|
|
25204
|
-
#
|
|
25205
|
-
#
|
|
25206
|
-
#
|
|
25207
|
-
#
|
|
25208
|
-
#
|
|
25209
|
-
#
|
|
25210
|
-
#
|
|
25211
|
-
#
|
|
25212
|
-
#
|
|
25557
|
+
# @param VideoSrcLanguage: 智能字幕视频源语言列表:
|
|
25558
|
+
|
|
25559
|
+
# `zh`:简体中文
|
|
25560
|
+
# `yue`:中文粵语
|
|
25561
|
+
# `zh-PY`:中英粤
|
|
25562
|
+
# `zh_medical`:中文医疗
|
|
25563
|
+
# `zh_dialect`:中文方言
|
|
25564
|
+
# `prime_zh`:中英方言
|
|
25565
|
+
# `zh_en`:中英
|
|
25566
|
+
# `en`:英语
|
|
25567
|
+
# `ja`:日语
|
|
25568
|
+
# `ko`:韩语
|
|
25569
|
+
# `fr`:法语
|
|
25570
|
+
# `es`:西班牙语
|
|
25571
|
+
# `it`:意大利语
|
|
25572
|
+
# `de`:德语
|
|
25573
|
+
# `tr`:土耳其语
|
|
25574
|
+
# `ru`:俄语
|
|
25575
|
+
# `pt`:葡萄牙语(巴西)
|
|
25576
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
25577
|
+
# `vi`:越南语
|
|
25578
|
+
# `id`:印度尼西亚语
|
|
25579
|
+
# `ms`:马来语
|
|
25580
|
+
# `th`:泰语
|
|
25581
|
+
# `ar`:阿拉伯语
|
|
25582
|
+
# `hi`:印地语
|
|
25583
|
+
# `fil`:菲律宾语
|
|
25584
|
+
# `auto`:自动识别(仅在纯字幕翻译中支持)
|
|
25213
25585
|
# @type VideoSrcLanguage: String
|
|
25214
25586
|
# @param SubtitleFormat: 智能字幕文件格式
|
|
25215
|
-
#
|
|
25216
|
-
#
|
|
25587
|
+
# - vtt: WebVTT 格式
|
|
25588
|
+
# - srt: SRT格式
|
|
25589
|
+
# - original:与源字幕文件一致(用于纯字幕翻译模版)
|
|
25590
|
+
# - 不填或填空:不生成字幕文件
|
|
25217
25591
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25218
25592
|
# @type SubtitleFormat: String
|
|
25219
25593
|
# @param SubtitleType: 智能字幕字幕语言类型
|
|
@@ -25230,24 +25604,30 @@ module TencentCloud
|
|
|
25230
25604
|
# @type TranslateSwitch: String
|
|
25231
25605
|
# @param TranslateDstLanguage: 字幕翻译目标语言
|
|
25232
25606
|
# 当TranslateSwitch为ON的时候生效
|
|
25233
|
-
#
|
|
25234
|
-
# zh
|
|
25235
|
-
# en
|
|
25236
|
-
# ja
|
|
25237
|
-
# ko
|
|
25238
|
-
# fr
|
|
25239
|
-
# es
|
|
25240
|
-
# it
|
|
25241
|
-
# de
|
|
25242
|
-
# tr
|
|
25243
|
-
# ru
|
|
25244
|
-
# pt
|
|
25245
|
-
#
|
|
25246
|
-
#
|
|
25247
|
-
#
|
|
25248
|
-
#
|
|
25249
|
-
#
|
|
25250
|
-
#
|
|
25607
|
+
# `zh`:简体中文
|
|
25608
|
+
# `zh-TW`:繁体中文
|
|
25609
|
+
# `en`:英语
|
|
25610
|
+
# `ja`:日语
|
|
25611
|
+
# `ko`:韩语
|
|
25612
|
+
# `fr`:法语
|
|
25613
|
+
# `es`:西班牙语
|
|
25614
|
+
# `it`:意大利语
|
|
25615
|
+
# `de`:德语
|
|
25616
|
+
# `tr`:土耳其语
|
|
25617
|
+
# `ru`:俄语
|
|
25618
|
+
# `pt`:葡萄牙语(巴西)
|
|
25619
|
+
# `pt-PT`:葡萄牙语(葡萄牙)
|
|
25620
|
+
# `vi`:越南语
|
|
25621
|
+
# `id`:印度尼西亚语
|
|
25622
|
+
# `ms`:马来语
|
|
25623
|
+
# `th`:泰语
|
|
25624
|
+
# `ar`:阿拉伯语
|
|
25625
|
+
# `hi`:印地语
|
|
25626
|
+
# `fil`:菲律宾语
|
|
25627
|
+
|
|
25628
|
+
|
|
25629
|
+
# **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
|
|
25630
|
+
|
|
25251
25631
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25252
25632
|
# @type TranslateDstLanguage: String
|
|
25253
25633
|
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
@@ -25257,10 +25637,14 @@ module TencentCloud
|
|
|
25257
25637
|
# @param AliasName: 智能字幕预设模板别名
|
|
25258
25638
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25259
25639
|
# @type AliasName: String
|
|
25640
|
+
# @param ProcessType: 字幕处理类型:
|
|
25641
|
+
# - 0:ASR识别字幕
|
|
25642
|
+
# - 1:纯字幕翻译
|
|
25643
|
+
# @type ProcessType: Integer
|
|
25260
25644
|
|
|
25261
|
-
attr_accessor :Definition, :Name, :Comment, :Type, :AsrHotWordsConfigure, :AsrHotWordsLibraryName, :VideoSrcLanguage, :SubtitleFormat, :SubtitleType, :TranslateSwitch, :TranslateDstLanguage, :CreateTime, :UpdateTime, :AliasName
|
|
25645
|
+
attr_accessor :Definition, :Name, :Comment, :Type, :AsrHotWordsConfigure, :AsrHotWordsLibraryName, :VideoSrcLanguage, :SubtitleFormat, :SubtitleType, :TranslateSwitch, :TranslateDstLanguage, :CreateTime, :UpdateTime, :AliasName, :ProcessType
|
|
25262
25646
|
|
|
25263
|
-
def initialize(definition=nil, name=nil, comment=nil, type=nil, asrhotwordsconfigure=nil, asrhotwordslibraryname=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, translateswitch=nil, translatedstlanguage=nil, createtime=nil, updatetime=nil, aliasname=nil)
|
|
25647
|
+
def initialize(definition=nil, name=nil, comment=nil, type=nil, asrhotwordsconfigure=nil, asrhotwordslibraryname=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, translateswitch=nil, translatedstlanguage=nil, createtime=nil, updatetime=nil, aliasname=nil, processtype=nil)
|
|
25264
25648
|
@Definition = definition
|
|
25265
25649
|
@Name = name
|
|
25266
25650
|
@Comment = comment
|
|
@@ -25275,6 +25659,7 @@ module TencentCloud
|
|
|
25275
25659
|
@CreateTime = createtime
|
|
25276
25660
|
@UpdateTime = updatetime
|
|
25277
25661
|
@AliasName = aliasname
|
|
25662
|
+
@ProcessType = processtype
|
|
25278
25663
|
end
|
|
25279
25664
|
|
|
25280
25665
|
def deserialize(params)
|
|
@@ -25295,14 +25680,16 @@ module TencentCloud
|
|
|
25295
25680
|
@CreateTime = params['CreateTime']
|
|
25296
25681
|
@UpdateTime = params['UpdateTime']
|
|
25297
25682
|
@AliasName = params['AliasName']
|
|
25683
|
+
@ProcessType = params['ProcessType']
|
|
25298
25684
|
end
|
|
25299
25685
|
end
|
|
25300
25686
|
|
|
25301
25687
|
# 智能字幕结果。
|
|
25302
25688
|
class SmartSubtitlesResult < TencentCloud::Common::AbstractModel
|
|
25303
25689
|
# @param Type: 任务的类型,取值范围:
|
|
25304
|
-
#
|
|
25305
|
-
#
|
|
25690
|
+
# - AsrFullTextRecognition:语音全文识别
|
|
25691
|
+
# - TransTextRecognition:语音翻译
|
|
25692
|
+
# - PureSubtitleTrans: 纯字幕翻译
|
|
25306
25693
|
# @type Type: String
|
|
25307
25694
|
# @param AsrFullTextTask: 语音全文识别结果,当 Type 为
|
|
25308
25695
|
# AsrFullTextRecognition 时有效。
|
|
@@ -25313,13 +25700,17 @@ module TencentCloud
|
|
|
25313
25700
|
# TransTextRecognition 时有效。
|
|
25314
25701
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25315
25702
|
# @type TransTextTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskTransTextResult`
|
|
25703
|
+
# @param PureSubtitleTransTask: 当翻译类型为:PureSubtitleTrans 是返回纯字幕文件翻译结果。
|
|
25704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
25705
|
+
# @type PureSubtitleTransTask: :class:`Tencentcloud::Mps.v20190612.models.PureSubtitleTransResult`
|
|
25316
25706
|
|
|
25317
|
-
attr_accessor :Type, :AsrFullTextTask, :TransTextTask
|
|
25707
|
+
attr_accessor :Type, :AsrFullTextTask, :TransTextTask, :PureSubtitleTransTask
|
|
25318
25708
|
|
|
25319
|
-
def initialize(type=nil, asrfulltexttask=nil, transtexttask=nil)
|
|
25709
|
+
def initialize(type=nil, asrfulltexttask=nil, transtexttask=nil, puresubtitletranstask=nil)
|
|
25320
25710
|
@Type = type
|
|
25321
25711
|
@AsrFullTextTask = asrfulltexttask
|
|
25322
25712
|
@TransTextTask = transtexttask
|
|
25713
|
+
@PureSubtitleTransTask = puresubtitletranstask
|
|
25323
25714
|
end
|
|
25324
25715
|
|
|
25325
25716
|
def deserialize(params)
|
|
@@ -25332,6 +25723,10 @@ module TencentCloud
|
|
|
25332
25723
|
@TransTextTask = SmartSubtitleTaskTransTextResult.new
|
|
25333
25724
|
@TransTextTask.deserialize(params['TransTextTask'])
|
|
25334
25725
|
end
|
|
25726
|
+
unless params['PureSubtitleTransTask'].nil?
|
|
25727
|
+
@PureSubtitleTransTask = PureSubtitleTransResult.new
|
|
25728
|
+
@PureSubtitleTransTask.deserialize(params['PureSubtitleTransTask'])
|
|
25729
|
+
end
|
|
25335
25730
|
end
|
|
25336
25731
|
end
|
|
25337
25732
|
|
|
@@ -25529,7 +25924,9 @@ module TencentCloud
|
|
|
25529
25924
|
# FairPlay,WideVine,PlayReady 等Drm加密方式。
|
|
25530
25925
|
class SpekeDrm < TencentCloud::Common::AbstractModel
|
|
25531
25926
|
# @param ResourceId: 资源标记,该字段内容为用户自定义;
|
|
25532
|
-
# 支持1-128个字符的数字、字母、下划线(_)、中划线(-)。
|
|
25927
|
+
# 支持1-128个字符的数字、字母、下划线(`_`)、中划线(-)。
|
|
25928
|
+
# 该字段对应Speke请求中的cid字段。
|
|
25929
|
+
# 注:不同DRM厂商对该字段的限制有所区别(如:华曦达不支持该字段带`_`),具体规则请与DRM厂商进行确认。
|
|
25533
25930
|
# @type ResourceId: String
|
|
25534
25931
|
# @param KeyServerUrl: DRM厂商访问地址,该字段内容从DRM厂商获取。
|
|
25535
25932
|
|
|
@@ -25538,8 +25935,9 @@ module TencentCloud
|
|
|
25538
25935
|
# @param Vector: 加密初始化向量(十六进制32字节字符串),该字段内容为用户自定义。
|
|
25539
25936
|
# @type Vector: String
|
|
25540
25937
|
# @param EncryptionMethod: 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
|
|
25938
|
+
# 加密方式选择WideVine+FairPlay时,仅支持cbcs
|
|
25541
25939
|
|
|
25542
|
-
# cbcs:PlayReady,Widevine,FairPlay 支持;
|
|
25940
|
+
# cbcs:PlayReady,Widevine,FairPlay,WideVine+FairPlay 支持;
|
|
25543
25941
|
# cenc:PlayReady,Widevine支持;
|
|
25544
25942
|
# @type EncryptionMethod: String
|
|
25545
25943
|
# @param EncryptionPreset: 子流加密规则,默认 preset0
|
|
@@ -25892,6 +26290,36 @@ module TencentCloud
|
|
|
25892
26290
|
end
|
|
25893
26291
|
end
|
|
25894
26292
|
|
|
26293
|
+
# 字幕翻译输出结果
|
|
26294
|
+
class SubtitleTransResultItem < TencentCloud::Common::AbstractModel
|
|
26295
|
+
# @param Status: 翻译标识:
|
|
26296
|
+
# - Success
|
|
26297
|
+
# - Error
|
|
26298
|
+
# @type Status: String
|
|
26299
|
+
# @param TransSrc: 源语言(如"en")
|
|
26300
|
+
# @type TransSrc: String
|
|
26301
|
+
# @param TransDst: 目标语言(如"zh")
|
|
26302
|
+
# @type TransDst: String
|
|
26303
|
+
# @param Path: 字幕文件地址
|
|
26304
|
+
# @type Path: String
|
|
26305
|
+
|
|
26306
|
+
attr_accessor :Status, :TransSrc, :TransDst, :Path
|
|
26307
|
+
|
|
26308
|
+
def initialize(status=nil, transsrc=nil, transdst=nil, path=nil)
|
|
26309
|
+
@Status = status
|
|
26310
|
+
@TransSrc = transsrc
|
|
26311
|
+
@TransDst = transdst
|
|
26312
|
+
@Path = path
|
|
26313
|
+
end
|
|
26314
|
+
|
|
26315
|
+
def deserialize(params)
|
|
26316
|
+
@Status = params['Status']
|
|
26317
|
+
@TransSrc = params['TransSrc']
|
|
26318
|
+
@TransDst = params['TransDst']
|
|
26319
|
+
@Path = params['Path']
|
|
26320
|
+
end
|
|
26321
|
+
end
|
|
26322
|
+
|
|
25895
26323
|
# 超分配置
|
|
25896
26324
|
class SuperResolutionConfig < TencentCloud::Common::AbstractModel
|
|
25897
26325
|
# @param Switch: 能力配置开关,可选值:
|
|
@@ -27419,54 +27847,72 @@ module TencentCloud
|
|
|
27419
27847
|
|
|
27420
27848
|
# 视频增强配置
|
|
27421
27849
|
class VideoEnhanceConfig < TencentCloud::Common::AbstractModel
|
|
27422
|
-
# @param FrameRate:
|
|
27850
|
+
# @param FrameRate: 插帧帧率配置(旧)。新用户建议使用FrameRateWithDen配置插帧帧率,支持分数,且效果更好。注意,FrameRate 与FrameRateWithDen 只能二选一,同时配置可能导致任务失败。源帧率大于等于目标帧率时能力不会生效。
|
|
27851
|
+
|
|
27423
27852
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27424
27853
|
# @type FrameRate: :class:`Tencentcloud::Mps.v20190612.models.FrameRateConfig`
|
|
27425
|
-
# @param SuperResolution:
|
|
27854
|
+
# @param SuperResolution: 超分配置。源分辨率高于目标分辨率时不对视频做处理。注意与大模型增强不可同时开启。
|
|
27855
|
+
|
|
27426
27856
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27427
27857
|
# @type SuperResolution: :class:`Tencentcloud::Mps.v20190612.models.SuperResolutionConfig`
|
|
27428
27858
|
# @param Hdr: HDR配置。
|
|
27429
27859
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27430
27860
|
# @type Hdr: :class:`Tencentcloud::Mps.v20190612.models.HdrConfig`
|
|
27431
|
-
# @param Denoise:
|
|
27861
|
+
# @param Denoise: 视频降噪配置。注意与大模型增强不可同时开启。
|
|
27862
|
+
|
|
27432
27863
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27433
27864
|
# @type Denoise: :class:`Tencentcloud::Mps.v20190612.models.VideoDenoiseConfig`
|
|
27434
|
-
# @param ImageQualityEnhance:
|
|
27865
|
+
# @param ImageQualityEnhance: 综合增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项
|
|
27435
27866
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27436
27867
|
# @type ImageQualityEnhance: :class:`Tencentcloud::Mps.v20190612.models.ImageQualityEnhanceConfig`
|
|
27437
27868
|
# @param ColorEnhance: 色彩增强配置。
|
|
27438
27869
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27439
27870
|
# @type ColorEnhance: :class:`Tencentcloud::Mps.v20190612.models.ColorEnhanceConfig`
|
|
27440
|
-
# @param SharpEnhance: 细节增强配置。
|
|
27441
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27442
|
-
# @type SharpEnhance: :class:`Tencentcloud::Mps.v20190612.models.SharpEnhanceConfig`
|
|
27443
|
-
# @param FaceEnhance: 人脸增强配置。
|
|
27444
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27445
|
-
# @type FaceEnhance: :class:`Tencentcloud::Mps.v20190612.models.FaceEnhanceConfig`
|
|
27446
27871
|
# @param LowLightEnhance: 低光照增强配置。
|
|
27447
27872
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27448
27873
|
# @type LowLightEnhance: :class:`Tencentcloud::Mps.v20190612.models.LowLightEnhanceConfig`
|
|
27449
27874
|
# @param ScratchRepair: 去划痕配置。
|
|
27450
27875
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27451
27876
|
# @type ScratchRepair: :class:`Tencentcloud::Mps.v20190612.models.ScratchRepairConfig`
|
|
27452
|
-
# @param ArtifactRepair:
|
|
27877
|
+
# @param ArtifactRepair: 去伪影(毛刺)配置。注意大模型、综合增强、去毛刺三项里最多配置一项
|
|
27453
27878
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27454
27879
|
# @type ArtifactRepair: :class:`Tencentcloud::Mps.v20190612.models.ArtifactRepairConfig`
|
|
27880
|
+
# @param EnhanceSceneType: 增强场景配置,可选值:
|
|
27881
|
+
# <li>common(通用),通用增强参数,适用于各种视频类型的基础优化参数,提升整体画质。</li>
|
|
27882
|
+
# <li>AIGC,整体分辨率提升,利用AI技术提升视频整体分辨率,增强画面清晰度。</li>
|
|
27883
|
+
# <li>short_play(短剧),增强面部与字幕细节,突出人物面部表情细节和字幕清晰度,提升观剧体验。</li>
|
|
27884
|
+
# <li>short_video(短视频),优化复杂多样的画质问题,针对短视频的复杂场景,优化画质,解决多种视觉问题。</li>
|
|
27885
|
+
# <li>game(游戏视频),修复运动模糊,提升细节,重点提升游戏细节清晰度,恢复运动模糊区域,使游戏画面内容更清晰,更丰富。</li>
|
|
27886
|
+
# <li>HD_movie_series(超高清影视剧),获得超高清流畅效果,针对广电/OTT超高清视频的诉求,生成4K 60fps HDR的超高清标准视频。支持广电场景格式标准要求。</li>
|
|
27887
|
+
# <li>LQ_material(低清素材/老片修复),整体分辨率提升,针对老旧视频由于拍摄年代较久存在的分辨率不足、模糊失真、划痕损伤和色温等问题进行专门优化。</li>
|
|
27888
|
+
# <li>lecture(秀场/电商/大会/讲座),美化提升面部效果,针对秀场/电商/大会/讲座等存在人物进行讲解的场景,进行人脸区域、噪声消除、毛刺处理的专门优化。</li>
|
|
27889
|
+
# <li>填空字符串代表不使用增强场景</li>
|
|
27890
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27891
|
+
# @type EnhanceSceneType: String
|
|
27892
|
+
# @param DiffusionEnhance: 大模型增强配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。
|
|
27455
27893
|
|
|
27456
|
-
|
|
27894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27895
|
+
# @type DiffusionEnhance: :class:`Tencentcloud::Mps.v20190612.models.DiffusionEnhanceConfig`
|
|
27896
|
+
# @param FrameRateWithDen: 新插帧帧率配置,支持分数。注意与FrameRate二选一。源帧率大于等于目标帧率时能力不会生效。
|
|
27897
|
+
|
|
27898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27899
|
+
# @type FrameRateWithDen: :class:`Tencentcloud::Mps.v20190612.models.FrameRateWithDenConfig`
|
|
27457
27900
|
|
|
27458
|
-
|
|
27901
|
+
attr_accessor :FrameRate, :SuperResolution, :Hdr, :Denoise, :ImageQualityEnhance, :ColorEnhance, :LowLightEnhance, :ScratchRepair, :ArtifactRepair, :EnhanceSceneType, :DiffusionEnhance, :FrameRateWithDen
|
|
27902
|
+
|
|
27903
|
+
def initialize(framerate=nil, superresolution=nil, hdr=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, lowlightenhance=nil, scratchrepair=nil, artifactrepair=nil, enhancescenetype=nil, diffusionenhance=nil, frameratewithden=nil)
|
|
27459
27904
|
@FrameRate = framerate
|
|
27460
27905
|
@SuperResolution = superresolution
|
|
27461
27906
|
@Hdr = hdr
|
|
27462
27907
|
@Denoise = denoise
|
|
27463
27908
|
@ImageQualityEnhance = imagequalityenhance
|
|
27464
27909
|
@ColorEnhance = colorenhance
|
|
27465
|
-
@SharpEnhance = sharpenhance
|
|
27466
|
-
@FaceEnhance = faceenhance
|
|
27467
27910
|
@LowLightEnhance = lowlightenhance
|
|
27468
27911
|
@ScratchRepair = scratchrepair
|
|
27469
27912
|
@ArtifactRepair = artifactrepair
|
|
27913
|
+
@EnhanceSceneType = enhancescenetype
|
|
27914
|
+
@DiffusionEnhance = diffusionenhance
|
|
27915
|
+
@FrameRateWithDen = frameratewithden
|
|
27470
27916
|
end
|
|
27471
27917
|
|
|
27472
27918
|
def deserialize(params)
|
|
@@ -27494,14 +27940,6 @@ module TencentCloud
|
|
|
27494
27940
|
@ColorEnhance = ColorEnhanceConfig.new
|
|
27495
27941
|
@ColorEnhance.deserialize(params['ColorEnhance'])
|
|
27496
27942
|
end
|
|
27497
|
-
unless params['SharpEnhance'].nil?
|
|
27498
|
-
@SharpEnhance = SharpEnhanceConfig.new
|
|
27499
|
-
@SharpEnhance.deserialize(params['SharpEnhance'])
|
|
27500
|
-
end
|
|
27501
|
-
unless params['FaceEnhance'].nil?
|
|
27502
|
-
@FaceEnhance = FaceEnhanceConfig.new
|
|
27503
|
-
@FaceEnhance.deserialize(params['FaceEnhance'])
|
|
27504
|
-
end
|
|
27505
27943
|
unless params['LowLightEnhance'].nil?
|
|
27506
27944
|
@LowLightEnhance = LowLightEnhanceConfig.new
|
|
27507
27945
|
@LowLightEnhance.deserialize(params['LowLightEnhance'])
|
|
@@ -27514,6 +27952,15 @@ module TencentCloud
|
|
|
27514
27952
|
@ArtifactRepair = ArtifactRepairConfig.new
|
|
27515
27953
|
@ArtifactRepair.deserialize(params['ArtifactRepair'])
|
|
27516
27954
|
end
|
|
27955
|
+
@EnhanceSceneType = params['EnhanceSceneType']
|
|
27956
|
+
unless params['DiffusionEnhance'].nil?
|
|
27957
|
+
@DiffusionEnhance = DiffusionEnhanceConfig.new
|
|
27958
|
+
@DiffusionEnhance.deserialize(params['DiffusionEnhance'])
|
|
27959
|
+
end
|
|
27960
|
+
unless params['FrameRateWithDen'].nil?
|
|
27961
|
+
@FrameRateWithDen = FrameRateWithDenConfig.new
|
|
27962
|
+
@FrameRateWithDen.deserialize(params['FrameRateWithDen'])
|
|
27963
|
+
end
|
|
27517
27964
|
end
|
|
27518
27965
|
end
|
|
27519
27966
|
|
|
@@ -27591,7 +28038,6 @@ module TencentCloud
|
|
|
27591
28038
|
# @type Vcrf: Integer
|
|
27592
28039
|
# @param HlsTime: 分片平均时长,范围:(0-10],单位:秒
|
|
27593
28040
|
# 不填表示自动,将根据视频的GOP等特征自动选择合适的分片时长。
|
|
27594
|
-
# 注意:只能在封装格式hls的情况下使用
|
|
27595
28041
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27596
28042
|
# @type HlsTime: Integer
|
|
27597
28043
|
# @param SegmentType: hls 分片类型,可选值 :
|