VLC 1.x Streams Inside Network But Not Outside

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
UncleJohnsBand
New Cone
New Cone
Posts: 4
Joined: 05 Aug 2009 02:17

VLC 1.x Streams Inside Network But Not Outside

Postby UncleJohnsBand » 05 Aug 2009 02:29

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

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

Postby thannoy » 05 Aug 2009 10:35

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

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

Postby VLC_help » 05 Aug 2009 18:01

What does Tools -> Messages... (set Verbosity to 2) say on both ends?

UncleJohnsBand
New Cone
New Cone
Posts: 4
Joined: 05 Aug 2009 02:17

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

Postby UncleJohnsBand » 07 Aug 2009 05:12

Thanks.....using the vlc://quit opened the stream up to the external network..... :D

amaitra
New Cone
New Cone
Posts: 1
Joined: 11 Aug 2009 06:33

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

Postby amaitra » 11 Aug 2009 06:59

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

UncleJohnsBand
New Cone
New Cone
Posts: 4
Joined: 05 Aug 2009 02:17

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

Postby UncleJohnsBand » 11 Aug 2009 23:07

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests