Main Menu
Donations
Support Our Site!
Make donations with PayPal!
Donat-o-Meter Stats
April's Goal: $150.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Surplus: $-150.00

Donations
How to install or upgrade UV4L on Raspbian (for the Raspberry Pi)

To install UV4L open a terminal and type the following commands:
$ wget http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc && sudo apt-key add ./lrkey.asc
Add the following line to the file /etc/apt/sources.list :
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main

$ sudo apt-get update
$ sudo apt-get install uv4l uv4l-raspicam
The last two commands will upgrade UV4L to the most recent version, if it's already installed.

If you want the driver to be loaded at boot, also install this optional package:
$ sudo apt-get install uv4l-raspicam-extras
Now the UV4L core component and the Video4Linux2 driver for the CSI Camera Board are installed. If you occasionally get unexpected errors from the driver, consider updating the firmware with the following command:
$ sudo rpi-update
For detailed informations, options, etc... about the modules installed type accordingly:
$ man uv4l
$ man uv4l-raspicam (the manpage is work in progress)
To get a list of available options:
$ uv4l --help --driver raspicam --driver-help
To quicly test uv4l, if you did not install the optional uv4l-raspicam-extras package, load it first:
$ uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg
To take a JPEG snapshot from the Camera:
$ dd if=/dev/video0 of=snapshot.jpeg bs=11M count=1
For a list of other use cases click here.

To terminate a running driver, close the applications and kill the corresponding uv4l process:
$ pkill uv4l
Apart from the driver for the Raspberry Pi Camera Board, the following drivers can be installed:
$ sudo apt-get install uv4l-uvc
$ sudo apt-get install uv4l-xscreen
$ sudo apt-get install uv4l-mjpegstream
To get help:
$ man uv4l-uvc
$ man uv4l-xscreen
$ man uv4l-mjpegstream
---
Useful links:

http://sourceforge.net/projects/mjpg-streamer/
http://www.videolan.org/

Return to Sections Index Return to Sections Index
[ Back to UV4L, Userspace Video4Linux framework | Return to Sections Index | Printer Friendly Page]
Login
Username:

Password:


Lost Password?

Register now!