PINE64

Full Version: MJPG-streamer for UVC devices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
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 https://github.com/jacksonliam/mjpg-streamer
4. cd mjpg-streamer/mjpg-streamer-experimental
5. make
6. ./mjpg_streamer ./mjpg_streamer -o "output_http.so -w ./www" -i "input_uvc.so"

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.