No image/video from my Axis 2100

Support and queries relating to all previous versions of ZoneMinder
Locked
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

No image/video from my Axis 2100

Post by fra&fra »

I istalleed zm on Fedora2. I'm using Apache 2.0.52, PHP 4.3.9 and Mysql 3.23.58-9.

I'm not able to view any image and video from Axis 2100. I configured it as:
Host name: http://192.168.1.205
Host port: 80
Host path: /cgi-bin/mjpg/video.cgi

If i run wget -S http:// 192.168.1.205/cgi-bin/mjpg/video.cgi it work fine

This my log files.

zmdc.log:

Server starting at 04/11/23 16:27:59
'zmc -m 1' started at 04/11/23 16:28:03
'zmc -m 1' starting at 04/11/23 16:28:03, pid = 3865
'zmfilter.pl' started at 04/11/23 16:28:03
'zmfilter.pl' starting at 04/11/23 16:28:03, pid = 3869
'zmc -m 1' crashed at 04/11/23 16:28:03, exit status 255
'zmc -m 1' started at 04/11/23 16:28:03
'zmc -m 1' starting at 04/11/23 16:28:03, pid = 3871
'zmc -m 1' crashed at 04/11/23 16:28:04, exit status 255
'zmaudit.pl -d 900 -y' started at 04/11/23 16:28:04
'zmaudit.pl -d 900 -y' starting at 04/11/23 16:28:04, pid = 3875
'zmwatch.pl' starting at 04/11/23 16:28:04, pid = 3880
'zmwatch.pl' started at 04/11/23 16:28:04
'zmupdate.pl -c' started at 04/11/23 16:28:05
'zmupdate.pl -c' starting at 04/11/23 16:28:05, pid = 3884
Starting pending process, zmc -m 1
'zmc -m 1' started at 04/11/23 16:28:09
'zmc -m 1' starting at 04/11/23 16:28:09, pid = 3895
'zmc -m 1' crashed at 04/11/23 16:28:10, exit status 255

/var/log/messages:

