tencentcloud-sdk-mps 3.0.1213 → 3.0.1214

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cca09db5103d21f5c8b50787afbb6eb5a257c05c
4
- data.tar.gz: 4ca28b6e0207485ad6a620e059e8d02eb667f44f
3
+ metadata.gz: 6fbdd6edec6a851ddb63c93d48b12adc7205671e
4
+ data.tar.gz: ce9c378543366b8b8af5b15c87cdb29600f94c4a
5
5
  SHA512:
6
- metadata.gz: b7ba1c81d7f0355dd52053634546bf21ad0b40e26bcb3b22b3960d4dabc73bfd04f1f9daf45ec5bb3b22cf9345ffd1712d30ee83a39eeba0b12a7c0ff4f58fec
7
- data.tar.gz: 4593c5daf43526b7d0fc0f4cd895da734e1f934572f6ac5afb1ef8d31287431d09718c43614c278726cdeb45ad4ad5063c5ad15e74872ac0e9c27fbd13408f3f
6
+ metadata.gz: a731c825fdaa29f08824ae1aaff1a6820a34816620770afb61d510d45d1d479a5f70044f4623145c3a3a3d8c7eb14f08bc58cfdda842ab9e8d307ceb0a8f5e6e
7
+ data.tar.gz: e14aae9e27ffc91c88a1d5bacf6b217a5c9c08b8dba7ceeed8b5e5feed9b08c2d8ebd7634ef3522e0ccac38bada64fe6c08f5069dfa6770227ac62c1d8c1a8c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1213
1
+ 3.0.1214
@@ -3520,7 +3520,7 @@ module TencentCloud
3520
3520
 
3521
3521
  # * 智能内容审核(画面鉴黄、敏感信息检测、声音鉴黄);
3522
3522
  # * 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音实时翻译、物体识别、游戏打点)。
3523
- # * 智能内容分析(新闻实时拆条)。
3523
+ # * 智能内容分析(拆条,集锦)。
3524
3524
  # * 质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)。
3525
3525
  # * 录制
3526
3526
 
@@ -1026,10 +1026,10 @@ module TencentCloud
1026
1026
  # @param VideoComprehensionTask: 视频(音频)理解任务的查询结果,当任务类型为 VideoComprehension 时有效。
1027
1027
  # 注意:此字段可能返回 null,表示取不到有效值。
1028
1028
  # @type VideoComprehensionTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoComprehensionResult`
1029
- # @param CutoutTask: 视频内容分析抠图任务的查询结果,当任务类型为Cutout时有效。
1029
+ # @param CutoutTask: 视频内容分析智能抠图任务的查询结果,当任务类型为Cutout时有效。
1030
1030
  # 注意:此字段可能返回 null,表示取不到有效值。
1031
1031
  # @type CutoutTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskCutoutResult`
1032
- # @param ReelTask: 视频内容分析成片任务的查询结果,当任务类型为Reel时有效。
1032
+ # @param ReelTask: 视频内容分析AI解说二创任务的查询结果,当任务类型为Reel时有效。
1033
1033
  # 注意:此字段可能返回 null,表示取不到有效值。
1034
1034
  # @type ReelTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskReelResult`
1035
1035
 
@@ -1329,7 +1329,7 @@ module TencentCloud
1329
1329
  end
1330
1330
  end
1331
1331
 
1332
- # 视频抠图结果数据结构
1332
+ # 视频智能抠图结果数据结构
1333
1333
  class AiAnalysisTaskCutoutResult < TencentCloud::Common::AbstractModel
1334
1334
  # @param Status: 任务状态,有 `PROCESSING`,`SUCCESS` 和 `FAIL` 三种
1335
1335
  # @type Status: String
@@ -2025,25 +2025,33 @@ module TencentCloud
2025
2025
  end
2026
2026
  end
2027
2027
 
2028
- # 智能成片结果信息
2028
+ # AI解说二创结果信息
2029
2029
  class AiAnalysisTaskReelOutput < TencentCloud::Common::AbstractModel
