Jun 062007

In order to demonstrate oscillations in the Earth’s magnetosphere, I wanted to turn a sequence of static images into an animation.

A given set of frame images can be combined to form an MPEG-4 movie using mencoder. In this case the source files were png images with resolution 320×240, and I wanted 24 frames per second.
mencoder mf://*.png -mf w=320:h=240:fps=24:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>