Modified from marsvaardig's osc-node.
The modification aim to automate and ease the process of setting up a synchronized video projection.
Raspberry Pi video player controlled by over OSC written in Node.js using Omxplayer. It can be controlled with software like Chataigne or sendosc.
- Automatic file copy
- Command to navigate back 30 seconds
Install the latest Raspbian Stretch Lite on your SD card using the Raspberry Pi Imager.
Create an empty file in the root of the SD card named ssh
(without dot or extension).
$ touch /Volumes/boot/ssh
SSH into your Pi and excecute:
$ sudo apt-get install -y git
$ git clone https://github.com/nbrunelle/osc-node.git osc-node && cd $_
$ sh install.sh
Plug a USB with only one .mp4
on it.
It will be automatically copied to /home/pi/video.mp4
and reboot.
Connect from your Mac with a simple command:
open afp://pi:raspberry@192.168.xxx.xxx
Or use Finder > Connect to Server
Network Cue Destionation Patches:
- Destination: IP address of the Raspberry Pi
- Port: 99998
Available OSC addresses & argements:
/play /home/pi/videos/big_buck_bunny.mp4
/loop /home/pi/videos/big_buck_bunny.mp4
/stop
/prev
/pause
(pause & resume)/cmd "sudo reboot"