Sei sulla pagina 1di 2

Robert Cudmore archive tags search software

uv4l on Raspberry Pi
05 Jun 2016

The uv4l people have update their code and you can now stream real-time high
resolution video to a browser. And it works on the Raspberry Pi. The u in uv4l is for
user. It is a user-space wrapper around the low-level kernel driver v4l. It is just a
matter of time before the people making v4l put the finishing touches on it and it will
come standard on linux distributions. On the Raspberry Pi, work is underway on
v4l2.

This software has a lot of aspirations beyond video including implementing all sorts
of real-time web communication with webRTC.

Install drivers

curl http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc | sud


o apt-key add -

Add the following to /etc/apt/sources.list

sudo pico /etc/apt/sources.list

deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy


main

Install

sudo apt-get update


sudo apt-get install uv4l uv4l-raspicam
sudo apt-get install uv4l-server

Run driver

uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --en


coding jpeg

Kill

pkill uv4l

Run a streaming server with real-time video streaming

uv4l --driver raspicam --auto-video_nr --encoding h264 --width 640 -


-height 480 --enable-server on

This runs a web server on port 8080. Once running, browse to your machines IP.
The stream should have almost 0 lag time and be running at about 30 fps. Amazing.

http://192.168.1.60:8080

converted by W eb2PDFConvert.com
See Also

Use cases

Tags: raspberry, debian, linux, video


2017. Robert Cudmore.

Older Newer

converted by W eb2PDFConvert.com

Potrebbero piacerti anche