osc-node icon indicating copy to clipboard operation
osc-node copied to clipboard

Raspberry Pi video player controlled by QLab over OSC written in Node.js using Omxplayer.

OSC-Node

Raspberry Pi video player controlled by QLab over OSC written in Node.js using Omxplayer.

QLab screenshot with OSC commands

Install Raspbian

Install the latest Raspbian Stretch Lite on your SD card using the Raspberry Pi Imager.

Setup SSH Access

Create an empty file in the root of the SD card named ssh (without dot or extension).

$ touch /Volumes/boot/ssh

Install OSC-Node

SSH into your Pi and excecute:

$ sudo apt-get install -y git
$ git clone https://github.com/marsvaardig/osc-node.git osc-node && cd $_
$ sh install.sh

Copy videos onto Pi using AFP

Connect from your Mac with a simple command:

open afp://pi:[email protected]

Or use Finder > Connect to Server

Setup QLab

Network

Network Cue Destionation Patches:

  • Destination: IP address of the Raspberry Pi
  • Port: 57121

OSC message

Available OSC addresses & argements:

  • /play /home/pi/videos/big_buck_bunny.mp4
  • /loop /home/pi/videos/big_buck_bunny.mp4
  • /stop
  • /pause (pause & resume)
  • /cmd "sudo reboot"