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.


webcam-v2.1.zip (3464 downloads)

About: Allan


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.

This site uses Akismet to reduce spam. Learn how your comment data is processed.