public class VideoParams extends AbstractModel
| Constructor and Description | 
|---|
VideoParams()  | 
VideoParams(VideoParams 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 video bitrate (bps). 
 | 
Long | 
getFps()
Get The video frame rate. 
 | 
Long | 
getGop()
Get The keyframe interval (seconds). 
 | 
Long | 
getHeight()
Get The video height in pixels. 
 | 
Long | 
getWidth()
Get The video width in pixels. 
 | 
void | 
setBitRate(Long BitRate)
Set The video bitrate (bps). 
 | 
void | 
setFps(Long Fps)
Set The video frame rate. 
 | 
void | 
setGop(Long Gop)
Set The keyframe interval (seconds). 
 | 
void | 
setHeight(Long Height)
Set The video height in pixels. 
 | 
void | 
setWidth(Long Width)
Set The video width in 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, toJsonStringpublic VideoParams()
public VideoParams(VideoParams source)
public Long getWidth()
public void setWidth(Long Width)
Width - The video width in pixels. The value of this parameter cannot be larger than 1920, and the result of multiplying `Width` and `Height` cannot exceed 1920 x 1080. The default value is `360`.public Long getHeight()
public void setHeight(Long Height)
Height - The video height in pixels. The value of this parameter cannot be larger than 1920, and the result of multiplying `Width` and `Height` cannot exceed 1920 x 1080. The default value is `640`.public Long getFps()
public void setFps(Long Fps)
Fps - The video frame rate. Value range: [1, 60]. Default: 15.public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate - The video bitrate (bps). Value range: [64000, 8192000]. Default: 550000.public Long getGop()
public void setGop(Long Gop)
Gop - The keyframe interval (seconds). Default value: 10.Copyright © 2022. All rights reserved.