How to make virtual camera which can be used?

Windows specific forum
stmdbe2019
User
User
Posts: 89
Joined: Mon Aug 31, 2009 2:11 pm

How to make virtual camera which can be used?

Post 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
-----
Registered PureBasic Coder.
DarkDragon
Addict
Addict
Posts: 2218
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

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

Post 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/.
bye,
Daniel
stmdbe2019
User
User
Posts: 89
Joined: Mon Aug 31, 2009 2:11 pm

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

Post 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)
-----
Registered PureBasic Coder.
DarkDragon
Addict
Addict
Posts: 2218
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

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

Post 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.
bye,
Daniel
User avatar
Demivec
Addict
Addict
Posts: 4086
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

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

Post 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
DarkDragon
Addict
Addict
Posts: 2218
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

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

Post 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.
bye,
Daniel
Post Reply