![]() |
Digital Video over FireWire
I am looking for a way to capture video, mainly digital stills, from a Sony digital video camcorder over FireWire. I have been searching for some free libraries written in C#, but I haven't found much. I did find TVideoGrabber(http://www.delphicity.com/vidgrab/index.htm), but I haven't been able to try it out because I won't have a FireWire cable until tomorrow morning. Has anyone used this in this before? If so, does it work and how well does it work? Any other information on this subject will be helpful as well. Any C dll's will work as well.
|
Re: Digital Video over FireWire
I have used a program called Kino on linux to capture dv video on fire wire. you could look at thier source code.http://www.kinodv.org/
|
Re: Digital Video over FireWire
I found a solution for windows. It's called DirectShow by Microsoft. It seems to work well. The only downfall is that it's only written in c++. http://msdn2.microsoft.com/en-us/library/ms783323.aspx
|
Re: Digital Video over FireWire
You can always use p/invoke to mix the two. Many of the 'raw' APIs for Win32 are designed to be called from C, but this does not mean you must use C. Look into the
System.Runtime.InteropServices namespace.If you take this approach, though, you've got some grunt work ahead of you. You'll need to pull the prototypes from the associated header files, and give C# declarations so the compiler knows how to marshal the parameters. You'll also need to define the structures and/or unions used, again by looking through the headers and creating C# equivalents. This page might help, as it explains the attributes you'll need to use to simulate the union type in C#. You may also need to add a reference to your project. If you do, this should be your first step. |
Re: Digital Video over FireWire
|
| All times are GMT -5. The time now is 3:30 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC