Difference between revisions of "Documentation:Modules/netsync"

From VideoLAN Wiki
Jump to navigation Jump to search
 
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Module|name=netsync|type=Video output|description=Synchronise remote VLC instances}}
+
{{Module|name=netsync|first_version=0.8.0|type=Video output|description=Synchronise remote VLC instances}}
 +
==Introduction==
 +
Use this module to keep several clients synchronised on a single VLC stream.
  
Use this module to keep several clients synchronised on a single VLC server stream.
+
Common uses of this module are:
 +
* Synchronising lots of loud PC speakers during a party;
 +
* Synchronising several computers playing parts of a [[Documentation:Modules/wall|video wall]].
  
 +
==Options==
 
{{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:
+
==Examples==
* Synchronise lots of loud PC speakers during a party
 
* Synchronise several computers playing parts of a video wall
 
 
 
 
Here's a small example:
 
Here's a small example:
 
+
:We're going to be listening to a multicast stream.
On the server run (the server's IP address is 192.168.0.1):
+
:Run a client as master syncronisation client (master has IP address 192.168.0.1):
  %''' vlc input.mpeg --control netsync --netsync-master --sout "#std{access=udp,mux=ts,dst=239.255.1.1}" '''
+
  %''' vlc udp://@239.255.1.1 --control netsync --netsync-master '''
 
+
:And on the other 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 '''
  
{{Stub}}
+
{{Documentation footer}}

Latest revision as of 10:36, 3 October 2013

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

Introduction

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

Common uses of this module are:

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

Options

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

Examples

Here's a small example:

We're going to be listening to a multicast stream.
Run a client as master syncronisation client (master has IP address 192.168.0.1):
% vlc udp://@239.255.1.1 --control netsync --netsync-master 
And on the other clients:
% vlc udp://@239.255.1.1 --control netsync --netsync-master-ip 192.168.0.1 
This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.