By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,998 Members | 2,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,998 IT Pros & Developers. It's quick & easy.

Creating AVI files from Images in Java

P: n/a
I've developed a Java3D application, and have been told by the evil
boss to produce some AVI files of it in action to show to potential
clients. I've figured out how to get a stream of BufferedImages and
save them as JPEGs with the ImageIO library, but am at a loss as to
how to turn them into an AVI file. I've read through the Java Media
Foundation docs a couple of times, but am finding them too obscure to
understand, and the example programs overly convoluted.

Is there a simple way to turn a number of BufferedImages into an AVI
file? Is it as simple as implementing a custom PushBufferDataSource
and linking it to a DataSink? Any guidance on this would be greatly
appreciated.

Mark McKay
--
http://www.kitfox.com
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Mark McKay wrote:
I've developed a Java3D application, and have been told by the evil
boss to produce some AVI files of it in action to show to potential
clients. I've figured out how to get a stream of BufferedImages and
save them as JPEGs with the ImageIO library, but am at a loss as to
how to turn them into an AVI file. I've read through the Java Media
Foundation docs a couple of times, but am finding them too obscure to
understand, and the example programs overly convoluted.

Is there a simple way to turn a number of BufferedImages into an AVI
file? Is it as simple as implementing a custom PushBufferDataSource
and linking it to a DataSink? Any guidance on this would be greatly
appreciated.

Mark McKay
--
http://www.kitfox.com


Mr Mark McKay,
if you have the stream of images and you just want to make an AVI file,
this one time, Adobe ImageReady (inside Adobe Photoshop 6) will create
an AVI file (or quicktime file) from a directory with a set of numbered
images.

If you want to do it on the fly then thats a different story.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.