The problem is the following: I have a camera D-Link securicam dcs-2121 (http://www.dlink.com.sg/products/?idproduct=310) it has its own web-server and works perfectly with a few connected users, but what I want is to make a lot amount of users able to connect and watch videostream, built-in server can't get trough many connections. So I need to translate stream to any external server and broadcast from it. What software or maybe service I need to use to this effect? thanks.
I'd look into doing this with vlc. I didn't really have many users - i just grabbed the stream from the camera and used vlc to
I don't have access to the skripts/system now but can give you further details in the next few days. I remember that the online documentation about streaming and transcoding with vlc is not very good and/or outdated, but you get a clou, how it's done with vlc and then can dig in deeper useing the manpages and stuff.
First, check if ZoneMinder does what you want.
If still you want to do it on your own, you might want to try the ProxyPass and ProxyReverse directives of Apache2's mod_proxy. I've done it before with other models and works like a charm, but I only tested it with MJPEG. Not sure how it works with stuff like RTSP. Also, if you know your way around nginx or lighthttpd, go with them.
If you want something more advanced, you might want to try gstreamer.
Finally, I'm writing some surveillance software here, but be warned that is not finished yet.