Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • BeagleBone By Example
  • Toc
  • feedback
BeagleBone By Example

BeagleBone By Example

By : Prabakar
5 (1)
close
BeagleBone By Example

BeagleBone By Example

5 (1)
By: Prabakar

Overview of this book

BeagleBone is a low cost, community-supported development platform to develop a variety of electronic projects. This book will introduce you to BeagleBone and get you building fun, cool, and innovative projects with it. Start with the specifications of BeagleBone Black and its operating systems, then get to grips with the GPIOs available in BeagleBone Black. Work through four types of exciting projects: building real-time physical computing systems, home automation, image processing for a security system, and building your own tele-controlled robot and learn the fundamentals of a variety of projects in a single book. By the end of this book, you will be able to write code for BeagleBone in order to operate hardware and impart decision-making capabilities with the help of efficient coding in Python.
Table of Contents (12 chapters)
close
11
Index

Live video streaming on the BeagleBone board


To stream live video from Logitech HD webcam C270 USB camera, connected via local server to the BeagleBone board you need to have a software package that can do the job. But you also need to install some essential software before you download and compile the live video streaming software. Let's get started with the installation of the software packages by executing the following commands :

  • sudo apt-get install imagemagick

    When you are prompted to continue the operation, type Y, as shown at the end of the preceding screenshot, and hit Enter to continue and finish the installation:

  • sudo apt-get install libjpeg8-dev

  • sudo apt-get install subversion

Now that we have installed all the prerequite softwares, let's download and compile the video streaming software.

First create a separate directory in the home directory, and put the contents of the streaming software inside it:

  • mkdir mjpg

Now let us change our working directory to the directory we created...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete