tencentcloud-sdk-nodejs-vod 4.0.621 → 4.0.625

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.
@@ -10,12 +10,12 @@ export interface Canvas {
10
10
  */
11
11
  Color?: string;
12
12
  /**
13
- * 画布宽度,即输出视频的宽度,取值范围:0~ 4096,单位:px。
13
+ * 画布宽度,即输出视频的宽度,取值范围:0~ 3840,单位:px。
14
14
  默认值:0,表示和第一个视频轨的第一个视频片段的视频宽度一致。
15
15
  */
16
16
  Width?: number;
17
17
  /**
18
- * 画布高度,即输出视频的高度(或长边),取值范围:0~ 4096,单位:px。
18
+ * 画布高度,即输出视频的高度(或长边),取值范围:0~ 3840,单位:px。
19
19
  默认值:0,表示和第一个视频轨的第一个视频片段的视频高度一致。
20
20
  */
21
21
  Height?: number;
@@ -1581,20 +1581,21 @@ export interface DescribeLicenseUsageDataResponse {
1581
1581
  RequestId?: string;
1582
1582
  }
1583
1583
  /**
1584
- * 基于签名的 Key 防盗链信息
1584
+ * DRM 自适应码流播放信息修改对象
1585
1585
  */
1586
- export interface UrlSignatureAuthPolicy {
1586
+ export interface DrmStreamingsInfoForUpdate {
1587
1587
  /**
1588
- * [Key 防盗链](https://cloud.tencent.com/document/product/266/14047)设置状态,可选值:
1589
- <li>Enabled: 启用。</li>
1590
- <li>Disabled: 禁用。</li>
1588
+ * 保护类型为 SimpleAES 的转自适应码流模板 ID。
1591
1589
  */
1592
- Status: string;
1590
+ SimpleAesDefinition?: number;
1593
1591
  /**
1594
- * [Key 防盗链](https://cloud.tencent.com/document/product/266/14047)中用于生成签名的密钥。
1595
- EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。
1592
+ * 保护类型为 Widevine 的转自适应码流模板 ID。
1596
1593
  */
1597
- EncryptedKey?: string;
1594
+ WidevineDefinition?: number;
1595
+ /**
1596
+ * 保护类型为 FairPlay 的转自适应码流模板 ID。
1597
+ */
1598
+ FairPlayDefinition?: number;
1598
1599
  }
1599
1600
  /**
1600
1601
  * 智能分类任务控制参数
@@ -2371,39 +2372,6 @@ export interface DeleteImageProcessingTemplateRequest {
2371
2372
  */
2372
2373
  SubAppId?: number;
2373
2374
  }
2374
- /**
2375
- * ApplyUpload返回参数结构体
2376
- */
2377
- export interface ApplyUploadResponse {
2378
- /**
2379
- * 存储桶,用于上传接口 URL 的 bucket_name。
2380
- */
2381
- StorageBucket: string;
2382
- /**
2383
- * 存储园区,用于上传接口 Host 的 Region。
2384
- */
2385
- StorageRegion: string;
2386
- /**
2387
- * 点播会话,用于确认上传接口的参数 VodSessionKey。
2388
- */
2389
- VodSessionKey: string;
2390
- /**
2391
- * 媒体存储路径,用于上传接口存储媒体的对象键(Key)。
2392
- */
2393
- MediaStoragePath: string;
2394
- /**
2395
- * 封面存储路径,用于上传接口存储封面的对象键(Key)。
2396
- */
2397
- CoverStoragePath: string;
2398
- /**
2399
- * 临时凭证,用于上传接口的权限验证。
2400
- */
2401
- TempCertificate: TempCertificate;
2402
- /**
2403
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2404
- */
2405
- RequestId?: string;
2406
- }
2407
2375
  /**
2408
2376
  * DescribeDailyPlayStatFileList返回参数结构体
2409
2377
  */
@@ -8172,6 +8140,35 @@ export interface AnimatedGraphicsTemplate {
8172
8140
  */
8173
8141
  UpdateTime: string;
8174
8142
  }
8143
+ /**
8144
+ * ExtractCopyRightWatermark请求参数结构体
8145
+ */
8146
+ export interface ExtractCopyRightWatermarkRequest {
8147
+ /**
8148
+ * 需要提取水印的媒体 URL。
8149
+ */
8150
+ Url: string;
8151
+ /**
8152
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8153
+ */
8154
+ SubAppId?: number;
8155
+ /**
8156
+ * 标识来源上下文,用于透传用户请求信息,在 ExtractCopyRightWatermarkComplete 回调和任务流状态变更回调将返回该字段值,最长 1000 个字符。
8157
+ */
8158
+ SessionContext?: string;
8159
+ /**
8160
+ * 用于任务去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
8161
+ */
8162
+ SessionId?: string;
8163
+ /**
8164
+ * 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
8165
+ */
8166
+ TasksPriority?: number;
8167
+ /**
8168
+ * 保留字段,特殊用途时使用。
8169
+ */
8170
+ ExtInfo?: string;
8171
+ }
8175
8172
  /**
8176
8173
  * DescribeEnhanceMediaTemplates请求参数结构体
8177
8174
  */
@@ -8252,6 +8249,15 @@ export interface DescribeEventsStateResponse {
8252
8249
  */
8253
8250
  RequestId?: string;
8254
8251
  }
8252
+ /**
8253
+ * 版权水印参数
8254
+ */
8255
+ export interface CopyRightWatermarkInput {
8256
+ /**
8257
+ * 版权信息,最大长度为 200 个字符。
8258
+ */
8259
+ Text: string;
8260
+ }
8255
8261
  /**
8256
8262
  * 视频片头片尾识别输出。
8257
8263
  */
@@ -8806,6 +8812,22 @@ export interface AiRecognitionTaskObjectResultItem {
8806
8812
  */
8807
8813
  SegmentSet: Array<AiRecognitionTaskObjectSeqmentItem>;
8808
8814
  }
8815
+ /**
8816
+ * 基于签名的 Key 防盗链信息
8817
+ */
8818
+ export interface UrlSignatureAuthPolicy {
8819
+ /**
8820
+ * [Key 防盗链](https://cloud.tencent.com/document/product/266/14047)设置状态,可选值:
8821
+ <li>Enabled: 启用。</li>
8822
+ <li>Disabled: 禁用。</li>
8823
+ */
8824
+ Status: string;
8825
+ /**
8826
+ * [Key 防盗链](https://cloud.tencent.com/document/product/266/14047)中用于生成签名的密钥。
8827
+ EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。
8828
+ */
8829
+ EncryptedKey?: string;
8830
+ }
8809
8831
  /**
8810
8832
  * ModifyVodDomainConfig返回参数结构体
8811
8833
  */
@@ -9449,6 +9471,19 @@ export interface DescribeAIAnalysisTemplatesRequest {
9449
9471
  */
9450
9472
  Limit?: number;
9451
9473
  }
9474
+ /**
9475
+ * ExtractCopyRightWatermark返回参数结构体
9476
+ */
9477
+ export interface ExtractCopyRightWatermarkResponse {
9478
+ /**
9479
+ * 任务 ID。
9480
+ */
9481
+ TaskId?: string;
9482
+ /**
9483
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9484
+ */
9485
+ RequestId?: string;
9486
+ }
9452
9487
  /**
9453
9488
  * 点播文件转码信息
9454
9489
  */
@@ -11443,6 +11478,10 @@ export interface TranscodeTaskInput {
11443
11478
  * 溯源水印。
11444
11479
  */
11445
11480
  TraceWatermark?: TraceWatermarkInput;
11481
+ /**
11482
+ * 版权水印。
11483
+ */
11484
+ CopyRightWatermark?: CopyRightWatermarkInput;
11446
11485
  /**
11447
11486
  * 马赛克列表,最大可支持 10 张。
11448
11487
  */
@@ -11907,6 +11946,7 @@ export interface EventContent {
11907
11946
  <li>RebuildMediaComplete:音画质重生完成事件。</li>
11908
11947
  <li>ReviewAudioVideoComplete:音视频审核完成;</li>
11909
11948
  <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
11949
+ <li>ExtractCopyRightWatermarkComplete:提取版权水印完成;</li>
11910
11950
  <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
11911
11951
  <b>兼容 2017 版的事件类型:</b>
11912
11952
  <li>TranscodeComplete:视频转码完成;</li>
@@ -12006,6 +12046,11 @@ export interface EventContent {
12006
12046
  注意:此字段可能返回 null,表示取不到有效值。
12007
12047
  */
12008
12048
  ExtractTraceWatermarkCompleteEvent: ExtractTraceWatermarkTask;
12049
+ /**
12050
+ * 版权水印提取完成事件,当事件类型为 ExtractCopyRightWatermarkComplete 时有效。
12051
+ 注意:此字段可能返回 null,表示取不到有效值。
12052
+ */
12053
+ ExtractCopyRightWatermarkCompleteEvent?: ExtractCopyRightWatermarkTask;
12009
12054
  /**
12010
12055
  * 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
12011
12056
  注意:此字段可能返回 null,表示取不到有效值。
@@ -12874,6 +12919,7 @@ export interface AdaptiveDynamicStreamingInfoItem {
12874
12919
  /**
12875
12920
  * 数字水印类型。可选值:
12876
12921
  <li>Trace 表示经过溯源水印处理;</li>
12922
+ <li>CopyRight 表示经过版权水印处理;</li>
12877
12923
  <li>None 表示没有经过数字水印处理。</li>
12878
12924
  */
12879
12925
  DigitalWatermarkType?: string;
@@ -12881,6 +12927,10 @@ export interface AdaptiveDynamicStreamingInfoItem {
12881
12927
  * 子流信息列表。
12882
12928
  */
12883
12929
  SubStreamSet?: Array<MediaSubStreamInfoItem>;
12930
+ /**
12931
+ * 版权信息。
12932
+ */
12933
+ CopyRightWatermarkText?: string;
12884
12934
  }
12885
12935
  /**
12886
12936
  * 直播即时剪辑流信息
@@ -13249,6 +13299,10 @@ export interface AdaptiveDynamicStreamingTaskInput {
13249
13299
  * 溯源水印。
13250
13300
  */
13251
13301
  TraceWatermark?: TraceWatermarkInput;
13302
+ /**
13303
+ * 版权水印。
13304
+ */
13305
+ CopyRightWatermark?: CopyRightWatermarkInput;
13252
13306
  /**
13253
13307
  * 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。
13254
13308
  */
@@ -13460,7 +13514,8 @@ export interface DescribeTaskDetailResponse {
13460
13514
  <li>DescribeFileAttributesTask:获取文件属性任务;</li>
13461
13515
  <li>RebuildMedia:音画质重生任务;</li>
13462
13516
  <li>ReviewAudioVideo:音视频审核任务;</li>
13463
- <li>ExtractTraceWatermark:提取溯源水印任务。</li>
13517
+ <li>ExtractTraceWatermark:提取溯源水印任务;</li>
13518
+ <li>ExtractCopyRightWatermark:提取版权水印任务。</li>
13464
13519
  */
13465
13520
  TaskType?: string;
13466
13521
  /**
@@ -13557,6 +13612,11 @@ export interface DescribeTaskDetailResponse {
13557
13612
  注意:此字段可能返回 null,表示取不到有效值。
13558
13613
  */
13559
13614
  ExtractTraceWatermarkTask?: ExtractTraceWatermarkTask;
13615
+ /**
13616
+ * 提取版权水印任务信息,仅当 TaskType 为 ExtractCopyRightWatermark,该字段有值。
13617
+ 注意:此字段可能返回 null,表示取不到有效值。
13618
+ */
13619
+ ExtractCopyRightWatermarkTask?: ExtractCopyRightWatermarkTask;
13560
13620
  /**
13561
13621
  * 音视频审核任务信息,仅当 TaskType 为 ReviewAudioVideo,该字段有值。
13562
13622
  注意:此字段可能返回 null,表示取不到有效值。
@@ -15054,6 +15114,15 @@ export interface CommitUploadResponse {
15054
15114
  */
15055
15115
  RequestId?: string;
15056
15116
  }
15117
+ /**
15118
+ * 提取版权水印任务输入
15119
+ */
15120
+ export interface ExtractCopyRightWatermarkTaskInput {
15121
+ /**
15122
+ * 需要提取水印的媒体 URL。
15123
+ */
15124
+ Url?: string;
15125
+ }
15057
15126
  /**
15058
15127
  * DescribeSampleSnapshotTemplates返回参数结构体
15059
15128
  */
@@ -15182,21 +15251,37 @@ export interface TerrorismImgReviewTemplateInfo {
15182
15251
  ReviewConfidence?: number;
15183
15252
  }
15184
15253
  /**
15185
- * DRM 自适应码流播放信息修改对象
15254
+ * ApplyUpload返回参数结构体
15186
15255
  */
15187
- export interface DrmStreamingsInfoForUpdate {
15256
+ export interface ApplyUploadResponse {
15188
15257
  /**
15189
- * 保护类型为 SimpleAES 的转自适应码流模板 ID
15258
+ * 存储桶,用于上传接口 URL bucket_name
15190
15259
  */
15191
- SimpleAesDefinition?: number;
15260
+ StorageBucket: string;
15192
15261
  /**
15193
- * 保护类型为 Widevine 的转自适应码流模板 ID
15262
+ * 存储园区,用于上传接口 Host Region
15194
15263
  */
15195
- WidevineDefinition?: number;
15264
+ StorageRegion: string;
15196
15265
  /**
15197
- * 保护类型为 FairPlay 的转自适应码流模板 ID
15266
+ * 点播会话,用于确认上传接口的参数 VodSessionKey
15198
15267
  */
15199
- FairPlayDefinition?: number;
15268
+ VodSessionKey: string;
15269
+ /**
15270
+ * 媒体存储路径,用于上传接口存储媒体的对象键(Key)。
15271
+ */
15272
+ MediaStoragePath: string;
15273
+ /**
15274
+ * 封面存储路径,用于上传接口存储封面的对象键(Key)。
15275
+ */
15276
+ CoverStoragePath: string;
15277
+ /**
15278
+ * 临时凭证,用于上传接口的权限验证。
15279
+ */
15280
+ TempCertificate: TempCertificate;
15281
+ /**
15282
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15283
+ */
15284
+ RequestId?: string;
15200
15285
  }
15201
15286
  /**
15202
15287
  * ReviewAudioVideo返回参数结构体
@@ -15909,9 +15994,14 @@ export interface MediaTranscodeItem {
15909
15994
  /**
15910
15995
  * 数字水印类型。可选值:
15911
15996
  <li>Trace 表示经过溯源水印处理;</li>
15997
+ <li>CopyRight 表示经过版权水印处理;</li>
15912
15998
  <li>None 表示没有经过数字水印处理。</li>
15913
15999
  */
15914
16000
  DigitalWatermarkType: string;
16001
+ /**
16002
+ * 版权信息。
16003
+ */
16004
+ CopyRightWatermarkText?: string;
15915
16005
  }
15916
16006
  /**
15917
16007
  * DescribePersonSamples返回参数结构体
@@ -15930,6 +16020,15 @@ export interface DescribePersonSamplesResponse {
15930
16020
  */
15931
16021
  RequestId?: string;
15932
16022
  }
16023
+ /**
16024
+ * 提取版权水印输出信息
16025
+ */
16026
+ export interface ExtractCopyRightWatermarkTaskOutput {
16027
+ /**
16028
+ * 版权信息。
16029
+ */
16030
+ Text?: string;
16031
+ }
15933
16032
  /**
15934
16033
  * 视频拆条任务输入信息
15935
16034
  */
@@ -16998,6 +17097,54 @@ export interface DescribeAnimatedGraphicsTemplatesResponse {
16998
17097
  */
16999
17098
  RequestId?: string;
17000
17099
  }
17100
+ /**
17101
+ * 提取版权水印任务。
17102
+ */
17103
+ export interface ExtractCopyRightWatermarkTask {
17104
+ /**
17105
+ * 任务 ID。
17106
+ */
17107
+ TaskId?: string;
17108
+ /**
17109
+ * 任务状态,取值:
17110
+ <li>PROCESSING:处理中;</li>
17111
+ <li>FINISH:已完成。</li>
17112
+ */
17113
+ Status?: string;
17114
+ /**
17115
+ * 错误码,0 表示成功,其他值表示失败:
17116
+ <li>40000:输入参数不合法,请检查输入参数;</li>
17117
+ <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
17118
+ <li>70000:内部服务错误,建议重试。</li>
17119
+ */
17120
+ ErrCode?: number;
17121
+ /**
17122
+ * 错误信息。
17123
+ */
17124
+ Message?: string;
17125
+ /**
17126
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
17127
+ */
17128
+ ErrCodeExt?: string;
17129
+ /**
17130
+ * 提取版权水印任务输入信息。
17131
+ 注意:此字段可能返回 null,表示取不到有效值。
17132
+ */
17133
+ Input?: ExtractCopyRightWatermarkTaskInput;
17134
+ /**
17135
+ * 提取版权水印任务输出信息。
17136
+ 注意:此字段可能返回 null,表示取不到有效值。
17137
+ */
17138
+ Output?: ExtractCopyRightWatermarkTaskOutput;
17139
+ /**
17140
+ * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
17141
+ */
17142
+ SessionId?: string;
17143
+ /**
17144
+ * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
17145
+ */
17146
+ SessionContext?: string;
17147
+ }
17001
17148
  /**
17002
17149
  * 智能按帧标签结果信息
17003
17150
  */