News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

VFW example

Started by kobold, March 24, 2006, 07:40:59 PM

Previous topic - Next topic

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

May the source be with you

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?

king_azman

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.

kobold

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?

king_azman

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...