public class AVIProducer extends Producer
Modifier and Type | Field and Description |
---|---|
org.monte.media.avi.AVIWriter |
itsWriter |
imgCounter, itsFps, itsFrameDuration, itsHeight, itsPathPlotter, itsWidth, outFile, outPath
Constructor and Description |
---|
AVIProducer(java.io.File aFile,
int wid,
int hei,
long frameDur)
Constructor for the AVIProducer class.
|
Modifier and Type | Method and Description |
---|---|
void |
addFrame(java.awt.image.BufferedImage rendImg)
adds the frame
|
void |
close()
closes the producer
|
void |
finalizeAVI()
finalize the output framework
|
void |
initializeOutput(java.io.File aFile)
initialize the output framework
|
static void |
main(java.lang.String[] args) |
void |
setSubRect(java.awt.Rectangle subRect)
set the export region
|
configure, getItsRenderer, getSubImage, getSubRect, setFps, setItsRenderer, setTimeBetween
public AVIProducer(java.io.File aFile, int wid, int hei, long frameDur) throws java.lang.Exception
java.lang.Exception
public void initializeOutput(java.io.File aFile) throws java.lang.Exception
initializeOutput
in class Producer
java.lang.Exception
public void finalizeAVI() throws java.lang.Exception
java.lang.Exception
public void setSubRect(java.awt.Rectangle subRect) throws java.lang.Exception
Producer
setSubRect
in class Producer
java.lang.Exception
public void addFrame(java.awt.image.BufferedImage rendImg) throws java.lang.Exception
Producer
public void close() throws java.lang.Exception
Producer
public static void main(java.lang.String[] args)
RH, 2017