Here's a writeup on how to convert an MJPEG stream, specifically from a canon network controlled webcam, to FLV on the fly using FFMPEG and FFSERVER. This also duplicates the stream from the source and serves multiple streams to hungry clients, aka relay proxy.