Pelles C forum

C language => User contributions => Topic started by: kobold on March 24, 2006, 07:40:59 PM

Title: VFW example
Post 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.
Title: VFW example
Post by: Tino on April 03, 2006, 05:33:46 PM
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
Title: VFW example
Post by: TimoVJL on April 04, 2006, 06:35:50 AM
Look:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=1163

Copy that library to PellesC\lib\Win-folder.
Title: VFW example
Post by: Tino on April 05, 2006, 06:32:14 PM
Hi timovjl,
Thanks - works fine.

Tino
Title: VFW example
Post by: kobold on April 15, 2006, 11:45:54 AM
A little bit newer, better and more options.

Any suggestions how i could read out the pixel (colour)values of the camera picture?
Title: vfw32.lib??
Post by: king_azman on August 10, 2006, 10:04:37 AM
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.
Title: VFW example
Post by: kobold on August 11, 2006, 06:05:11 PM
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?
Title: VFW example
Post by: king_azman on August 17, 2006, 01:14:42 PM
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...