2030
- # @param VideoPath: 成片视频路径。
2030
+ # @param VideoPath: 解说视频路径。
2031
2031
  # @type VideoPath: String
2032
+ # @param VideoPaths: 解说视频路径列表。
2033
+
2034
+ # **注意**:
2035
+ # 1. 当返回一个文件时,`VideoPath `返回一个文件路径,`VideoPaths `也会填充同样路径的一个元素。
2036
+ # 2. 当返回多个文件时,`VideoPath `返回为空字符串,`VideoPaths `返回多文件路径列表。
2037
+ # @type VideoPaths: Array
2032
2038
  # @param ScriptPath: 脚本文件路径
2033
2039
  # @type ScriptPath: String
2034
- # @param OutputStorage: 成片视频存储位置。
2040
+ # @param OutputStorage: 解说视频存储位置。
2035
2041
  # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
2036
2042
 
2037
- attr_accessor :VideoPath, :ScriptPath, :OutputStorage
2043
+ attr_accessor :VideoPath, :VideoPaths, :ScriptPath, :OutputStorage
2038
2044
 
2039
- def initialize(videopath=nil, scriptpath=nil, outputstorage=nil)
2045
+ def initialize(videopath=nil, videopaths=nil, scriptpath=nil, outputstorage=nil)
2040
2046
  @VideoPath = videopath
2047
+ @VideoPaths = videopaths
2041
2048
  @ScriptPath = scriptpath
2042
2049
  @OutputStorage = outputstorage
2043
2050
  end
2044
2051
 
2045
2052
  def deserialize(params)
2046
2053
  @VideoPath = params['VideoPath']
2054
+ @VideoPaths = params['VideoPaths']
2047
2055
  @ScriptPath = params['ScriptPath']
2048
2056
  unless params['OutputStorage'].nil?
2049
2057
  @OutputStorage = TaskOutputStorage.new
@@ -2052,7 +2060,7 @@ module TencentCloud
2052
2060
  end
2053
2061
  end
2054
2062
 
2055
- # 智能成片结果类型
2063
+ # AI解说二创结果类型
2056
2064
  class AiAnalysisTaskReelResult < TencentCloud::Common::AbstractModel
2057
2065
  # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
2058
2066
  # @type Status: String
@@ -2060,9 +2068,9 @@ module TencentCloud
2060
2068
  # @type ErrCode: Integer
2061
2069
  # @param Message: 错误信息。
2062
2070
  # @type Message: String
2063
- # @param Input: 智能成片任务输入。
2071
+ # @param Input: AI解说二创任务输入。
2064
2072
  # @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskReelInput`
2065
- # @param Output: 智能成片任务输出。
2073
+ # @param Output: AI解说二创任务输出。
2066
2074
  # 注意:此字段可能返回 null,表示取不到有效值。
2067
2075
  # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskReelOutput`
2068
2076
  # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。
@@ -2296,15 +2304,30 @@ module TencentCloud
2296
2304
  class AiAnalysisTaskVideoComprehensionOutput < TencentCloud::Common::AbstractModel
2297
2305
  # @param VideoComprehensionAnalysisResult: 视频(音频)理解内容详情
2298
2306
  # @type VideoComprehensionAnalysisResult: String
2307
+ # @param VideoComprehensionExtInfo: 视频(音频)理解扩展信息
2308
+ # @type VideoComprehensionExtInfo: String
2309
+ # @param VideoComprehensionResultList: 视频分镜理解结果
2310
+ # @type VideoComprehensionResultList: Array
2299
2311
 
2300
- attr_accessor :VideoComprehensionAnalysisResult
2312
+ attr_accessor :VideoComprehensionAnalysisResult, :VideoComprehensionExtInfo, :VideoComprehensionResultList
2301
2313
 
