VLC RTSP Streaming.. Help Please..

About encoding, codec settings, muxers and filter usage
BigBee
New Cone
New Cone
Posts: 5
Joined: 08 Jun 2011 15:26

VLC RTSP Streaming.. Help Please..

Postby BigBee » 10 Jun 2011 18:47

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

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: VLC RTSP Streaming.. Help Please..

Postby Sébastien Escudier » 10 Jun 2011 20:33

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.

BigBee
New Cone
New Cone
Posts: 5
Joined: 08 Jun 2011 15:26

Re: VLC RTSP Streaming.. Help Please..

Postby BigBee » 11 Jun 2011 15:55

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

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: VLC RTSP Streaming.. Help Please..

Postby Sébastien Escudier » 11 Jun 2011 16:53

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.

BigBee
New Cone
New Cone
Posts: 5
Joined: 08 Jun 2011 15:26

Re: VLC RTSP Streaming.. Help Please..

Postby BigBee » 11 Jun 2011 17:02

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.. ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: VLC RTSP Streaming.. Help Please..

Postby Sébastien Escudier » 13 Jun 2011 15:30

no need to specify an output for vod

nobody.loopback
Cone that earned his stripes
Cone that earned his stripes
Posts: 109
Joined: 08 Mar 2005 01:20

Re: VLC RTSP Streaming.. Help Please..

Postby nobody.loopback » 14 Jun 2011 02:27

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests