Very low FPS with a 1.3 megapixel cam. Solution?

Forum for questions and support relating to the 1.24.x releases only.
Locked
myusernameisunique
Posts: 23
Joined: Wed Feb 17, 2010 12:23 am

Very low FPS with a 1.3 megapixel cam. Solution?

Post by myusernameisunique »

Hi there.

ZM 1.24.2 / Ubuntu 10.04-64 bit on a 1.8GHz Atom D525 CPU and with 4GB RAM. Just one IP camera monitor (modect) added to ZM.
kernel.shmall = 1887436
kernel.shmmax = 1073741824

640x480: no problem

1280 x 1024: FPS becomes so painfully slow it looks like it's 1 fps or 0.5 fps... Live view directly from the cam is perfect.

FPS set in the cam: 9 fps
ZM cam monitor live view reported FPS:7-8 fps. ZM is in High Bandwidth mode.
One Zone (36% or about 480K pixels)

Tried to weak the performance in several ways, nothing seems to help!!! Lowered FPS in the cam down to 3 fps, and it did somewhat improve the video quality, but it's still not as good as in live view directly from the cam and is not good enough for my application... The picture is jerky, cars zoom by like ghosts...

Am I missing smth important? Is there a way to have higher fps AND adequate video quality (i.e. same fps in ZoneMinder)?

Thanks!
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: Very low FPS with a 1.3 megapixel cam. Solution?

Post by Flasheart »

What's the system load? uptime shows it, but also use top if it's high. iotop will help if there is a lot of i/o waiting going on.

The atom's are quite weedy, but it might be something else.

You don't mention the camera type - if it's an axis, you can switch it to greyscale which'll reduce the load massively while still maintaining quality.
KeithB
Posts: 77
Joined: Thu Jun 07, 2007 4:23 pm
Location: uk

Re: Very low FPS with a 1.3 megapixel cam. Solution?

Post by KeithB »

It sounds like the CPU is too low powered. Have you tried installing libjpeg-turbo ?
myusernameisunique
Posts: 23
Joined: Wed Feb 17, 2010 12:23 am

Re: Very low FPS with a 1.3 megapixel cam. Solution?

Post by myusernameisunique »

Thank you for your replies.

I switched to 640x480 and left it at that for now. CPU load is close to 100% for all 4 threads during an alarm event (I look at System Monitor).

Haven't installed libjpeg-turbo, will do some research on that.
baraboom
Posts: 3
Joined: Wed Mar 09, 2011 2:04 pm

Re: Very low FPS with a 1.3 megapixel cam. Solution?

Post by baraboom »

I recently installed the turbo jpg libs and it works exactly as advertised, loads are significantly lower (half or more) on my box that is doing motion detection on 16 IP camera streams.

Code: Select all

model name      : AMD Athlon(tm) II X2 250u Processor
cpu MHz         : 1600.000
cache size      : 1024 KB
ram               :  4 GB
Locked