Convert rtsp: stream to ???

I have a cheap IP web camera, that provides a stream that looks like this:
This is openable in VLC, but not RS.
I can setup VLC under linux or Windows to convert and re-stream, but I've been unable to find a combination that works.

While posting this, I did get it figured out somewhat, thanks to this page:

Here is the command under windows that works for me:
vlc.exe -R "rtsp://" --sout "#transcode{vcodec=mjpg,vb=2500,scale=1.0,fps=10,acodec=none}:standard{access=http{mime=multipart/x-mixed-replace; boundary=7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:8888/videostream.cgi}

Then on RS, I put in:

I just need to run one copy of VLC per camera, to re-stream so RS can understand it.

It takes a good amount of CPU-  Totally pegs a dual core VM, 10-15% of a 12 core hyperthreaded desktop.

Any chance of directly supporting the rtsp protocol, or is that too much trouble for too little effort?



  • That is too much trouble. I would need to include vlc or ffmpeg to do exactly your conversion. So it does not really gain anything except that you do not set the command. But then I would need to add configs.

    Interface shows webcam using img and that does not support rtsp not would I know how to split that into multiple streams.

    Most IP cams also support mjpg natively. Have a check here

    and see if you find your webcam. It contains a link generator for jpg/mjpg images.
Sign In or Register to comment.