2302
- def initialize(videocomprehensionanalysisresult=nil)
2314
+ def initialize(videocomprehensionanalysisresult=nil, videocomprehensionextinfo=nil, videocomprehensionresultlist=nil)
2303
2315
  @VideoComprehensionAnalysisResult = videocomprehensionanalysisresult
2316
+ @VideoComprehensionExtInfo = videocomprehensionextinfo
2317
+ @VideoComprehensionResultList = videocomprehensionresultlist
2304
2318
  end
2305
2319
 
2306
2320
  def deserialize(params)
2307
2321
  @VideoComprehensionAnalysisResult = params['VideoComprehensionAnalysisResult']
2322
+ @VideoComprehensionExtInfo = params['VideoComprehensionExtInfo']
2323
+ unless params['VideoComprehensionResultList'].nil?
2324
+ @VideoComprehensionResultList = []
2325
+ params['VideoComprehensionResultList'].each do |i|
2326
+ videocomprehensionresultitem_tmp = VideoComprehensionResultItem.new
2327
+ videocomprehensionresultitem_tmp.deserialize(i)
2328
+ @VideoComprehensionResultList << videocomprehensionresultitem_tmp
2329
+ end
2330
+ end
2308
2331
  end
2309
2332
  end
2310
2333
 
@@ -5824,7 +5847,7 @@ module TencentCloud
5824
5847
  # @param InputInfo: 媒体处理的文件输入信息。
5825
5848
  # @type InputInfo: Array
5826
5849
  # @param OutputStorage: 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
5827
- # 注意:当InputInfo.Type为URL时,该参数是必填项
5850
+ # 注意:当InputInfo.Type为URL时,该参数是必填项,目前只支持COS输出
5828
5851
  # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
5829
5852
  # @param OutputDir: 媒体处理生成的文件输出的目标目录,必选以 / 开头和结尾,如`/movie/201907/`。
5830
5853
  # 如果不填,表示与 InputInfo 中文件所在的目录一致。
@@ -5837,7 +5860,7 @@ module TencentCloud
5837
5860
  # @type TasksPriority: Integer
5838
5861
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
5839
5862
  # @type SessionContext: String
5840
- # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
5863
+ # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。
5841
5864
  # @type ResourceId: String
5842
5865
  # @param SkipMateData: 是否跳过元信息获取,可选值:
5843
5866
  # 0:表示不跳过
@@ -6261,10 +6284,12 @@ module TencentCloud
6261
6284
  # @type CreateTime: String
6262
6285
  # @param UpdateTime: 数字水印模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
6263
6286
  # @type UpdateTime: String
6287
+ # @param Strength: 数字水印强度。 default: 默认,高清画质和抗性平衡 stronger:画质清晰,抗性较强 strongest:画质一般,抗性最强
6288
+ # @type Strength: String
6264
6289
 
6265
- attr_accessor :Definition, :Type, :Name, :TextContent, :Comment, :CreateTime, :UpdateTime
6290
+ attr_accessor :Definition, :Type, :Name, :TextContent, :Comment, :CreateTime, :UpdateTime, :Strength
6266
6291
 
6267
- def initialize(definition=nil, type=nil, name=nil, textcontent=nil, comment=nil, createtime=nil, updatetime=nil)
6292
+ def initialize(definition=nil, type=nil, name=nil, textcontent=nil, comment=nil, createtime=nil, updatetime=nil, strength=nil)
6268
6293
  @Definition = definition
6269
6294
  @Type = type
6270
6295
  @Name = name
@@ -6272,6 +6297,7 @@ module TencentCloud
6272
6297
  @Comment = comment
6273
6298
  @CreateTime = createtime
6274
6299
  @UpdateTime = updatetime
6300
+ @Strength = strength
6275
6301
  end
6276
6302
 
6277
6303
  def deserialize(params)
@@ -6282,6 +6308,7 @@ module TencentCloud
6282
6308
  @Comment = params['Comment']
6283
6309
  @CreateTime = params['CreateTime']
6284
6310
  @UpdateTime = params['UpdateTime']
