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 码率。取值范围[1,10000],单位为kbps。 | 
| Long | getFps()Get 帧率。取值范围[1,60],表示帧率可选范围为1到60fps。 | 
| Long | getGop()Get gop。取值范围[1,2],单位为秒。 | 
| Long | getHeight()Get 高。取值范围[0,1080],单位为像素值。 | 
| Long | getWidth()Get 宽。取值范围[0,1920],单位为像素值。 | 
| void | setBitRate(Long BitRate)Set 码率。取值范围[1,10000],单位为kbps。 | 
| void | setFps(Long Fps)Set 帧率。取值范围[1,60],表示帧率可选范围为1到60fps。 | 
| void | setGop(Long Gop)Set gop。取值范围[1,2],单位为秒。 | 
| void | setHeight(Long Height)Set 高。取值范围[0,1080],单位为像素值。 | 
| void | setWidth(Long Width)Set 宽。取值范围[0,1920],单位为像素值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic VideoEncodeParams()
public VideoEncodeParams(VideoEncodeParams source)
public Long getWidth()
public void setWidth(Long Width)
Width - 宽。取值范围[0,1920],单位为像素值。public Long getHeight()
public void setHeight(Long Height)
Height - 高。取值范围[0,1080],单位为像素值。public Long getFps()
public void setFps(Long Fps)
Fps - 帧率。取值范围[1,60],表示帧率可选范围为1到60fps。public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate - 码率。取值范围[1,10000],单位为kbps。public Long getGop()
public void setGop(Long Gop)
Gop - gop。取值范围[1,2],单位为秒。Copyright © 2025. All rights reserved.