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 |
---|---|
AdditionalRateSetting |
getAdditionalRateSettings()
Get Additional video bitrate configuration.
|
Long |
getBFramesNum()
Get The number of B frames can be selected from 1 to 3.
|
Long |
getBitrateCompressionRatio()
Get Top speed codec compression ratio.
|
Long |
getFaceBlurringEnabled()
Get Whether to enable the face blur function, 1 is on, 0 is off, and the default is 0.
|
Long |
getFps()
Get Video frame rate.
|
Long |
getFrameRateDenominator()
Get Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate denominator setting.
|
Long |
getFrameRateNumerator()
Get Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate numerator setting.
|
String |
getFrameRateType()
Get This field indicates how to specify the output 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.
|
Long |
getRefFramesNum()
Get The number of reference frames can be selected from 1 to 16.
|
String |
getTopSpeed()
Get Whether to enable top speed codec.
|
String |
getVcodec()
Get Video codec.
|
Long |
getVideoBitrate()
Get Video bitrate.
|
VideoCodecDetail |
getVideoCodecDetails()
Get Video encoding configuration.
|
Long |
getVideoEnhanceEnabled()
Get
|
VideoEnhanceSetting[] |
getVideoEnhanceSettings()
Get
|
String |
getWatermarkId()
Get Watermark ID
Note: This field may return `null`, indicating that no valid value was found.
|
Long |
getWidth()
Get Video width.
|
void |
setAdditionalRateSettings(AdditionalRateSetting AdditionalRateSettings)
Set Additional video bitrate configuration.
|
void |
setBFramesNum(Long BFramesNum)
Set The number of B frames can be selected from 1 to 3.
|
void |
setBitrateCompressionRatio(Long BitrateCompressionRatio)
Set Top speed codec compression ratio.
|
void |
setFaceBlurringEnabled(Long FaceBlurringEnabled)
Set Whether to enable the face blur function, 1 is on, 0 is off, and the default is 0.
|
void |
setFps(Long Fps)
Set Video frame rate.
|
void |
setFrameRateDenominator(Long FrameRateDenominator)
Set Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate denominator setting.
|
void |
setFrameRateNumerator(Long FrameRateNumerator)
Set Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate numerator setting.
|
void |
setFrameRateType(String FrameRateType)
Set This field indicates how to specify the output 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 |
setRefFramesNum(Long RefFramesNum)
Set The number of reference frames can be selected from 1 to 16.
|
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 |
setVideoCodecDetails(VideoCodecDetail VideoCodecDetails)
Set Video encoding configuration.
|
void |
setVideoEnhanceEnabled(Long VideoEnhanceEnabled)
Set
|
void |
setVideoEnhanceSettings(VideoEnhanceSetting[] VideoEnhanceSettings)
Set
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public 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), `VBR`.public String getWatermarkId()
public void setWatermarkId(String WatermarkId)
WatermarkId
- Watermark ID
Note: This field may return `null`, indicating that no valid value was found.public Long getFaceBlurringEnabled()
public void setFaceBlurringEnabled(Long FaceBlurringEnabled)
FaceBlurringEnabled
- Whether to enable the face blur function, 1 is on, 0 is off, and the default is 0.public String getFrameRateType()
public void setFrameRateType(String FrameRateType)
FrameRateType
- This field indicates how to specify the output video frame rate. If FOLLOW_SOURCE is selected, the output video frame rate will be set equal to the input video frame rate of the first input. If SPECIFIED_FRACTION is selected, the output video frame rate is determined by the fraction (frame rate numerator and frame rate denominator). If SPECIFIED_HZ is selected, the frame rate of the output video is determined by the HZ you enter.public Long getFrameRateNumerator()
public void setFrameRateNumerator(Long FrameRateNumerator)
FrameRateNumerator
- Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate numerator setting.public Long getFrameRateDenominator()
public void setFrameRateDenominator(Long FrameRateDenominator)
FrameRateDenominator
- Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate denominator setting.public Long getBFramesNum()
public void setBFramesNum(Long BFramesNum)
BFramesNum
- The number of B frames can be selected from 1 to 3.public Long getRefFramesNum()
public void setRefFramesNum(Long RefFramesNum)
RefFramesNum
- The number of reference frames can be selected from 1 to 16.public AdditionalRateSetting getAdditionalRateSettings()
public void setAdditionalRateSettings(AdditionalRateSetting AdditionalRateSettings)
AdditionalRateSettings
- Additional video bitrate configuration.public VideoCodecDetail getVideoCodecDetails()
public void setVideoCodecDetails(VideoCodecDetail VideoCodecDetails)
VideoCodecDetails
- Video encoding configuration.public Long getVideoEnhanceEnabled()
public void setVideoEnhanceEnabled(Long VideoEnhanceEnabled)
VideoEnhanceEnabled
- public VideoEnhanceSetting[] getVideoEnhanceSettings()
public void setVideoEnhanceSettings(VideoEnhanceSetting[] VideoEnhanceSettings)
VideoEnhanceSettings
- Copyright © 2024. All rights reserved.