Git Product home page Git Product logo

Comments (2)

Sash0check avatar Sash0check commented on July 1, 2024 1

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.

tshino avatar tshino commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.