C language > User contributions
VFW example
kobold:
I have made today a small vfw (video for windows) application.
Because there is a lack of vfw examples on the net i wanted to give you this.
It is a simple win32 program with five buttons.
First you need a webcam connected with your pc. After that, start the program, press 'Start'. Now should an extra video window appear, this can take several seconds.
If nothing happens, you can change the video source with 'Source...' and the resolution with 'Config...'.
'Stop' is stopping the camera. And 'Exit' is closing the application.
Works great with my USB webcam.
Have fun.
Tino:
Hello Kobold,
Thanks for your great project.
I searched for sth. like this long time.
But i have a question,
if i remove the [output]-folder,
where to find vfw32.lib ?
Thanks,
Tino
TimoVJL:
Look:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=1163
Copy that library to PellesC\lib\Win-folder.
Tino:
Hi timovjl,
Thanks - works fine.
Tino
kobold:
A little bit newer, better and more options.
Any suggestions how i could read out the pixel (colour)values of the camera picture?
Navigation
[0] Message Index
[#] Next page
Go to full version