public class VideoTemplateInfo extends AbstractModel
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 Bitrate of video stream in Kbps.
|
String |
getCodec()
Get The video codec.
|
String |
getCodecTag()
Get The codec tag.
|
String |
getFillType()
Get Fill type, the way of processing a screenshot when the configured aspect ratio is different from that of the source video.
|
Long |
getFps()
Get Video frame rate in Hz.
|
Long |
getGop()
Get I-frame interval in frames.
|
Long |
getHeight()
Get The maximum video height (or short side) in pixels.
|
String |
getPreserveHDRSwitch()
Get Whether to output an HDR (high dynamic range) video if the source video is HDR.
|
String |
getResolutionAdaptive()
Get Resolution adaption.
|
Long |
getVcrf()
Get The video constant rate factor (CRF).
|
Long |
getWidth()
Get The maximum video width (or long side) in pixels.
|
void |
setBitrate(Long Bitrate)
Set Bitrate of video stream in Kbps.
|
void |
setCodec(String Codec)
Set The video codec.
|
void |
setCodecTag(String CodecTag)
Set The codec tag.
|
void |
setFillType(String FillType)
Set Fill type, the way of processing a screenshot when the configured aspect ratio is different from that of the source video.
|
void |
setFps(Long Fps)
Set Video frame rate in Hz.
|
void |
setGop(Long Gop)
Set I-frame interval in frames.
|
void |
setHeight(Long Height)
Set The maximum video height (or short side) in pixels.
|
void |
setPreserveHDRSwitch(String PreserveHDRSwitch)
Set Whether to output an HDR (high dynamic range) video if the source video is HDR.
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaption.
|
void |
setVcrf(Long Vcrf)
Set The video constant rate factor (CRF).
|
void |
setWidth(Long Width)
Set The maximum video width (or long side) in pixels.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public VideoTemplateInfo()
public VideoTemplateInfo(VideoTemplateInfo source)
public String getCodec()
public void setCodec(String Codec)
Codec
- The video 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 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
- The maximum video width (or long side) in pixels. Value range: 0 and [128, 8192].
public Long getHeight()
public void setHeight(Long Height)
Height
- The maximum video height (or short side) in pixels. Value range: 0 and [128, 8192].
public String getFillType()
public void setFillType(String FillType)
FillType
- Fill type, the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values:
public Long getVcrf()
public void setVcrf(Long Vcrf)
Vcrf
- The video constant rate factor (CRF). Value range: 1-51.
Notes:
public Long getGop()
public void setGop(Long Gop)
Gop
- I-frame interval in frames. Valid values: 0 and 1-100000.
When this parameter is set to 0 or left empty, `Gop` will be automatically set.public String getPreserveHDRSwitch()
public void setPreserveHDRSwitch(String PreserveHDRSwitch)
PreserveHDRSwitch
- Whether to output an HDR (high dynamic range) video if the source video is HDR. Valid values:
public String getCodecTag()
public void setCodecTag(String CodecTag)
CodecTag
- The codec tag. This parameter is valid only if the H.265 codec is used. Valid values:
Copyright © 2023. All rights reserved.