Skip to content

About

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

Resources

Stars

205 stars

Watchers

20 watching

Forks

Latest commit

 

History

118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

OMXPlayer-Sync

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

https://vimeo.com/137133716

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         
  -o ADEV, --adev=ADEV  
  -a ASPECT, --aspect=ASPECT  Aspect Mode - fill, letterbox, stretch

Master

omxplayer-sync -m movie1.mp4

Slave

omxplayer-sync -l movie1.mp4

Requirements

A recent version of Python3 or Python2. A recent version of the python bindings for D-Bus.
A recent build of omxplayer for Jesse or Stretch.

Installation on Raspbian

Perform on both master and slave.

sudo su
apt-get remove omxplayer
rm -rf /usr/bin/omxplayer /usr/bin/omxplayer.bin /usr/lib/omxplayer
apt-get install libpcre3 fonts-freefont-ttf fbset libssh-4 python3-dbus
wget https://github.com/magdesign/PocketVJ-CP-v3/raw/master/sync/omxplayer_0.3.7-git20170130-62fb580_armhf.deb
dpkg -i omxplayer_0.3.7~git20170130~62fb580_armhf.deb
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 (-u loop, -v verbose)

omxplayer-sync -muv synctest.mp4

Start on Slave (-u loop, -v verbose)

omxplayer-sync -luv synctest.mp4

Usage notes

Example usage

see this link: https://www.youtube.com/watch?v=Xp6GKFaw0io&feature=youtu.be by DSPeelJ

About

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

Resources

Stars

205 stars

Watchers

20 watching

Forks

Releases

Packages

Contributors

Languages