Difference between revisions of "Documentation:Modules/netsync"

From VideoLAN Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
 
{{Option|name=netsync-master|default=disabled|description=Act as master}}
 
{{Option|name=netsync-master|default=disabled|description=Act as master}}
 
{{Option|name=netsync-master-ip|value=string|default=""|description=Master client ip address}}
 
{{Option|name=netsync-master-ip|value=string|default=""|description=Master client ip address}}
 +
  
 
Common uses of this module are:
 
Common uses of this module are:
* Synchronise lots of loud PC speakers during a party
+
* Synchronise lots of loud PC speakers during a party;
* Synchronise several computers playing parts of a video wall
+
* Synchronise several computers playing parts of a [[Documentation:Modules/wall|video wall]].
 +
 
  
 
Here's a small example:
 
Here's a small example:
  
On the server run (the server's IP address is 192.168.0.1):
+
:On the server run (the server's IP address is 192.168.0.1):
 
  %''' vlc input.mpeg --control netsync --netsync-master --sout "#std{access=udp,mux=ts,dst=239.255.1.1}" '''
 
  %''' vlc input.mpeg --control netsync --netsync-master --sout "#std{access=udp,mux=ts,dst=239.255.1.1}" '''
  
And on the clients:
+
:And on the clients:
 
  %''' vlc udp://@239.255.1.1 --control netsync --netsync-master-ip 192.168.0.1 '''
 
  %''' vlc udp://@239.255.1.1 --control netsync --netsync-master-ip 192.168.0.1 '''

Revision as of 21:59, 17 November 2006

Module: netsync
Type Video output
First VLC version -
Last VLC version -
Operating system(s) all
Description Synchronise remote VLC instances
Shortcut(s) -

Use this module to keep several clients synchronised on a single VLC server stream.

  • netsync-master : Act as master default value: disabled
  • netsync-master-ip <string> : Master client ip address default value: ""


Common uses of this module are:

  • Synchronise lots of loud PC speakers during a party;
  • Synchronise several computers playing parts of a video wall.


Here's a small example:

On the server run (the server's IP address is 192.168.0.1):
% vlc input.mpeg --control netsync --netsync-master --sout "#std{access=udp,mux=ts,dst=239.255.1.1}" 
And on the clients:
% vlc udp://@239.255.1.1 --control netsync --netsync-master-ip 192.168.0.1