473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to read data from a video capture card in C#?

Dear all,

I've got a video capture device. Device manager shows "nVidia WDM Video
Capture (universal)" driver in "Sound, video and game controllers"
category. Also, Windows Movie Maker, and other standard video capture
tools can record video from the device.

But, I've got no idea how to read transmitted data in a C# application.
All I'm gonna do is to show the real-time movie on an appropriate
control on my form.

Any sort of help would be highly appreciated ;)
Best regards,
Arash

Nov 17 '05 #1
2 15418
There is no direct way in C# or .NET to do so, however with some external
libraries you can. One well known and powerful method is DirectShow.NET
(http://www.codeproject.com/cs/media/directshownet.asp) which is a wrapper
around many DirectShow and unmanaged calls to DirectX.

Another easy method, is DirectX.Capture
(http://www.codeproject.com/cs/media/directxcapture.asp) which is a library
that wrapps itself around the previously mentioned DirectShow.NET and makes
capture very very easy.

Still another option, would be breaking out some Managed DirectX (found with
the DirectX 9 SDK) and manually hitting DirectShow on your own to do the
recording.

I should mention, by using DirectShow (via any of the above mentioned
mechanisms or any other for that matter) for your capturing, you save
yourself a lot of time and hassle in writing your own low level system to
communicate with the driver or video buffer.

Brendan
"Arash" wrote:
Dear all,

I've got a video capture device. Device manager shows "nVidia WDM Video
Capture (universal)" driver in "Sound, video and game controllers"
category. Also, Windows Movie Maker, and other standard video capture
tools can record video from the device.

But, I've got no idea how to read transmitted data in a C# application.
All I'm gonna do is to show the real-time movie on an appropriate
control on my form.

Any sort of help would be highly appreciated ;)
Best regards,
Arash

Nov 17 '05 #2
Dear Brendan,

You can not imagine how helpful you have been :)
I've not yet studied the source code but the demo project is the right
thing that I needed.

Best regards,
Arash

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ravi | last post by:
Hi, Im trying to develop a Visual C# .NET app. that uses DirectShow filters to capture video from camera source. However, after going through a series of articles, I've seen that DirectShow is not...
3
by: Juan Crespo | last post by:
Dear Sirs: My name is Juan Crespo and I write you from Spain, I work as application developer in Industrial Automation in Spain. We have as customer a company that wants to reuse old computers...
1
by: Omar Hamido | last post by:
How i can do video capture with c#...more especific, i have a video capture card pci and my question is: if possible to do that... regards... Omar
4
by: ABC | last post by:
I. I have a video capture project, like AmCap, written in VB.NET. It is a windows applications. Is it possible to put it into a web page? II. Is the conversion in I complicated? Involve ActiveX...
2
by: John | last post by:
Hi, Could anyone point me in the right direction for using video capture? I'd like to write a basic VB.NET app that shows the output from a composite camera and has a simple record now button. ...
0
by: tHw | last post by:
Hello. I would like to preview video, capture still images and record video simultaneously with my AGP capture card. I have to do it in dotNET. Is there a dedicated solution to do that in dotNET?...
0
by: peridian | last post by:
Hi, I want to get a video capture card for my PC, which runs both WinXP Pro SP3 and Vista Business SP1. Nearly all the video capture cards I see state they only run on Windows Media Centre...
1
by: David Hood | last post by:
Hello, I made a program to capture photos from 3 web cams (with video capture). With one or two cams, the program works perfectly. With 3 cams, my program doesn't work. The third window...
0
by: KovarishxD | last post by:
Hi there, I'm using directshow to capture video from eight channels of a capture card. I'm using eight threads, and instantiating a full package of filters for each. My problem is that I'm using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.