Werner Randelshofer did some work to create a Quicktime movie. See: http://blog.hslu.ch/rawcoder/2008/08/12/writing-avi-videos-using-pure-java/http://www.randelshofer.ch/blog/2008/08/writing-avi-videos-in-pure-java/
You could also use Xuggler: http://www.xuggle.com