Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create AVI/MPG from BMP images

 
Richard Gray
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic