Go to http://www.exactfutures.com/index02.htm then download vid2jpg.zip and unzip into a new folder. You will then also see a jpg2vid.zip which you should unzip into same. The source JpegImagesToMovie.java may be useful to you. If on a PC using Windows you could hit run.bat to put images from testcam04.avi into the images folder, and then hit jpg2avi.bat to construct these into a new video test.avi. You can edit the bat files for your file names, and refer to the source and other items in the zip.