public class VideoEncodeParams extends AbstractModel
header, skipSign
Constructor and Description |
---|
VideoEncodeParams() |
VideoEncodeParams(VideoEncodeParams 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 Bitrate.
|
Long |
getFps()
Get Frame Rate.
|
Long |
getGop()
Get Gop.
|
Long |
getHeight()
Get Height.
|
Long |
getWidth()
Get Width.
|
void |
setBitRate(Long BitRate)
Set Bitrate.
|
void |
setFps(Long Fps)
Set Frame Rate.
|
void |
setGop(Long Gop)
Set Gop.
|
void |
setHeight(Long Height)
Set Height.
|
void |
setWidth(Long Width)
Set Width.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public VideoEncodeParams()
public VideoEncodeParams(VideoEncodeParams source)
public Long getWidth()
public void setWidth(Long Width)
Width
- Width. Value range [0,1920], unit is pixel value.public Long getHeight()
public void setHeight(Long Height)
Height
- Height. Value range [0,1080], unit is pixel value.public Long getFps()
public void setFps(Long Fps)
Fps
- Frame Rate. Value range [1,60], indicating that the frame rate can be selected from 1 to 60fps.public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate
- Bitrate. Value range [1,10000], unit is kbps.public Long getGop()
public void setGop(Long Gop)
Gop
- Gop. Value range [1,2], unit is second.Copyright © 2024. All rights reserved.