Skip to content

Instantly share code, notes, and snippets.

@xseignard
Last active September 8, 2016 13:31
Show Gist options
  • Save xseignard/bdaf3bcc196885753918b858e867048e to your computer and use it in GitHub Desktop.
Save xseignard/bdaf3bcc196885753918b858e867048e to your computer and use it in GitHub Desktop.
Build omnidome ubuntu 16.04
sudo apt-get install build-essential git cmake mesa-common-dev freeglut3-dev clang
git clone https://github.com/cr8tr/omnidome.git
cd omnidome
./bootstrap.sh
cmake . -DQT_PATH=/your/path/to/qt
./deploy_ubuntu.sh
./bin/Release/omnidome

v4l loopback/ checkout v4l PR https://github.com/cr8tr/omnidome/pull/25

git pull origin pull/25/head

install stuff

sudo apt-get install libswscale-dev libudev-dev libv4l-dev

configure v4l2 module

sudo vim /etc/modules
// add v4l2loopback module at the end of file

v4l2 loopback should be ok in omnidome

install last ffmpeg (for looping options)

sudo add-apt-repository ppa:djcj/hybrid
sudo apt-get update
sudo apt-get install ffmpeg

play a video with

ffmpeg -re -stream_loop -1 -i test.mp4 -vcodec rawvideo -pix_fmt yuv420p -f v4l2 /dev/video0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment