java.lang.Object
org.monte.media.beans.AbstractBean
org.monte.media.av.AbstractMovie
org.monte.media.avi.AVIMovie
- All Implemented Interfaces:
Serializable,Movie
AVIMovie.
FIXME - Implement me.
- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
Fields inherited from class org.monte.media.beans.AbstractBean
propertySupportFields inherited from interface org.monte.media.av.Movie
INSERTION_POINT_PROPERTY, SELECTION_END_PROPERTY, SELECTION_START_PROPERTY, URI_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the total duration of the movie in seconds.getFormat(int track) Returns the position of the insertion point in seconds.Returns the position of the out point in seconds.Returns the position of the in point in seconds.intsampleToTime(int track, long sample) voidsetInsertionPoint(Rational seconds) Sets the position of the insertion point in seconds.voidsetSelectionEnd(Rational out) Sets the position of the out point in seconds.voidSets the position of the in point in seconds.longtimeToSample(int track, Rational seconds) Returns the frame number for the specified time in seconds.Methods inherited from class org.monte.media.av.AbstractMovie
getURI, setURIMethods inherited from class org.monte.media.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.monte.media.av.Movie
addPropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
AVIMovie
public AVIMovie()
-
-
Method Details
-
getDuration
Description copied from interface:MovieReturns the total duration of the movie in seconds. -
setInsertionPoint
Description copied from interface:MovieSets the position of the insertion point in seconds.- Specified by:
setInsertionPointin interfaceMovie- Overrides:
setInsertionPointin classAbstractMovie
-
getInsertionPoint
Description copied from interface:MovieReturns the position of the insertion point in seconds. If a movie has a duration of n, then there are n+1 insertion points.- Specified by:
getInsertionPointin interfaceMovie- Overrides:
getInsertionPointin classAbstractMovie
-
getSelectionStart
Description copied from interface:MovieReturns the position of the in point in seconds.- Specified by:
getSelectionStartin interfaceMovie- Overrides:
getSelectionStartin classAbstractMovie
-
setSelectionStart
Description copied from interface:MovieSets the position of the in point in seconds.- Specified by:
setSelectionStartin interfaceMovie- Overrides:
setSelectionStartin classAbstractMovie
-
getSelectionEnd
Description copied from interface:MovieReturns the position of the out point in seconds.- Specified by:
getSelectionEndin interfaceMovie- Overrides:
getSelectionEndin classAbstractMovie
-
setSelectionEnd
Description copied from interface:MovieSets the position of the out point in seconds.- Specified by:
setSelectionEndin interfaceMovie- Overrides:
setSelectionEndin classAbstractMovie
-
timeToSample
Description copied from interface:MovieReturns the frame number for the specified time in seconds. -
sampleToTime
-
getTrackCount
public int getTrackCount() -
getFormat
-
getFileFormat
-
getReader
-