Raspberry Pi As Media Player & Video Looper

ducky and pi

ducky and pi

I needed a simple and elegant solution to playback digital videos for Home Movie Day 2022. I simply did not have budget for BrightSign players and I also did not want to deploy laptops onsite just to loop videos. Fortunately, Rasperry Pis came in as a great alternative.

While it was my first time using a Raspberry Pi, its set up is pretty easy. The Raspberry Pi Foundation has an easy to follow set-up guide that walks you through it. The bulk of the set-up involves loading the desired operating system into the Raspberry Pi with the help of the Raspberry Pi Imager. The Raspberry Pi Imager offers numerous operating systems, but the latest Raspberry Pi OS (64-bit) release is generally a good option.

One may utilize VLC media player in the operating system to playback media, however another option is Pi video looper that requires the ‘Buster OS’. The video looper will automatically loop videos (H264, .MP4) found in any USB stick that is connected to the Raspberry Pi. This makes it perfect for art installations, fairs, theatre, events, infoscreens, and advertisements etc. What I like about it is its capability to automatically detect a new USB stick and its contents when it is hot swapped. This allows change of content on the fly.

sudo apt-get update

sudo apt-get install -y git

git clone https://github.com/adafruit/pi_video_looper.git

cd pi_video_looper

sudo ./install.sh

The entire screen will turn black with a prompt: “Insert USB drive with compatible movies. press ESC to quit” after installation. Now its time to plug in your USB stick with your videos! Enjoy!

Full written guide here. YouTube video guide here.