Page 1 of 1
output whatever is playing in VLC to a http stream
Posted: 12 Nov 2010 07:36
by MGully88
I'm trying to use VLC as a home wide audio player. Basically what I would like to do is output whatever is playing in VLC to a http://<ip address>/streamingHolla.mp3. I have successfully done this with a single file and playlist but I would like to do it for anything that I decide to play in VLC. So if I decide to change to different song or playlist it will "broadcast" it without re-initializing the stream. Is this possible?
Re: output whatever is playing in VLC to a http stream
Posted: 12 Nov 2010 17:17
by RĂ©mi Denis-Courmont
vlc --sout-keep --sout '#std{access=http,url=/streamHolla.mp3,mux=ts}'
Note that this example only works if you have permission to open port 80, which you probably don't, and if the codecs are supported by MPEG Transport Streams.
Re: output whatever is playing in VLC to a http stream
Posted: 13 Nov 2010 00:46
by MGully88
I tried that the command line text that was provided, VLC opens, I drop a file to be played and push play and nothing happens. The slider to show the progress of the song does not move so it appears nothing is working.
I modified the command line text to be the following and got the same thing:
C:\Program Files\VideoLAN\VLC>vlc --sout-keep --sout '#std{access=http,url=192.168.1.124:8080/streamHolla.mp3,mux=ts}'
Any assistance to point me in the right direction would be greatly appreciated.
Re: output whatever is playing in VLC to a http stream
Posted: 13 Nov 2010 16:02
by MGully88
Got it working!
vlc -vvv --sout-keep --sout #standard{access=http,mux=ts,dst=<ip>:8080}'