tencentcloud-sdk-nodejs-mps 4.1.300 → 4.1.301
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-mps",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.301",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"@types/json-bigint": "^1.0.1",
|
|
50
50
|
"@types/node": "^18.0.0",
|
|
51
51
|
"@types/node-fetch": "^2.5.7",
|
|
52
|
-
"@types/uuid": "^9.0.8",
|
|
53
52
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
54
53
|
"@typescript-eslint/parser": "^2.34.0",
|
|
55
54
|
"babel-eslint": "^10.0.2",
|
|
@@ -2834,69 +2834,62 @@ export interface SRTFECFullOptions {
|
|
|
2834
2834
|
*/
|
|
2835
2835
|
export interface MediaTranscodeItem {
|
|
2836
2836
|
/**
|
|
2837
|
-
*
|
|
2837
|
+
* <p>转码后文件的目标存储。</p>
|
|
2838
2838
|
*/
|
|
2839
2839
|
OutputStorage?: TaskOutputStorage;
|
|
2840
2840
|
/**
|
|
2841
|
-
*
|
|
2841
|
+
* <p>转码后的视频文件路径。</p>
|
|
2842
2842
|
*/
|
|
2843
2843
|
Path?: string;
|
|
2844
2844
|
/**
|
|
2845
|
-
*
|
|
2845
|
+
* <p>转码规格 ID,参见<a href="https://cloud.tencent.com/document/product/862/37042">转码参数模板</a>。</p>
|
|
2846
2846
|
*/
|
|
2847
2847
|
Definition?: number;
|
|
2848
2848
|
/**
|
|
2849
|
-
*
|
|
2849
|
+
* <p>视频流码率平均值与音频流码率平均值之和, 单位:bps。</p>
|
|
2850
2850
|
*/
|
|
2851
2851
|
Bitrate?: number;
|
|
2852
2852
|
/**
|
|
2853
|
-
*
|
|
2853
|
+
* <p>视频流高度的最大值,单位:px。</p>
|
|
2854
2854
|
*/
|
|
2855
2855
|
Height?: number;
|
|
2856
2856
|
/**
|
|
2857
|
-
*
|
|
2857
|
+
* <p>视频流宽度的最大值,单位:px。</p>
|
|
2858
2858
|
*/
|
|
2859
2859
|
Width?: number;
|
|
2860
2860
|
/**
|
|
2861
|
-
*
|
|
2861
|
+
* <p>媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。</p>
|
|
2862
2862
|
*/
|
|
2863
2863
|
Size?: number;
|
|
2864
2864
|
/**
|
|
2865
|
-
*
|
|
2865
|
+
* <p>视频时长,单位:秒。</p>
|
|
2866
2866
|
*/
|
|
2867
2867
|
Duration?: number;
|
|
2868
2868
|
/**
|
|
2869
|
-
*
|
|
2869
|
+
* <p>容器类型,例如 m4a,mp4 等。</p>
|
|
2870
2870
|
*/
|
|
2871
2871
|
Container?: string;
|
|
2872
2872
|
/**
|
|
2873
|
-
*
|
|
2873
|
+
* <p>视频的 md5 值。</p>
|
|
2874
2874
|
*/
|
|
2875
2875
|
Md5?: string;
|
|
2876
2876
|
/**
|
|
2877
|
-
*
|
|
2877
|
+
* <p>音频流信息。</p>
|
|
2878
2878
|
*/
|
|
2879
2879
|
AudioStreamSet?: Array<MediaAudioStreamItem>;
|
|
2880
2880
|
/**
|
|
2881
|
-
*
|
|
2881
|
+
* <p>视频流信息。</p>
|
|
2882
2882
|
*/
|
|
2883
2883
|
VideoStreamSet?: Array<MediaVideoStreamItem>;
|
|
2884
2884
|
/**
|
|
2885
|
-
*
|
|
2886
|
-
<li>hdr:HDR配置</li>
|
|
2887
|
-
<li>wd_fps:插帧帧率配置</li>
|
|
2888
|
-
<li>video_super_resolution: 超分配置</li>
|
|
2889
|
-
<li>repair:综合增强配置</li>
|
|
2890
|
-
<li>denoise:视频降噪配置</li>
|
|
2891
|
-
<li>color_enhance:色彩增强配置</li>
|
|
2892
|
-
<li>scratch:去划痕配置</li>
|
|
2893
|
-
<li>artifact:去伪影(毛刺)配置</li>
|
|
2894
|
-
<li>sharp:细节增强配置</li>
|
|
2895
|
-
<li>low_light:低光照增强配置</li>
|
|
2896
|
-
<li>face_enhance:人脸增强配置</li>
|
|
2885
|
+
* <p>视频转码使用增强项说明,增强项解释</p><li>hdr:HDR配置</li><li>wd_fps:插帧帧率配置</li><li>video_super_resolution: 超分配置</li><li>repair:综合增强配置</li><li>denoise:视频降噪配置</li><li>color_enhance:色彩增强配置</li><li>scratch:去划痕配置</li><li>artifact:去伪影(毛刺)配置</li><li>sharp:细节增强配置</li><li>low_light:低光照增强配置</li><li>face_enhance:人脸增强配置</li>
|
|
2897
2886
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2898
2887
|
*/
|
|
2899
2888
|
CallBackExtInfo?: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* <p>MediaTranscodeItem</p>
|
|
2891
|
+
*/
|
|
2892
|
+
Usage?: MediaUsageItem;
|
|
2900
2893
|
}
|
|
2901
2894
|
/**
|
|
2902
2895
|
* 智能分类任务控制参数
|
|
@@ -9858,6 +9851,27 @@ export interface DescribeAigcImageTaskResponse {
|
|
|
9858
9851
|
*/
|
|
9859
9852
|
RequestId?: string;
|
|
9860
9853
|
}
|
|
9854
|
+
/**
|
|
9855
|
+
* AIGC用量数据展示
|
|
9856
|
+
*/
|
|
9857
|
+
export interface MediaUsageItem {
|
|
9858
|
+
/**
|
|
9859
|
+
* <p>输入图片数</p><p>单位:个数</p>
|
|
9860
|
+
*/
|
|
9861
|
+
InputImageCount?: number;
|
|
9862
|
+
/**
|
|
9863
|
+
* <p>输入秒数</p><p>单位:秒</p>
|
|
9864
|
+
*/
|
|
9865
|
+
InputSeconds?: number;
|
|
9866
|
+
/**
|
|
9867
|
+
* <p>输出秒数</p><p>单位:秒</p>
|
|
9868
|
+
*/
|
|
9869
|
+
OutputSeconds?: number;
|
|
9870
|
+
/**
|
|
9871
|
+
* <p>总秒数</p><p>单位:秒</p>
|
|
9872
|
+
*/
|
|
9873
|
+
TotalSeconds?: number;
|
|
9874
|
+
}
|
|
9861
9875
|
/**
|
|
9862
9876
|
* 智能字幕输出信息
|
|
9863
9877
|
*/
|
|
@@ -12519,7 +12533,7 @@ export interface CreateStreamPackageLinearAssemblyChannelResponse {
|
|
|
12519
12533
|
*/
|
|
12520
12534
|
export interface DescribeTextToSpeechAsyncTaskResponse {
|
|
12521
12535
|
/**
|
|
12522
|
-
* <p>错误码,成功时返回0</p>
|
|
12536
|
+
* <p>错误码,成功时返回0,处理中返回100</p>
|
|
12523
12537
|
*/
|
|
12524
12538
|
ErrorCode?: number;
|
|
12525
12539
|
/**
|