public class MovieWriter
extends java.lang.Object
Constructor and Description |
---|
MovieWriter()
Constructor that takes no arguments
|
MovieWriter(int theFrameRate)
Constructor that takes the frame rate
|
MovieWriter(int theFrameRate,
java.lang.String theFramesDir)
Constructor that takes the frame rate and the
directory that the frames are stored in
|
MovieWriter(java.lang.String dirPath)
Constructor that takes the directory that
has the frames
|
MovieWriter(java.lang.String theFramesDir,
int theFrameRate,
java.lang.String theOutputURL)
Constructor that takes the directory with the frames
the frame rate, and the output url (dir,name,
and extendsion)
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getFrameNames()
Method to get the list of jpeg frames
|
static void |
main(java.lang.String[] args) |
void |
writeAVI()
Method to write the movie frames in AVI format
|
void |
writeQuicktime()
Method to write the movie frames as quicktime
|
public MovieWriter()
public MovieWriter(java.lang.String dirPath)
dirPath
- the full path for the directory
that has the movie framespublic MovieWriter(int theFrameRate)
theFrameRate
- the number of frames per secondpublic MovieWriter(int theFrameRate, java.lang.String theFramesDir)
theFrameRate
- the number of frames per secondtheFramesDir
- the directory where the frames arepublic MovieWriter(java.lang.String theFramesDir, int theFrameRate, java.lang.String theOutputURL)
theFramesDir
- the directory that holds the frametheFrameRate
- the number of frames per secondtheOutputURL
- the complete path name for the output
moviepublic java.util.List<java.lang.String> getFrameNames()
public void writeAVI()
public void writeQuicktime()
public static void main(java.lang.String[] args)