6311
+ @Strength = params['Strength']
6285
6312
  end
6286
6313
  end
6287
6314
 
@@ -8108,14 +8135,20 @@ module TencentCloud
8108
8135
  # @type Name: String
8109
8136
  # @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
8110
8137
  # @type Comment: String
8138
+ # @param Strength: 数字水印强度。
8139
+ # default: 默认,高清画质和抗性平衡
8140
+ # stronger:画质清晰,抗性较强
8141
+ # strongest:画质一般,抗性最强
8142
+ # @type Strength: String
8111
8143
 
8112
- attr_accessor :Type, :TextContent, :Name, :Comment
8144
+ attr_accessor :Type, :TextContent, :Name, :Comment, :Strength
8113
8145
 
8114
- def initialize(type=nil, textcontent=nil, name=nil, comment=nil)
8146
+ def initialize(type=nil, textcontent=nil, name=nil, comment=nil, strength=nil)
8115
8147
  @Type = type
8116
8148
  @TextContent = textcontent
8117
8149
  @Name = name
8118
8150
  @Comment = comment
8151
+ @Strength = strength
8119
8152
  end
8120
8153
 
8121
8154
  def deserialize(params)
@@ -8123,6 +8156,7 @@ module TencentCloud
8123
8156
  @TextContent = params['TextContent']
8124
8157
  @Name = params['Name']
8125
8158
  @Comment = params['Comment']
8159
+ @Strength = params['Strength']
8126
8160
  end
8127
8161
  end
8128
8162
 
@@ -15161,7 +15195,7 @@ module TencentCloud
15161
15195
 
15162
15196
  # DescribeUsageData请求参数结构体
15163
15197
  class DescribeUsageDataRequest < TencentCloud::Common::AbstractModel
15164
- # @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
15198
+ # @param StartTime: 起始日期。使用 ISO 日期格式。
15165
15199
  # @type StartTime: String
15166
15200
  # @param EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
15167
15201
  # @type EndTime: String
@@ -18758,6 +18792,74 @@ module TencentCloud
18758
18792
  end
18759
18793
  end
18760
18794
 
18795
+ # 直播智能字幕结果
18796
+ class LiveSmartSubtitleResult < TencentCloud::Common::AbstractModel
18797
+ # @param Text: 识别文本。
18798
+ # @type Text: String
18799
+ # @param StartPTSTime: 翻译片段起始的 PTS 时间,单位:秒。
18800
+ # @type StartPTSTime: Float
18801
+ # @param EndPTSTime: 翻译片段终止的 PTS 时间,单位:秒。
18802
+ # @type EndPTSTime: Float
18803
+ # @param Trans: 翻译文本。
18804
+ # @type Trans: String
18805
+ # @param StartTime: 翻译开始UTC时间。
18806
+ # 注意:此字段可能返回 null,表示取不到有效值。
18807
+ # @type StartTime: String
18808
+ # @param EndTime: 翻译结束UTC时间。
18809
+ # 注意:此字段可能返回 null,表示取不到有效值。
18810
+ # @type EndTime: String
18811
+ # @param SteadyState: 稳态标记。
18812
+ # 注意:此字段可能返回 null,表示取不到有效值。
18813
+ # @type SteadyState: Boolean
18814
+ # @param UserId: websocket与trtc实时翻译的UserId
18815
+ # 注意:此字段可能返回 null,表示取不到有效值。
18816
+ # @type UserId: String
18817
+
18818
+ attr_accessor :Text, :StartPTSTime, :EndPTSTime, :Trans, :StartTime, :EndTime, :SteadyState, :UserId
18819
+
18820
+ def initialize(text=nil, startptstime=nil, endptstime=nil, trans=nil, starttime=nil, endtime=nil, steadystate=nil, userid=nil)
18821
+ @Text = text
18822
+ @StartPTSTime = startptstime
18823
+ @EndPTSTime = endptstime
18824
+ @Trans = trans
18825
+ @StartTime = starttime
18826
+ @EndTime = endtime
18827
+ @SteadyState = steadystate
18828
+ @UserId = userid
18829
+ end
18830
+
18831
+ def deserialize(params)
18832
+ @Text = params['Text']
18833
+ @StartPTSTime = params['StartPTSTime']
18834
+ @EndPTSTime = params['EndPTSTime']
18835
+ @Trans = params['Trans']
18836
+ @StartTime = params['StartTime']
18837
+ @EndTime = params['EndTime']
18838
+ @SteadyState = params['SteadyState']
18839
+ @UserId = params['UserId']
18840
+ end
18841
+ end
18842
+
18843
+ # 直播智能字幕输入结构体
18844
+ class LiveSmartSubtitlesTaskInput < TencentCloud::Common::AbstractModel
18845
+ # @param Definition: 智能字幕模板 ID 。
18846
+ # @type Definition: Integer
18847
+ # @param UserExtPara: 用户扩展字段,一般场景不用填。
18848
+ # @type UserExtPara: String
18849
+
18850
+ attr_accessor :Definition, :UserExtPara
18851
+
18852
+ def initialize(definition=nil, userextpara=nil)
18853
+ @Definition = definition
18854
+ @UserExtPara = userextpara
18855
+ end
18856
+
18857
+ def deserialize(params)
18858
+ @Definition = params['Definition']
18859
+ @UserExtPara = params['UserExtPara']
18860
+ end
18861
+ end
18862
+
18761
18863
  # 直播流分析结果
