Skip to content

Kaninte/osc-node

 
 

Repository files navigation

OSC-Node

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

QLab screenshot with OSC commands

Install Raspberry Pi OS

Install the latest Raspberry Pi OS on your SD card using the Raspberry Pi Imager.

Install OSC-Node

SSH into your Pi and execute:

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

This will install OSC-Node, Omxplayer and any OSC-Node dependencies.

Copy videos onto Pi using AFP

Connect from your Mac with a simple command:

open afp://pi:raspberry@{ip address}

Or use Finder > Connect to Server

Setup QLab

Network

Network Cue Destination Patches:

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

OSC message

Available OSC addresses & arguments:

  • /play {sound interface} {file location}
  • /loop {sound interface} {file location}
  • /stop
  • /pause (pause & resume)
  • /cmd "{command to execute}"

Sound Interfaces:

  • hdmi
  • local
  • both
  • alsa{:device}

Example:

/play both /home/pi/videos/big_buck_bunny.mp4

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.8%
  • Shell 31.2%