Comments (2)
Hello @tshino, i found your repo and i need this functionality too) This functionality exists in https://github.com/schellingb/UnityCapture (abandoned repo) and it works with software that can access builtin camera.
from softcam.
Thanks for your interest!
Actually, I was thinking about such functionality.
Unfortunately, it seems that there is no way in Windows for apps to create multiple (unlimited number of) virtual cameras using regular APIs. This applies to this library too, which means it is impossible for a library to provide an API to create multiple webcams freely.
I have investigated OBS Studio in the past. It provides multiple virtual cameras as a built-in feature. I wondered how it works. I found that 10 (or so) cameras have been created on the system during the installation of OBS Studio itself. The number of cameras installed cannot be changed after the installation.
Based on the observation, it seems possible for us to take the same way as follows:
When a user wants to use multiple webcams using softcam, in the installation process of softcam.dll, 10 or an arbitrary number of virtual cameras are registered to the system. Each one has a different name such as Softcam 1, Softcam 2, ... Softcam 10. Then softcam provides API to specify which camera to attach for the newly opening upstream.
I think this would be totally possible. It can be done by copy-pasting the relevant codes like the filter name and GUIDs in the library.
from softcam.
Related Issues (20)
- How to use this library to make two or more virtual webcams on Windows? HOT 3
- Create Python binding for softcam HOT 5
- Add CI build and test of python_binding example HOT 1
- Default image when there is no input HOT 4
- Image colors are not correct HOT 2
- Let us to set our custom device name HOT 3
- Package manager HOT 1
- Add 32-bit support HOT 1
- Is it possible to set resolution for the output? HOT 1
- could it add a convert function() which make input is a Mat format HOT 1
- Issues with the 32 bit support HOT 5
- Add VS2022 project files HOT 1
- Softcam doesn't appear in camera list on discord HOT 3
- VS2022 Build Error HOT 1
- Different Video Formats? HOT 3
- Add audio pin? HOT 2
- Add hardware ID into device info? HOT 2
- Mac version? Example problem HOT 5
- Changing dll name that is searched for HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from softcam.