Daniel Simpson
September 13th, 2013, 11:04 PM
Hello,
I’ve got a few questions that, to me, are quite confusing.
I’ll first describe what I am trying to do: I work in a soil testing laboratory and I’m running a test that involves dropping a cone into some soil. Traditionally, only the end-of-test depth of penetration is measured.
I’m trying to use video capture and processing technology to record the penetration and develop time versus displacement data from the video footage.
I have developed MatLAB script which extracts frames from video and tracks motion, but must work with image files. I have also used IrfanView to extract image frames from video.
I started this experiment using my Nikon D5100, which will record video at 25fps. This worked well- I was able to get good image quality and I actually got 25 images per second of video.
I wanted greater resolution in the time-displacement data, so I thought I needed a camera with a higher frame rate.
To keep budget low, I wanted to try to use USB cameras (like webcams). Image quality is not SUPER important. So far, I have tried two cameras, the Sony Playstation 3 EYE (supposedly records at 120fps at 640x480) and the Microsoft Lifecam Studio (supposedly records at 30fps at 720p- I’ve only been able to get about 8fps at 720p).
I have used Windows Media Encoder, Debut Video Capture Software, and a program called CL-Eye Test for the playstation eye to control the webcams and capture video using a variety of formats, resolutions, and specified frame rates.
The problem I am running into is this: The extracted number of frames does not correlate to the length of video and specified recording frame rate (i. e. If I records at 30fps for 5 seconds, I would expect 150 frames, but I’m getting something like, say, 110 frames). This problem occurs whether I use the MatLAB script or IrfanView to extract frames and with several file types I have tried (.avi and .wmv). The Nikon records to .mov. Is this a filetype issue? I’ve heard .wmv compresses frames, but I’m not sure what this means.
Can anyone give some insight as to what is going on? I would also appreciate alternative suggestions to what I am doing. Thanks in advance for your help.
I’ve got a few questions that, to me, are quite confusing.
I’ll first describe what I am trying to do: I work in a soil testing laboratory and I’m running a test that involves dropping a cone into some soil. Traditionally, only the end-of-test depth of penetration is measured.
I’m trying to use video capture and processing technology to record the penetration and develop time versus displacement data from the video footage.
I have developed MatLAB script which extracts frames from video and tracks motion, but must work with image files. I have also used IrfanView to extract image frames from video.
I started this experiment using my Nikon D5100, which will record video at 25fps. This worked well- I was able to get good image quality and I actually got 25 images per second of video.
I wanted greater resolution in the time-displacement data, so I thought I needed a camera with a higher frame rate.
To keep budget low, I wanted to try to use USB cameras (like webcams). Image quality is not SUPER important. So far, I have tried two cameras, the Sony Playstation 3 EYE (supposedly records at 120fps at 640x480) and the Microsoft Lifecam Studio (supposedly records at 30fps at 720p- I’ve only been able to get about 8fps at 720p).
I have used Windows Media Encoder, Debut Video Capture Software, and a program called CL-Eye Test for the playstation eye to control the webcams and capture video using a variety of formats, resolutions, and specified frame rates.
The problem I am running into is this: The extracted number of frames does not correlate to the length of video and specified recording frame rate (i. e. If I records at 30fps for 5 seconds, I would expect 150 frames, but I’m getting something like, say, 110 frames). This problem occurs whether I use the MatLAB script or IrfanView to extract frames and with several file types I have tried (.avi and .wmv). The Nikon records to .mov. Is this a filetype issue? I’ve heard .wmv compresses frames, but I’m not sure what this means.
Can anyone give some insight as to what is going on? I would also appreciate alternative suggestions to what I am doing. Thanks in advance for your help.