public class VideoTrackItem extends AbstractModel
Constructor and Description |
---|
VideoTrackItem() |
Modifier and Type | Method and Description |
---|---|
AudioTransform[] |
getAudioOperations()
Get Operation on audio such as muting.
|
String |
getCoordinateOrigin()
Get Video origin position.
|
Float |
getDuration()
Get Video segment duration in seconds.
|
String |
getHeight()
Get Video segment height.
|
ImageTransform[] |
getImageOperations()
Get Operation on video image such as image rotation.
|
String |
getSourceMedia()
Get Source of media material for video segment, which can be an ID of a VOD file or URL of another file.
|
Float |
getSourceMediaStartTime()
Get Start time of video segment in material file in seconds.
|
String |
getWidth()
Get Video segment width.
|
String |
getXPos()
Get The horizontal position of the origin of the video segment relative to the origin of the canvas.
|
String |
getYPos()
Get The vertical position of the origin of the video segment relative to the origin of the canvas.
|
void |
setAudioOperations(AudioTransform[] AudioOperations)
Set Operation on audio such as muting.
|
void |
setCoordinateOrigin(String CoordinateOrigin)
Set Video origin position.
|
void |
setDuration(Float Duration)
Set Video segment duration in seconds.
|
void |
setHeight(String Height)
Set Video segment height.
|
void |
setImageOperations(ImageTransform[] ImageOperations)
Set Operation on video image such as image rotation.
|
void |
setSourceMedia(String SourceMedia)
Set Source of media material for video segment, which can be an ID of a VOD file or URL of another file.
|
void |
setSourceMediaStartTime(Float SourceMediaStartTime)
Set Start time of video segment in material file in seconds.
|
void |
setWidth(String Width)
Set Video segment width.
|
void |
setXPos(String XPos)
Set The horizontal position of the origin of the video segment relative to the origin of the canvas.
|
void |
setYPos(String YPos)
Set The vertical position of the origin of the video segment relative to the origin of the canvas.
|
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 String getSourceMedia()
public void setSourceMedia(String SourceMedia)
SourceMedia
- Source of media material for video segment, which can be an ID of a VOD file or URL of another file.public Float getSourceMediaStartTime()
public void setSourceMediaStartTime(Float SourceMediaStartTime)
SourceMediaStartTime
- Start time of video segment in material file in seconds. Default value: 0.public Float getDuration()
public void setDuration(Float Duration)
Duration
- Video segment duration in seconds. By default, the length of the video material will be used, which means that the entire material will be captured. If the source file is an image, `Duration` needs to be greater than 0.public String getCoordinateOrigin()
public void setCoordinateOrigin(String CoordinateOrigin)
CoordinateOrigin
- Video origin position. Valid values:
public String getXPos()
public void setXPos(String XPos)
XPos
- The horizontal position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported:
public String getYPos()
public void setYPos(String YPos)
YPos
- The vertical position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported:
public String getWidth()
public void setWidth(String Width)
Width
- Video segment width. % and px formats are supported:
public String getHeight()
public void setHeight(String Height)
Height
- Video segment height. % and px formats are supported:
public ImageTransform[] getImageOperations()
public void setImageOperations(ImageTransform[] ImageOperations)
ImageOperations
- Operation on video image such as image rotation.
Note: this field may return null, indicating that no valid values can be obtained.public AudioTransform[] getAudioOperations()
public void setAudioOperations(AudioTransform[] AudioOperations)
AudioOperations
- Operation on audio such as muting.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.