Page 1 of 1

VLC RTSP Streaming.. Help Please..

Posted: 10 Jun 2011 18:47
by BigBee
Hey guys.. i need little help to improve my Project..


• I have windows XP SP2

• I start the telnet interface of vlc with the command shown below..

Code: Select all

vlc.exe --ttl 255 -I telnet --telnet-password videolan --telnet-host 127.0.0.1 --telnet-port 4212 --rtsp-host 0.0.0.0:5554
• After that through telnet i add a video file as VoD using commands below..

Code: Select all

new oneway vod enabled setup oneway input "file:///D:/vod/oneway.mp4"
ALL THE ABOVE THINGS ARE SUCCESSFULLY DONE..

I test whether the vod streaming works by opening VLC and opening the addresses..

rtsp://localhost:5554/oneway
rtsp://127.0.0.1:5554/oneway
rtsp://192.168.1.6:5554/oneway ( my computers local ip )

The video streams perfectly and i can seek and do all stuff..


THE PROBLEM HAPPENS WHEN I TRY TO OPEN THE STREAM FROM ANOTHER COMPUTER IN THE INTERNET..

• I get my public IP using whatsmyip.com .... OK
• I setup my firewall to allow port 5554... OK
• I setup my router to allow port 5554... OK
• Using canyouseeme.org i check all the above and it says ok... OK


so i gave my friend this MRL...

rtsp://117.36.56.12:5554/oneway

(117.36.56.12 - my public ip at that time )

BUT HE CANT OPEN THE STREAM.. HIS VLC SAYS IT CANT CONNECT.....


Please some one help on this...

Re: VLC RTSP Streaming.. Help Please..

Posted: 10 Jun 2011 20:33
by Sébastien Escudier
in --rtsp-host 0.0.0.0:5554 replace 0.0.0.0 with 192.168.1.6
But a firewall may also block your connection from the outside world.

Re: VLC RTSP Streaming.. Help Please..

Posted: 11 Jun 2011 15:55
by BigBee
Yes.. i tried that still not working..

Do i need to forward anymore ports other than 5554...?


I really want to make this work...

See the VLC VoD Helper in this same section.. thats my project..

Re: VLC RTSP Streaming.. Help Please..

Posted: 11 Jun 2011 16:53
by Sébastien Escudier
if port 5554 is correctly forwarded, the rtsp communication should be ok, and you should see a response from the server
But the video, on other ports, may be blocked.
your router and firewall must support rtsp streaming.

Re: VLC RTSP Streaming.. Help Please..

Posted: 11 Jun 2011 17:02
by BigBee
Hey thanks for the replies...

Please help with these..

• How to find out if my router supports RTSP ?

• How to setup and output option to my VoD ?

for input i do.. (via telnet interface)

setup oneway input "file://D:/oneway.mp4"

for output ? (please help)

setup oneway output "???"

• Does VLC still support RTSP vod serving.. ?

Re: VLC RTSP Streaming.. Help Please..

Posted: 13 Jun 2011 15:30
by Sébastien Escudier
no need to specify an output for vod

Re: VLC RTSP Streaming.. Help Please..

Posted: 14 Jun 2011 02:27
by nobody.loopback
rtsp will most likely not work over a NAT router.
AFAIK, VLC will tell the client the private network address (192.168.1.6) to get the video and not you public address.