Page 1 of 1
Image buffer size
Posted: Wed Jun 12, 2019 7:24 am
I see many log entries about image buffer size. Now Zoneminder wants buffer size like 400 or 500 for some of my cameras. I haven't so much RAM for that. I already setup minimum keyframe interval on all cameras where i could do it. Can it so large keyframe intervals like 400 or 500? Or can it be any performance issue?
Code: Select all
ImageBufferCount 85 is too small. Needs to be at least 401. Either increase it or decrease time between keyframes
Re: Image buffer size
Posted: Wed Jun 12, 2019 12:38 pm
There is a direct relationship between how often keyframes are sent and memory requirements.
The message you posted indicates the keyframes are coming in way too slowly. A value of 401 is unusually large... double check you are entering the kayframe value in the camera correctly.
Keep in mind, in order to decrease the time between keyframes, you typically need to increase the keyframe value in the camera. I've often found the verbiage in the camera, describing the keyframe field, to either be misleading or absent altogether. Typically the value you enter represents the number of frames to send between each keyframe, so a value of 10 means to send a keyframe after every 10 frames.
If I want 1 keyframe to be sent every second and my cameras is running at 5 fps, then that would typically mean I would need to put a value of 5 in the keyframe field in the camera. If running @7fps, then use a keyframe value of 7, etc.
This can vary per camera, but this is typically what I end up doing.