Book Image

Raspberry Pi Server Essentials

By : Piotr J Kula
Book Image

Raspberry Pi Server Essentials

By: Piotr J Kula

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Server Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Watching movies


We can watch movies using OMXPlayer, which was specifically designed by the XBMC project to use hardware decoding on the Pi. Since OMXPlayer uses the hardware decoders, it is possible for you to use any additionally purchased video licenses.

Tip

OMXPlayer requires at least 256 MB GPU RAM to run.

Using OMXPlayer

Download an MP4 file to the Pi (for example, we can use the site hd-trailers to find some links). Use OMXPlayer to stream the video and sound to the HDMI port. You can also use RTMP streams directly instead of video files. Replace the URL in wget to an existing file on the Internet.

# sudo apt-get install omxplayer
# cd /tmp
# sudo wget http://videosite.com/hd.mp4
# omxplayer –o hdmi hd.mp4