Animating images

Create an animation (movie) from a sequence of images:

ffmpeg -f image2 -r 1 -i filename-%04d.png -s WxH -f mpeg -r 24 foo.mpg