public class EditMediaVideoStream extends AbstractModel
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 |
getHeight()
Get 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率取基准分辨率;
当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
String |
getResolutionAdaptive()
Get 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
Long |
getWidth()
Get 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率取基准分辨率;
当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
void |
setHeight(Long Height)
Set 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率取基准分辨率;
当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set 分辨率自适应,可选值:
open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。
|
void |
setWidth(Long Width)
Set 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
当 Width、Height 均为 0,则分辨率取基准分辨率;
当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。
|
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 EditMediaVideoStream()
public EditMediaVideoStream(EditMediaVideoStream source)
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive
- 分辨率自适应,可选值:
public Long getWidth()
public void setWidth(Long Width)
Width
- 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
public Long getHeight()
public void setHeight(Long Height)
Height
- 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
Copyright © 2022. All rights reserved.