RTSP to RTMP streaming

╄→尐↘猪︶ㄣ 提交于 2019-11-28 05:01:54

Using FFMPEG you can convert rtsp stream to rtmp

For Example

ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]"

run the above syntax on ubuntu or linux os . it will convert your rtsp stream to rtmp stream

There's a couple of options, but by far the most common is Wowza server, which will digest the RTSP and then output RTMP.

Namesniper

After some extensive research, I have found that almost all RTSP->RTMP "solution" providers use Wowza 2 to convert RTSP->RTMP. Thats it. Once you tell them that you need anything else too, like to convert MPEG4 part 2 to MPEG4 part 10(H.264), they tell you that they cant do that.

Wowza 3, which will be released in October 2011, will have a transcoding module which which should be able to transcode the content in addition to RTSP->RTMP stream conversion.

other potential options are: VLCplayer mPlayer FFmpeg

I am still researching and will update this topic once I am done.

To summarize your options, you can use one of the following streaming servers: Wowza, Unreal Media Server, crtmpserver, erlyvideo. All of them will receive RTSP stream and re-stream it with RTMP.

You can also use Gstreamer for it. Just create a rtsp/rtp client (source), pipe it to mux optionally (If you need any transcode, you can append here) and sink to rtmp. Compared to VLC, the performance will be faster and it is free compared to Wowza.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!