Managing video devices
Now, it's time to show some possible usages of video devices using two interesting software tools with normal USB cameras because our embedded kits have no premounted CCD sensors.
Streaming video over the Web
In this section, we're going to show you how we can stream video data over the network using the BeagleBone Black with an UVC camera. The necessary software is a tool named mjpg-streamer
, which must be compiled into our embedded kit. Let' install the sources with this command:
root@bbb:~# svn checkout svn://svn.code.sf.net/p/
mjpg-streamer/code/ mjpg-streamer-code
Tip
The svn
tools (subversion) is held in the package named subversion, which can be installed as usual.
Once downloaded, we have to install some packages to get a successful compilation of the tool:
root@bbb:~# apt-get install libjpeg-dev imagemagick libv4l-dev
Then, we simply have to enter the newly created directory and then use the make
tool with a specific command line:
root@bbb:~# cd mjpg...