tencentcloud-sdk-nodejs-vod 4.0.734 → 4.0.735

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.
@@ -610,6 +610,19 @@ export interface AdaptiveDynamicStreamingTemplate {
610
610
  */
611
611
  SegmentType?: string;
612
612
  }
613
+ /**
614
+ * DeleteJustInTimeTranscodeTemplate请求参数结构体
615
+ */
616
+ export interface DeleteJustInTimeTranscodeTemplateRequest {
617
+ /**
618
+ * 模板名字。
619
+ */
620
+ Name: string;
621
+ /**
622
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
623
+ */
624
+ SubAppId?: number;
625
+ }
613
626
  /**
614
627
  * DeleteAnimatedGraphicsTemplate返回参数结构体
615
628
  */
@@ -1007,6 +1020,31 @@ export interface AiReviewPoliticalOcrTaskInput {
1007
1020
  */
1008
1021
  Definition?: number;
1009
1022
  }
1023
+ /**
1024
+ * ModifyJustInTimeTranscodeTemplate请求参数结构体
1025
+ */
1026
+ export interface ModifyJustInTimeTranscodeTemplateRequest {
1027
+ /**
1028
+ * 模板名字。
1029
+ */
1030
+ Name: string;
1031
+ /**
1032
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
1033
+ */
1034
+ SubAppId?: number;
1035
+ /**
1036
+ * 视频参数配置。
1037
+ */
1038
+ VideoConfigure?: VideoConfigureInfoForUpdate;
1039
+ /**
1040
+ * 水印参数配置。
1041
+ */
1042
+ WatermarkConfigure?: WatermarkConfigureInfoForUpdate;
1043
+ /**
1044
+ * 模板描述,长度限制256个字符。
1045
+ */
1046
+ Comment?: string;
1047
+ }
1010
1048
  /**
1011
1049
  * DescribePrepaidProducts请求参数结构体
1012
1050
  */
@@ -1333,6 +1371,27 @@ export interface RefreshUrlCacheRequest {
1333
1371
  */
1334
1372
  SubAppId?: number;
1335
1373
  }
1374
+ /**
1375
+ * DescribeAIAnalysisTemplates请求参数结构体
1376
+ */
1377
+ export interface DescribeAIAnalysisTemplatesRequest {
1378
+ /**
1379
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
1380
+ */
1381
+ SubAppId?: number;
1382
+ /**
1383
+ * 音视频内容分析模板唯一标识过滤条件,数组长度最大值:100。
1384
+ */
1385
+ Definitions?: Array<number | bigint>;
1386
+ /**
1387
+ * 分页偏移量,默认值:0。
1388
+ */
1389
+ Offset?: number;
1390
+ /**
1391
+ * 返回记录条数,默认值:10,最大值:100。
1392
+ */
1393
+ Limit?: number;
1394
+ }
1336
1395
  /**
1337
1396
  * 音视频审核模板详情
1338
1397
  */
@@ -2661,6 +2720,48 @@ export interface CreateProcedureTemplateRequest {
2661
2720
  */
2662
2721
  ReviewAudioVideoTask?: ProcedureReviewAudioVideoTaskInput;
2663
2722
  }
2723
+ /**
2724
+ * 转动图任务结果类型
2725
+ */
2726
+ export interface MediaProcessTaskAnimatedGraphicResult {
2727
+ /**
2728
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
2729
+ */
2730
+ Status?: string;
2731
+ /**
2732
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
2733
+ */
2734
+ ErrCodeExt?: string;
2735
+ /**
2736
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
2737
+ */
2738
+ ErrCode?: number;
2739
+ /**
2740
+ * 错误信息。
2741
+ */
2742
+ Message?: string;
2743
+ /**
2744
+ * 转动图任务的输入。
2745
+ */
2746
+ Input?: AnimatedGraphicTaskInput;
2747
+ /**
2748
+ * 转动图任务的输出。
2749
+ 注意:此字段可能返回 null,表示取不到有效值。
2750
+ */
2751
+ Output?: MediaAnimatedGraphicsItem;
2752
+ /**
2753
+ * 转动图任务进度,取值范围 [0-100] 。
2754
+ */
2755
+ Progress?: number;
2756
+ /**
2757
+ * 转动图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
2758
+ */
2759
+ BeginProcessTime?: string;
2760
+ /**
2761
+ * 转动图任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
2762
+ */
2763
+ FinishTime?: string;
2764
+ }
2664
2765
  /**
2665
2766
  * DescribeMediaProcessUsageData请求参数结构体
2666
2767
  */
