Using the frame server daemon (zmf)
Posted: Tue Aug 17, 2004 9:22 am
Hi all,
Great software, Phil!
I'm trying to capture 4 cameras at 10fps in Mocord mode but from the debug messages it looks like the analysis daemon is processing most of the input at about 4-5 fps. This means that what is saved to disk is also at the lower rate.
I thought it may help to use the frame server daemon, so I set the ZM_OPT_FRAME_SERVER config option to true but now get errors like "Incomplete read of frame image data, 16208 bytes only" and "Incomplete frame write: 16224 of 72290 bytes written".
Can someone explain to me:
1 - Is using the frame server daemon the right way to go so that I don't lose captured frames?
2 - the ZM_FRAME_SOCKET_SIZE setting - what is this number in - bytes? I've also tried changing both wmem_default and wmem_max in /proc/sys/net/core but still get the 'Incomplete' errors.
What is the ideal setting for this option as well as the 2 wmem parameters?
Thanks!
Great software, Phil!
I'm trying to capture 4 cameras at 10fps in Mocord mode but from the debug messages it looks like the analysis daemon is processing most of the input at about 4-5 fps. This means that what is saved to disk is also at the lower rate.
I thought it may help to use the frame server daemon, so I set the ZM_OPT_FRAME_SERVER config option to true but now get errors like "Incomplete read of frame image data, 16208 bytes only" and "Incomplete frame write: 16224 of 72290 bytes written".
Can someone explain to me:
1 - Is using the frame server daemon the right way to go so that I don't lose captured frames?
2 - the ZM_FRAME_SOCKET_SIZE setting - what is this number in - bytes? I've also tried changing both wmem_default and wmem_max in /proc/sys/net/core but still get the 'Incomplete' errors.
What is the ideal setting for this option as well as the 2 wmem parameters?
Thanks!