can't use webcam with apps while zoneminder is running

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
bjb1959
Posts: 27
Joined: Mon Oct 06, 2014 12:57 pm

can't use webcam with apps while zoneminder is running

Post by bjb1959 » Thu Jul 19, 2018 5:42 pm

I notice that while zoneminder is running I am unable to use my webcam for apps like skype or OBS etc. I have to manually stop the zoneminder service to use the other apps and then manually start it again. is there a way to have zoneminder running and still use the webcam for other apps trying to access /dev/video0 ?

mikb
Posts: 422
Joined: Mon Mar 25, 2013 12:34 pm

Re: can't use webcam with apps while zoneminder is running

Post by mikb » Fri Jul 20, 2018 4:59 pm

I would expect not: If ZM is holding /dev/video0 open, it is using it.

How do you think your webcam would cope with being told to use one resolution/frame rate by ZM, but another by Skype etc? It wouldn't work out well.

This used to be the case with /dev/audio and /dev/dsp on the old days of OSS, until all the clever stuff around ALSA/Jack/Pulse Audio, where the sound subsystem opens and owns the hardware, then presents copies of that (potentially having to fake different audio rates and sample depths, channel counts) to applications.

I don't think there's an equivalent layer for video.

bjb1959
Posts: 27
Joined: Mon Oct 06, 2014 12:57 pm

Re: can't use webcam with apps while zoneminder is running

Post by bjb1959 » Mon Jul 23, 2018 3:30 pm

no worries, I can just shut it down to use a different app. no big deal, just wondered if there was a way to do it. Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest