Converting a series of BufferedImages to a video in Java?

bufferedimage, image, java, video

Solution

You can use Xuggler (on Windows, Mac or Linux) to do this, and the following tutorials will show you exactly how to do it. In particular, see the (I'm not kidding) "How to Grow Some Balls" tutorial for a program that makes a video out of a series of BufferedImages (and some audio).

Problem

How would I convert an an array of BufferedImages into a video? I'm making a screen recorder. How would I compress the video afterward?

Original source