Re: Where to ask about video capture
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Sat, 28 Feb 2009 20:29:29 -0800
James Harris <james.harris.1@xxxxxxxxxxxxxx> wrote:
Are there libraries under Windows for the capture of video - i.e. the
control of webcams and video cameras - and is this the place to ask?
I'm looking to do things such as
* Find attached capture devices
* Query capabilities - video, audio, tuning etc
* Enumerate video standards and resolutions supported
* Set up a capture (preferably via a rolling buffer for efficiency)
* Start and stop capture
I've looked on msdn but found it hard to make sense of as there are
many alternatives. One library I found set up capture direct to a
Window and/or an AVI but that's adding stuff I don't need.
Most of what you want is covered by DirectShow. If you look at the
DirectShow section of the Platform SDK samples, you'll find a number of
sample applications that cover your target areas.
P.S. As a general query: I presume there will be Win32 and .net video
capture libraries.
There is a .NET wrapper around DirectShow, called (surprisingly enough)
DirectShow.NET. The core code is C++, because it's difficult to do
real-time in managed code.
Should a new development target .net and what
versions of Windows will that lock me in to?
That's really irrelevant to the discussion. There is no "should"; it
depends on your comfort level.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- Re: Where to ask about video capture
- From: James Harris
- Re: Where to ask about video capture
- Prev by Date: Re: Can GDI and EVR share the same window?
- Next by Date: Re: can't delete pBuilder- SampleCGB - causes memory leak
- Previous by thread: Re: Can GDI and EVR share the same window?
- Next by thread: Re: Where to ask about video capture
- Index(es):
Relevant Pages
|