one of my originals post of several years ago, pasted here for  archive. 


 There are a lot of changes coming in the next release especialy with support for other camera's in ZoneMinder. But as i am currently using 1.23.3  and i wanted support for mpeg4 camera's and also less overhead in mjpeg camera's, I have put together a replacement version of http://www.dejonge.tv/download/zm_remote_camera.cpp.

With this version i can support 8 ip camera's with a load of 0.6 where in the previous version i only had 6 camera's pushing op to a load of 1.5.

You may look at this build as a brute hack, you need to enter the complete camera url in the path setting of the remote camera.The following examples are working for me:
<ul>
<li>rtsp://x.x.x.x/mpeg4/media.amp  (axis,mpeg)</li>
<li>http://x.x.x.x/mjpg/video.mjpg (axis,mjpeg)</li>
<li>rtsp://x.x.x.x/live.sdp</li>
<li>http://x.x.x.x/cgi-bin/faststream.jpg?.mjpg (mobotix,mjpg)</li>
</ul>                                                               u
Shared publicly