public class VideoTemplateInfo extends AbstractModel
| Constructor and Description | 
|---|
| VideoTemplateInfo() | 
| VideoTemplateInfo(VideoTemplateInfo 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 | getBitrateCompressionRatio()Get Top speed codec compression ratio. | 
| Long | getFps()Get Video frame rate. | 
| Long | getHeight()Get Video height. | 
| String | getName()Get Video transcoding template name, which can contain 1-20 letters and digits. | 
| String | getRateControlMode()Get Bitrate control mode. | 
| String | getTopSpeed()Get Whether to enable top speed codec. | 
| String | getVcodec()Get Video codec. | 
| Long | getVideoBitrate()Get Video bitrate. | 
| String | getWatermarkId()Get Watermark ID
Note: This field may return `null`, indicating that no valid value was found. | 
| Long | getWidth()Get Video width. | 
| void | setBitrateCompressionRatio(Long BitrateCompressionRatio)Set Top speed codec compression ratio. | 
| void | setFps(Long Fps)Set Video frame rate. | 
| void | setHeight(Long Height)Set Video height. | 
| void | setName(String Name)Set Video transcoding template name, which can contain 1-20 letters and digits. | 
| void | setRateControlMode(String RateControlMode)Set Bitrate control mode. | 
| void | setTopSpeed(String TopSpeed)Set Whether to enable top speed codec. | 
| void | setVcodec(String Vcodec)Set Video codec. | 
| void | setVideoBitrate(Long VideoBitrate)Set Video bitrate. | 
| void | setWatermarkId(String WatermarkId)Set Watermark ID
Note: This field may return `null`, indicating that no valid value was found. | 
| void | setWidth(Long Width)Set Video width. | 
| 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 VideoTemplateInfo()
public VideoTemplateInfo(VideoTemplateInfo source)
public String getName()
public void setName(String Name)
Name - Video transcoding template name, which can contain 1-20 letters and digits.public String getVcodec()
public void setVcodec(String Vcodec)
Vcodec - Video codec. Valid values: H264/H265. If this parameter is left empty, the original value will be used.public Long getVideoBitrate()
public void setVideoBitrate(Long VideoBitrate)
VideoBitrate - Video bitrate. Value range: [50000,40000000]. The value can only be a multiple of 1,000. If this parameter is left empty, the original value will be used.public Long getWidth()
public void setWidth(Long Width)
Width - Video width. Value range: (0,3000]. The value can only be a multiple of 4. If this parameter is left empty, the original value will be used.public Long getHeight()
public void setHeight(Long Height)
Height - Video height. Value range: (0,3000]. The value can only be a multiple of 4. If this parameter is left empty, the original value will be used.public Long getFps()
public void setFps(Long Fps)
Fps - Video frame rate. Value range: [1,240]. If this parameter is left empty, the original value will be used.public String getTopSpeed()
public void setTopSpeed(String TopSpeed)
TopSpeed - Whether to enable top speed codec. Valid value: CLOSE/OPEN. Default value: CLOSE.public Long getBitrateCompressionRatio()
public void setBitrateCompressionRatio(Long BitrateCompressionRatio)
BitrateCompressionRatio - Top speed codec compression ratio. Value range: [0,50]. The lower the compression ratio, the higher the image quality.public String getRateControlMode()
public void setRateControlMode(String RateControlMode)
RateControlMode - Bitrate control mode. Valid values: `CBR`, `ABR` (default)public String getWatermarkId()
public void setWatermarkId(String WatermarkId)
WatermarkId - Watermark ID
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.