RTSP unicast to RTSP multicast with multiple streams

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
bdg2014
New Cone
New Cone
Posts: 1
Joined: 05 Feb 2015 17:33

RTSP unicast to RTSP multicast with multiple streams

Postby bdg2014 » 05 Feb 2015 19:18

Hey All,

I'm trying to get convert unicast RTSP streams into multicast RTSP streams. I can get this to work with a single stream using this command.

vlc -vvv rtsp://10.0.1.131:7447/vod/514f4586-c736-398a-80a4-8ba7face9fc2_0 --sout '#rtp{dst=10.0.1.131,port=7447,sdp=rtsp://10.0.1.130:8080/test.sdp}'

I'm trying to get a set-up working that uses configuration files and I have been working with the example called Multiple streaming at this url.

http://www.videolan.org/doc/streaming-howto/en/ch05.html

I don't seem to understand how to convert my standalone command into this format.

Here is the configuration file I'm trying to use the first camera I have been playing with and one can see the variations I have tried.

Any ideas would be great.

Thanks,

Ben

new channel1 broadcast enabled
setup channel1 input rtsp://notaurl
#setup channel1 output #rtp{mux=ts,dst=10.0.1.130,port=5004,sdp=sap://,name="Channel 1"}
setup channel1 output #rtp{mux=ts, dst=10.0.1.130,port=8080 sdp="test.sdp"}

new channel2 broadcast enabled
setup channel2 input rtsp://notaurl
setup channel2 output #rtp{mux=ts,dst=10.0.1.130,port=5004,sdp=sap://,name="Channel 2"}

new channel3 broadcast enabled
setup channel3 input rtsp://notaurl
setup channel3 output #rtp{mux=ts,dst=10.0.1.130,port=5004,sdp=sap://,name="Channel 3"}

new channel4 broadcast enabled
setup channel4 input rtsp://notaurl
setup channel4 output #rtp{mux=ts,dst=10.0.1.130,port=5004,sdp=sap://,name="Channel 4"}

control channel1 play
control channel2 play
control channel3 play
control channel4 play

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 76 guests