@@ -3596,6 +3697,44 @@ export interface ModifyQualityInspectTemplateResponse {
3596
3697
  */
3597
3698
  RequestId?: string;
3598
3699
  }
3700
+ /**
3701
+ * 即时转码视频模板更新配置。
3702
+ */
3703
+ export interface VideoConfigureInfoForUpdate {
3704
+ /**
3705
+ * 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。
3706
+ <li>当 Width、Height 均为 0,则分辨率同源;</li>
3707
+ <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
3708
+ <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
3709
+ <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
3710
+
3711
+ 默认值:0。
3712
+ */
3713
+ Width?: number;
3714
+ /**
3715
+ * 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1920],单位:px。
3716
+ <li>当 Width、Height 均为 0,则分辨率同源;</li>
3717
+ <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
3718
+ <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
3719
+ <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
3720
+
3721
+ 默认值:0。
3722
+ */
3723
+ Height?: number;
3724
+ /**
3725
+ * 分辨率自适应,可选值:
3726
+ <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
3727
+ <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
3728
+
3729
+ 默认值:open。
3730
+ */
3731
+ ResolutionAdaptive?: string;
3732
+ /**
3733
+ * 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
3734
+ 当取值为 0,表示视频码率和原始视频保持一致。
3735
+ */
3736
+ Bitrate?: number;
3737
+ }
3599
3738
  /**
3600
3739
  * ModifyAdaptiveDynamicStreamingTemplate请求参数结构体
3601
3740
  */
@@ -4460,46 +4599,25 @@ export interface ProductInstanceRecource {
4460
4599
  Left?: number;
4461
4600
  }
4462
4601
  /**
4463
- * 转动图任务结果类型
4602
+ * 人脸识别结果片段
4464
4603
  */
4465
- export interface MediaProcessTaskAnimatedGraphicResult {
4466
- /**
4467
- * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4468
- */
4469
- Status?: string;
4470
- /**
4471
- * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
4472
- */
4473
- ErrCodeExt?: string;
4474
- /**
4475
- * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4476
- */
4477
- ErrCode?: number;
4478
- /**
4479
- * 错误信息。
4480
- */
4481
- Message?: string;
4482
- /**
4483
- * 转动图任务的输入。
4484
- */
4485
- Input?: AnimatedGraphicTaskInput;
4604
+ export interface AiRecognitionTaskFaceSegmentItem {
4486
4605
  /**
4487
- * 转动图任务的输出。
4488
- 注意:此字段可能返回 null,表示取不到有效值。
4606
+ * 识别片段起始的偏移时间,单位:秒。
4489
4607
  */
4490
- Output?: MediaAnimatedGraphicsItem;
4608
+ StartTimeOffset: number;
4491
4609
  /**
4492
- * 转动图任务进度,取值范围 [0-100] 。
4610
+ * 识别片段终止的偏移时间,单位:秒。
4493
4611
  */
4494
- Progress?: number;
4612
+ EndTimeOffset: number;
4495
4613
  /**
4496
- * 转动图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)
4614
+ * 识别片段置信度。取值:0~100
4497
4615
  */
4498
- BeginProcessTime?: string;
4616
+ Confidence: number;
4499
4617
  /**
4500
- * 转动图任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4618
+ * 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
4501
4619
  */
4502
- FinishTime?: string;
4620
+ AreaCoordSet: Array<number | bigint>;
4503
4621
  }
4504
4622
  /**
4505
4623
  * ProcessMedia返回参数结构体
@@ -4699,6 +4817,39 @@ export interface AiReviewTaskTerrorismOcrResult {
4699
4817
  */
4700
4818
  Progress?: number;
4701
4819
  }
4820
+ /**
4821
+ * 即时转码水印模板更新配置。
4822
+ */
4823
+ export interface WatermarkConfigureInfoForUpdate {
4824
+ /**
4825
+ * 是否启用水印。可取值:
4826
+ <li>ON:表示启用水印;</li>
4827
+ <li>OFF:表示关闭水印。</li>
4828
+ */
4829
+ Switch?: string;
4830
+ /**
4831
+ * 水印图片 Base64 编码后的字符串。支持 jpeg、png 图片格式。
4832
+ */
4833
+ ImageContent?: string;
4834
+ /**
4835
+ * 水印的宽度。
4836
+ <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
4837
+ */
4838
+ Width?: string;
4839
+ /**
4840
+ * 水印的高度。
4841
+ <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
4842
+ */
4843
+ Height?: string;
4844
+ /**
4845
+ * 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
4846
+ */
4847
+ XPos?: string;
4848
+ /**
4849
+ * 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
4850
+ */
4851
+ YPos?: string;
4852
+ }
4702
4853
  /**
4703
4854
  * 文本关键识别结果。
4704
4855
  */
