UV4L - stereoboy/Study GitHub Wiki
Reference
- https://www.linux-projects.org/uv4l/
- Vision Project using UV4L
Manual
Install
apt-get install -y gnupg2 ed libfuse2 kmod # for UV4L
- Add the following line to the file /etc/apt/sources.list:
deb [arch=amd64] https://www.linux-projects.org/listing/uv4l_repo/xenial xenial main
$ wget -q -O - https://www.linux-projects.org/listing/uv4l_repo/lpkey.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install uv4l uv4l-uvc uv4l-mjpegstream uv4l-dummy uv4l-xscreen uv4l-server uv4l-webrtc uv4l-x11-renderer uv4l-demos
RUN
RUN uvc Camera
v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat="H264" -d /dev/video0
uv4l -f --driver uvc --device-id 046d:082d
open browser with url http://localhost:8080/stream