AXIS 206W fps issue

Support and queries relating to all previous versions of ZoneMinder
vypre
Posts: 18
Joined: Sat Feb 12, 2005 10:12 pm

AXIS 206W fps issue

Post by vypre »

Hi All,

The 206W is the second camera that I have configured for use with zone minder (the first was a 205) and I have gotten no more than 3 fps out of them. From what I have read in this forum this isn't good. I was using the /axis-cgi/jpg/image.cgi and the /jpg/image.jpg links. After hours of reading i discovered the other links for mjpg (/mjpg/video.mjpg? and /axis-cgi/mjpg/video.cgi?)

My camera is configured to run (currently) in 320x240 and most of the camera settings are standard (ie I have left them default for zone minder and the camera itself).

I have changed the http version to 1.0 and have turned on regex but this doesn't seem to have done anything. I have also increased the shared memory.

The problem that I have now is that I get 1 very blocky image when I view the monitor and then that is it. If you need a screen dump to show you what I mean I can send it via email.

I am running zoneminder on a PC, 1.7gig celeron, 512Meg RAM.

Hopefully someone can shed some light on this for me.

Thanks.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i use 206 and have run them up to 12 fps i havnt tried them any higher but im sure they would

path wise you need
/mjpg/video.mjpg
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The first thing to check, as this is a wireless camera, is that your wireless signal etc is goood enough to stream the required bandwidth. Assuming that it is

The second thing to do is open up a shell and type

Code: Select all

zmu -m <id> -q -v
replacing <id> with your monitor id and post the results here. You may need to add -U and -P options if you are using authentication.

Phil
-madmax-
Posts: 75
Joined: Wed May 11, 2005 8:55 pm

Post by -madmax- »

hi,

i had the same problem...

login to your camera and browse to the wireless section...

http://yourip/admin/wlan.shtml?basic=yes&id=155

there you will see Signal strength & Bit rate!

obviously you want high signal and if possible 11 mbit (max for the cam)

if you get anything less then 60% signal or less then 6 mbit bitrate i'm pretty sure you get problems streaming more then 320x240 at 2 fps!
(not that that makes sense...i calculated it throught. but thats how it is)

i have 11 cams all 206w and i had to work hard to get them all to work with 640x480 at 5fps!

also imported and a common mistake...

when you have more then one access point make sure they do NOT run the same channel! multiple access points if they are close to each other e.g. if you could reach them both using a client should not run the same channel this will cause add. traffic you should choose a channel at least 2 higher or lower then the other...

don't worry about channels for your clients they will pick the channel which is the strongest...
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

cheers madmax thats good advice ive never thought about using wireless but now i know it aint to bad
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
vypre
Posts: 18
Joined: Sat Feb 12, 2005 10:12 pm

Post by vypre »

Hi,

Here is the dump from the zmu -m 3 -q -v command:

Code: Select all

Monitor 3(Office1)
Id : 3
Name : Office1
Type : Remote
Host : 192.168.0.31
Port : 80
Path : /jpg/image.jpg
Width : 640
Height : 480
Palette : 4
Colours : 3
Event Prefix : Study -
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 : 25.00
Reference Blend %ge : 10
Track Motion : 0
Function: 2 - Monitor
Zones : 1
  Id : 3
  Label : All
  Type: 1 - Active
  Limits : 0,0 - 639,479
  Alarm RGB : ff0000
  Check Method: 3 - Blobs
  Min Pixel Threshold : 25
  Max Pixel Threshold : 0
  Min Alarm Pixels : 9216
  Max Alarm Pixels : 230400
  Filter Box : 3,3
  Min Filter Pixels : 9216
  Max Filter Pixels : 230400
  Min Blob Pixels : 6144
  Max Blob Pixels : 0
  Min Blobs : 1
  Max Blobs : 0
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

First as noted above you need to check you signal strength and what connection speed you are getting.
Next as also noted above, a jpeg snapshot using Path : /jpg/image.jpg is slower than using motion jpeg path: /mjpg/video.mjpg.

This are the only issues that might give you such a low FPS other than having a slow machine or something not built correctly.

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

Post by zoneminder »

Also, 640x480 is four times the bandwidth of 320x240 so you might want to try that. Axis have a bandwidth calculator at http://www.axis.com/techsup/cam_servers ... bw_205.htm that you might want to try to estimate your bandwidth usage.

Phil
-madmax-
Posts: 75
Joined: Wed May 11, 2005 8:55 pm

Post by -madmax- »

just for reference that my output...



not sure about his path ? never used

/jpg/image.jpg

i use this path

/axis-cgi/jpg/image.cgi?resolution=640x480

if you want 320x240 then just chnage that to

/axis-cgi/jpg/image.cgi?resolution=320x240


cordel:

do you thing using the mjpg path like that is better ? (faster) not even sure if that would work ?

/axis-cgi/mjpg/video.cgi?resolution=640x480

i never tried...



-----
Monitor 3(WEST_ENTRANCE_INSIDE)
Id : 3
Name : WEST_ENTRANCE_INSIDE
Type : Remote
Host : 192.168.10.92
Port : 80
Path : /axis-cgi/jpg/image.cgi?resolution=640x480
Width : 640
Height : 480
Palette : 4
Colours : 3
Event Prefix : Event-
Label Format :
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 : 0.00
Reference Blend %ge : 10
Track Motion : 0
Function: 3 - Motion Detection
Zones : 1
Id : 3
Label : All
Type: 1 - Active
Limits : 0,0 - 639,479
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 9216
Max Alarm Pixels : 230400
Filter Box : 3,3
Min Filter Pixels : 9216
Max Filter Pixels : 230400
Min Blob Pixels : 6144
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i use the mjpeg path as per my earlier post, if you goto the advanced setting of the cam ui it will work out the path for you
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-madmax-
Posts: 75
Joined: Wed May 11, 2005 8:55 pm

Post by -madmax- »

hmm,

sorry to bug you...

could you explain how this works ?

isnÄt mjpg a stream ? isn't that more demanding ? how do you know its better ? did you test ? if so ...how ?

another question is i use the axis control to limit the output to 5 fps whould that apply to mjpg aswell ?

thanks,
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

yes the limit works on mjpeg. I have had more success with mjpeg than jpeg on ipcams thats all, and the framerate specified on the cams is mjpeg
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-madmax-
Posts: 75
Joined: Wed May 11, 2005 8:55 pm

Post by -madmax- »

ok, thats odd...

i switched from

/axis-cgi/jpg/image.cgi?resolution=640x480

to

/axis-cgi/mjpg/video.cgi?resolution=640x480

looks like still working but i get a lot of error msg like this

mc_m4[3984]: ERR [Found unsupported content type....

and then lot of garbage ?

any ideas ?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

thats your reg exp you need that turned on in options then restart
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-madmax-
Posts: 75
Joined: Wed May 11, 2005 8:55 pm

Post by -madmax- »

hi james,

thanks,

that did it...

if possible i still would like to know what the advantage is using mjpg over jpg ?

just to learn more about this hole system...

e.g. did you have better performance or would that be less problem because of...

j
Locked