|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectJpegImagesToMovie
public class JpegImagesToMovie
This program takes a list of JPEG image files and converts them into a QuickTime or AVI movie.
| Constructor Summary | |
|---|---|
JpegImagesToMovie()
|
|
| Method Summary | |
|---|---|
void |
controllerUpdate(javax.media.ControllerEvent evt)
This method is called when an event is generated by a Controller that this listener is registered with. |
void |
dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
Event handler for the file writer. |
boolean |
doIt(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML,
java.lang.String type)
Method to write out the movie for a given type |
boolean |
doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML)
Method to write out an AVI movie |
boolean |
doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML,
java.lang.String type)
Method to write out the movie for an AVI movie |
boolean |
doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
java.lang.String outputURL)
Method to write out an AVI movie |
boolean |
doItQuicktime(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML)
Method to write out a quicktime movie |
boolean |
doItQuicktime(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
java.lang.String outputURL)
Method to write out a quicktime movie |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JpegImagesToMovie()
| Method Detail |
|---|
public boolean doItQuicktime(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutML - the Media Locator
public boolean doItQuicktime(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
java.lang.String outputURL)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutputURL - the output URL for the movie
public boolean doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
java.lang.String outputURL)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutputURL - the output URL for the movie
public boolean doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutML - the Media Locator
public boolean doIt(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML,
java.lang.String type)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutML - the Media Locatortype - the VideoFormat type
public boolean doItAVI(int width,
int height,
int frameRate,
java.util.List<java.lang.String> inFiles,
javax.media.MediaLocator outML,
java.lang.String type)
width - the width of the resulting movieheight - the height of the resulting movieframeRate - the number of frames per secondinFiles - string full path names of the framesoutML - the Media Locatortype - the VideoFormat typepublic void controllerUpdate(javax.media.ControllerEvent evt)
controllerUpdate in interface javax.media.ControllerListenerevt - the event generatedpublic void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
dataSinkUpdate in interface javax.media.datasink.DataSinkListenerevt - the event generatedpublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||