So i know this forum has a sticky about not asking how to capture streaming video, but this isn't exactly the same thing. Where I'm currently working we have 7 Panasonic BL-C30A network cameras that we're using as a person locator//security system. Until this point i've just had a bash script on one of the dev servers recording images from each camera every second or so and encoding them to time-lapse videos for archival purposes. Well recently i found out that it is possible to record live video from the cameras.

The Panasonic BL-C30A uses MJPEG compression and i'm able to embed the live video in a page for online viewing but when we have multiple people viewing the page it really taxes the cameras and i'd like to work out a way to capture the stream using a server and rebroadcast from the server. I've been able to open up the video stream in VLC and play it but i've not had much luck in recording the stream. If at all possible i'd like to setup an rtsp server that would create a connection to each camera archive the video to a file and rebroadcast out to the users that would view the streams with JW player on the camera page. This is turning out to be a lot more complex than i thought, but it would be much more fool-proof once i get it up and running and it would also save a lot of intermediate steps like capturing images and encoding folders to video.

Has anyone been able to setup an application that could record the stream to file and rebroadcast at the same time from any kind of network camera? I'm sure if anyone has done it with a different camera it could be adapted to the particular model i have.