tencentcloud-sdk-nodejs-vod 4.1.239 → 4.1.241
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
|
@@ -54,6 +54,10 @@ export interface ProcessMediaRequest {
|
|
|
54
54
|
* <p>FileID为空时有效,拉取Url生成新媒资产生新FileID,媒体处理产物将作为新媒资的附属产物。</p><p>注意:新媒资会产生存储费用</p>
|
|
55
55
|
*/
|
|
56
56
|
Url?: string;
|
|
57
|
+
/**
|
|
58
|
+
* <p>媒体处理转码结果输出为独立媒资, 开启该选项会使产物输出为独立媒资,生成全新FileID,目前仅支持TranscodeTask转码任务输出为独立媒资。</p><p>枚举值:</p><ul><li>ON: 开启</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p><p>注意:新媒资会产生存储费用,转码任务中片头片尾、溯源水印等暂不支持开启该选项。</p>
|
|
59
|
+
*/
|
|
60
|
+
OutputAsIndependentMedia?: string;
|
|
57
61
|
}
|
|
58
62
|
/**
|
|
59
63
|
* 画布信息。制作视频时,如果源素材(视频或者图片)不能填满输出的视频窗口,将用设置的画布进行背景绘制。
|
|
@@ -23255,66 +23259,65 @@ export interface RebuildVideoInfo {
|
|
|
23255
23259
|
*/
|
|
23256
23260
|
export interface MediaTranscodeItem {
|
|
23257
23261
|
/**
|
|
23258
|
-
*
|
|
23262
|
+
* <p>转码后的视频文件地址。</p>
|
|
23259
23263
|
*/
|
|
23260
23264
|
Url?: string;
|
|
23261
23265
|
/**
|
|
23262
|
-
*
|
|
23263
|
-
<font color=red>注意:取值 0 表示原始文件。</font>
|
|
23266
|
+
* <p>转码规格 ID,参见<a href="https://cloud.tencent.com/document/product/266/33476">转码参数模板</a>。<br><font color="red">注意:取值 0 表示原始文件。</font></p>
|
|
23264
23267
|
*/
|
|
23265
23268
|
Definition?: number;
|
|
23266
23269
|
/**
|
|
23267
|
-
*
|
|
23270
|
+
* <p>视频流码率平均值与音频流码率平均值之和, 单位:bps。</p>
|
|
23268
23271
|
*/
|
|
23269
23272
|
Bitrate?: number;
|
|
23270
23273
|
/**
|
|
23271
|
-
*
|
|
23274
|
+
* <p>视频流高度的最大值,单位:px。</p>
|
|
23272
23275
|
*/
|
|
23273
23276
|
Height?: number;
|
|
23274
23277
|
/**
|
|
23275
|
-
*
|
|
23278
|
+
* <p>视频流宽度的最大值,单位:px。</p>
|
|
23276
23279
|
*/
|
|
23277
23280
|
Width?: number;
|
|
23278
23281
|
/**
|
|
23279
|
-
*
|
|
23280
|
-
<li>当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和。</li>
|
|
23282
|
+
* <p>媒体文件总大小,单位:字节。</p><li>当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和。</li>
|
|
23281
23283
|
*/
|
|
23282
23284
|
Size?: number;
|
|
23283
23285
|
/**
|
|
23284
|
-
*
|
|
23286
|
+
* <p>视频时长,单位:秒。</p>
|
|
23285
23287
|
*/
|
|
23286
23288
|
Duration?: number;
|
|
23287
23289
|
/**
|
|
23288
|
-
*
|
|
23290
|
+
* <p>视频的 md5 值。</p>
|
|
23289
23291
|
*/
|
|
23290
23292
|
Md5?: string;
|
|
23291
23293
|
/**
|
|
23292
|
-
*
|
|
23294
|
+
* <p>容器类型,例如 m4a,mp4 等。</p>
|
|
23293
23295
|
*/
|
|
23294
23296
|
Container?: string;
|
|
23295
23297
|
/**
|
|
23296
|
-
*
|
|
23298
|
+
* <p>视频流信息。</p>
|
|
23297
23299
|
*/
|
|
23298
23300
|
VideoStreamSet?: Array<MediaVideoStreamItem>;
|
|
23299
23301
|
/**
|
|
23300
|
-
*
|
|
23302
|
+
* <p>音频流信息。</p>
|
|
23301
23303
|
*/
|
|
23302
23304
|
AudioStreamSet?: Array<MediaAudioStreamItem>;
|
|
23303
23305
|
/**
|
|
23304
|
-
*
|
|
23305
|
-
<li>Trace 表示经过溯源水印处理;</li>
|
|
23306
|
-
<li>CopyRight 表示经过版权水印处理;</li>
|
|
23307
|
-
<li>None 表示没有经过数字水印处理。</li>
|
|
23306
|
+
* <p>数字水印类型。可选值:</p><li>Trace 表示经过溯源水印处理;</li><li>CopyRight 表示经过版权水印处理;</li><li>None 表示没有经过数字水印处理。</li>
|
|
23308
23307
|
*/
|
|
23309
23308
|
DigitalWatermarkType?: string;
|
|
23310
23309
|
/**
|
|
23311
|
-
*
|
|
23310
|
+
* <p>版权信息。</p>
|
|
23312
23311
|
*/
|
|
23313
23312
|
CopyRightWatermarkText?: string;
|
|
23314
23313
|
/**
|
|
23315
|
-
*
|
|
23314
|
+
* <p>数字水印模板id。</p>
|
|
23316
23315
|
*/
|
|
23317
23316
|
BlindWatermarkDefinition?: number;
|
|
23317
|
+
/**
|
|
23318
|
+
* <p>转码生成的新FileId,请求开启独立媒资输出时有效。</p>
|
|
23319
|
+
*/
|
|
23320
|
+
FileId?: string;
|
|
23318
23321
|
}
|
|
23319
23322
|
/**
|
|
23320
23323
|
* CLS 日志集信息
|