Skip to content

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.

Notifications You must be signed in to change notification settings

leosok/omxplayer-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 

Repository files navigation

OMXPlayer-Sync

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.

https://vimeo.com/65737409

Usage

$ ./omxplayer-sync -h
Usage: omxplayer-sync [options] filename

Options:
  -h, --help            show this help message and exit
  -m, --master          
  -l, --slave           
  -x DESTINATION, --destination=DESTINATION
  -u, --loop            
  -v, --verbose

master

omxplayer-sync -muv movie1.mp4 movie2.mp4 /movies/*

slave

omxplayer-sync -luv movie1.mp4 movie2.mp4 /movies/*

Requirements

A recent version of pyexpect.
A recent version of the python bindings for D-Bus.
A custom build of omxplayer with a higher stats output resolution.
You can find a compiled version at yokto.net/0/omxplayer.

Installation on Raspbian

su -
apt-get remove omxplayer
rm -rf /usr/bin/omxplayer /usr/bin/omxplayer.bin /usr/lib/omxplayer
wget -O- http://yokto.net/0/omxplayer/omxplayer-3176db4.tar.bz2 | tar -C / -xjvf -
ln -sf /lib/arm-linux-gnueabihf/libpcre.so.3 /lib/arm-linux-gnueabihf/libpcre.so.1
wget -O /usr/bin/omxplayer-sync https://github.com/turingmachine/omxplayer-sync/raw/master/omxplayer-sync
chmod 0755 /usr/bin/omxplayer-sync
wget https://github.com/turingmachine/omxplayer-sync/raw/master/synctest.mp4

# start on master
omxplayer-sync -muv synctest.mp4

# start on slave
omxplayer-sync -luv synctest.mp4

Usage notes

To achive faster initial sync times, you need to encode your videos with a smaller GOP size, e.g. 25 frames.

About

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published