ffmpeg -r 1/5 -start_number 2 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
NOTE: This creates a video file from multiple images, such as:
img001.jpg img002.jpg img003.jpg