public class VideoTemplateInfo extends AbstractModel
Constructor and Description |
---|
VideoTemplateInfo() |
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
|
Long |
getHeight()
Get Maximum value of the height (or short side) of a video stream in px.
|
String |
getResolutionAdaptive()
Get Resolution adaption.
|
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
|
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 |
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, toJsonString
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, 60].
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
- 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:
Copyright © 2020. All rights reserved.