tags:

views:

3446

answers:

3

Is there a simple library for .NET that has a simply API that let's you do something like;

// pseudo-code
List<Webcam> cams = Webcam.GetAll();
Image i = cams[0].GrabImage();

I've looked at DirectShow and WIA, both seem to be much more complicated than this. I've also looked at this CodeProject project, but it really is much more complicated than what I need.

The library should support image grabbing and video grabbing, and preferably live streaming of video.

Edit: It is preferable if it is free (or at least very cheap), as this is a hobby project.

+2  A: 

We had the same problem before, so later we resorted to 3rd party lib. Try VideoCapX. The webpage and documentation might not seems good, but the product is. We used it to stream video over internet and do video conferencing. It also support capture to file. Well worth the price.

faulty
I am downloading the trial now to take a look.
Vegard Larsen
I forgot to mention, the sample provided also not very well done, but at least it shows you how it's done
faulty
+2  A: 

VideoGrabber is a superb component that does about anything you want. Also, comes with sample code that demonstrates every single feature, in-depth doc. Last but not least, e-mail support is outstanding.

A bit on the expensive side for hobby projects though.

Serge - appTranslator
A: 

There was a similar discussion here.

itsmatt