DCS-6620 Control Script help please
DCS-6620 Control Script help please
I am running the 1.23.3 Zoneminder and I can get video to stream from this camera just fine to ZoneMinder, but I am not able to get the script found here on the wiki to work. I have tried copying it to the /usr/local/bin and specifying it as the path, also tried caopying it to the perl5 directorty as a .pm file with no luck. Anyone got this wroking with 1.23.3?
I set the script to chmod 644 I have also tried 755. I am not sure what you mean by creating the defintitions int he database for the script? I did in the controls section of ZM set the move,pan, zoom, paramters.cordel wrote:Have you made sure that the permissions are set to executable, and have you created the definitions in the database for the script?
Okay I copied DCS-6620g.pm to /usr/lib/per5/site_perl/5.8.8/Zoneminder/Control (I am running Centos 5.2) I specified the protocol as DCS-6620g the permissions is the same as the other .pm files so that looks okay. I looked at /var/log/messages and /tmp/zm_debug.log.xxxxx and there isn't anything useful there. I do get Invalid Jeg Fiel Structure for a second after I push a control button.
Try these for inspiration, as I'm heading off to work. If those don't help then post the script here and I'll have a peek when I get back.
http://www.zoneminder.com/forums/viewtopic.php?t=12916
http://www.zoneminder.com/forums/viewtopic.php?t=12863
http://www.zoneminder.com/forums/viewtopic.php?t=12916
http://www.zoneminder.com/forums/viewtopic.php?t=12863
Latest error message after downloading the Load Perl Module.
INF [Starting control server 5/zmcontrol-dcs6620g.pl]
Feb 3 13:11:30 cameras zmcontrol[18411]: INF [Control server 5/zmcontrol-dcs6620g.pl starting at 09/02/03 13:11:30]
Feb 3 13:11:30 cameras Can't locate ZoneMinder::Control::zmcontrol-dcs6620g.pl in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8. at /usr/lib/perl5/vendor_perl/5.8.8/Module/Load.pm line 21.
Feb 3 13:11:39 cameras zmwatch[12810]: INF [Restarting capture daemon for DCS-6620, time since last capture 10 secon
Feb 3 13:11:30 cameras zmcontrol[18411]: INF [Control server 5/zmcontrol-dcs6620g.pl starting at 09/02/03 13:11:30]
Feb 3 13:11:30 cameras Can't locate ZoneMinder::Control::zmcontrol-dcs6620g.pl in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8. at /usr/lib/perl5/vendor_perl/5.8.8/Module/Load.pm line 21.
Feb 3 13:11:39 cameras zmwatch[12810]: INF [Restarting capture daemon for DCS-6620, time since last capture 10 secon
Okay I grabbed the .pm from your webbsite, now I get this.
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [Debug Level = 0, Debug Log = <none>]
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26464]
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [Starting Capture]
monitor 0]
Feb 5 08:01:06 cameras zmdc[26334]: ERR ['zmc -m 6' exited abnormally, exit status 255]
Feb 5 08:01:08 cameras zmcontrol[26149]: FAT [Can't access zoomConWide member of object of class ZoneMinder::Control::DCS6620G]
Feb 5 08:01:08 cameras Can't access zoomConWide member of object of class ZoneMinder::Control::DCS6620G at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349 ZoneMinder::Debug::Fatal('Can\'t access zoomConWide member of object of class ZoneMinde...') called at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Control/DCS6620G.pm line 74 ZoneMinder::Control::DCS6620G::AUTOLOAD('ZoneMinder::Control::DCS6620G=HASH(0x1024f8f0)', 'HASH(0xff21de0)') called at /usr/local/bin/zmcontrol.pl line 204
Feb 5 08:01:08 cameras zmu[26509]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26509]
Feb 5 08:01:13 cameras zmu[26558]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26558]
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [Debug Level = 0, Debug Log = <none>]
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26464]
Feb 5 08:01:06 cameras zmc_m6[26464]: INF [Starting Capture]
monitor 0]
Feb 5 08:01:06 cameras zmdc[26334]: ERR ['zmc -m 6' exited abnormally, exit status 255]
Feb 5 08:01:08 cameras zmcontrol[26149]: FAT [Can't access zoomConWide member of object of class ZoneMinder::Control::DCS6620G]
Feb 5 08:01:08 cameras Can't access zoomConWide member of object of class ZoneMinder::Control::DCS6620G at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349 ZoneMinder::Debug::Fatal('Can\'t access zoomConWide member of object of class ZoneMinde...') called at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Control/DCS6620G.pm line 74 ZoneMinder::Control::DCS6620G::AUTOLOAD('ZoneMinder::Control::DCS6620G=HASH(0x1024f8f0)', 'HASH(0xff21de0)') called at /usr/local/bin/zmcontrol.pl line 204
Feb 5 08:01:08 cameras zmu[26509]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26509]
Feb 5 08:01:13 cameras zmu[26558]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.26558]
Eliminating them one at a time. Thanks for your help.
RR ['zmc -m 5' exited abnormally, exit status 255]
Feb 12 08:16:59 cameras zmcontrol[1015]: FAT [Can't access Wide member of object of class ZoneMinder::Control::DCS6620G]
Feb 12 08:16:59 cameras Can't access Wide member of object of class ZoneMinder::Control::DCS6620G at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349 ZoneMinder::Debug::Fatal('Can\'t access Wide member of object of class ZoneMinder::Cont...') called at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Control/DCS6620G.pm line 74 ZoneMinder::Control::DCS6620G::AUTOLOAD('ZoneMinder::Control::DCS6620G=HASH(0x1b5b58f0)', 'HASH(0x1b816620)') called at /usr/local/bin/zmcontrol.pl line 204
Feb 12 08:17:08 cameras zmdc[1157]: INF [Starting pending process, zmc -m 5]
Feb 12 08:17:08 cameras zmdc[1157]: INF ['zmc -m 5' starting at 09/02/12 08:17:08, pid = 1310]
Feb 12 08:17:08 cameras zmdc[1310]: INF ['zmc -m 5' started at 09/02/12 08:17:08]
Feb 12 08:17:08 cameras zmc_m5[1310]: INF [Debug Level = 0, Debug Log = <none>]
Feb 12 08:17:08 cameras zmc_m5[1310]: INF [Starting Capture]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Invalid JPEG file structure: two SOI markers]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Unable to decode jpeg]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Failed to post-capture monitor 0]
Feb 12 08:17:22 cameras zmdc[1157]: ERR ['zmc -m 5' exited abnormally, exit status 255]
RR ['zmc -m 5' exited abnormally, exit status 255]
Feb 12 08:16:59 cameras zmcontrol[1015]: FAT [Can't access Wide member of object of class ZoneMinder::Control::DCS6620G]
Feb 12 08:16:59 cameras Can't access Wide member of object of class ZoneMinder::Control::DCS6620G at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349 ZoneMinder::Debug::Fatal('Can\'t access Wide member of object of class ZoneMinder::Cont...') called at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Control/DCS6620G.pm line 74 ZoneMinder::Control::DCS6620G::AUTOLOAD('ZoneMinder::Control::DCS6620G=HASH(0x1b5b58f0)', 'HASH(0x1b816620)') called at /usr/local/bin/zmcontrol.pl line 204
Feb 12 08:17:08 cameras zmdc[1157]: INF [Starting pending process, zmc -m 5]
Feb 12 08:17:08 cameras zmdc[1157]: INF ['zmc -m 5' starting at 09/02/12 08:17:08, pid = 1310]
Feb 12 08:17:08 cameras zmdc[1310]: INF ['zmc -m 5' started at 09/02/12 08:17:08]
Feb 12 08:17:08 cameras zmc_m5[1310]: INF [Debug Level = 0, Debug Log = <none>]
Feb 12 08:17:08 cameras zmc_m5[1310]: INF [Starting Capture]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Invalid JPEG file structure: two SOI markers]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Unable to decode jpeg]
Feb 12 08:17:22 cameras zmc_m5[1310]: ERR [Failed to post-capture monitor 0]
Feb 12 08:17:22 cameras zmdc[1157]: ERR ['zmc -m 5' exited abnormally, exit status 255]
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
Anyone get this working yet with the newer release of Zoneminder. I've pieced together differnet posts to try and get the correct pm file and settings. It's still not working and I can't seem to find cordel's website to see if there is any difference. I was trying to help someone get this camera setup for PTZ.
If someone could point me in the right direction of cordel's version I could compare what I have no to it.
If someone could point me in the right direction of cordel's version I could compare what I have no to it.