18762
18864
  class LiveStreamAiAnalysisResultInfo < TencentCloud::Common::AbstractModel
18763
18865
  # @param ResultSet: 直播分析子任务结果,支持:
@@ -19319,6 +19421,29 @@ module TencentCloud
19319
19421
  end
19320
19422
  end
19321
19423
 
19424
+ # 直播智能字幕结果
19425
+ class LiveStreamAiSmartSubtitleResultInfo < TencentCloud::Common::AbstractModel
19426
+ # @param SmartSubtitleResult: 直播智能字幕任务结果列表。
19427
+ # @type SmartSubtitleResult: Array
19428
+
19429
+ attr_accessor :SmartSubtitleResult
19430
+
19431
+ def initialize(smartsubtitleresult=nil)
19432
+ @SmartSubtitleResult = smartsubtitleresult
19433
+ end
19434
+
19435
+ def deserialize(params)
19436
+ unless params['SmartSubtitleResult'].nil?
19437
+ @SmartSubtitleResult = []
19438
+ params['SmartSubtitleResult'].each do |i|
19439
+ livesmartsubtitleresult_tmp = LiveSmartSubtitleResult.new
19440
+ livesmartsubtitleresult_tmp.deserialize(i)
19441
+ @SmartSubtitleResult << livesmartsubtitleresult_tmp
19442
+ end
19443
+ end
19444
+ end
19445
+ end
19446
+
19322
19447
  # 直播识别 Asr 全文识别
19323
19448
  class LiveStreamAsrFullTextRecognitionResult < TencentCloud::Common::AbstractModel
19324
19449
  # @param Text: 识别文本。
@@ -21619,14 +21744,17 @@ module TencentCloud
21619
21744
  # @type Comment: String
21620
21745
  # @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板不支持修改文字内容。
21621
21746
  # @type TextContent: String
21747
+ # @param Strength: 数字水印强度。 default: 默认,高清画质和抗性平衡 stronger:画质清晰,抗性较强 strongest:画质一般,抗性最强
21748
+ # @type Strength: String
21622
21749
 
21623
- attr_accessor :Definition, :Name, :Comment, :TextContent
21750
+ attr_accessor :Definition, :Name, :Comment, :TextContent, :Strength
21624
21751
 
21625
- def initialize(definition=nil, name=nil, comment=nil, textcontent=nil)
21752
+ def initialize(definition=nil, name=nil, comment=nil, textcontent=nil, strength=nil)
21626
21753
  @Definition = definition
