#### # # INSTALL # * Download http://www7.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2 * Extract MPlayer-1.0rc2.tar.bz2 bzip2 -dc MPlayer-1.0rc2.tar.bz2 | tar xvf - * Extract cave-mplayer gzip -dc cave-mplayer*.tgz | tar xvf - This should create a directory "MPlayer-1.0rc2/cave-mplayer" and two new files MPlayer-1.0rc2/network.h MPlayer-1.0rc2/network.c * Change directory to "MPlayer-1.0rc2/cave-mplayer" cd "MPlayer-1.0rc2/cave-mplayer" * Apply patch patch < cave-mplayer.patch The patch should modify these files: Makefile mplayer.c parser-mpcmd.c * Configure as usual cd .. ./configure [options] * Compile mplayer make * Change directory to "cave-mplayer" and compile cmplayerc and cmplayers You may need to edit Makefile #### # # USAGE # Let's say we whave two nodes named "foo" and "bar" and a master named "master". Then, at "master" we would execute ./cmplayers -d -n 2 -t 240 -d for "debug" output, can be left out -n 2 for two hosts ("foo" and "bar") -t 240 to leave us with 240 seconds for execute players. and at "foo" we would execute ./mplayer -nosound -framedrop -autosync 0 -srv master -udp foo.avi and at "bar" ./mplayer -nosound -framedrop -autosync 0 -srv master -udp bar.avi Then "cmplayers" at "master" will exit and we will run there "cmplayerc" ./cmplayerc -H 192.168.1.255 -b -a 2 And then, the two movies should run in sync. #### # # AUTOMATIZATION # Read cmplayer.sh, edit according your setup, and execute it.