MediaHost (TM) wrote:
However, is there any development going on concerning v4l and/or USB? Actually it's a pity, that I couldn't realize this project....we would have been willing to invest in such code....
I'm not sure what the capabilities of video4linux are, which devices it supports or how its API works. I know it supports at least some USB webcams.
As we can access /dev/usb/lpt or /dev/dsp, it should be possible to access /dev/video....I'm not familiar in implementing such stuff at wine, but....?
The idea is to use the video4linux interface to implement the VFW API in Wine. The way I usually go about this kind of thing is to write a program or find a simple program (hopefully one with source code) that can grab a picture from a WebCam on Linux. Then run it in Wine, and see which error messages come out... then you'll have a starting point. Looks like there's souce for a simple program like that here:
http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/...
and documentation for VFW here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/ht...
Mike