MovieSalsa is a time-lapse (timelapse) movie generation program that takes a directory of JPEGs and produces an .AVI file. MovieSalsa will compress the movie and you can set the time range to generate the movie from the size, the playback rate, and even select a post-generation shell to run. You can automate it with the command-line options.