January 29th, 2014, 07:01 PM
Getting 6 frames per second from Webcam
I want to make a MFC app that will capture 6 frames per second from the webcam connected to the PC. And i want to get the frames as imageData, i.e., as bitmap or PNG. The idea is to get these frames/images and then update them live on a web browser, so that it gives a "look and feel" of live video streaming.
I did a sample MFC app that shows webcam stream and then use the capGrabFrame & capFileSaveDIB to save the bmp to disk. This all works fine.
But now rather than saving into disk, i need to get the Image Data, so that i could make changes and update in a browser window.
Also, not sure whether it's possible to get 6 frames per second from the webcam.
Is this possible?
Please guide me with some code.
Thanks in advance.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!