pvanbuskirk
October 1, 2004, 22:23:17
Hello,
I am attempting to capture 450 frames (30 seconds at 15 frames per second) from my Imaging Source DFK 31F03 in the form of an Image Sequence. The current way I am doing this is the following:
ICImagingControl1.LiveStop();
ICImagingControl1.ImageRingBufferSize = 450;
ICImagingControl1.MemorySnapImageSequence(450);
MessageBox.Show("Video capture complete. Click OK to save video files to disk.");
ICImagingControl1.MemorySaveImageSequence(450, filename);
// filename is something like "C:\images\image*.bmp"
MessageBox.Show("Image stream successfully saved.");
I am transferring these images over FireWire 400 to a workstation that runs Windows XP Home, has a 7200 RPM 160GB hard disk, and most likely 512MB of RAM. I would like to keep the resolution at 1024x780 and the frame rate at 15 FPS, so there is no flexibility there.
What I am interested in is saving these files as fast as possible.
Question 1: Is the code above the best way to do this given my current setup?
Question 2: What can you recommend in the way of hardware (15000RPM hard drive, RAID array, more RAM, etc.) to optimize this process? Currently it takes about 5 minutes to save these images and that is unacceptable. What is the most likely cause of the Input/Output bottleneck? Do not consider budget constraints for this question.
Question 3: If my requirements are unattainable, would it be a wise move to just save an AVI file of the appropriate length and extract all the images from that?
Thanks very much for any help.
I am attempting to capture 450 frames (30 seconds at 15 frames per second) from my Imaging Source DFK 31F03 in the form of an Image Sequence. The current way I am doing this is the following:
ICImagingControl1.LiveStop();
ICImagingControl1.ImageRingBufferSize = 450;
ICImagingControl1.MemorySnapImageSequence(450);
MessageBox.Show("Video capture complete. Click OK to save video files to disk.");
ICImagingControl1.MemorySaveImageSequence(450, filename);
// filename is something like "C:\images\image*.bmp"
MessageBox.Show("Image stream successfully saved.");
I am transferring these images over FireWire 400 to a workstation that runs Windows XP Home, has a 7200 RPM 160GB hard disk, and most likely 512MB of RAM. I would like to keep the resolution at 1024x780 and the frame rate at 15 FPS, so there is no flexibility there.
What I am interested in is saving these files as fast as possible.
Question 1: Is the code above the best way to do this given my current setup?
Question 2: What can you recommend in the way of hardware (15000RPM hard drive, RAID array, more RAM, etc.) to optimize this process? Currently it takes about 5 minutes to save these images and that is unacceptable. What is the most likely cause of the Input/Output bottleneck? Do not consider budget constraints for this question.
Question 3: If my requirements are unattainable, would it be a wise move to just save an AVI file of the appropriate length and extract all the images from that?
Thanks very much for any help.