public interface Movie
movie provides an editable container for media data in a time and
tracks coordinate system.| Modifier and Type | Field and Description |
|---|---|
static String |
IN_PROPERTY |
static String |
OUT_PROPERTY |
static String |
PLAYHEAD_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Rational |
getDuration()
Returns the total duration of the movie in seconds.
|
Format |
getFileFormat() |
Format |
getFormat(int track) |
Rational |
getInsertionPoint()
Returns the position of the insertion point in seconds.
|
MovieReader |
getReader() |
Rational |
getSelectionEnd()
Returns the position of the out point in seconds.
|
Rational |
getSelectionStart()
Returns the position of the in point in seconds.
|
int |
getTrackCount() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
Rational |
sampleToTime(int track,
long sample) |
void |
setInsertionPoint(Rational seconds)
Sets the position of the insertion point in seconds.
|
void |
setSelectionEnd(Rational out)
Sets the position of the out point in seconds.
|
void |
setSelectionStart(Rational in)
Sets the position of the in point in seconds.
|
long |
timeToSample(int track,
Rational seconds)
Returns the frame number for the specified time in seconds.
|
static final String PLAYHEAD_PROPERTY
static final String IN_PROPERTY
static final String OUT_PROPERTY
Rational getDuration()
void setInsertionPoint(Rational seconds)
Rational getInsertionPoint()
Rational getSelectionStart()
void setSelectionStart(Rational in)
Rational getSelectionEnd()
void setSelectionEnd(Rational out)
long timeToSample(int track,
Rational seconds)
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
Rational sampleToTime(int track, long sample)
int getTrackCount()
Format getFormat(int track)
Format getFileFormat()
MovieReader getReader()
Copyright © 2014. All Rights Reserved.