Framerate - xawtv VS zm

Support and queries relating to all previous versions of ZoneMinder
Locked
heinricza
Posts: 4
Joined: Tue Mar 22, 2005 4:37 am

Framerate - xawtv VS zm

Post by heinricza »

I am busy testing zoneminder and have the following question:

I am using a 4-way BTB878 card with a 4 chips, one for each channel supporting 30fps for each channel. When I run zm in monitor mode, the fps decreases for every monitor I add.

However, if a run four consecutive xawtv processes, one for each device, I see a perfect 30fps for each video device.

Is this a web server problem, or am I missing the boat completely?

Kind Regards
Heinrich Venter
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The Frame rate should not decrease... Unless the system you are running it on has a limited resource that is needed sorta thing(everything has a limit). If you are running colour at say 640x480 that could ask allot from a PIII 500 (just as an example, There is an equation for this but I don't remember it). So the question would be :
What Distro?
What Processor?
How much memory?
What capture card?
etc.. etc..
heinricza
Posts: 4
Joined: Tue Mar 22, 2005 4:37 am

Post by heinricza »

At the moment I'm testing on the following spec'd system:

Redhat 8
P4 2.8Ghz
512MB RAM
40GB IDE HDD

The montage pictures runs at 320x280.
heinricza
Posts: 4
Joined: Tue Mar 22, 2005 4:37 am

Post by heinricza »

I'm running Apache 2.0.40 and have not patched it yet according to the post in the FAQ. Maybe that could be the problem?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

That might be a good bet. As you should not be have a problem with just four cameras on that system.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Heinrich,

Are you running the four xawtvs at the same time? I assume you are though I don't think it should make a difference. Xawtv as I understand it just allows the video stream to map itself to your screen memory and there is no intervention required. This allows viewing but not capture. If you want to capture you have to run frame grabs (in the same way you can grab individual frames from xawtv). It is this which ZM uses (and anything else that wants to capture), and this takes more time as it has to switch between inputs (if you have a card with a single frame grabber chip on it). If you can capture video with xawtv and try this on all your cameras you will see the frame rates decrease in the same way.

Phil
heinricza
Posts: 4
Joined: Tue Mar 22, 2005 4:37 am

Post by heinricza »

Tx Phil

That makes a lot of sense. I thought it might be something in that line. What is a decent framerate that I can expect then from a system running 4 cameras on a board with 4 chips?

In other words, what are the benchmarks out there for a similar setup?
Locked