Camera

This is a recompile of my web camera example program using the “video for windows” library, and build in capturing to avi file.
If you need an encoder, try using “Windows Media Video 9 VCM”
http://www.microsoft.com/downloads/details.aspx?FamilyID=0C99C648-5800-4…

Remarks:
This is using VFW and the function capGetDriverDescription() only retrieves driver information like “Microsoft WDM Image Capture (Win32)”. This function did work fine for years back, but today all cameras is WDM cameras, and this means only one driver reply.
For support of more than one camera, then a directshow implementation must be made instead.


Download Camera 2.1
(575.53 KB Downloaded 2601 times)
This little example is a small class to demonstrate the win32 calls for accessing your web camera

3 thoughts on “Camera”

  1. Nice work. Thanks a lot. But I still don’t understand what library should I include. The header for Windows Multimedia is Vfw.h. But what is the lib or dll file?

Leave a Reply

Your email address will not be published.