MJPEG Tools
At a lanparty awhile back I had setup the webcam to take pictures every few minutes, so afterwards I wanted to create a flip book type movie when them.
The camera saved the images with a timestamp as the filename, but I needed to rename them to a more standard format. I did so with this command:
count=0; for item in `find . -type f`; do mv $item frame-`printf "%05d"
$count`.jpg; count=$(( $count + 1 )); done
(isn't bash grand?)
I used MJPEG Tools with this command to convert the image files into an mpeg movie:
jpeg2yuv -f 5 -j frame-%05d.jpg -I p | mpeg2enc -a 1 -F 5 -o movie.mpg
This first converst the jpg files into the yuv format

