Pelles C forum
C language => User contributions => Topic started by: kobold on March 24, 2006, 07:40:59 PM
-
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.
-
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
-
Look:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=1163
Copy that library to PellesC\lib\Win-folder.
-
Hi timovjl,
Thanks - works fine.
Tino
-
A little bit newer, better and more options.
Any suggestions how i could read out the pixel (colour)values of the camera picture?
-
hello guys,
where can i get the vfw32.lib file again? the link that timovjl gave doesn't go to a valid topic any longer. by the way.. this is great stuff! thanks for sharing it - i've been trying to look for this as well! if only i can recompile it :p
thanks.
-
The sad thing is, that vfw is dead. The future is somewhere in direct-x... i forgot the name of the direct-x sub-whatever-it-is-called stuff.
Why are easy things always dead?
-
Thanks kobold...
yeah.. i get the picture while browsing for this kind of stuff. but, as long as i can get some self-made program running & grabbing frames from my webcam as i want it... i'm happy with it! :D
Cheers...