cannot get --netsync option to work

About encoding, codec settings, muxers and filter usage
paulhuber
New Cone
New Cone
Posts: 7
Joined: 11 Jun 2005 19:15

cannot get --netsync option to work

Postby paulhuber » 11 Jun 2005 19:19

Hello,

Using Linux 2.6.10, vlc from Debian Stable "VLC media player 0.8.1 "

On one machine (192.168.80.1) I run:
vlc dvd:///dev/dvd --sout '#duplicate{dst=display,dst=standard{access=udp,mux=ts,url=192.168.80.4,sap,name="testStream"}}' --netsync-master

on the other (192.168.80.4) I run:
vlc udp: -f --netsync-master-ip "192.168.80.1"

I get the dvd on both machines, but they are not in sync (the server machine is 1 second or so ahead). For my application I need to get perfect sync. Any ideas what I'm doing wrong?

Also, I will actually need eventually to broadcast to several clients. It seems I should try the udp multicast protocol. I know nothing about multicast, and am not even sure if my switch supports it. Is there a good resource or extra documentation that discusses more in detail how to use videolan with udp multicast?

Thanks.

paulhuber
New Cone
New Cone
Posts: 7
Joined: 11 Jun 2005 19:15

Postby paulhuber » 11 Jun 2005 22:41

Since posting this I went out and got a multi-cast capable switch, and got everything working with multi-cast. The sync is much better--almost perfect (but not quite). The sync seems to fade in and out--it will be perfect for a few minutes, then you gradually start to hear an echo, and then eventually it comes back into sync.

Again I tried the --netsync-master and --netsync-master-ip "192.168.80.1" parameters, but they don't seem to have any effect at all--the result is still the same. Is there something you need to do to enable netsync? I would assume if it wasn't enabled it would give me an error or warning. But it doesn't -- no warnings, it just doesn't seem to have any effect.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 51 guests