Display tiny movies on your Pi
Run on Boot
Because I use my Steampunk conference badge basically headless, without a monitor, it made sense to start the video automatically on bootup. To get the 1.8-inch display loaded into the kernel, you need to edit the /etc/modules
file and add the following to the bottom of the file.
fbtft_device name=adafruit18 verbose=0
Save the file and, when the Raspberry Pi boots, it will load the proper driver for your display, so you don't have to use the modprobe
command each time.
You can also add the MPlayer command line to the /etc/rc.local
file, right before the exit()
line, to start the movie after a reboot.
Going Further
What's the future of using small color LCD displays with the Raspberry Pi? It's hard to say. Using tiny off-the-shelf color LCD screens with nano-Linux systems and microcontrollers is pretty new. It works great for my conference badge. Keep in mind that when you start getting up to panels sized five inches and above, you realistically can start to run everything in an X environment. Then, the process of writing to a specific framebuffer (the 1.8-inch display) becomes a non-issue.
Team up a small color LCD display with a Raspberry Pi and see what kind of cool project you can build. Maybe even a wearable.
Infos
- "Kdenlive" by Rob Reilly, Raspberry Pi Geek, issue 14, 2015, pg. 56: http://www.raspberry-pi-geek.com/Archive/2015/14/Create-a-wearable-video-with-Kdenlive
- 1.8" Color TFT LCD display: https://www.adafruit.com/products/358?gclid=CLnHzJnPzckCFVKQHwodLnMEpA
- Raspberry Pi 2 Model B: https://www.raspberrypi.org/products/raspberry-pi-2-model-b/
- Raspbian Wheezy: https://www.raspberrypi.org/downloads/raspbian/
- MPlayer: http://www.mplayerhq.hu/design7/news.html
- Installing images: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
« Previous 1 2 Next »
Buy this article as PDF
Pages: 4
(incl. VAT)