Page 1 of 1

VLC 1.x Streams Inside Network But Not Outside

Posted: 05 Aug 2009 02:29
by UncleJohnsBand
Ok....here is a strange one....

This commandline initiates an http stream fine within my network.......

I can get the http stream on PC's within my network without a problem

If I try to access the stream for outside of my network it fails with: "VLC is unable to open the MRL 'http://myhostpc:7648. Check the log for details."

If I revert back to .8.6.i ( never used 9.x sinxe H264 transcode never worked for me) the exact same command line allows me to get the stream inside and outside of my network. So I know it is not a PC or Network issue but is a VLC issue.

Any thoughts?

Command Line:

Code: Select all

-I http "\\Lnkstn-bse65\Music\My Music\10,000 Maniacs\MTV Unplugged\01 These Are Days.mp3" :sout=#transcode{vcodec=mp2v,vb=128,width=320,height=213,acodec=mp3,ab=128,channels=2}:standard{access=http,mux=ts,dst=:7648} vlc:quit

Re: VLC 1.x Streams Inside Network But Not Outside

Posted: 05 Aug 2009 10:35
by thannoy
1- use vlc://quit instead of vlc:quit which no longer works (deprecated)
2- default .hosts file of VLC http server alllow only localhost connections. Modify it to allow other connections.

Re: VLC 1.x Streams Inside Network But Not Outside

Posted: 05 Aug 2009 18:01
by VLC_help
What does Tools -> Messages... (set Verbosity to 2) say on both ends?

Re: VLC 1.x Streams Inside Network But Not Outside

Posted: 07 Aug 2009 05:12
by UncleJohnsBand
Thanks.....using the vlc://quit opened the stream up to the external network..... :D

Re: VLC 1.x Streams Inside Network But Not Outside

Posted: 11 Aug 2009 06:59
by amaitra
What is the final resolution of the problem?

I am streaming between 2 public IP addressses. The stream is generated using ffmpeg. It comes around all right to the other side (there is no firewall etc in between).

I receive the stream using vlc - but when I use the remote server address, it gives the unable to open MRL error. If it is the local computer address, then it does not play or give any errors.

I generate the stream this way (this works on local LAN)

ffmpeg.exe -i sample.flv -vcodec libx264 -b 30kb -s 208x144 -r 15 -an -f rtp rtp://%1:%2

I receive on VLC Media -> Open Network Stream -> RTP, Myaddress, Port 1234 (tried 5600 etc)

If the same stream streamed the same way works when streamed locally, what should one look for when we play it remotely?

Thanks in advance.

Regards,

Amit

Re: VLC 1.x Streams Inside Network But Not Outside

Posted: 11 Aug 2009 23:07
by UncleJohnsBand
What is the final resolution of the problem?

I am streaming between 2 public IP addressses. The stream is generated using ffmpeg. It comes around all right to the other side (there is no firewall etc in between).

I receive the stream using vlc - but when I use the remote server address, it gives the unable to open MRL error. If it is the local computer address, then it does not play or give any errors.

I generate the stream this way (this works on local LAN)

ffmpeg.exe -i sample.flv -vcodec libx264 -b 30kb -s 208x144 -r 15 -an -f rtp rtp://%1:%2

I receive on VLC Media -> Open Network Stream -> RTP, Myaddress, Port 1234 (tried 5600 etc)

If the same stream streamed the same way works when streamed locally, what should one look for when we play it remotely?

Thanks in advance.

Regards,

Amit
My issue was streaming with vlc and simply using the vlc://quit command rather than the vlc:quit command fixed the issue....not sure about ffmpeg and the issue you are seeing.