[MPlayer-dev-eng] Synchronization of players in LAN
    Dave Lambley 
    mplayer-dev-eng at dlambley.freeserve.co.uk
       
    Thu Nov 20 12:35:12 CET 2003
    
    
  
On Thu, 2003-11-20 at 09:14, J.A. Gutierrez wrote:
> 
> 	Hello
> 
> 	I'm trying to synchronise several players running on several
> 	computers connected to a dedicated 10/100 Ethernet switch. Each
> 	one reads a different movie (video only) from its internal hard
> 	disk, and resolution will be 768x576.
Hi,
MPlayer's video output is (I think, might be wrong) synchronised to the
audio output. You can some "damping" by giving a non-zero value for
-autosync, which is what the RTC is used for.
So, to do what you're trying to do, you could buy lots of sound cards
with an S/PDIF sync input. I suspect you don't want to do this.
If you want audio on all the machines, you could write some code to make
a master server transmit UDP packets with the current playback time. The
slaves could then use af_resample to dynamically change the sample rate
to keep in sync.
If you don't need sound, you could write a dummy audio driver that just
"dumps" audio when requested by the master.
.. or there's Video Lan.
Cheers,
Dave
    
    
More information about the MPlayer-dev-eng
mailing list