Sricam SP017 (720p)
Posted: Mon Oct 08, 2018 8:26 am
Hi, yesterday I spent some times to configure this cam for zoneminder.
I managed to get it work , both for video and control
here the configuration (admin cannot be changed afik, while you need to replace the ip and the password with your ip and password):
leave unspecified fields at default
tab general
source type Ffmpeg
tab source
source path rtsp://admin:password@10.0.0.218/onvif1
remote method rtp/unicast
capture width 1280
capture height 780
tab control (if you enabled it in the configuration )
control type netcat ONVIF (you will have to import this one if you don't have the module, check below)
Control address admin:password@10.0.0.218:5000
Auto Stop Timeout : 1 (not sure if required)
To install Netcat ONVIF
here the instruction to import Netcat ONVIF if not present in your installation
https://wiki.zoneminder.com/Netcat
Here the module (it must be placed inside /usr/share/perl5/ZoneMinder/Control/)
https://github.com/ZoneMinder/ZoneMinde ... /Netcat.pm
create also a netcat.sql file with this sql statment:
INSERT INTO `Controls` VALUES (NULL,'Netcat ONVIF','Ffmpeg','Netcat',0,0,1,1,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,100,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,100,5,5,0,0,0,1,255,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0);
and import it with
sudo zmcamtool.pl --import netcat.sql
I managed to get it work , both for video and control
here the configuration (admin cannot be changed afik, while you need to replace the ip and the password with your ip and password):
leave unspecified fields at default
tab general
source type Ffmpeg
tab source
source path rtsp://admin:password@10.0.0.218/onvif1
remote method rtp/unicast
capture width 1280
capture height 780
tab control (if you enabled it in the configuration )
control type netcat ONVIF (you will have to import this one if you don't have the module, check below)
Control address admin:password@10.0.0.218:5000
Auto Stop Timeout : 1 (not sure if required)
To install Netcat ONVIF
here the instruction to import Netcat ONVIF if not present in your installation
https://wiki.zoneminder.com/Netcat
Here the module (it must be placed inside /usr/share/perl5/ZoneMinder/Control/)
https://github.com/ZoneMinder/ZoneMinde ... /Netcat.pm
create also a netcat.sql file with this sql statment:
INSERT INTO `Controls` VALUES (NULL,'Netcat ONVIF','Ffmpeg','Netcat',0,0,1,1,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,100,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,100,5,5,0,0,0,1,255,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0);
and import it with
sudo zmcamtool.pl --import netcat.sql