public class AliyunVideoClip extends AliyunClip
AliyunVideoClip.Builder
to create objects of this class. When using AliyunIImport
to import videos, video clips must be created and added to AliyunIImport
.Modifier and Type | Class and Description |
---|---|
static class |
AliyunVideoClip.Builder |
mClipHeight, mClipWidth
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Gets the display duration of the clip.
|
long |
getEndTime()
Gets the end time of a video clip.
|
int |
getRotation()
Gets the rotation angle of a video clip.
|
long |
getStartTime()
Gets the start time of a video clip.
|
int |
getVideoHeight()
Get the video's height.
|
int |
getVideoWidth()
Get the video's width.
|
void |
setDuration(long durationMills)
Sets the display duration of the image.
|
void |
setEndTime(long endTime)
Sets the end time of a video clip.
|
void |
setRotation(int rotation)
Sets the rotation angle of a video clip.
|
void |
setStartTime(long startTime)
Sets the start time of a video clip.
|
getClipHeight, getClipWidth, getDisplayMode, getId, getMediaType, getSource, getTransition, setDisplayMode, setId, setMediaType, setSource, setTransition
public long getStartTime()
public void setStartTime(long startTime)
startTime
- The start time. Unit: milliseconds.public long getEndTime()
public void setEndTime(long endTime)
endTime
- The end time. Unit: milliseconds.public int getRotation()
public void setRotation(int rotation)
rotation
- Unit: degreespublic int getVideoWidth()
public int getVideoHeight()
public long getDuration()
public void setDuration(long durationMills)
durationMills
- Unit: milliseconds.