Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #1

Open
petergerten opened this issue Feb 16, 2018 · 13 comments
Open

Windows Support #1

petergerten opened this issue Feb 16, 2018 · 13 comments
Assignees

Comments

@petergerten
Copy link

Great project!
Any plans to add windows support? (it seems there is a started project here: https://github.com/TimSC/libvideolive)

@jremmons
Copy link
Owner

I am currently using the video4linux api to create and write frames to the fake webcam device. I'd probably have to do something completely different on windows so porting it would require a complete rewrite... I'll keep windows in mind and I'll take a look at the project you linked, but It may be a while before I get something working though.

@jremmons jremmons self-assigned this Feb 18, 2018
@ghost
Copy link

ghost commented Dec 17, 2018

Is there any way to emulate a webcam on windows with python? I need to output OpenCV frames to a fake webcam

@ILodde
Copy link

ILodde commented Apr 26, 2020

@trueZane Have you find a way to that? Because I'm struggling with the same problem and can't find any answers

@dvf
Copy link

dvf commented May 20, 2020

Any update ?

@abctaylor
Copy link

Ping - this would be very helpful!

@parthsarthiprasad
Copy link

@jremmons first thanks for this package, this saves a lot of effort for me, previously I was using gstreamer which was obviously a difficult option to setup and use @dvf @abctaylor @trueZane @petergerten I''ve worked with using camera with windows it ideally uses dshow with FFmpeg.alternatively for what all I have tried it apparently is difficult to have a kernel level module working like v4l2loopback, there are 3rd party apps but id definitely try to work and tell you if I get with something. I am currently searching for a lighter solution rather than third party app like manycam. Maybe this might help https://github.com/rdp/open-source-directshow-video-capture-demo-filter

@dvf
Copy link

dvf commented May 26, 2020

But how do cross platform apps like ManyCam do it?

@letmaik
Copy link

letmaik commented Jan 23, 2021

I just stumbled upon this project, great work! A while ago I've released an equivalent for Windows only (so far): https://github.com/letmaik/pyvirtualcam.

@JayFoxRox
Copy link

JayFoxRox commented Feb 28, 2021

An update to the previous post by @letmaik:

A while ago I've released an equivalent for Windows only (so far): https://github.com/letmaik/pyvirtualcam.

So pyvirtualcam might be a cross-platform frontend very soon.
I'd still expect API changes in the future, but I think for many situations it will be "good enough" already.

@letmaik
Copy link

letmaik commented Mar 7, 2021

Small update, pyvirtualcam now has native Linux, macOS and Windows support. I decided to not rely on pyfakewebcam for Linux support due to the extra overhead caused by the color space conversion done in Python. In pyvirtualcam all backends are implemented in native code (including color space conversion) which keeps it fast, while also avoiding the extra OpenCV dependency.

@ukicomputers
Copy link

How to module pyfakewebcam work on Windows? I'am visited this link. On this module only showing virtual webcam using OBS virtual cam and Unity Capiture. I'am want to this module directly working on windows. Please help me.

@parthsarthiprasad
Copy link

Hope these help. Also linking the previous comment

@jremmons first thanks for this package, this saves a lot of effort for me, previously I was using gstreamer which was obviously a difficult option to setup and use @dvf @abctaylor @trueZane @petergerten I''ve worked with using camera with windows it ideally uses dshow with FFmpeg.alternatively for what all I have tried it apparently is difficult to have a kernel level module working like v4l2loopback, there are 3rd party apps but id definitely try to work and tell you if I get with something. I am currently searching for a lighter solution rather than third party app like manycam. Maybe this might help https://github.com/rdp/open-source-directshow-video-capture-demo-filter

@ukicomputers
Copy link

ukicomputers commented Jun 1, 2021

Thanks @parthsarthiprasad for answer, but has not solution. I'am seen to this project working with v4l2loopback-utils camera driver. Windows does not have v4l2loopback-utils cam driver, maybe Windows has another driver that works with this project.

How for me not solution pyvirtualcam. Is no argument pyvirtualcam.FakeWebcam for use a application picture, but only use a picture from OBS or Unity Capiture.
this is e.g. code:
camera = pyfakewebcam.FakeWebcam('/dev/video1', 640, 480).

Using pyfakewebcam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants