Datasheet
Playing Videos
How To Play Videos
You can play many types of videos on the screen, using mplayer you don't even need to run X and you can script the
movies to play using Python. We'll show you how to just play one video for now.
To demo, we'll use an mp4 of Big Buck Bunny for 320 pixel wide screens. Below we show you how to create/resize
videos, but to make it easy, just download our version with:
wget http://adafruit-download.s3.amazonaws.com/bigbuckbunny320p.mp4
If you don't have mplayer yet, run
sudo apt-get update
sudo apt-get install mplayer
to install it. It may take a few minutes to complete
The video is 30MB which is a lot if you haven't expanded your SD card yet. Before you do this, run sudo
raspi-config to expand the SD card so you don't run out of space!
© Adafruit Industries
https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-
pi
Page 47 of 70










