public class MJPEGGenerator
extends java.lang.Object
Constructor and Description |
---|
MJPEGGenerator(java.io.File aviFile,
int width,
int height,
double framerate,
int numFrames)
Creates a new instance of MJPEGGenerator
|
Modifier and Type | Method and Description |
---|---|
void |
addImage(java.awt.Image image) |
void |
finishAVI() |
static byte[] |
intBytes(int i) |
static void |
main(java.lang.String[] args) |
static byte[] |
shortBytes(short i) |
static int |
swapInt(int v) |
static short |
swapShort(short v) |
public MJPEGGenerator(java.io.File aviFile, int width, int height, double framerate, int numFrames) throws java.io.IOException
java.io.IOException
public void addImage(java.awt.Image image) throws java.io.IOException
java.io.IOException
public void finishAVI() throws java.io.IOException
java.io.IOException
public static int swapInt(int v)
public static short swapShort(short v)
public static byte[] intBytes(int i)
public static byte[] shortBytes(short i)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception