This simple BASH script encodes JPEG images of the containing folder into an XVID video.