@@ -5392,58 +5543,21 @@ export interface MediaProcessTaskImageSpriteResult {
5392
5543
  FinishTime?: string;
5393
5544
  }
5394
5545
  /**
5395
- * 降码率任务信息
5546
+ * DescribeJustInTimeTranscodeTemplates返回参数结构体
5396
5547
  */
5397
- export interface ReduceMediaBitrateTask {
5398
- /**
5399
- * 视频处理任务 ID。
5400
- */
5401
- TaskId?: string;
5402
- /**
5403
- * 任务流状态,取值:
5404
- <li>PROCESSING:处理中;</li>
5405
- <li>FINISH:已完成。</li>
5406
- */
5407
- Status?: string;
5408
- /**
5409
- * 媒体文件 ID。
5410
- */
5411
- FileId?: string;
5412
- /**
5413
- * 媒体文件名称。
5414
- */
5415
- FileName?: string;
5416
- /**
5417
- * 媒体文件地址。
5418
- */
5419
- FileUrl?: string;
5548
+ export interface DescribeJustInTimeTranscodeTemplatesResponse {
5420
5549
  /**
5421
- * 原始视频的元信息。
5422
- 注意:此字段可能返回 null,表示取不到有效值。
5423
- */
5424
- MetaData?: MediaMetaData;
5425
- /**
5426
- * 降码率任务执行状态与结果。
5427
- */
5428
- MediaProcessResultSet?: Array<ReduceMediaBitrateMediaProcessTaskResult>;
5429
- /**
5430
- * 任务流的优先级,取值范围为 [-10, 10]。
5431
- */
5432
- TasksPriority?: number;
5433
- /**
5434
- * 任务流状态变更通知模式。
5435
- <li>Finish:只有当任务流全部执行完毕时,才发起一次事件通知;</li>
5436
- <li>None:不接受该任务流回调。</li>
5550
+ * 符合过滤条件的记录总数。
5437
5551
  */
5438
- TasksNotifyMode?: string;
5552
+ TotalCount?: number;
5439
5553
  /**
5440
- * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
5554
+ * 模板详情列表。
5441
5555
  */
5442
- SessionContext?: string;
5556
+ JustInTimeTranscodeTemplateSet?: Array<JustInTimeTranscodeTemplate>;
5443
5557
  /**
5444
- * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
5558
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5445
5559
  */
5446
- SessionId?: string;
5560
+ RequestId?: string;
5447
5561
  }
5448
5562
  /**
5449
5563
  * 视频画面花屏检测的控制参数。
@@ -5926,17 +6040,23 @@ export interface ModifyAnimatedGraphicsTemplateRequest {
5926
6040
  Comment?: string;
5927
6041
  }
5928
6042
  /**
5929
- * DescribeAIAnalysisTemplates请求参数结构体
6043
+ * DescribeProcedureTemplates请求参数结构体
5930
6044
  */
5931
- export interface DescribeAIAnalysisTemplatesRequest {
6045
+ export interface DescribeProcedureTemplatesRequest {
5932
6046
  /**
5933
6047
  * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5934
6048
  */
5935
6049
  SubAppId?: number;
5936
6050
  /**
5937
- * 音视频内容分析模板唯一标识过滤条件,数组长度最大值:100。
6051
+ * 任务流模板名字过滤条件,数组长度限制:100。
5938
6052
  */
5939
- Definitions?: Array<number | bigint>;
6053
+ Names?: Array<string>;
6054
+ /**
6055
+ * 任务流模板类型过滤条件,可选值:
6056
+ <li>Preset:系统预置任务流模板;</li>
6057
+ <li>Custom:用户自定义任务流模板。</li>
6058
+ */
6059
+ Type?: string;
5940
6060
  /**
5941
6061
  * 分页偏移量,默认值:0。
5942
6062
  */
@@ -6882,25 +7002,46 @@ export interface EditMediaTask {
6882
7002
  SessionContext?: string;
6883
7003
  }
6884
7004
  /**
6885
- * 人脸识别结果片段
7005
+ * CreateJustInTimeTranscodeTemplate返回参数结构体
6886
7006
  */
6887
- export interface AiRecognitionTaskFaceSegmentItem {
7007
+ export interface CreateJustInTimeTranscodeTemplateResponse {
6888
7008
  /**
6889
- * 识别片段起始的偏移时间,单位:秒。
7009
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6890
7010
  */
6891
- StartTimeOffset: number;
7011
+ RequestId?: string;
7012
+ }
7013
+ /**
7014
+ * 即时转码水印模板配置。
7015
+ */
7016
+ export interface WatermarkConfigureData {
6892
7017
  /**
6893
- * 识别片段终止的偏移时间,单位:秒。
7018
+ * 是否启用水印。可取值:
7019
+ <li>ON:表示启用水印;</li>
7020
+ <li>OFF:表示关闭水印。</li>
6894
7021
  */
6895
- EndTimeOffset: number;
7022
+ Switch?: string;
6896
7023
  /**
6897
- * 识别片段置信度。取值:0~100
7024
+ * 水印 Url
6898
7025
  */
6899
- Confidence: number;
7026
+ Url?: string;
6900
7027
  /**
6901
- * 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
7028
+ * 水印的宽度。
7029
+ <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
6902
7030
  */
6903
- AreaCoordSet: Array<number | bigint>;
7031
+ Width?: string;
7032
+ /**
7033
+ * 水印的高度。
7034
+ <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
7035
+ */
7036
+ Height?: string;
7037
+ /**
7038
+ * 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
7039
+ */
7040
+ XPos?: string;
7041
+ /**
7042
+ * 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
7043
+ */
7044
+ YPos?: string;
6904
7045
  }
6905
7046
  /**
6906
7047
  * DeleteMedia返回参数结构体
@@ -7566,6 +7707,31 @@ export interface EnhanceMediaByTemplateResponse {
7566
7707
  */
7567
7708
  RequestId?: string;
7568
7709
  }
7710
+ /**
7711
+ * CreateJustInTimeTranscodeTemplate请求参数结构体
7712
+ */
7713
+ export interface CreateJustInTimeTranscodeTemplateRequest {
7714
+ /**
7715
+ * 模板名字,长度限制64个字符。
7716
+ */
7717
+ Name: string;
7718
+ /**
7719
+ * 视频参数配置。
7720
+ */
7721
+ VideoConfigure: VideoConfigureInfo;
7722
+ /**
7723
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
7724
+ */
7725
+ SubAppId?: number;
7726
+ /**
7727
+ * 水印参数配置。
7728
+ */
7729
+ WatermarkConfigure?: WatermarkConfigureInfo;
7730
+ /**
7731
+ * 模板描述,长度限制256个字符。
7732
+ */
7733
+ Comment?: string;
7734
+ }
7569
7735
  /**
7570
7736
  * ManageTask请求参数结构体
7571
7737
  */
@@ -8050,17 +8216,21 @@ export interface DeleteRebuildMediaTemplateResponse {
8050
8216
  RequestId?: string;
8051
8217
  }
8052
8218
  /**
8053
- * DeleteRebuildMediaTemplate请求参数结构体
8219
+ * DescribeSubAppIds返回参数结构体
8054
8220
  */
8055
- export interface DeleteRebuildMediaTemplateRequest {
8221
+ export interface DescribeSubAppIdsResponse {
8056
8222
  /**
8057
- * 视频重生模板号。
8223
+ * 子应用信息集合。
8058
8224
  */
8059
- Definition: number;
8225
+ SubAppIdInfoSet?: Array<SubAppIdInfo>;
8060
8226
  /**
8061
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8227
+ * 子应用总数量。
8062
8228
  */
8063
- SubAppId?: number;
8229
+ TotalCount?: number;
8230
+ /**
8231
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8232
+ */
8233
+ RequestId?: string;
8064
8234
  }
8065
8235
  /**
8066
8236
  * SimpleHlsClip请求参数结构体
@@ -8882,6 +9052,15 @@ export interface ImageScale {
8882
9052
  */
8883
9053
  ShortEdge?: number;
8884
9054
  }
9055
+ /**
9056
+ * ModifyJustInTimeTranscodeTemplate返回参数结构体
9057
+ */
9058
+ export interface ModifyJustInTimeTranscodeTemplateResponse {
9059
+ /**
9060
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9061
+ */
9062
+ RequestId?: string;
9063
+ }
8885
9064
  /**
8886
9065
  * 图片智能内容识别任务输入
8887
9066
  */
@@ -9220,6 +9399,44 @@ export interface MediaSnapshotByTimeOffsetInfo {
9220
9399
  */
9221
9400
  SnapshotByTimeOffsetSet: Array<MediaSnapshotByTimeOffsetItem>;
9222
9401
  }
9402
+ /**
9403
+ * 即时转码视频模板配置。
9404
+ */
9405
+ export interface VideoConfigureInfo {
9406
+ /**
9407
+ * 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。
9408
+ <li>当 Width、Height 均为 0,则分辨率同源;</li>
9409
+ <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
9410
+ <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
9411
+ <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
9412
+
9413
+ 默认值:0。
9414
+ */
9415
+ Width?: number;
9416
+ /**
9417
+ * 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1920],单位:px。
9418
+ <li>当 Width、Height 均为 0,则分辨率同源;</li>
9419
+ <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
9420
+ <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
9421
+ <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
9422
+
9423
+ 默认值:0。
9424
+ */
9425
+ Height?: number;
9426
+ /**
9427
+ * 分辨率自适应,可选值:
9428
+ <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
9429
+ <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
9430
+
9431
+ 默认值:open。
9432
+ */
9433
+ ResolutionAdaptive?: string;
9434
+ /**
9435
+ * 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
9436
+ 当取值为 0,表示视频码率和原始视频保持一致。
9437
+ */
9438
+ Bitrate?: number;
9439
+ }
9223
9440
  /**
9224
9441
  * DescribeImageSpriteTemplates请求参数结构体
9225
9442
  */
@@ -11462,6 +11679,33 @@ export interface DescribeCDNUsageDataRequest {
11462
11679
  */
11463
11680
  DomainNames?: Array<string>;
11464
11681
  }
11682
+ /**
11683
+ * 即时转码模板详情。
11684
+ */
11685
+ export interface JustInTimeTranscodeTemplate {
11686
+ /**
11687
+ * 模板类型。
11688
+ */
11689
+ Type?: string;
11690
+ /**
11691
+ * 模板名。
11692
+ */
11693
+ Name?: string;
11694
+ /**
11695
+ * 模板描述。
11696
+ */
11697
+ Comment?: string;
11698
+ /**
11699
+ * 视频参数配置。
11700
+ 注意:此字段可能返回 null,表示取不到有效值。
11701
+ */
11702
+ VideoConfigure?: VideoConfigureInfo;
11703
+ /**
11704
+ * 水印参数配置。
11705
+ 注意:此字段可能返回 null,表示取不到有效值。
11706
+ */
11707
+ WatermarkConfigure?: WatermarkConfigureData;
11708
+ }
11465
11709
  /**
11466
11710
  * 文本鉴别涉及令人反感的信息的任务控制参数
11467
11711
  */
@@ -13693,21 +13937,17 @@ export interface InspectMediaQualityResponse {
13693
13937
  RequestId?: string;
13694
13938
  }
13695
13939
  /**
13696
- * DescribeSubAppIds返回参数结构体
13940
+ * DeleteRebuildMediaTemplate请求参数结构体
13697
13941
  */
13698
- export interface DescribeSubAppIdsResponse {
13699
- /**
13700
- * 子应用信息集合。
13701
- */
13702
- SubAppIdInfoSet?: Array<SubAppIdInfo>;
13942
+ export interface DeleteRebuildMediaTemplateRequest {
13703
13943
  /**
13704
- * 子应用总数量。
13944
+ * 视频重生模板号。
13705
13945
  */
13706
- TotalCount?: number;
13946
+ Definition: number;
13707
13947
  /**
13708
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13948
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
13709
13949
  */
13710
- RequestId?: string;
13950
+ SubAppId?: number;
13711
13951
  }
13712
13952
  /**
13713
13953
  * CreateDomainVerifyRecord请求参数结构体
@@ -14061,6 +14301,39 @@ export interface TransitionOperation {
14061
14301
  */
14062
14302
  Type: string;
14063
14303
  }
14304
+ /**
14305
+ * 即时转码水印模板配置。
14306
+ */
14307
+ export interface WatermarkConfigureInfo {
14308
+ /**
14309
+ * 是否启用水印。可取值:
14310
+ <li>ON:表示启用水印;</li>
14311
+ <li>OFF:表示关闭水印。</li>
14312
+ */
14313
+ Switch: string;
14314
+ /**
14315
+ * 水印图片 Base64 编码后的字符串。支持 jpeg、png 图片格式。
14316
+ */
14317
+ ImageContent?: string;
14318
+ /**
14319
+ * 水印的宽度。
14320
+ <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
14321
+ */
14322
+ Width?: string;
14323
+ /**
14324
+ * 水印的高度。
14325
+ <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
14326
+ */
14327
+ Height?: string;
14328
+ /**
14329
+ * 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
14330
+ */
14331
+ XPos?: string;
14332
+ /**
14333
+ * 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
14334
+ */
14335
+ YPos?: string;
14336
+ }
14064
14337
  /**
14065
14338
  * 智能按帧标签任务输入类型
14066
14339
  */
@@ -15973,6 +16246,60 @@ export interface AiContentReviewResult {
15973
16246
  */
15974
16247
  ProhibitedAsrTask?: AiReviewTaskProhibitedAsrResult;
15975
16248
  }
16249
+ /**
16250
+ * 降码率任务信息
16251
+ */
16252
+ export interface ReduceMediaBitrateTask {
16253
+ /**
16254
+ * 视频处理任务 ID。
16255
+ */
16256
+ TaskId?: string;
16257
+ /**
16258
+ * 任务流状态,取值:
16259
+ <li>PROCESSING:处理中;</li>
16260
+ <li>FINISH:已完成。</li>
16261
+ */
16262
+ Status?: string;
16263
+ /**
16264
+ * 媒体文件 ID。
16265
+ */
16266
+ FileId?: string;
16267
+ /**
16268
+ * 媒体文件名称。
16269
+ */
16270
+ FileName?: string;
16271
+ /**
16272
+ * 媒体文件地址。
16273
+ */
16274
+ FileUrl?: string;
16275
+ /**
16276
+ * 原始视频的元信息。
16277
+ 注意:此字段可能返回 null,表示取不到有效值。
16278
+ */
16279
+ MetaData?: MediaMetaData;
16280
+ /**
16281
+ * 降码率任务执行状态与结果。
16282
+ */
16283
+ MediaProcessResultSet?: Array<ReduceMediaBitrateMediaProcessTaskResult>;
16284
+ /**
16285
+ * 任务流的优先级,取值范围为 [-10, 10]。
16286
+ */
16287
+ TasksPriority?: number;
16288
+ /**
16289
+ * 任务流状态变更通知模式。
16290
+ <li>Finish:只有当任务流全部执行完毕时,才发起一次事件通知;</li>
16291
+ <li>None:不接受该任务流回调。</li>
16292
+ */
16293
+ TasksNotifyMode?: string;
16294
+ /**
16295
+ * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
16296
+ */
16297
+ SessionContext?: string;
16298
+ /**
16299
+ * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
16300
+ */
16301
+ SessionId?: string;
16302
+ }
15976
16303
  /**
15977
16304
  * 画面鉴别涉及令人不安全的信息的任务控制参数
15978
16305
  */
@@ -18920,6 +19247,15 @@ export interface ComposeMediaOutput {
18920
19247
  */
18921
19248
  RemoveAudio?: number;
18922
19249
  }
19250
+ /**
19251
+ * DeleteJustInTimeTranscodeTemplate返回参数结构体
19252
+ */
19253
+ export interface DeleteJustInTimeTranscodeTemplateResponse {
19254
+ /**
19255
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
19256
+ */
19257
+ RequestId?: string;
19258
+ }
18923
19259
  /**
18924
19260
  * ModifyWatermarkTemplate返回参数结构体
18925
19261
  */
@@ -18934,19 +19270,19 @@ export interface ModifyWatermarkTemplateResponse {
18934
19270
  RequestId?: string;
18935
19271
  }
18936
19272
  /**
18937
- * DescribeProcedureTemplates请求参数结构体
19273
+ * DescribeJustInTimeTranscodeTemplates请求参数结构体
18938
19274
  */
18939
- export interface DescribeProcedureTemplatesRequest {
19275
+ export interface DescribeJustInTimeTranscodeTemplatesRequest {
18940
19276
  /**
18941
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
19277
+ * 模板名过滤条件,数组长度限制:100。
18942
19278
  */
18943
- SubAppId?: number;
19279
+ Names?: Array<string>;
18944
19280
  /**
18945
- * 任务流模板名字过滤条件,数组长度限制:100。
19281
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
18946
19282
  */
18947
- Names?: Array<string>;
19283
+ SubAppId?: number;
18948
19284
  /**
18949
- * 任务流模板类型过滤条件,可选值:
19285
+ * 模板类型过滤条件,可选值:
18950
19286
  <li>Preset:系统预置任务流模板;</li>
18951
19287
  <li>Custom:用户自定义任务流模板。</li>
18952
19288
  */