Wednesday, April 2, 2014

Hikvision DS-2CD2032-I working in Zoneminder

This is how I got my Hikvision 3MP Bullet IP Camera DS-2CD2032-I working in Zoneminder.

Adding the camera to Zoneminder:
   i) Create a new monitor and choose source as ffmpeg

  ii) Click on source tab, add rtsp://username:password@192.168.1.120:554/cam/realmonitor?channel=1&subtype=0?tcp to  the source(change your IP as neccessary on your network, and your username and password.

 iii) Colours is 24 bit, Width is 1920, Height is 1080(I choose 1080P mode instead of 3MP), Click save and it should now work. 

If you cannot get a live stream in Zoneminder, try to increase the shmall and shmmax values. I was not getting an image in zoneminder until increased my values to the following.

sudo nano /etc/sysctl.conf

Now add or change the following in the file:

# Increase the maximum shared memory
   kernel.shmall = 1073741824
   kernel.shmmax = 1073741824


Save and exit, you may also need to reboot.


At this point you should have the camera working in Zoneminder, if not you may have to install H264 on your Zoneminder server by following the instructions here.

Personal Media Organizer: digiKam

Looking to replace cloud solutions such as Google Photo's, ACDSee and Adobe with an offline application that won't have your persona...