Nov 23 16:27:12 localhost zmu[3818]: ERR [Shared memory not initialised by capture daemon]
Nov 23 16:27:12 localhost zms[3822]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:27:12 localhost zms[3822]: ERR [Shared memory not initialised by capture daemon]
Nov 23 16:27:59 localhost zmfix[3842]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:28:03 localhost zmc-m1[3865]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:28:03 localhost zmc-m1[3865]: ERR [Can't gethostbyname(http://192.168.1.205): Operation not permitted]
Nov 23 16:28:03 localhost zmc-m1[3871]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:28:04 localhost zmc-m1[3871]: ERR [Can't gethostbyname(http://192.168.1.205): Operation not permitted]
Nov 23 16:28:10 localhost zmc-m1[3895]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:28:10 localhost zmc-m1[3895]: ERR [Can't gethostbyname(http://192.168.1.205): Operation not permitted]
Nov 23 16:28:21 localhost zmc-m1[3899]: INF [Debug Level = 0, Debug Log = ]
Nov 23 16:28:21 localhost zmc-m1[3899]: ERR [Can't gethostbyname(http://192.168.1.205): Operation not permitted]
Nov 23 16:28:41 localhost zmc-m1[3902]: INF [Debug Level = 0, Debug Log = ]


I reduced the size of the captured image because i had an other error of "enogh shared memory" but now it seem to be a camera problem.

Is there anybody can help me?
Thanks
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The host name should be just 192.168.1.205 without the http on it. Otherwise you're giving a protocol specifier which doesn't make sense.

Phil,
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

Post by fra&fra »

Hi Phil, i follow your istruction but i cannot view video yet.

This my new zmdc.log file:
Server starting at 04/11/24 12:02:45
'zmc -m 1' started at 04/11/24 12:02:48
'zmc -m 1' starting at 04/11/24 12:02:48, pid = 24578
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmfilter.pl' started at 04/11/24 12:02:49
'zmfilter.pl' starting at 04/11/24 12:02:49, pid = 24582
'zmc -m 1' died at 04/11/24 12:02:49, signal 6
'zmc -m 1' started at 04/11/24 12:02:49
'zmc -m 1' starting at 04/11/24 12:02:49, pid = 24585
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmaudit.pl -d 900 -y' started at 04/11/24 12:02:50
'zmaudit.pl -d 900 -y' starting at 04/11/24 12:02:50, pid = 24588
'zmc -m 1' died at 04/11/24 12:02:50, signal 6
'zmwatch.pl' starting at 04/11/24 12:02:51, pid = 24594
'zmwatch.pl' started at 04/11/24 12:02:51
'zmupdate.pl -c' started at 04/11/24 12:02:51
'zmupdate.pl -c' starting at 04/11/24 12:02:51, pid = 24598
Starting pending process, zmc -m 1
'zmc -m 1' started at 04/11/24 12:02:55
'zmc -m 1' starting at 04/11/24 12:02:55, pid = 24609
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 1' died at 04/11/24 12:02:56, signal 6
Starting pending process, zmc -m 1
'zmc -m 1' started at 04/11/24 12:03:06
'zmc -m 1' starting at 04/11/24 12:03:06, pid = 24624
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 1' died at 04/11/24 12:03:07, signal 6

Nov 24 12:02:45 localhost zmfix[24555]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:02:48 localhost zmc-m1[24578]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:02:49 localhost zmc-m1[24578]: INF [Starting Capture]
Nov 24 12:02:49 localhost zmc-m1[24585]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:02:49 localhost zmc-m1[24585]: INF [Starting Capture]
Nov 24 12:02:55 localhost zmc-m1[24609]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:02:56 localhost zmc-m1[24609]: INF [Starting Capture]
Nov 24 12:03:02 localhost zms[24615]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:03:06 localhost zmc-m1[24624]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:03:07 localhost zmc-m1[24624]: INF [Starting Capture]
Nov 24 12:03:27 localhost zmc-m1[24627]: INF [Debug Level = 0, Debug Log = ]
Nov 24 12:03:27 localhost zmc-m1[24627]: INF [Starting Capture]

Thank you again
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This time your problem is that you have defined your monitor to have one images size (maybe 320x240) but your camera is returning an image of a different size (maybe 640x480). You need to do one of three things (1) change your monitor to have the same size as the camera image (2) change the config of your camera to have the same size as the monitor or (3) use the Axis cgi parameters (available in the developer section of Axis.com) to change the image size returned in the path.

Phil,
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

Post by fra&fra »

Hi Phil, i changed the image size on the Axis camera. I set to 320*240 pixel, but i have no video and image.

At 640*480 i have shared memory problems, and at 320*240 this my zmdc.log files:

Server starting at 04/11/25 17:08:01
'zmc -m 1' started at 04/11/25 17:08:04
'zmc -m 1' starting at 04/11/25 17:08:04, pid = 8290
'zmc -m 1' died at 04/11/25 17:08:04, signal 8
'zmc -m 1' started at 04/11/25 17:08:04
'zmc -m 1' starting at 04/11/25 17:08:04, pid = 8291
'zmc -m 1' died at 04/11/25 17:08:04, signal 8
'zmfilter.pl' started at 04/11/25 17:08:04
'zmfilter.pl' starting at 04/11/25 17:08:04, pid = 8294
'zmaudit.pl -d 900 -y' started at 04/11/25 17:08:04
'zmaudit.pl -d 900 -y' starting at 04/11/25 17:08:04, pid = 8298
'zmwatch.pl' starting at 04/11/25 17:08:05, pid = 8302
'zmwatch.pl' started at 04/11/25 17:08:05
'zmupdate.pl -c' starting at 04/11/25 17:08:05, pid = 8307
'zmupdate.pl -c' started at 04/11/25 17:08:05
Starting pending process, zmc -m 1
'zmc -m 1' started at 04/11/25 17:08:09
Can't find child with pid of '8319'
'zmc -m 1' starting at 04/11/25 17:08:09, pid = 8319


Nov 25 17:08:00 localhost zmfix[8267]: INF [Debug Level = 0, Debug Log = ]

Thanks everybody for some conceil
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

Post by fra&fra »

I' m getting image now from 2 Axis 2100 (at 7.39 and 8.57 FPS) but only in still mode and i have no stream.
I have no error in log files and i think to have all plug-in needed to watch video in a browser web (Mozilla in a Fedora 2).


Should i follow some particular configuration?
Is it possible to be a memory problem?

Thanks everybody
fra&fra
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

You should be able to watch streams in Mozilla without any kind of plugin. Make sure that Options->Tools is set to either 'auto' or 'yes'.

What do you see instead of the streams, or do you just not get the option to choose it? Also check your bandwidth settings, at low bandwidth streaming can sometimes looks as slow as stills.

Phil,
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

Post by fra&fra »

Thank you Phil for your reply

Now i able to have a stream but only if i set (in the Option -> Video) the jpeg streaming method (and i capture video from /cgi-bin/mjpg/video.cgi), otherwise i see a grey window.

I would to undestand why there is no streaming in mpeg mode.

Thank you again Phil
fra&fra
Posts: 12
Joined: Tue Nov 23, 2004 3:41 pm

Post by fra&fra »

In the Option -> Tools i set 'auto' and zoneminder is configured for high bandwidth.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are no browsers that support streaming in MPEG mode natively as far as I know so you have to have it set to jpeg unless you know you have a plugin to handle it.

Currently I know Windows Media Player works as a plugin on IE, and I know that people have got mplayer working with Mozilla but there's no general rule for these so ZM can't autodetect and play MPEG in the page if other plugins are used unless someone tells me about them first so I can add support.

Phil,
Renato
Posts: 16
Joined: Wed Feb 09, 2005 3:54 pm
Location: Rio de Janeiro / Brasil
Contact:

Post by Renato »

zoneminder wrote:The host name should be just 192.168.1.205 without the http on it. Otherwise you're giving a protocol specifier which doesn't make sense.

Phil,
How I go to inform the password for access to the image?

If I to inform thus: <USER>:<PASS>192.168.1.1/IMAGE.JPG, I will receive an error from inexistent protocol, correct ?

Anyway, i try this way and i receive this errors :

Feb 28 12:55:42 piper zmc_m2[32421]: INF [Debug Level = 0, Debug Log = <none>]
Feb 28 12:55:42 piper zmc_m2[32421]: ERR [Can't gethostbyname(192.168.1.1/IMAGE.JPG): Operation not permitted]
Feb 28 12:55:45 piper zmu[32424]: ERR [Shared memory not initialised by capture daemon]
[]s,
Renato Pinheiro
www.gpi.ufrj.br
Locked