Axis 2400

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
dpalin
Posts: 13
Joined: Fri Jun 24, 2005 2:18 am

Axis 2400

Post by dpalin »

Hi,


I am trying to get an axis 2400 configured to work with 1.21.3. The system already has a Grandtec card with several camera's configured and working great.

After spending a fair bit of time poking around the forums I see lots of references to doing this with various axis cameras which the direct URL seems to work fine. However I must be missing something here. I have tried various resolutions in ZM.

The axis 2400 is upgraded to 2.34, the configuration for the camera is below. I can key in the url below to my browser and it works fine. When I try to bring up this image in ZM it is a broken image.

http://10.101.60.1/axis-cgi/mjpg/video. ... on=352x288


[root@video doug]# /usr/lib/zm/bin/zmu -m 11 -q -v
Monitor 11(Test)
Id : 11
Name : Test
Type : Remote
Host : 10.101.60.1
Port : 80
Path : /axis-cgi/mjpg/video.cgi?camera=3&req_fps=5&resolution=352x288
Width : 320
Height : 240
Palette : 1
Colours : 1
Event Prefix : Event-
Label Format : %%s - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 5.00
Reference Blend %ge : 10
Track Motion : 0
Function: 3 - Motion Detection
Zones : 1
Id : 11
Label : All
Type: 1 - Active
Limits : 0,0 - 319,239
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 2304
Max Alarm Pixels : 57600
Filter Box : 3,3
Min Filter Pixels : 2304
Max Filter Pixels : 57600
Min Blob Pixels : 1536
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0



Thanks in advance...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Axis 2400

Post by zoneminder »

dpalin wrote:Path : /axis-cgi/mjpg/video.cgi?camera=3&req_fps=5&resolution=352x288
Width : 320
Height : 240
I think you problem is here. It obviously won't work if the camera is returning images at 352x288 and your monitor expects to get them as 320x240. I'm surprised there wasn't anything in the logs that indicated this.
Phil
dpalin
Posts: 13
Joined: Fri Jun 24, 2005 2:18 am

Post by dpalin »

I should have given that detail... Sorry!

When I set the resolution to match I get the following in the log

Starting pending process, zma -m 12
'zma -m 12' starting at 06/05/03 15:32:28, pid = 12021
'zma -m 12' started at 06/05/03 15:32:28
'zma -m 12' crashed at 06/05/03 15:32:28, exit status 255

I am not able to run zmu for the camera(s) in question when I bump the resolution up either. I enter:

/usr/lib/zm/bin/zmu -m 12 -q -v and receive nothing back, the log keeps repeating.

'zmc -m 12' starting at 06/05/03 15:37:59, pid = 12185
'zmc -m 12' died at 06/05/03 15:37:59, signal 10

I was assuming that by lowering the resolution on zoneminder that it would at least grab part of the image or would reduce it.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Unfortunately not. The image is assumed to match the resolution.

Is there nothing in /var/log/messages with any errors in?
Phil
dpalin
Posts: 13
Joined: Fri Jun 24, 2005 2:18 am

Got it working - Axis 2400

Post by dpalin »

Ok, got it working. For the next person doing the axis 2400 :-)

Once I got the resolution set correctly as pointed out and watched the logs it started spewing about not enough shared memory. Ok, off to try another server that I know has enough memory. Entering the

zmu -m 11 -q -v

Returns the below.


Monitor 11(New)
Id : 11
Name : New
Type : Remote
Host : 10.101.60.1
Port : 80
Path : /axis-cgi/mjpg/video.cgi?camera=3&req_fps=5&resolution=352x288
Width : 352
Height : 240
Palette : 4
Colours : 3
Event Prefix : Event-
Label Format : %%s - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 5.00
Reference Blend %ge : 10
Track Motion : 0
Function: 3 - Motion Detection
Zones : 1
Id : 11
Label : All
Type: 1 - Active
Limits : 0,0 - 351,239
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 2534
Max Alarm Pixels : 63360
Filter Box : 3,3
Min Filter Pixels : 2534
Max Filter Pixels : 63360
Min Blob Pixels : 1689
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0


Thanks for the help!
Post Reply