public class VideoParams extends AbstractModel
skipSign
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 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
Long |
getFps()
Get 视频的帧率,范围[1, 60],默认15。
|
Long |
getGop()
Get 视频关键帧时间间隔,单位秒,默认值10秒。
|
Long |
getHeight()
Get 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
Long |
getWidth()
Get 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
void |
setBitRate(Long BitRate)
Set 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
|
void |
setFps(Long Fps)
Set 视频的帧率,范围[1, 60],默认15。
|
void |
setGop(Long Gop)
Set 视频关键帧时间间隔,单位秒,默认值10秒。
|
void |
setHeight(Long Height)
Set 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
|
void |
setWidth(Long Width)
Set 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public VideoParams()
public VideoParams(VideoParams source)
public Long getWidth()
public void setWidth(Long Width)
Width
- 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。public Long getHeight()
public void setHeight(Long Height)
Height
- 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。public Long getFps()
public void setFps(Long Fps)
Fps
- 视频的帧率,范围[1, 60],默认15。public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate
- 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。public Long getGop()
public void setGop(Long Gop)
Gop
- 视频关键帧时间间隔,单位秒,默认值10秒。Copyright © 2023. All rights reserved.