Page 1 of 1

Streaming a file to multiple destinations

Posted: 22 Nov 2007 23:21
by rukelly
Hi,

I have searched the forum but could not find the answer. I want to stream a local file to multiple destinations - but it doesn't seeem to work - I am trying the following:

vlc -vvv YosemiteWonders.mpg -sout udp:192.168.1.1 --loop - -ttl 1 (this works)

the following DOES NOT)

vlc -vvv YosemiteWonders.mpg --sout ’duplicate{dst=display,dst=standard {access=udp,mux=ts,dst=192.168.1.12},dst=standard{access=udp,mux=ts,dst=192.168.1.42}}’ --loop

Can someone please help with the syntax -

Thanks
RK

Re: Streaming a file to multiple destinations

Posted: 04 Dec 2007 16:11
by Teta
It looks as if you are streaming on the same network. Why not use multicast? It will reduce the traffic on your network and it scales infinitely (theoretically).

vlc -vvv YosemiteWonders.mpg -sout udp:239.255.255.1 --loop - -ttl 1

Let all your clients point to udp:@239.255.255.1 to playback the video. So if you want one more client, you won't have to change your server, just add a client.

If you want to stream more than one video, just add another VLC instance on your server and let it stream to another multicast address. Then let you clients point to that address.

Teta