Page 1 of 1

VOD Streaming problem

Posted: 30 May 2011 01:33
by essoussi
Good day,

I am trying actually to stream several inputs to RTSP multicast using VLM. But only the first flow is working.
Here you are the configuration file below to be loaded under a telnet session :
#-----------------------------------------------------------
new test vod
new test2 vod
new test3 vod
#-----------------------------------------------------------
setup test input udp://@239.0.0.15
setup test2 input udp://@239.0.0.1
setup test3 input /home/essoussi/spartacus.avi
#------------------------------------------------------------
setup test output #rtp{sdp=rtsp://0.0.0.0:5554/test.sdp}
setup test2 output #rtp{sdp=rtsp://0.0.0.0:5554/test2.sdp}
setup test3 output #rtp{sdp=rtsp://0.0.0.0:5554/test3.sdp}
#------------------------------------------------------------
setup test enabled
setup test2 enabled
setup test3 enabled

Both of test2 and test3 are not working, as if something is blocking when reading "setup test enabled" and don't let others to be enabled.
This problem occurs only in this output format. But I really need an SDP file to be readed in an Android Smartphone.

What could be the problem? :)
Thanks a lot !

Re: VOD Streaming problem

Posted: 30 May 2011 02:15
by essoussi
I've just tried this: #-----------------------------------------------------------
new test broadcast enabled
setup test input udp://@239.0.0.15
setup test output #rtp{mux=ts,dst=239.0.0.1,port=5004,sdp=rtsp://0.0.0.0:5554/test.sdp,name="BFMTV"}
#-----------------------------------------------------------
new test2 broadcast enabled
setup test2 input udp://@239.0.0.1
setup test2 output #rtp{mux=ts,dst=239.0.0.2,port=5004,sdp=rtsp://0.0.0.0:5554/test2.sdp,name="TF1"}
#------------------------------------------------------------
new test3 vod
setup test3 input /home/essoussi/spartacus.avi
setup test3 output #rtp{mux=ts,dst=239.0.0.3,sdp=rtsp://0.0.0.0:5554/test3.sdp}
#------------------------------------------------------------
control test play
control test2 play
setup test3 enabled

Now I can open all flows but they are diffusing the same thing.
These links rtsp://0.0.0.0:5554/test.sdp or test2.sdp test3.sdp are diffusing the same thing !
If I begin with playing test, test2 and test3 diffuse what test is diffusing. :(

Re: VOD Streaming problem

Posted: 30 May 2011 02:21
by essoussi
I used your documentation http://www.videolan.org/doc/streaming-h ... /ch05.html for the Multiple Streaming (Simple broadcast).
new channel1 broadcast enabled
setup channel1 input http://host.mydomain/movie.mpeg
setup channel1 output #rtp{mux=ts,dst=239.255.1.1,port=5004,sdp=sap://,name="Channel 1"}

new channel2 broadcast enabled
setup channel2 input rtp://@239.255.12.42:1234
setup channel2 output #rtp{mux=ts,dst=239.255.1.2,port=5004,sdp=sap://,name="Channel 2"}

control channel1 play
control channel2 play
What's was the problem with my configuration file? it's very similar to yours :(