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”
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.
3 thoughts on “Camera”
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?
A little bit googling and I found the answer. Vfw32.lib. 🙂