Book Image

Beaglebone Media Center

By : David Lewin
Book Image

Beaglebone Media Center

By: David Lewin

Overview of this book

Table of Contents (15 chapters)
BeagleBone Media Center
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Ideas to Improve Your Server
Index

Installing and running MJPG-Streamer


Now that we have checked the chain from the hardware level up to the driver, we can install the software that will make use of Video4Linux for video streaming. Here comes MJPG -Streamer.

This application aims to provide you with a JPEG stream on the network available for browsers and all video applications.

Besides this, we are also interested in this solution as it's made for systems with less advanced CPU, so we can start MJPG-Streamer as a service. With this streamer, you can also use the built-hardware compression and even control webcams such as pan, tilt, rotations, zoom capabilities, and so on.

Installing MJPG-Streamer

Before installing MJPG-Streamer, we will install all the necessary dependencies:

debian@arm:~$ install subversion libjpeg8-dev imagemagick

Next, we will retrieve the code from the project:

debian@arm:~$ svn checkout http://svn.code.sf.net/p/mjpg-streamer/code/ mjpg-streamer-code

You can now build the executable from the sources you just...