|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMovieWriter
public class MovieWriter
Class to write out an AVI or Quicktime movie from a series of JPEG (jpg) frames in a directory
Constructor Summary | |
---|---|
MovieWriter()
No arg constructor |
|
MovieWriter(int theFrameRate)
Constructor that takes the frame rate |
|
MovieWriter(int theFrameRate,
String theFramesDir)
Constructor that takes the frame rate and the directory that the frames are stored in |
|
MovieWriter(String dirPath)
Constructor that takes the directory that has the frames |
|
MovieWriter(String theFramesDir,
int theFrameRate,
String theOutputURL)
Constructor that takes the directory with the frames the frame rate, and the output url (dir,name, and extendsion) |
Method Summary | |
---|---|
List<String> |
getFrameNames()
Method to get the list of jpeg frames |
static void |
main(String[] args)
|
void |
writeAVI()
Method to write the movie frames in AVI format |
void |
writeQuicktime()
Method to write the movie frames as quicktime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MovieWriter()
public MovieWriter(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, String theFramesDir)
theFrameRate
- the number of frames per secondtheFramesDir
- the directory where the frames arepublic MovieWriter(String theFramesDir, int theFrameRate, String theOutputURL)
theFramesDir
- the directory that holds the frametheFrameRate
- the number of frames per secondtheOutputURL
- the complete path name for the output
movieMethod Detail |
---|
public List<String> getFrameNames()
public void writeAVI()
public void writeQuicktime()
public static void main(String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |