Difference between revisions of "Netcat"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 6: Line 6:
It may work.
It may work.


== Helpful Tools ==
The ONVIF Device Manager is a free, Windows only based tool which is very helpful in developing ZoneMinder for cameras which support the Onvif standard.
https://sourceforge.net/projects/onvifdm/


== Netcat Outdoor PTZ Camera with 20x Optical Zoom ==  
== Netcat Outdoor PTZ Camera with 20x Optical Zoom ==  

Revision as of 12:18, 24 February 2016

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.

Helpful Tools

The ONVIF Device Manager is a free, Windows only based tool which is very helpful in developing ZoneMinder for cameras which support the Onvif standard. https://sourceforge.net/projects/onvifdm/

Netcat Outdoor PTZ Camera with 20x Optical Zoom

Error creating thumbnail: Unable to save thumbnail to destination

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 .