public class VideoEncode extends AbstractModel
Constructor and Description |
---|
VideoEncode() |
VideoEncode(VideoEncode 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 |
---|---|
Long |
getBitRate()
Get The bitrate (Kbps) of the output stream.
|
Long |
getFps()
Get The frame rate (fps) of the output stream.
|
Long |
getGop()
Get The GOP (seconds) of the output stream.
|
Long |
getHeight()
Get The height of the output stream (pixels).
|
Long |
getWidth()
Get The width of the output stream (pixels).
|
void |
setBitRate(Long BitRate)
Set The bitrate (Kbps) of the output stream.
|
void |
setFps(Long Fps)
Set The frame rate (fps) of the output stream.
|
void |
setGop(Long Gop)
Set The GOP (seconds) of the output stream.
|
void |
setHeight(Long Height)
Set The height of the output stream (pixels).
|
void |
setWidth(Long Width)
Set The width of the output stream (pixels).
|
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 VideoEncode()
public VideoEncode(VideoEncode source)
public Long getWidth()
public void setWidth(Long Width)
Width
- The width of the output stream (pixels). This parameter is required if audio and video are relayed. Value range: [0, 1920].public Long getHeight()
public void setHeight(Long Height)
Height
- The height of the output stream (pixels). This parameter is required if audio and video are relayed. Value range: [0, 1080].public Long getFps()
public void setFps(Long Fps)
Fps
- The frame rate (fps) of the output stream. This parameter is required if audio and video are relayed. Value range: [0, 60].public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate
- The bitrate (Kbps) of the output stream. This parameter is required if audio and video are relayed. Value range: [0, 10000].public Long getGop()
public void setGop(Long Gop)
Gop
- The GOP (seconds) of the output stream. This parameter is required if audio and video are relayed. Value range: [1, 5].Copyright © 2023. All rights reserved.