public class MakeMovieFromData
extends java.lang.Object
implements javax.media.ControllerListener, javax.media.datasink.DataSinkListener
Constructor and Description |
---|
MakeMovieFromData() |
Modifier and Type | Method and Description |
---|---|
void |
controllerUpdate(javax.media.ControllerEvent evt)
Controller Listener.
|
void |
dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
Event handler for the file writer.
|
boolean |
doIt(int width,
int height,
int frameRate,
java.util.Vector<java.lang.String> inFiles,
javax.media.MediaLocator outML) |
boolean |
makeMovie(java.lang.String[] frameFileNames,
java.lang.String dataPath,
java.lang.String fileName,
MovieMaker maker)
make movie from a collection of frame files
|
public boolean makeMovie(java.lang.String[] frameFileNames, java.lang.String dataPath, java.lang.String fileName, MovieMaker maker) throws java.lang.Exception
frameFileNames
- files containing the framesdataPath
- absolute path where data is storedfileName
- filename for movie (without .mov extension)maker
- used to log messages to the message windowjava.lang.Exception
public boolean doIt(int width, int height, int frameRate, java.util.Vector<java.lang.String> inFiles, javax.media.MediaLocator outML)
public void controllerUpdate(javax.media.ControllerEvent evt)
controllerUpdate
in interface javax.media.ControllerListener
public void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
dataSinkUpdate
in interface javax.media.datasink.DataSinkListener