public class ModifyLiveTranscodeTemplateRequest extends AbstractModel
Constructor and Description |
---|
ModifyLiveTranscodeTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAcodec()
Get Audio encoding format:
aac/mp3.
|
Float |
getAdaptBitratePercent()
Get Bitrate compression ratio of top speed codec video.
|
Long |
getAudioBitrate()
Get Audio bitrate.
|
Long |
getBitrateToOrig()
Get Whether to not exceed the original bitrate.
|
String |
getDescription()
Get Template description.
|
Long |
getFps()
Get Frame rate.
|
Long |
getFpsToOrig()
Get Whether to not exceed the original frame rate.
|
Long |
getGop()
Get Keyframe interval in seconds.
|
Long |
getHeight()
Get Height.
|
Long |
getHeightToOrig()
Get Whether to not exceed the original height.
|
Long |
getNeedAudio()
Get Whether to keep the audio.
|
Long |
getNeedVideo()
Get Whether to keep the video.
|
String |
getProfile()
Get Encoding quality:
baseline/main/high.
|
Long |
getRotate()
Get Rotation angle.
|
Long |
getTemplateId()
Get Template ID.
|
String |
getVcodec()
Get Video encoding format:
h264/h265.
|
Long |
getVideoBitrate()
Get Video bitrate.
|
Long |
getWidth()
Get Width.
|
void |
setAcodec(String Acodec)
Set Audio encoding format:
aac/mp3.
|
void |
setAdaptBitratePercent(Float AdaptBitratePercent)
Set Bitrate compression ratio of top speed codec video.
|
void |
setAudioBitrate(Long AudioBitrate)
Set Audio bitrate.
|
void |
setBitrateToOrig(Long BitrateToOrig)
Set Whether to not exceed the original bitrate.
|
void |
setDescription(String Description)
Set Template description.
|
void |
setFps(Long Fps)
Set Frame rate.
|
void |
setFpsToOrig(Long FpsToOrig)
Set Whether to not exceed the original frame rate.
|
void |
setGop(Long Gop)
Set Keyframe interval in seconds.
|
void |
setHeight(Long Height)
Set Height.
|
void |
setHeightToOrig(Long HeightToOrig)
Set Whether to not exceed the original height.
|
void |
setNeedAudio(Long NeedAudio)
Set Whether to keep the audio.
|
void |
setNeedVideo(Long NeedVideo)
Set Whether to keep the video.
|
void |
setProfile(String Profile)
Set Encoding quality:
baseline/main/high.
|
void |
setRotate(Long Rotate)
Set Rotation angle.
|
void |
setTemplateId(Long TemplateId)
Set Template ID.
|
void |
setVcodec(String Vcodec)
Set Video encoding format:
h264/h265.
|
void |
setVideoBitrate(Long VideoBitrate)
Set Video bitrate.
|
void |
setWidth(Long Width)
Set 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 Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- Template ID.public String getVcodec()
public void setVcodec(String Vcodec)
Vcodec
- Video encoding format:
h264/h265.public String getAcodec()
public void setAcodec(String Acodec)
Acodec
- Audio encoding format:
aac/mp3.public Long getAudioBitrate()
public void setAudioBitrate(Long AudioBitrate)
AudioBitrate
- Audio bitrate. Default value: 0.
Value range: 0-500.public String getDescription()
public void setDescription(String Description)
Description
- Template description.public Long getVideoBitrate()
public void setVideoBitrate(Long VideoBitrate)
VideoBitrate
- Video bitrate. Value range: 100-8000 Kbps.
Note: the bitrate value must be a multiple of 100.public Long getWidth()
public void setWidth(Long Width)
Width
- Width. Value range: 0-3000.public Long getNeedVideo()
public void setNeedVideo(Long NeedVideo)
NeedVideo
- Whether to keep the video. 0: no; 1: yes. Default value: 1.public Long getNeedAudio()
public void setNeedAudio(Long NeedAudio)
NeedAudio
- Whether to keep the audio. 0: no; 1: yes. Default value: 1.public Long getHeight()
public void setHeight(Long Height)
Height
- Height. Value range: 0-3000.public Long getFps()
public void setFps(Long Fps)
Fps
- Frame rate. Value range: 0-200.public Long getGop()
public void setGop(Long Gop)
Gop
- Keyframe interval in seconds. Value range: 0-50.public Long getRotate()
public void setRotate(Long Rotate)
Rotate
- Rotation angle.
0, 90, 180, 270.public String getProfile()
public void setProfile(String Profile)
Profile
- Encoding quality:
baseline/main/high.public Long getBitrateToOrig()
public void setBitrateToOrig(Long BitrateToOrig)
BitrateToOrig
- Whether to not exceed the original bitrate. 0: no; 1: yes. Default value: 0.public Long getHeightToOrig()
public void setHeightToOrig(Long HeightToOrig)
HeightToOrig
- Whether to not exceed the original height. 0: no; 1: yes. Default value: 0.public Long getFpsToOrig()
public void setFpsToOrig(Long FpsToOrig)
FpsToOrig
- Whether to not exceed the original frame rate. 0: no; 1: yes. Default value: 0.public Float getAdaptBitratePercent()
public void setAdaptBitratePercent(Float AdaptBitratePercent)
AdaptBitratePercent
- Bitrate compression ratio of top speed codec video.
Target bitrate of top speed code = VideoBitrate * (1-AdaptBitratePercent)
Value range: 0.0-0.5.Copyright © 2020. All rights reserved.