Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2008

Tip: Looking for answers? Try searching our database.

Webcam Capture

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 21 Dec 2007 05:00 GMT
Hi!
Which is the best way to webcam video capture with C# 2.0 and vs 2005?
DirectX? VFW Windows Api ?

Thanks
Michael Nemtsev [MVP] - 21 Dec 2007 08:49 GMT
Hello Kevin,

See there http://www.codeproject.com/KB/dotnet/wiascriptingdotnet.aspx?target=WIA

and believe in google, it hepls in 90% :)

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

K> Hi!
K> Which is the best way to webcam video capture with C# 2.0 and vs
K> 2005?
K> DirectX? VFW Windows Api ?
K> Thanks
K>
Kerem Gumrukcu - 21 Dec 2007 09:00 GMT
>and believe in google, it hepls in 90% :)

LOL

Signature

-----------------------
Beste Grusse / Best regards / Votre bien devoue
Kerem Gumrukcu
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

Kevin - 21 Dec 2007 12:47 GMT
Hi Michael, thanks for your reply.
My question was Wich is the best method, not how to do... ;)

> Hello Kevin,
>
[quoted text clipped - 15 lines]
> K> Thanks
> K>
Peter Duniho - 21 Dec 2007 17:31 GMT
> Hi Michael, thanks for your reply.
> My question was Wich is the best method, not how to do... ;)

Your question was not at all that clear.  Also, it's a little awkward to  
ask what's the best way to do something in a certain technology (C# 2.0,  
which is just the compiler but I assume you mean to imply .NET 2.0 also),  
and then offer as the two options for "best" a couple of technologies that  
have nothing to do with the certain technology.

All that said, I'm not aware of any built-in support in .NET for video  
capture.  The current Windows API is DirectShow which, oddly enough, is  
not in DirectX anymore.  It's in the Platform SDK and replaces  
ActiveMovie/VFW.

Do a Google search for ".net directshow" and you'll come across an open  
source project meant to make interop with DirectShow in a .NET program  
much easier.  I haven't used it myself, but it's been around few a few  
years now and I'd guess it would help a lot.

Pete
clintonG - 22 Dec 2007 01:38 GMT
//search
Windows Image Acquisition site:msdn2.microsoft.com

> Hi!
> Which is the best way to webcam video capture with C# 2.0 and vs 2005?
> DirectX? VFW Windows Api ?
>
> Thanks
Michael C - 06 Jan 2008 23:51 GMT
> Hi!
> Which is the best way to webcam video capture with C# 2.0 and vs 2005?
> DirectX? VFW Windows Api ?

DirectX, specifically DirectShow, is the way to go. I'm not sure if there's
a managed interface available but you can get third party solutions or
sample on the internet. It's not that simple.

Alternatively VFW is a LOT simpler but doesn't have as much support or
functionality.

> Thanks
Michael A. Covington - 07 Jan 2008 20:53 GMT
>> Hi!
>> Which is the best way to webcam video capture with C# 2.0 and vs 2005?
[quoted text clipped - 3 lines]
> there's a managed interface available but you can get third party
> solutions or sample on the internet. It's not that simple.

Agreed.  Look for DirectShowNet, on SourceForge.
juan roque - 19 Aug 2008 19:57 GMT
juan roque - 19 Aug 2008 19:58 GMT

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.