Convert rtsp video stream to http stream

寵の児 提交于 2019-12-02 17:42:50

I would say that your best bet is to use either FFmpeg or VLC. Both are open source software and are widely used among hobbyists and also as a part of multiple different services. Also both can take in RTSP streams and create an HTTP stream (with live transcoding if needed).

FFmpeg's RTSP support has improved as of lately, but IMO VLC is way better at the moment (May 2010). Check the documentation on the web sites for experimenting with the command-line parameters for finding the required ones to match your needs. FFmpeg and VLC are very flexible and you can do a whole lot of stuff with them in addition to proxying from RTSP stream to HTTP.

FFmpeg: http://www.ffmpeg.org/

VLC: http://www.videolan.org/vlc/

Manu

the command mentioned below takes in a rtsp stream and throws out a httpstream having a flv...

vlc.exe -I http -vv camURL :sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=addr:availablePort}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!