Help HTTP Streaming movies

About encoding, codec settings, muxers and filter usage
eternal905
New Cone
New Cone
Posts: 8
Joined: 07 Dec 2009 19:55

Help HTTP Streaming movies

Postby eternal905 » 08 Dec 2009 07:44

Hi, I followed this guide viewtopic.php?f=4&t=68649 to stream my movies files on my Mac. I can't seem to stream outside my network http. I am using vlc 1.0.3. Here are my steps:

-File > Advanced Open File..
-Browsed for my file
- Click on Streaming/Settings > checked display locally
- Select HTTP entered my computers ip: 74.xx.xxx.190 and for the port text box i entered 8080
- Encapsulating Mpeg TS
- left transcoding options blank.
- Ok and press Open, Movie starts up.

When a couple friend of mines tried entering my address on VLC - open Network, they get an input cannot be open. And the Http interface on a web browser is Forbidden 403. I have opened port 8080 on my router.

Another thing is that when i access the vlc web interface on my own host computer it displays the player but no video and only opens the desktop VlC player. I
try to access vlc web interface on another computer, it downloads the stream file rather than opening a page with vlc buttons/etc. I have click Add Interface >Web Interface but i dont know if its enabled. I also checked Preferences > interface > main interface > checked http vlc remote control.

Is there anything im missing?


Thanks

wlarsong
Blank Cone
Blank Cone
Posts: 38
Joined: 09 Aug 2005 16:53

Re: Help HTTP Streaming movies

Postby wlarsong » 08 Dec 2009 18:46

Where to begin

1. Are you using a router if so you are not streaming to the right interface IE if you have a router and your LAN IP is 192.168.x.x then you want to tell VLC to HTTP stream to that interfact Example 192.168.10.2:1234 then open a port on your firewall (example 1234) then give your friend your ip (ie 74.x.x.x:1234)

2. The web interface is not a streaming mechianism it is simple an interface for controlling the playlists and NOT for viewing video.

3. If you want to view the VLC web interface and are getting a 403 error you need to edit the hosts file of your VLC installation
usually it is in the directory of the VLC install under the http folder under the name .hosts ( your mac it would be something like shar/vlc/http(notentirely sure I am a linux user)). Edit this to the subnet of the IP of your friends or and this is highly insecure throw caution to the wind and uncomment the last two lines ie 0.0.0.0/0. once you have uncommented them save the .hosts file close and relaunch vlc and reenable the web interface and it should work.

4. Now after you have done all that you will be remotely controlling VLC that is on your Mac/Video Server from your friends house/Video Client. you can load video to be streamed from the mac to you via the web interface. Open your friends house video play/Video client VLC player select Open HTTP stream and type in your public IE http://74.x.x.x:1234 into VLC and you should be close.

-Cheers

Will

eternal905
New Cone
New Cone
Posts: 8
Joined: 07 Dec 2009 19:55

Re: Help HTTP Streaming movies

Postby eternal905 » 08 Dec 2009 23:07

Thanks for the reply.
I edited the host file, and got my friend to access my vlc remote in web browser.
Now the problem is how do I get it to open on VLC player. It's still giving me "unable to open" error. I tested it out myself on another computer and gave me the same error.
When my friend enters my public ip 75,.xx.xx.xx.:1234 in web browser, it downloads the file and can play the file while its downloading, also tested this myself.

Also where do I input my friends ip in the host file? below the "the world"?
'

eternal905
New Cone
New Cone
Posts: 8
Joined: 07 Dec 2009 19:55

Re: Help HTTP Streaming movies

Postby eternal905 » 09 Dec 2009 01:29

Figured it out. Thanks for you help.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests