Video Stream Very Slow
Posted: Thu Aug 05, 2010 6:27 pm
Hi,
I'm running zoneminder 1.24 with a few IP cameras. The IP cameras (One foscam, one other) are working well in streaming mode. However, zoneminder itself is having a lot of difficulty serving montage or single monitor viewing windows. They lag significantly, by some tens of seconds; however, the timestamp on the image is that of the current time.
To be clear, I offer this example. I set up a camera and walk in front of it. Then I click on the name of the camera in zoneminder and bring up the monitor viewer. It plays a few frames - with the current time - but won't stream them. If I press 'refresh' over and over again, I slowly step through the frames and will eventually get to the point where I walked through in front of the camera, but it will have a timestamp from when it was shown rather than when the image was captured.
I first thought this problem was caused by too high a framerate, but dropping it down to even 4 fps didn't really help. I haven't tried decreasing the resolution, because I'd like to capture at 640x480. The system is slowish - it's an intel atom n270 at 1.6 ghz - but it's only at 60% load or so, so it seems like it should be working better.
I've been meaning to test it on a faster box, but haven't yet.
I'm hoping the zoneminder community has thoughts about how I might be able to rectify this. Optimally, I'd be capturing ~15 frames per second at 640x480 from 4 cameras at once. Does it seem like this should be possible? Can anyone offer up a suggestion as to how I could get the streaming to perform adequately?
I'm running zoneminder 1.24 with a few IP cameras. The IP cameras (One foscam, one other) are working well in streaming mode. However, zoneminder itself is having a lot of difficulty serving montage or single monitor viewing windows. They lag significantly, by some tens of seconds; however, the timestamp on the image is that of the current time.
To be clear, I offer this example. I set up a camera and walk in front of it. Then I click on the name of the camera in zoneminder and bring up the monitor viewer. It plays a few frames - with the current time - but won't stream them. If I press 'refresh' over and over again, I slowly step through the frames and will eventually get to the point where I walked through in front of the camera, but it will have a timestamp from when it was shown rather than when the image was captured.
I first thought this problem was caused by too high a framerate, but dropping it down to even 4 fps didn't really help. I haven't tried decreasing the resolution, because I'd like to capture at 640x480. The system is slowish - it's an intel atom n270 at 1.6 ghz - but it's only at 60% load or so, so it seems like it should be working better.
I've been meaning to test it on a faster box, but haven't yet.
I'm hoping the zoneminder community has thoughts about how I might be able to rectify this. Optimally, I'd be capturing ~15 frames per second at 640x480 from 4 cameras at once. Does it seem like this should be possible? Can anyone offer up a suggestion as to how I could get the streaming to perform adequately?