21627
21754
  @Name = name
21628
21755
  @Comment = comment
21629
21756
  @TextContent = textcontent
21757
+ @Strength = strength
21630
21758
  end
21631
21759
 
21632
21760
  def deserialize(params)
@@ -21634,6 +21762,7 @@ module TencentCloud
21634
21762
  @Name = params['Name']
21635
21763
  @Comment = params['Comment']
21636
21764
  @TextContent = params['TextContent']
21765
+ @Strength = params['Strength']
21637
21766
  end
21638
21767
  end
21639
21768
 
@@ -23866,6 +23995,7 @@ module TencentCloud
23866
23995
  # <li>LiveRecordResult:直播录制结果;</li>
23867
23996
  # <li>AiQualityControlResult:媒体质检结果;</li>
23868
23997
  # <li>AiAnalysisResult:内容分析结果;</li>
23998
+ # <li>AiSmartSubtitleResult:智能字幕结果;</li>
23869
23999
  # <li>ProcessEof:直播流处理结束。</li>
23870
24000
  # @type NotificationType: String
23871
24001
  # @param TaskId: 视频处理任务 ID。
@@ -23888,6 +24018,8 @@ module TencentCloud
23888
24018
  # @param LiveRecordResultInfo: 直播录制结果,当 NotificationType 为 LiveRecordResult 时有效。
23889
24019
  # 注意:此字段可能返回 null,表示取不到有效值。
23890
24020
  # @type LiveRecordResultInfo: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamRecordResultInfo`
24021
+ # @param AiSmartSubtitleResultInfo: 智能字幕结果,当 NotificationType 为 AiSmartSubtitleResult 时有效。
24022
+ # @type AiSmartSubtitleResultInfo: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamAiSmartSubtitleResultInfo`
23891
24023
  # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。
23892
24024
  # @type SessionId: String
23893
24025
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。
@@ -23899,9 +24031,9 @@ module TencentCloud
23899
24031
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23900
24032
  # @type RequestId: String
23901
24033
 
23902
- attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :AiAnalysisResultInfo, :AiQualityControlResultInfo, :LiveRecordResultInfo, :SessionId, :SessionContext, :Timestamp, :Sign, :RequestId
24034
+ attr_accessor :NotificationType, :TaskId, :ProcessEofInfo, :AiReviewResultInfo, :AiRecognitionResultInfo, :AiAnalysisResultInfo, :AiQualityControlResultInfo, :LiveRecordResultInfo, :AiSmartSubtitleResultInfo, :SessionId, :SessionContext, :Timestamp, :Sign, :RequestId
23903
24035
 
23904
- def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, aianalysisresultinfo=nil, aiqualitycontrolresultinfo=nil, liverecordresultinfo=nil, sessionid=nil, sessioncontext=nil, timestamp=nil, sign=nil, requestid=nil)
24036
+ def initialize(notificationtype=nil, taskid=nil, processeofinfo=nil, aireviewresultinfo=nil, airecognitionresultinfo=nil, aianalysisresultinfo=nil, aiqualitycontrolresultinfo=nil, liverecordresultinfo=nil, aismartsubtitleresultinfo=nil, sessionid=nil, sessioncontext=nil, timestamp=nil, sign=nil, requestid=nil)
23905
24037
  @NotificationType = notificationtype
23906
24038
  @TaskId = taskid
23907
24039
  @ProcessEofInfo = processeofinfo
@@ -23910,6 +24042,7 @@ module TencentCloud
23910
24042
  @AiAnalysisResultInfo = aianalysisresultinfo
23911
24043
  @AiQualityControlResultInfo = aiqualitycontrolresultinfo
23912
24044
  @LiveRecordResultInfo = liverecordresultinfo
24045
+ @AiSmartSubtitleResultInfo = aismartsubtitleresultinfo
23913
24046
  @SessionId = sessionid
23914
24047
  @SessionContext = sessioncontext
