Page 1 of 1

USB camera in ZoneMinder

Posted: Sat Jul 15, 2017 12:14 am
by laia0911
Please, does anyone help me how to set up USB cameras in ZoneMinder :?: :roll:

Re: USB camera in ZoneMinder

Posted: Sun Jul 16, 2017 12:21 am
by PacoLM
Hi,

It will be really useful to search in the wiki or in the forum.

Re: USB camera in ZoneMinder

Posted: Thu Jul 20, 2017 12:20 am
by laia0911
Hi,

I need tips on how to use USB cameras (WebCam) in ZoneMinder.

And, I'm not from Catalonia. I'm from Brazil.
Sorry, I'm using google translator to express myself in this forum.

Re: USB camera in ZoneMinder

Posted: Thu Jul 20, 2017 4:30 am
by rockedge
you must use add monitor, pick "Local" go to the "Source" tab and select the correct settings. path will be like /dev/video0.

make sure the permissions are correct for www-data t see the camera. (add the user www-data to the group "video")

hope this helps.

Re: USB camera in ZoneMinder

Posted: Thu Jul 20, 2017 9:19 pm
by laia0911
I am remotely accessing the server via PuTTY. So my question is how to configure these USB cameras remotely. It is possible? Or just local?

Re: USB camera in ZoneMinder

Posted: Sat Jul 22, 2017 12:57 am
by bbunge
laia0911 wrote:
Thu Jul 20, 2017 9:19 pm
I am remotely accessing the server via PuTTY. So my question is how to configure these USB cameras remotely. It is possible? Or just local?
You did not say which version of Linux you are using. Here is a link to the WIKI :https://wiki.zoneminder.com/Helpful_use ... _resources

Once Zoneminder is installed and started you use the web console at http://server-ip/zm

One critical step for USB cameras is to add a user to the server:
Create a new user: adduser www-data video

Re: USB camera in ZoneMinder

Posted: Mon Jul 02, 2018 11:07 am
by uiguy
Hi,

I am getting the following error when trying to setup a local USB webcam

SQL-ERR 'SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'ServerId' at row 1', statement was 'insert into Monitors set LinkedMonitors = '', Name = 'Server', ServerId = '', Type = 'Local', Function = 'Monitor', Enabled = '1', RefBlendPerc = '6', AlarmRefBlendPerc = '6', AnalysisFPS = '', MaxFPS = '', AlarmMaxFPS = '', Protocol = '', Host = '', Port = '80', Options = '', Path = '', User = '', Pass = '', RTSPDescribe = '0', LabelFormat = '%N - %d/%m/%y %H:%M:%S', LabelX = '0', LabelY = '0', LabelSize = '1', ImageBufferCount = '50', WarmupCount = '25', PreEventCount = '25', PostEventCount = '25', StreamReplayBuffer = '1000', AlarmFrameCount = '1', EventPrefix = 'Event-', SectionLength = '600', FrameSkip = '0', MotionFrameSkip = '0', AnalysisUpdateDelay = '0', FPSReportInterval = '1000', DefaultView = 'Events', DefaultRate = '100', DefaultScale = '100', WebColour = 'red', Exif = '0', SignalCheckColour = '#0000c0', Device = '/dev/video0', Method = 'v4l2', Channel = '0', Format = '255', Palette = '1448695129', V4LMultiBuffer = '', V4LCapturesPerFrame = '1', Colours = '3', Width = '640', Height = '480', Orientation = '0', Deinterlacing = '0', Sequence = 18'

The camera is lcoated at /dev/video0

I am using Ubuntu 16.04. The camera is a Microsoft LifeCam HD-5001

Can anyone help?

Thanks