Tuesday, September 22, 2015

DS-2CD2432F-IW Zoneminder

This is how I got my Hikvision 3MP Indoor Cube IP Camera DS-2CD2432F-IW 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. Note your shmall and shmmax values could be more or less depending on how much RAM you have.

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.

Wednesday, September 16, 2015

Stream Hikvision NVR VLC

Here is how to stream the video feed from a Hikvsion NVR using VLC.

Create a text file and enter the following line replacing the username/pass/ip with yours.

Main stream:

rtsp://admin:12345@192.168.2.100/Streaming/Channels/101

or

rtsp://admin:12345@192.168.2.100/PSIA/Streaming/channels/101

Substream:

 
rtsp://admin:12345@192.168.2.100/Streaming/Channels/102

or

rtsp://admin:12345@192.168.2.100/PSIA/Streaming/channels/102

Note: In this example 192.168.2.100 is the IP address on the LAN port of the Hikvison NVR. the first 1 ine 101 is the camera number and the second 1 is the main stream, can use 2 for substream.

Save the text file as Camera1.asf or Camera1.m4v(asf or m4v is the extension of the file so your media player will recognize it and open it) now double-click the Camera1.asf or Camera1.m4v file or drag and drop it into VLC and it should start streaming immediately.


See this post on how to stream different cameras/channel and mainstream/substream. Hikvison NVR Streaming URLs



Wednesday, September 2, 2015

NVR/DVR Software for IP Cameras

This is a list of Security Camera monitoring software that I have tried or like the features. I will try to update if I find something else that is interesting.

Vitamin D(Now Sighthound) (Free with Restrictions, Paid Version Available)
-Like the motion detection


Zoneminder (Free)
-Really customizable and can be integrated with soo many things.


BlueIris (Paid)
-Looks very promising.

webcamXP or webcam7 (Free with Restrictions, Paid Version Available)

iSPY Connect (Free with Restrictions, Paid Version Available)
-Works nicely and has a great feature of automatically finding the camera URL.

Milestone Systems (Free with Restrictions, Paid Version Available)


If you know any other software that is good, please let me know so I can add it to the list after trying it out.

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...