Creating an avi from several pictures or from sketchup

hallo!

is it possible to create an avi file from several pictures with a ruby
script or to create a avi from sketchup with the ruby api?

thank for your time.

tim