axis 206 works only in 320x240 but not at 640x480

Support and queries relating to all previous versions of ZoneMinder
Locked
luke
Posts: 11
Joined: Wed Mar 09, 2005 2:57 pm
Location: Czech Republic
Contact:

axis 206 works only in 320x240 but not at 640x480

Post by luke »

Hi,

my distro is FC3
ZM ver is 1.20.1

I have an axis 206 network camera, everthing works fine. The camera support also resolution 640x480, but when I try to set this resolution to ZM camera's source tab it doesn't work. If I use 320x240 everthing is OK. Does ZM ver 1.20.1 support resolution 640x480?
When I enter in browser adress http://10.48.1.154/axis-cgi/jpg/image.c ... on=640x480 it shows me image captured to 640x480, so it seems to be OK but when I set this in ZM, it doesn't work....

Code: Select all

this configuration works fine....
Remote Host name    10.48.1.154
Remote Host port        80
Remote Host path       /axis-cgi/jpg/image.cgi?resolution=320x240
Remote Image Colours 24-bit
Capture width             320
Capture height            240
Orientation                  normal

Code: Select all

this not....
Remote Host name    10.48.1.154
Remote Host port        80
Remote Host path       /axis-cgi/jpg/image.cgi?resolution=640x480
Remote Image Colours 24-bit
Capture width             640
Capture height            480
Orientation                  normal
Thanks for any help
Lukas
Eklectick
Posts: 127
Joined: Sat Nov 20, 2004 1:12 am

Post by Eklectick »

Lukas

I tested an Axis 206 at 640x480 with the settings you posted and it does work.

By the way... the brower I use is IE.

I am using the LiveCD installation based with Mandrake 10 and ZM version 1.19.5.

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

Post by zoneminder »

Luke,

I suspect in your case you are getting problems because by increasing your picture size like that you are quadrupling the memory requirement. So you may be hitting shared memory limits (see shmget in the FAQ) either because you need to alter your system config or because the segment is still locked by a running process and can't be regenerated at the new size. It's best to restart ZM and close streaming windows after you increase either the buffer count or image size to ensure everything is set up correctly.

Phil
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

I had exactly the same problem - both with a, Axis 206 and an Axis 221.

Everything works great at 320x240 using mjpeg streams (>10fps, 24-bit colour) - but choosing a larger res like 640x480 or 480x360 (221 only) results in no picture.

Works fine using wget or curl or browser so I know camera and url is ok.

Tried restricting to greyscale both in camera url and zm's source.
Obviously changing x&y each time.
Stopping and restarting zm after changing.
Starting new with 640 entry.
Same thing for the 221 and 480x350 (the 206 doesn't support this res).
Tried with jpeg and mjpeg streams.

I checked the logs for shmget but no hits but thought I'd try the FAQ suggestion anyway and voila - working now!

(Thanks for ZM btw, it's great. Using modect through the night on surveillance cameras and monitor through the day for peace of mind for a local charity.)
Locked