falahati / NiVirtualCam

OpenNI 2 Virtual Webcam - Directshow Filter
GNU General Public License v3.0
136 stars 38 forks source link

Windows 10 virtual camera #10

Open brejzek opened 4 years ago

brejzek commented 4 years ago

I installed the program and it runs i see the output preview but it seems that the virtual camera never installed as no camera is detected in skype or other various apps. windows 10 1903

axteroide commented 4 years ago

Seems like this uses DirectShow and Skype does not support DirectShow virtual devices

smithian123 commented 4 years ago

It's working for me in skype but the image is fuzzy and pixelated. I'm wondering if adjusting the resolution could help.

open-ni-and-skype

vvandy commented 4 years ago

Seems like this uses DirectShow and Skype does not support DirectShow virtual devices

DirectShow requires the same architecture from OpenNI and the reading program. It's likely Skype is x64, while the OpenNI releases are x86 (32-bit). Would be nice to have a 64-bit release for issues like these.

falahati commented 4 years ago

The new version of Skype and in fact all Windows Store apps are not compatible with this program. They all use a new set of APIs to access the webcam. The very old programs that access webcam with older Win98 APIs are also not supported.

The desktop version of skype however should be compatible. This is the version that @smithian123 is using. In fact, I believe that even today the majority of programs should be compatible.

I can not do much about this since the program is old and supporting Windows Universal Apps as Mircosoft calls them requires a user-space driver instead of the current DirectShow filter which means I need to write a good part of this project again and then find some company to sign it for free or pay to get it signed since you can not install unsigned drivers on Windows anymore. This is especially hard since I live in Iran and my country is under sanctions so I don't think any company is willing to accept my money even if I could pay the 0.5k price tag.

BTW, I don't think the problem is with the filter's target architecture. When I published this program there wasn't any major 64bit application that I needed to support so the filter is in 32bit only. Adding a 64bit version complicates the setup process and increases the size of the file significantly. However, if there is a problem that you are sure is happening because of the filter's target architecture I can compile an x64 version.

Is Zoom's target architecture x64?

falahati commented 4 years ago

@smithian123 That seems like a bug. Can you try restarting Skype and see if it works?

smithian123 commented 4 years ago

Thanks for getting back to me. I found a *.ax file that someone has rewritten to access the kinect 360 to make it work directly. So further changes to your old program won't be necessary. I appreciate the time you have spent on it, your current constraints, it's excellent functionality and the skill required to code. I wish you well in your future endeavours. - Ian

vvandy commented 4 years ago

BTW, I don't think the problem is with the filter's target architecture. However, if there is a problem that you are sure is happening because of the filter's target architecture I can compile an x64 version.

I'm fairly certain there's an architecture match required. It's not conclusive, but I've installed both Firefox x64 and Firefox x86 on my machine. Only Firefox x86 can even see that there's a webcam present.

I've noticed this pattern elsewhere too. x86 programs like Facerig and Discord see the camera just fine. But every x64 application like Chrome and VLC doesn't even recognize a camera is installed.

Kingallice commented 4 years ago

I would love to see the 64-bit version compiled.

ManuGraiph commented 2 years ago

Thanks for getting back to me. I found a *.ax file that someone has rewritten to access the kinect 360 to make it work directly. So further changes to your old program won't be necessary. I appreciate the time you have spent on it, your current constraints, it's excellent functionality and the skill required to code. I wish you well in your future endeavours. - Ian

I know this is quite old and probably you won't see this, but could you plz post that .ax? I found one, but it only makes the desktop version of discord to see the Kinect as a camera, and it doesn't work. Literally i can't see it as a webcam in any other app in my pc, not the windows camera app, not edge, nothing.

smithian123 commented 2 years ago

KinectCam4.zip Try that one. It's been so long that I'm not sure if this is the correct file. - Ian