Choppy video / slow frame rate problem
Posted: Wed Jan 19, 2005 5:38 pm
Great software Phil!
I'm running a 4 port single chip capture card on a AthlonXP2000+ with 512MB ram. Everything works well except I've been having real problems with ZM being able to save the images fast enough. I'm capturing at 768x576 and 4frames per second but when an alarm is triggered the rate drops compared to the non-alarm frames.
To test further I captured from one camera only and set a really small active zone. CPU and memory were all ok. It captures fine at the non-alarm rate of 4fps but when triggered the frame rate either stayed the same or dropped.
I've tried to fix it by enabling ZM_OPT_FRAME_SERVER and turning stats off but this didn't seem to help. It seems worse when there is triggering of the alarm on a gross scale such as when a large car moves past. Sometimes when this happens, there will be a 5 second pause between the first alarmed frame and the next one captured! Another thing that sometimes happens is a frame will be captured which is composed of two frames several seconds apart, this can cause really weird things like a pair of legs walking up the drive with no body or head
However, the system runs acceptably if I peg the capture rate at 4 and disable ZM_NO_MAX_FPS_ON_ALARM.
I know there probably isn't enough information here to fix the problem but how do I investigate further?
thanks.
I'm running a 4 port single chip capture card on a AthlonXP2000+ with 512MB ram. Everything works well except I've been having real problems with ZM being able to save the images fast enough. I'm capturing at 768x576 and 4frames per second but when an alarm is triggered the rate drops compared to the non-alarm frames.
To test further I captured from one camera only and set a really small active zone. CPU and memory were all ok. It captures fine at the non-alarm rate of 4fps but when triggered the frame rate either stayed the same or dropped.
I've tried to fix it by enabling ZM_OPT_FRAME_SERVER and turning stats off but this didn't seem to help. It seems worse when there is triggering of the alarm on a gross scale such as when a large car moves past. Sometimes when this happens, there will be a 5 second pause between the first alarmed frame and the next one captured! Another thing that sometimes happens is a frame will be captured which is composed of two frames several seconds apart, this can cause really weird things like a pair of legs walking up the drive with no body or head
However, the system runs acceptably if I peg the capture rate at 4 and disable ZM_NO_MAX_FPS_ON_ALARM.
I know there probably isn't enough information here to fix the problem but how do I investigate further?
thanks.