public class VideoTemplateInfo extends AbstractModel
Constructor and Description |
---|
VideoTemplateInfo() |
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 |
getTopSpeed()
Get Whether to enable top speed codec.
|
String |
getVcodec()
Get Video codec.
|
Long |
getVideoBitrate()
Get Video bitrate.
|
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 |
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 |
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, toJsonString
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.Copyright © 2020. All rights reserved.