23915
24048
  @Timestamp = timestamp
@@ -23944,6 +24077,10 @@ module TencentCloud
23944
24077
  @LiveRecordResultInfo = LiveStreamRecordResultInfo.new
23945
24078
  @LiveRecordResultInfo.deserialize(params['LiveRecordResultInfo'])
23946
24079
  end
24080
+ unless params['AiSmartSubtitleResultInfo'].nil?
24081
+ @AiSmartSubtitleResultInfo = LiveStreamAiSmartSubtitleResultInfo.new
24082
+ @AiSmartSubtitleResultInfo.deserialize(params['AiSmartSubtitleResultInfo'])
24083
+ end
23947
24084
  @SessionId = params['SessionId']
23948
24085
  @SessionContext = params['SessionContext']
23949
24086
  @Timestamp = params['Timestamp']
@@ -24696,13 +24833,18 @@ module TencentCloud
24696
24833
 
24697
24834
  # ProcessLiveStream请求参数结构体
24698
24835
  class ProcessLiveStreamRequest < TencentCloud::Common::AbstractModel
24699
- # @param Url: 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv, trtc 等)。
24836
+ # @param Url: 直播流 URL(必须是直播流地址,支持 rtmp,hls 和 flv, trtc,webrtc,srt等)。
24700
24837
  # trtc地址如下:
24701
24838
  # trtc: //trtc.rtc.qq.com/mps/`<roomid>`?sdkappid=`<sdkappid>`&userid=`<userid>`&usersig=<`usersig>`
24702
24839
  # `<roomid>` 为trtc的房间号id, 为数字
24703
24840
  # `<sdkappid>` 为trtc的sdk app id
24704
24841
  # `<userid>` 为服务进入房间的用户id,可以区分谁是机器人
24705
24842
  # <`usersig>` 为trtc 用户的签名
24843
+
24844
+ # webrtc 支持[LEB](https://cloud.tencent.com/product/leb)的直播流,地址获取请[参考](https://cloud.tencent.com/document/product/267/32720)
24845
+
24846
+ # srt支持地址请[参考](https://ffmpeg.org/ffmpeg-protocols.html#srt)
24847
+
24706
24848
  # @type Url: String
24707
24849
  # @param TaskNotifyConfig: 任务的事件通知信息,用于指定直播流处理的结果。
24708
24850
  # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamTaskNotifyConfig`
@@ -24718,6 +24860,8 @@ module TencentCloud
24718
24860
  # @type AiAnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
24719
24861
  # @param AiQualityControlTask: 媒体质检类型任务参数。
24720
24862
  # @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
24863
+ # @param SmartSubtitlesTask: 智能字幕任务参数。
24864
+ # @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.LiveSmartSubtitlesTaskInput`
24721
24865
  # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
24722
24866
  # @type SessionId: String
24723
24867
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
@@ -24729,9 +24873,9 @@ module TencentCloud
24729
24873
  # 注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessLiveStream)有设置,将覆盖原有编排的默认回调。
24730
24874
  # @type ScheduleId: Integer
24731
24875
 
24732
- attr_accessor :Url, :TaskNotifyConfig, :OutputStorage, :OutputDir, :AiContentReviewTask, :AiRecognitionTask, :AiAnalysisTask, :AiQualityControlTask, :SessionId, :SessionContext, :ScheduleId
24876
+ attr_accessor :Url, :TaskNotifyConfig, :OutputStorage, :OutputDir, :AiContentReviewTask, :AiRecognitionTask, :AiAnalysisTask, :AiQualityControlTask, :SmartSubtitlesTask, :SessionId, :SessionContext, :ScheduleId
24733
24877
 
