Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set up a server for converting a video stream, live. The input stream is in RTSP format, and the output should be RTMP (to use in a Flash application).

I've had a look at crtmp, which seems like a good solution; however, I can't figure out the right configuration by myself (the .lua file). Is there an easy way to set it up as to convert the stream from RTSP to RTMP?

Alternatively, is there an easier-to-use video server (either Linux or Windows) that is also free, and that would do the same thing?

share|improve this question
up vote 2 down vote accepted

Here is the long story short. I don't know yet the details about your particular camera, but I have a nice working example for you:

  1. Open the configuration file and replace the externalStreams node from flvplaybackapplication with this one:

        externalStreams =                                                   

After that, use jwplayer, flow player, etc. to playback the stream. The full RTMP URIs are:




As you can see, those streams are 2 RTSP streams. One is RTP/RTCP over UDP (forceTcp=false) and one is RTP/RTCP over RTSP (forceTcp=true). Because RTSP is over TCP, you get that flag to true.

Needless to say, you MAY experience playback glitches and issues caused by the fact that those 2 streams are very far away from you (they are here in Romania).

Hope it helps

share|improve this answer
I removed the download link, dropbox isn't exactly a trusted source. If you do want to link to something then link it against a official site of the product. – pauska Jan 14 '12 at 2:24
Thank you! This is exactly what I was looking for. However, I still have a problem which is adressed in this Google Group – Timothy Jan 16 '12 at 19:52

I'd try VLC or Wowza myself.

share|improve this answer
I'm not sure VLC supports streaming to RTMP? But in case it does, how do I open the "new" stream coming from it? As for Wowza, it's not free... – Timothy Jan 11 '12 at 17:14
VLC does not support RTMP. – Andrew Apr 12 '15 at 7:56
@Andrew: "VLC supports RTMP" -- – David Cary Jun 9 '15 at 18:24
Yes @David Cary, but last time I checked, VLC, although able to stream RTMP, it was unable to broadcast as RTMP. The link you posted shows how to read from an RTMP stream, which is not what was required by the OP. – Andrew Jun 22 '15 at 11:27

To Convert RTSP to RTMP Streams, use Wowza Media Server and here is the restreaming guide

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.