This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Create AVI/MPG from BMP images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Create AVI/MPG from BMP images" Watch "Create AVI/MPG from BMP images" New topic

Create AVI/MPG from BMP images

Richard Gray

Joined: Aug 08, 2008
Posts: 13
Does anyone have any ideas on generating a video file such as AVI or MPEG from a set of sequenced images? Perhaps using the Java Media Framework API?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41085
The open source ImageJ image processing application and library can open a sequence of images (File -> Import -> Image Sequence), create an internal representation of the sequence (a so-called "stack"), and then save the stack as an AVI (File -> Save As -> AVI). It also has lots of I/O plugins, one of which may be able to export MPEG.

Due to all images having to be in memory before the AVI is created, you may be limited by main memory as to the number of images it can process.

Ping & DNS - my free Android networking tools app
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41085
Just noticed that I didn't mention this before, but ImageJ is completely automatable -either by using its internal macro language and recorder, or by using it as a Java library- so if you were looking for a programmatic way to do this, that's possible too.
wood burning stoves
subject: Create AVI/MPG from BMP images
Similar Threads
ImageJ Animator
tag library error
How to check which version of Oracle
session.isNew() is always returning false
Did most of you guys buy voucher from SAI for 40 dollars?