Netcat

From ZoneMinder Wiki
Revision as of 12:12, 24 February 2016 by Knnniggett (talk | contribs) (Created page with "== Netcat IP Cameras == Netcat is one of many Chinese IP camera vendors. http://www.netcatcctv.com/English/index.html Like many other Chinese cameras, if your camera looks s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Netcat IP Cameras

Netcat is one of many Chinese IP camera vendors. http://www.netcatcctv.com/English/index.html

Like many other Chinese cameras, if your camera looks similar but goes by a different name, then try the programming steps below. It may work.


Netcat Outdoor PTZ Camera with 20x Optical Zoom

2015518112320.jpg

Netcat sells several varieties of PTZ cameras. These instructions are based around model PT-PTZ2084. See the photo on the right.

Create the Monitor

From the Zoneminder console, click "Add New Monitor" and enter the following:

General
Name: {give the camera a name}
Source Type: ffmpeg
Function: {select an appropriate function from the dropdown}
Enabled: Tick
Maximum FPS: Empty
Alarm Maximum FPS: Empty
Source
Source Path: rtsp://{ip address}:554/user=admin&password={admin password}&channel=1&stream=0.sdp?
Remote Method: RTP/RTSP
Options: Empty
Target colorspace: 32 bit color
Capture Width: 1920
Capture Height: 1090
Control
Controllable: Tick
Control Type: Netcat ONVIF
Control Device: Empty
Control Address: {ip address}:8899
Auto Stop Timeout: 1.00

NOTE: As of this writing, the Netcat ONVIF control script has not made it into the source code. If you do not have this control script installed, you will need to import the information from this commit: https://github.com/knnniggett/ZoneMinder/commit/7a42a8c3f96dfffdc360b297d6b26157b8bd5b97

First copy the control script, Netcat.pm, onto your filesystem into the folder with the rest of your control scripts. Next, save the sql statement shown in the commit to a file, call it netcat.sql, and then use zmcamtool to import it into your system: sudo zmcamtool.pl --import netcat.sql