public class EditMediaVideoStream extends AbstractModel
header, skipSign| Constructor and Description |
|---|
EditMediaVideoStream() |
EditMediaVideoStream(EditMediaVideoStream 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 The bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.
|
String |
getCodec()
Get The encoding format of the video stream, optional values:
libx264: H.264 encoding;
libx265: H.265 encoding;
av1: AOMedia Video 1 encoding;
H.266: H.266 encoding.
|
Long |
getFps()
Get Video frame rate, value range: [0, 100], unit: Hz.
|
Long |
getHeight()
Get The maximum value of the video stream height (or short side), value range: 0 and [128, 4096], unit: px.
|
String |
getResolutionAdaptive()
Get Resolution adaptive, optional values:
open: open, at this time, Width represents the long side of the video, and Height represents the short side of the video;
close: closed, at this time , Width represents the width of the video, and Height represents the height of the video.
|
Long |
getWidth()
Get Resolution adaptive, optional values:
open: open, at this time, Width represents the long side of the video, and Height represents the short side of the video;
close: closed, at this time , Width represents the width of the video, and Height represents the height of the video.
|
void |
setBitrate(Long Bitrate)
Set The bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.
|
void |
setCodec(String Codec)
Set The encoding format of the video stream, optional values:
libx264: H.264 encoding;
libx265: H.265 encoding;
av1: AOMedia Video 1 encoding;
H.266: H.266 encoding.
|
void |
setFps(Long Fps)
Set Video frame rate, value range: [0, 100], unit: Hz.
|
void |
setHeight(Long Height)
Set The maximum value of the video stream height (or short side), value range: 0 and [128, 4096], unit: px.
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaptive, optional values:
open: open, at this time, Width represents the long side of the video, and Height represents the short side of the video;
close: closed, at this time , Width represents the width of the video, and Height represents the height of the video.
|
void |
setWidth(Long Width)
Set Resolution adaptive, optional values:
open: open, at this time, Width represents the long side of the video, and Height represents the short side of the video;
close: closed, at this time , Width represents the width of the video, and Height represents the height of the video.
|
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 EditMediaVideoStream()
public EditMediaVideoStream(EditMediaVideoStream source)
public String getCodec()
public void setCodec(String Codec)
Codec - The encoding format of the video stream, optional values:
public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate - The bit rate of the video stream, value range: 0 and [128, 35000], unit: kbps.
When the value is 0 or left blank, it means automatically selecting the best video bit rate.public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive - Resolution adaptive, optional values:
public Long getWidth()
public void setWidth(Long Width)
Width - Resolution adaptive, optional values:
public Long getHeight()
public void setHeight(Long Height)
Height - The maximum value of the video stream height (or short side), value range: 0 and [128, 4096], unit: px.
public Long getFps()
public void setFps(Long Fps)
Fps - Video frame rate, value range: [0, 100], unit: Hz.
When the value is 0, the frame rate will be automatically set for the video.
The default value is 0.Copyright © 2025. All rights reserved.