endrov.macBinding
Class QTMovieMaker

java.lang.Object
  extended by endrov.macBinding.QTMovieMaker
All Implemented Interfaces:
endrov.makeMovie.EvMovieMaker

public class QTMovieMaker
extends java.lang.Object
implements endrov.makeMovie.EvMovieMaker

Interface to quicktime. Encapsulates all shitty commands.


Field Summary
static java.lang.String[] codecs
          Available codecs
static java.lang.String[] qualityStrings
          Available compression levels
 
Constructor Summary
QTMovieMaker(java.io.File path, int finalWidth, int finalHeight, java.lang.String codec, java.lang.String quality)
          Start making a movie
 
Method Summary
 void addFrame(java.awt.image.BufferedImage im)
          Encode another frame
 void done()
          Finish up movie making
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codecs

public static final java.lang.String[] codecs
Available codecs


qualityStrings

public static final java.lang.String[] qualityStrings
Available compression levels

Constructor Detail

QTMovieMaker

public QTMovieMaker(java.io.File path,
                    int finalWidth,
                    int finalHeight,
                    java.lang.String codec,
                    java.lang.String quality)
             throws java.lang.Exception
Start making a movie

Throws:
java.lang.Exception
Method Detail

done

public void done()
          throws java.lang.Exception
Finish up movie making

Specified by:
done in interface endrov.makeMovie.EvMovieMaker
Throws:
java.lang.Exception

addFrame

public void addFrame(java.awt.image.BufferedImage im)
              throws java.lang.Exception
Encode another frame

Specified by:
addFrame in interface endrov.makeMovie.EvMovieMaker
Throws:
java.lang.Exception