public class OutputVideoStream extends AbstractModel
Constructor and Description |
---|
OutputVideoStream() |
OutputVideoStream(OutputVideoStream source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCodec()
Get 视频流的编码格式,可选值:
libx264:H.264 编码
默认值:libx264。
|
Long |
getFps()
Get 视频帧率,取值范围:[0, 60],单位:Hz。
默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
|
void |
setCodec(String Codec)
Set 视频流的编码格式,可选值:
libx264:H.264 编码
默认值:libx264。
|
void |
setFps(Long Fps)
Set 视频帧率,取值范围:[0, 60],单位:Hz。
默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public OutputVideoStream()
public OutputVideoStream(OutputVideoStream source)
public String getCodec()
public void setCodec(String Codec)
Codec
- 视频流的编码格式,可选值:
public Long getFps()
public void setFps(Long Fps)
Fps
- 视频帧率,取值范围:[0, 60],单位:Hz。
默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。Copyright © 2022. All rights reserved.