Installing UV4L
UV4L is a userspace webcam driver specifically designed for the Raspberry Pi. It also includes some other features that will be discussed in this chapter. U4VL is custom code that is written and developed by Luca Risolia, who runs the website http://linux-projects.org. We will add his repository to get the UV4L driver:
curl http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc | sudo apt-key add -
Add the following line to /etc/apt/sources.list
:
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main
Tip
If you have not yet run rpi-update
, then it is recommended to do it now. The UV4L
driver requires the latest foundation kernels and modules to install properly.
Now we need to update the repository list, and then we can install the UV4L driver. We will do these with the following commands:
sudo apt-get update sudo apt-get install uv4l uv4l-raspicam sudo apt-get install uv4l-server uv4l-raspicam-extras
Tip
The UV4L
driver makes it really easy to stream video...