javax.media.ControllerListener
, javax.media.datasink.DataSinkListener
public class JpegImagesToMovie
extends java.lang.Object
implements javax.media.ControllerListener, javax.media.datasink.DataSinkListener
Constructor | Description |
---|---|
JpegImagesToMovie() |
Modifier and Type | Method | Description |
---|---|---|
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,
java.lang.String outputURL) |
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) |
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 |
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
|
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
|
static void |
main(java.lang.String[] args) |
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 Locatorpublic 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 moviepublic 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 moviepublic 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 Locatorpublic 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 typepublic 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.ControllerListener
evt
- the event generatedpublic void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
dataSinkUpdate
in interface javax.media.datasink.DataSinkListener
evt
- the event generatedpublic static void main(java.lang.String[] args)