Page 1 of 1

How to make virtual camera which can be used?

Posted: Fri Dec 29, 2017 8:13 am
by stmdbe2019
On the windows PC i have one camera which is used by PureBasic (openCV) now Google chrome WebRTC can not access the camera because its in use by PureBasic.
How to tell PureBasic make a clone video camera driver, so that Google Chrome WebRTC can access the modified video stream?
Image

Re: How to make virtual camera which can be used?

Posted: Fri Dec 29, 2017 8:47 am
by DarkDragon
On Windows it won't work solely with PureBasic IIRC, as you'd need to write a virtual camera driver. Try this one: http://splitcamera.com/.

Re: How to make virtual camera which can be used?

Posted: Fri Dec 29, 2017 9:29 am
by stmdbe2019
@DarkDragon:

- "write a virtual camera driver." - is there any work in progress/open-source sample available for PureBasic?
- Tried splitcamera.com it works (but looks like its not open-source and not having PureBasic wrapper's or so)

Re: How to make virtual camera which can be used?

Posted: Fri Dec 29, 2017 1:32 pm
by DarkDragon
shamun wrote:- "write a virtual camera driver." - is there any work in progress/open-source sample available for PureBasic?
- Tried splitcamera.com it works (but looks like its not open-source and not having PureBasic wrapper's or so)
No, you cannot create drivers with PureBasic.

Re: How to make virtual camera which can be used?

Posted: Fri Dec 29, 2017 10:31 pm
by Demivec
DarkDragon wrote:
shamun wrote:- "write a virtual camera driver." - is there any work in progress/open-source sample available for PureBasic?
- Tried splitcamera.com it works (but looks like its not open-source and not having PureBasic wrapper's or so)
No, you cannot create drivers with PureBasic.
Or can you? http://www.purebasic.fr/english/viewtopic.php?f=14&t=53460

Re: How to make virtual camera which can be used?

Posted: Sat Dec 30, 2017 6:39 am
by DarkDragon
Demivec wrote:
DarkDragon wrote:
shamun wrote:- "write a virtual camera driver." - is there any work in progress/open-source sample available for PureBasic?
- Tried splitcamera.com it works (but looks like its not open-source and not having PureBasic wrapper's or so)
No, you cannot create drivers with PureBasic.
Or can you? http://www.purebasic.fr/english/viewtopic.php?f=14&t=53460
I must admit I haven't seen this, yet. Thanks for showing.