VOD Streaming problem

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
essoussi
New Cone
New Cone
Posts: 3
Joined: 30 May 2011 01:26

VOD Streaming problem

Postby essoussi » 30 May 2011 01:33

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 !

essoussi
New Cone
New Cone
Posts: 3
Joined: 30 May 2011 01:26

Re: VOD Streaming problem

Postby essoussi » 30 May 2011 02:15

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. :(

essoussi
New Cone
New Cone
Posts: 3
Joined: 30 May 2011 01:26

Re: VOD Streaming problem

Postby essoussi » 30 May 2011 02:21

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 :(


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 36 guests