Convert RTSP to RTMP stream

Namesniper picture Namesniper · Oct 24, 2010 · Viewed 36.4k times · Source

I have an IP camera which is streaming via RTSP and RTP. Ideally I would like to convert RTSP to RTMP to stream it to LiveStream or similar streaming services. Can anyone please let me know how can I convert RTSP to RTMP for the purpose of streaming it to streaming services?

Answer

Kevin - Dhinesh babu picture Kevin - Dhinesh babu · Feb 26, 2014

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