Re: porting to win2k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Al,
 
The proscribed video API for Windows is called DirectShow. It is a very different beast than Video4Linux. First off, DShow is based on MS COM technologies, meaning that the interfaces are provided by dynamically loadable modules referenced by a Globally Unique Identifier. The DShow API is very complex, as there must be over 30 individual interfaces which must be learned to get the components working.
 
DShow is a very interesting technology though. It allows the programmer to create filter graphs by inserting various components {tuners, compressors, renderers} into the graph. Each component has pins, either input or output pins. Those pins can be enumerated on the filter, and then attached to another filter. Most of the time the pin can render the required filters downstream.
 
As I said, there is nothing on Linux which comes close to the complexity of the DShow API. This doesn't mean I think DShow is superiour, it is a nice design. I  think it is a bit complex for what it does, but it does make some things easier for the application level programmer.
 
I have been working on a COM implementation for Linux. It is currently still in the design phase, but with about two weeks of work it will be a full implementation. Once the COM ability is there, writing components for DShow will not be so difficult. It will require wrapping the Video4Linux API in the directshow components...
 
If anyone else is trying to support DirectShow on Linux, please contact me.. I have some interesting ideas and would like to share them with others with a similar interest.
 
Thank you,
Michael Uman
Senior Software Engineer
Softwaremagic.net
 
----- Original Message -----
Sent: Friday, June 28, 2002 1:07 PM
Subject: porting to win2k

how do
 
i'm trying to port a linux app to win2k.  i have zero experience at such exercises but i figure the only way to really learn is to do it.  i have cygwin installed on my win2k system and have all the relevant libraries/tools working.  the only hitch that i can see is that after i have executed the configure script the only inaccessable header is "linux/videodev.h".  i kinda think that installing a kernal source and headers etc and videodevX into the cygwin environment wouldnt be the answer.  just a hunch.
 
i dont know very much about all this but would i be right in thinking win2k has an equivalent to v4l that i somehow have to point to?!?
 
and if all this is a bit too much, does anyone know of a good book that i should read?
 
cheers
al

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux