Assemble many images files into one .mpeg or .mov

I’m looking to use something like:

http://gd2.rubyforge.org/

to generate several 100 images, and then run some other ruby program to
combine the images into a video file (mpeg or mov or any standard
format.)

Is there a ruby library for this?

Thanks.

Andrew A. wrote:

Thanks.
Check out RMagick for generating the images. You can also RMagick to
assemble short sequences into a video (AVI or MPEG) but for longer
sequences you’ll probably be better off using another program such as
ffmpeg, mpeg2enc, or mmencode to assemble the individual images into
video format.

Here’s the word on ImageMagick’s support for movies:
http://www.imagemagick.org/Usage/formats/#mpeg.

Thanks, I started using ffmpeg and it couldn’t have been easier.

if you have seq1.png, seq2.png, seq3.png, etc. run

ffmpeg -i seq%d.png test.mov

and it works perfectly.

Andrew A. wrote:

Thanks, I started using ffmpeg and it couldn’t have been easier.

if you have seq1.png, seq2.png, seq3.png, etc. run

ffmpeg -i seq%d.png test.mov

and it works perfectly.

Wonderful! The right tool for the job.