On Sun, Jan 6, 2013 at 10:27 AM, Erling Westenvik
<[email protected]> wrote:
> It's been more than a year since my last unsuccessful attempt to sync
> music between OpenBSD machines running vlc 0.8.6, but since vlc in ports
> now is at 2.0.4, I've decided to give it another try.
>

Good idea. ;)

> First I start a server instance of vlc on some machine:
>
> $ vlc -d <stream> --sout #standard{access=udp,mux=ts,dst=239.255.12.42}
>
> and then I start a client instance of vlc on the same machine:
>
> $ vlc -d udp://@239.255.12.42 --control netsync --netsync-master-ip <ip>
>
> and I get sound on that machine. However, when I try to start a similar
> client instance of vlc on another machine, I get no sound on that
> machine.
>
> I get the feeling that I'm missing out something about multicast, but
> what? Routing table entries? Special pf-rules? What?
>

Perhaps

mulitcast_host=YES

in /etc/rc.conf.local

> Finally: I have no problems running a vlc server instance with multiple
> clients on different machines when using http encapsulation, but they
> won't sync properly.

HTTP is not a good streaming protocol though many radio stations seem
to use it nevertheless. RTSP is better.

> Ideas are appreciated!
>
> (<stream> and <ip> above, are references to local definitions)
>

Though I have never tried your setup I wish to ask this:

Why not mplayer or ffmpeg? Why vlc?

Even live555 will work.

-Girish

-- 
Gayatri Hitech
http://gayatri-hitech.com

Reply via email to