title: How to screencast to a video file using java?
body: <p>In some situations (automated testing) I need to screencast my display(s) to <strong>video file(s)</strong>, but currently i can only save a series of PNG files using Robot and ImageIO classes, I know there are other third party programs to convert this set of image files into a video file but I want to make it in my code without a need to third party applications, so how to convert from a series of PNG files into a video file in any format ? Thanks in advance.</p>