跳到主要内容

字段说明

直播类型

字段说明
0普通直播
2VR直播
3高清直播
44K直播

模板类型

字段说明
1用户模板
2系统模板

模板字段说明

字段说明
id唯一标识
name模版名称/码率/宽x高
displayName模版名称
videoWidth视频宽
videoHeight视频高
videoBitrate视频码率
audioBitrate音频码率
frameRate视频帧率
transcodeType所属直播类型, 0:普通直播、2:VR直播、3:高清直播、4:4K直播
type模板类型, 1:用户模板,2:系统模板
userId用户id,如果是系统的模板,此项为空
createTime创建时间
updateTime更新时间
advancedArgumentsObj请参考高级参数

高级参数

字段说明

字段说明类型
rc码率控制,VBR 或 CBRString
refFrame参考帧数量Integer
gopSizeGOP大小Integer
gopTypeGOP单位,0:帧,1:毫秒,默认为0Integer
bframeB帧数量Integer
interlace帧场模式,-1: 跟随源, 0: 帧, 3: MBAFFInteger
smartBorder宽高变换模式, 0: 线性拉伸, 1: 智能黑边, 2: 自动裁剪Integer

参数示例

{
"rc": "CBR",
"gopSize": 4000,
"bFrame": 0,
"refFrame": 1,
"qualityLevel": null,
"interlace": -1,
"smartBorder": 1
}