public class VideoTemplateInfoForUpdate extends AbstractModel
| Constructor and Description | 
|---|
| VideoTemplateInfoForUpdate() | 
| VideoTemplateInfoForUpdate(VideoTemplateInfoForUpdate 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 of a video stream in Kbps. | 
| String | getCodec()Get Video stream codec. | 
| String | getFillType()Get Fill type. | 
| Long | getFps()Get Video frame rate in Hz. | 
| Long | getGop()Get Frame interval between I keyframes. | 
| Long | getHeight()Get Maximum value of the height (or short side) of a video stream in px. | 
| String | getResolutionAdaptive()Get Resolution adaption. | 
| Long | getVcrf()Get The control factor of video constant bitrate. | 
| Long | getWidth()Get Maximum value of the width (or long side) of a video stream in px. | 
| void | setBitrate(Long Bitrate)Set Bitrate of a video stream in Kbps. | 
| void | setCodec(String Codec)Set Video stream codec. | 
| void | setFillType(String FillType)Set Fill type. | 
| void | setFps(Long Fps)Set Video frame rate in Hz. | 
| void | setGop(Long Gop)Set Frame interval between I keyframes. | 
| void | setHeight(Long Height)Set Maximum value of the height (or short side) of a video stream in px. | 
| void | setResolutionAdaptive(String ResolutionAdaptive)Set Resolution adaption. | 
| void | setVcrf(Long Vcrf)Set The control factor of video constant bitrate. | 
| void | setWidth(Long Width)Set Maximum value of the width (or long side) of a video stream in px. | 
| 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 VideoTemplateInfoForUpdate()
public VideoTemplateInfoForUpdate(VideoTemplateInfoForUpdate source)
public String getCodec()
public void setCodec(String Codec)
Codec - Video stream codec. Valid values:
public Long getFps()
public void setFps(Long Fps)
Fps - Video frame rate in Hz. Value range: [0, 100].
If the value is 0, the frame rate will be the same as that of the source video.public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate - Bitrate of a video stream in Kbps. Value range: 0 and [128, 35,000].
If the value is 0, the bitrate of the video will be the same as that of the source video.public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive - Resolution adaption. Valid values:
public Long getWidth()
public void setWidth(Long Width)
Width - Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
public Long getHeight()
public void setHeight(Long Height)
Height - Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].public Long getGop()
public void setGop(Long Gop)
Gop - Frame interval between I keyframes. Value range: 0 and [1,100000]. If this parameter is 0, the system will automatically set the GOP length.public String getFillType()
public void setFillType(String FillType)
FillType - Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
public Long getVcrf()
public void setVcrf(Long Vcrf)
Vcrf - The control factor of video constant bitrate. Value range: [0, 51]. This parameter will be disabled if you enter `0`.
It is not recommended to specify this parameter if there are no special requirements.Copyright © 2021. All rights reserved.