public class VideoTemplateInfo extends AbstractModel
header, skipSign| 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 |
getBitrate()
Get Specifies the bitrate of video stream.
|
String |
getCodec()
Get Encoding format for video streams.
|
String |
getFillType()
Get Filling method.
|
Float |
getFps()
Get Video frame rate.
|
Long |
getHeight()
Get The maximum value of the video stream Height (or short side).
|
String |
getResolutionAdaptive()
Get Resolution adaptation.
|
Long |
getWidth()
Get The maximum value of the video stream Width (or long side).
|
void |
setBitrate(Long Bitrate)
Set Specifies the bitrate of video stream.
|
void |
setCodec(String Codec)
Set Encoding format for video streams.
|
void |
setFillType(String FillType)
Set Filling method.
|
void |
setFps(Float Fps)
Set Video frame rate.
|
void |
setHeight(Long Height)
Set The maximum value of the video stream Height (or short side).
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaptation.
|
void |
setWidth(Long Width)
Set The maximum value of the video stream Width (or long side).
|
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 VideoTemplateInfo()
public VideoTemplateInfo(VideoTemplateInfo source)
public String getCodec()
public void setCodec(String Codec)
Codec - Encoding format for video streams. valid values: public Float getFps()
public void setFps(Float Fps)
Fps - Video frame rate. value ranges from 0 to 30. measurement unit: Hz.
If the value is 0, the frame rate will be the same as that of the source video, with a maximum not exceeding 30.
Default value: 0.public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate - Specifies the bitrate of video stream. valid values: 0 and [128, 10000]. measurement unit: kbps.
Value is 0, means automatically select video bitrate based on video image and quality.
Default value: 0.public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive - Resolution adaptation. available values: public Long getWidth()
public void setWidth(Long Width)
Width - The maximum value of the video stream Width (or long side). valid values: 0 and [128, 1920]. unit: px. public Long getHeight()
public void setHeight(Long Height)
Height - The maximum value of the video stream Height (or short side). valid values: 0 and [128, 1080]. unit: px. public String getFillType()
public void setFillType(String FillType)
FillType - Filling method. specifies the processing method for transcoding when video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video. valid values: Copyright © 2025. All rights reserved.