[vlc] streaming through command line
Jean-Philippe André
jpeg at videolan.org
Fri May 14 11:41:14 CEST 2010
Hi,
On Friday 14 May 2010 14:49:33 Rohit Gupta wrote:
> I want to start a "digital radio service" by streaming audio files in my
> LAN.
>
> At present I can stream the files through the easy to use GUI interface of
> vlc.
>
> I want to stream the audio files through the command line. I read the
> documentation but was unable to help myself.
> It will be useful if you give me the command for the following example:
>
> File to stream: ~/vlc.mp3 ~/stream.mp3
> type: udp
> address: 225.0.0.0
> port: 1234
>
> how to stream the files if i want to receive it at the client side
> through: udp://225.0.0.0:1234
I don't think 255.0.0.0 is a valid address. But here's what you can do:
$ vlc your-file.mp3 --sout='#std{dst=224.0.0.1,port=1234,mux=ts,access=udp}'
Then, on the client side, access it via:
$ vlc udp://@224.0.0.1:1234
Best,
--
Jean-Philippe André (jpeg)
More information about the vlc
mailing list