24734
- def initialize(url=nil, tasknotifyconfig=nil, outputstorage=nil, outputdir=nil, aicontentreviewtask=nil, airecognitiontask=nil, aianalysistask=nil, aiqualitycontroltask=nil, sessionid=nil, sessioncontext=nil, scheduleid=nil)
24878
+ def initialize(url=nil, tasknotifyconfig=nil, outputstorage=nil, outputdir=nil, aicontentreviewtask=nil, airecognitiontask=nil, aianalysistask=nil, aiqualitycontroltask=nil, smartsubtitlestask=nil, sessionid=nil, sessioncontext=nil, scheduleid=nil)
24735
24879
  @Url = url
24736
24880
  @TaskNotifyConfig = tasknotifyconfig
24737
24881
  @OutputStorage = outputstorage
@@ -24740,6 +24884,7 @@ module TencentCloud
24740
24884
  @AiRecognitionTask = airecognitiontask
24741
24885
  @AiAnalysisTask = aianalysistask
24742
24886
  @AiQualityControlTask = aiqualitycontroltask
24887
+ @SmartSubtitlesTask = smartsubtitlestask
24743
24888
  @SessionId = sessionid
24744
24889
  @SessionContext = sessioncontext
24745
24890
  @ScheduleId = scheduleid
@@ -24772,6 +24917,10 @@ module TencentCloud
24772
24917
  @AiQualityControlTask = AiQualityControlTaskInput.new
24773
24918
  @AiQualityControlTask.deserialize(params['AiQualityControlTask'])
24774
24919
  end
24920
+ unless params['SmartSubtitlesTask'].nil?
24921
+ @SmartSubtitlesTask = LiveSmartSubtitlesTaskInput.new
24922
+ @SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
24923
+ end
24775
24924
  @SessionId = params['SessionId']
24776
24925
  @SessionContext = params['SessionContext']
24777
24926
  @ScheduleId = params['ScheduleId']
@@ -30029,7 +30178,7 @@ module TencentCloud
30029
30178
 
30030
30179
  # 任务统计数据,包括任务数和用量。
30031
30180
  class TaskStatDataItem < TencentCloud::Common::AbstractModel
30032
- # @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
30181
+ # @param Time: 数据所在时间区间的开始时间,使用 ISO 日期格式。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
30033
30182
  # @type Time: String
30034
30183
  # @param Count: 任务数。
30035
30184
  # @type Count: Integer
@@ -31649,6 +31798,38 @@ module TencentCloud
31649
31798
  end
31650
31799
  end
31651
31800
 
31801
+ # 视频分镜理解结果
31802
+ class VideoComprehensionResultItem < TencentCloud::Common::AbstractModel
31803
+ # @param StartTime: 分镜片段起始时间(单位:秒)
31804
+ # @type StartTime: Float
31805
+ # @param EndTime: 分镜片段结束时间(单位:秒)
31806
+ # @type EndTime: Float
31807
+ # @param Title: 分镜片段标题
31808
+ # @type Title: String
31809
+ # @param Description: 分镜片段信息描述
31810
+ # @type Description: String
31811
+ # @param Keywords: 分镜片段关键词
31812
+ # @type Keywords: Array
31813
+
31814
+ attr_accessor :StartTime, :EndTime, :Title, :Description, :Keywords
31815
+
31816
+ def initialize(starttime=nil, endtime=nil, title=nil, description=nil, keywords=nil)
31817
+ @StartTime = starttime
31818
+ @EndTime = endtime
31819
+ @Title = title
31820
+ @Description = description
31821
+ @Keywords = keywords
31822
+ end
31823
+
31824
+ def deserialize(params)
31825
+ @StartTime = params['StartTime']
31826
+ @EndTime = params['EndTime']
31827
+ @Title = params['Title']
31828
+ @Description = params['Description']
31829
+ @Keywords = params['Keywords']
31830
+ end
31831
+ end
31832
+
31652
31833
  # 视频检索入库任务的结果
31653
31834
  class VideoDBEntryTaskResult < TencentCloud::Common::AbstractModel
31654
31835
  # @param VideoId: 入库的视频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.1213
4
+ version: 3.0.1214
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-03 00:00:00.000000000 Z
11
+ date: 2026-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common