output whatever is playing in VLC to a http stream

About encoding, codec settings, muxers and filter usage
MGully88
New Cone
New Cone
Posts: 4
Joined: 12 Nov 2010 07:25

output whatever is playing in VLC to a http stream

Postby MGully88 » 12 Nov 2010 07:36

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: output whatever is playing in VLC to a http stream

Postby Rémi Denis-Courmont » 12 Nov 2010 17:17

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MGully88
New Cone
New Cone
Posts: 4
Joined: 12 Nov 2010 07:25

Re: output whatever is playing in VLC to a http stream

Postby MGully88 » 13 Nov 2010 00:46

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.

MGully88
New Cone
New Cone
Posts: 4
Joined: 12 Nov 2010 07:25

Re: output whatever is playing in VLC to a http stream

Postby MGully88 » 13 Nov 2010 16:02

Got it working!

vlc -vvv --sout-keep --sout #standard{access=http,mux=ts,dst=<ip>:8080}'


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Google [Bot] and 17 guests