Limiting framerate for network cameras
Posted: Wed Aug 24, 2011 6:36 pm
Hi guys,
I've got a question regarding limiting capture framerate for network (IP) cameras. The docs have this to say on the subject:
Despite the advice/instruction in the ZM docs I have set ZM to a 4fps capture rate whilst leaving the cameras in mjpeg mode and it all seems to work without an issue insofar that the framerate is limited and stablises at around 4fps and everything appears to work fine. Network utilisation by the camera streams remains the same, as you would expect, and so I can only assume ZM is just dropping the nugatory frames it receives.
Can anyone shed any light on why the docs say that throttling must not be done at the ZM end when using mjpeg feeds (particularly it appears to be working)?
Regards,
Mathew
I've got a question regarding limiting capture framerate for network (IP) cameras. The docs have this to say on the subject:
I am using Panasonic BL-C1 cameras in mjpeg streaming mode and get a native framerate of around 8fps however I would like to limit this to 4fps to cut down overhead (CPU/disk). The cameras do not support throttling at their end and so in light of the above I apperently must switch to jpeg ('snapshot' in Panasonic speak) mode however the Panasonic developers docs say that snapshot mode should be used for one frame every 3s minimum (i.e. 0.3fps), even if it might work at faster rates, performing HTTP GET requests at 4 cycles per second seems quite an overhead all round.[...] Note for IP cameras: ZoneMinder has no way to set or limit the mjpeg stream the camera passes, some cams you can set this through the url string, others do not. So if you're using mjpeg feeds you must NOT throttle here at the server end, only the cam end. If you want to use this feature, the server to throttle, then you MUST use jpeg instead of mjpeg method to get picture from the camera
Despite the advice/instruction in the ZM docs I have set ZM to a 4fps capture rate whilst leaving the cameras in mjpeg mode and it all seems to work without an issue insofar that the framerate is limited and stablises at around 4fps and everything appears to work fine. Network utilisation by the camera streams remains the same, as you would expect, and so I can only assume ZM is just dropping the nugatory frames it receives.
Can anyone shed any light on why the docs say that throttling must not be done at the ZM end when using mjpeg feeds (particularly it appears to be working)?
Regards,
Mathew