0

This question is an extension to my previous question:
Problems associated with my screenshot-taking software
Now with the problems solved, I want to convert the .png images to .avi file. Now the format of images and video doesn't really matter since the images are written to the disk using javax.swing.ImageIO so I can change the save format. So they are BufferedImage before being made as .png
Most questions here on similar topics were asked to use some 3rd party software and all. I want to do it using just Java.
Where do I begin?
Can you help me understand this?

Community
  • 1
  • 1
Dummy Derp
  • 237
  • 1
  • 3
  • 15
  • 1
    Going over https://kr.forums.oracle.com/forums/thread.jspa?threadID=1262127 and the answer provided there is simply so genius! – Dummy Derp Sep 12 '12 at 11:25

1 Answers1

1

If you don't mind using 3rd party libraries you might want to take look at Xuggler. It's a wrapper for ffmpeg that helped me some time ago.

Update: This demo might contain all you need: https://github.com/xuggle/xuggle-xuggler/blob/master/src/com/xuggle/mediatool/demos/CaptureScreenToFile.java

DerMike
  • 15,594
  • 13
  • 50
  • 63