Network camera set up.
Network camera set up.
I have a GadSpot network camera and cannot seem to get
images into ZM from it. I am running ZM 1.21.3 on Fedora Core 2.
I loaded the following packages to get things working:
mysql-3.23.58-9.i386.rpm
mysql-devel-3.23.58-9.i386.rpm
mysql-server-3.23.58-9.i386.rpm
perl-5.8.3-18.i386.rpm
perl-DBD-MySQL-2.9003-4.i386.rpm
perl-DBI-1.40-4.i386.rpm
php-4.3.4-11.i386.rpm
php-mysql-4.3.4-11.i386.rpm
php-pear-4.3.4-11.i386.rpm
One problem is that perl seems to want to use /tmp/mysql.sock
rather than /var/lib/mysql/mysql.sock. I linked them and things
appear to have stopped complaining.
I have the following Source configuration:
Remote Host Name: name:passwd@10.0.0.81
Remote Host Port: 80
Remote Host Path: /Jpeg/CamImg.jpg // fetches one image
or
Remote Host Path: /GetData.cgi // streams data
24bit colour
Width: 640
Hieght: 480
When I save I get:
Oct 7 08:35:44 rascal zmfix[17645]: WAR [Attempt to fetch string value for (null), actual type is ]
Oct 7 08:35:44 rascal zmfix[17645]: WAR [Attempt to fetch boolean value for (null), actual type is ]
Oct 7 08:35:44 rascal zmfix[17645]: ERR [Can't find config item 2]
And I have no image in the watch screen.
If I run zmc with the above parameters I get:
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: INF [Debug Level = 0, Debug Log = <none>]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: WAR [Attempt to fetch string value for (null), actual type is ]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: WAR [Attempt to fetch boolean value for (null), actual type is #^T?^N\201^_]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: ERR [Can't find config item 2]
Any suggestions?
Mike
images into ZM from it. I am running ZM 1.21.3 on Fedora Core 2.
I loaded the following packages to get things working:
mysql-3.23.58-9.i386.rpm
mysql-devel-3.23.58-9.i386.rpm
mysql-server-3.23.58-9.i386.rpm
perl-5.8.3-18.i386.rpm
perl-DBD-MySQL-2.9003-4.i386.rpm
perl-DBI-1.40-4.i386.rpm
php-4.3.4-11.i386.rpm
php-mysql-4.3.4-11.i386.rpm
php-pear-4.3.4-11.i386.rpm
One problem is that perl seems to want to use /tmp/mysql.sock
rather than /var/lib/mysql/mysql.sock. I linked them and things
appear to have stopped complaining.
I have the following Source configuration:
Remote Host Name: name:passwd@10.0.0.81
Remote Host Port: 80
Remote Host Path: /Jpeg/CamImg.jpg // fetches one image
or
Remote Host Path: /GetData.cgi // streams data
24bit colour
Width: 640
Hieght: 480
When I save I get:
Oct 7 08:35:44 rascal zmfix[17645]: WAR [Attempt to fetch string value for (null), actual type is ]
Oct 7 08:35:44 rascal zmfix[17645]: WAR [Attempt to fetch boolean value for (null), actual type is ]
Oct 7 08:35:44 rascal zmfix[17645]: ERR [Can't find config item 2]
And I have no image in the watch screen.
If I run zmc with the above parameters I get:
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: INF [Debug Level = 0, Debug Log = <none>]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: WAR [Attempt to fetch string value for (null), actual type is ]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: WAR [Attempt to fetch boolean value for (null), actual type is #^T?^N\201^_]
Oct 7 08:46:31 rascal zmc_hxxx:xxxx[17724]: ERR [Can't find config item 2]
Any suggestions?
Mike
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Things are better
Seems I had some sort of config problem.
I redid the config and reloaded the mysql database.
Now zm actually starts (it was showing stopped on the web page).
Now I get a black image for my camera and a log message
that says:
Oct 7 12:18:15 rascal zmc_m1[8092]: ERR [Select timed out]
Oct 7 12:18:18 rascal zmc_m1[8092]: ERR [Invalid response status 210323248: Unauthorized]
Oct 7 12:18:21 rascal last message repeated 202 times
I have cut and pasted exactly what I have in my camera source
into my browser and I get an image.
What response is expected from a network camera?
I redid the config and reloaded the mysql database.
Now zm actually starts (it was showing stopped on the web page).
Now I get a black image for my camera and a log message
that says:
Oct 7 12:18:15 rascal zmc_m1[8092]: ERR [Select timed out]
Oct 7 12:18:18 rascal zmc_m1[8092]: ERR [Invalid response status 210323248: Unauthorized]
Oct 7 12:18:21 rascal last message repeated 202 times
I have cut and pasted exactly what I have in my camera source
into my browser and I get an image.
What response is expected from a network camera?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Can you do a
and then post what you get. You may need to ass a username and password to zmu depending on what your current authentication settings are.
Phil
Code: Select all
zmu -m 1 -q -v
Phil
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: