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 java.lang.String |
IN_PROPERTY |
static java.lang.String |
OUT_PROPERTY |
static java.lang.String |
PLAYHEAD_PROPERTY |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.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(java.beans.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 java.lang.String PLAYHEAD_PROPERTY
static final java.lang.String IN_PROPERTY
static final java.lang.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(java.beans.PropertyChangeListener listener)
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Rational sampleToTime(int track, long sample)
int getTrackCount()
Format getFormat(int track)
Format getFileFormat()
MovieReader getReader()