This page is really a condensation of the installation page, found here. There is a difference that will be mentioned later.
Set the GPU Memory size to 256MB
This is very important. Omxplayer will at times error if you do not do this,
1 2 |
sudo sed -i "s,gpu_mem=64,gpu_mem=256," /boot/config.txt sudo reboot |
Alternately, use the Raspbian menu preferences>raspberry pi configuration>performance, increase the GPU Memory to 256.
There is some essential software required before you can install PiPresents.
1 |
sudo apt-get install -y python-imaging python-imaging-tk unclutter mplayer uzbl |
Download and install pexpect
1 2 3 4 5 |
wget http://pexpect.sourceforge.net/pexpect-2.3.tar.gz tar xzf pexpect-2.3.tar.gz cd pexpect-2.3 sudo python ./setup.py install cd ~ |
Download Pi Presents
Pi Presents MUST use Raspbian and be run from the PIXEL desktop (startx).
1 |
wget https://github.com/KenT2/pipresents-gapless/tarball/master -O - | tar xz |
There should now be a directory ‘KenT2-pipresents-gapless-xxxx’ in your home directory. Rename the directory to pipresents. e.g. ‘sudo mv KenT2-pipresents-gapless-xxxx pipresents’.
Run Pi Presents to check the installation is successful.
1 |
python /home/pi/pipresents/pipresents.py |
You will see an error message which is because you have no profiles. Exit Pi Presents using CTRL-BREAK or close the window.
Download and try an Example Profile
1 |
wget https://github.com/KenT2/pipresents-gapless-examples/tarball/master -O - | tar xz |
Here now is the variation from Ken’s instructions:
There should now be a directory ‘KenT2-pipresents-gapless-examples-xxxx’ in your home directory. Open ‘KenT2-pipresents-gapless-examples-xxxx/pp_home’ and move the contents of ‘pp_home’ to the directory ‘/home/pi/pp_home’. ‘pp_home’ should already exist in your home directory from SSD setup.
Run a Demo Multimedia Show.
1 |
python /home/pi/pipresents/pipresents.py -p pp_mediashow_1p3 |
Now read the manual to try other examples.
Next step is to assemble the content for a show.