MJPG-streamer for UVC devices - Printable Version

+- PINE64 (
+-- Forum: PINE A64(+) (
+--- Forum: Pine A64 Hardware, Accessories and POT (
+---- Forum: POT modules (
+---- Thread: MJPG-streamer for UVC devices (/showthread.php?tid=1067)

MJPG-streamer for UVC devices - msarna - 05-16-2016

I've needed to set it up so why not to write about it. 

Tested on Debian Linux Jessie with Mate GUI Image [20160508] by lenny.raposo with Longsleep kernel

0. ssh debian@pine64pro
1. sudo su -
2. apt-get install libjpeg8-dev imagemagick libv4l-dev cmake
3. git clone
4. cd mjpg-streamer/mjpg-streamer-experimental
5. make
6. ./mjpg_streamer ./mjpg_streamer -o " -w ./www" -i ""

This needs to be run by root (for testing purpose). In other cases You can get: ERROR opening V4L interface: Permission denied.
To fix this You need to add  any other user You use (debian is there) to video group. You can do this like this: sudo usermod -a -G video  <username>
To make it work please logout and login.