Page 1 of 1

Simple Instructions please.

Posted: 15 Oct 2007 21:50
by ff103
I have searched the forum for 2 days now and as of yet have not been able to either find or understand some clear simple instructions on how to stream with VLC to a web server here(http://www.wildweasel.homelinux.com). I would ultimately like to stream mp3's or live radio to a site on my server. Any help that you can offer is greatly appreciated. Thank you in advance for any help.

Re: Simple Instructions please.

Posted: 15 Oct 2007 22:32
by MuNk
you mean, you want to use VLC to stream out the audio and people on a website to be able to connect to it to listen??

if so, the port you VLC streams to has to be accessable to everyone out on the interweb, and you must provide some form of client to listen to it...

Re: Simple Instructions please.

Posted: 15 Oct 2007 22:38
by ff103
Yes, so would I assign VLC to port 80? the same as the web page which is open to the internet, and would the embedded VLC player work as a client for listeners?

Re: Simple Instructions please.

Posted: 15 Oct 2007 23:08
by MuNk
VLC can use any port as long as your firewall aint blocking it

Re: Simple Instructions please.

Posted: 15 Oct 2007 23:36
by ff103
So where I am confused I guess is when I set up the VLC server, and I click on settings after I choose what files I want to stream, would I check the HTTP box and enter the WAN address since I am sending it to the web server? and how will the web server know to accept this information no matter which port I open on the router? Sorry if these questions seem elementary, but I am just not able to grasp how the "web" server will get this info from VLC server.And how these files on a local machine will transfer to the web server.

Re: Simple Instructions please.

Posted: 15 Oct 2007 23:53
by MuNk
you website will just have code or a activex applet that connects to the PC that has the VLC server on it. the website never connects, but the applet from the users pc will...

eg.

i connect to myvlcradio.com on it is a ActiveX embed component which has the IP of the machine running the VLC Server, my computer automatically see things and create the compoent in the place when you put <embed></embed> then it connects to the IP listed and starts streaming, this is all done from my pc, i just got the instructions on what to use and what ot connect to from the website, all audio will come from the VLC Server not the website.

Re: Simple Instructions please.

Posted: 16 Oct 2007 01:15
by ff103
O K so where do I find this Applet Code?

Re: Simple Instructions please.

Posted: 25 Oct 2007 21:25
by cinnabagel
hi fellows, i am in the same boat as ff103... my situation is a little different where i want to stream videos instead of mp3's.

i was able to get a window pop up with a video file using the following command:

C:\Program Files\VideoLAN\VLC>vlc -I http [--http-src e:/movies/test.avi --http -host 192.168.1.29:8080]

I was also able to get to the "main VLC interface" page at http://192.168.1.29:8080/ but wasn't able to do much with it.

All i really want to know is how to get a server up and what goes in a typical page to have the steam(s) embedded for both IE and Mozilla... essencially, to do what google video and youtube does..... sorta!

Re: Simple Instructions please.

Posted: 25 Oct 2007 21:37
by divx118
@cinnabagel for embedding the player in ie or mozzilla look at the source of the example page of the activeX http://people.videolan.org/~damienf/plugin-0.8.6.html

For more information on the activeX look in the first post of this subforum viewtopic.php?f=16&t=29654

Maurice 8)

Re: Simple Instructions please.

Posted: 25 Oct 2007 22:32
by cinnabagel
thanks Maurice, i found out about VLC through a similar page:

http://wikimediafoundation.org/donate/2007/psa/

Which required me to install QuickTime, and in less than 5 seconds i was watching the broadcast embedded in the page..... I will look at source of these pages and see how this is accomplished.