MJPG-streamer for UVC devices
#1
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.
Michal Sarna
--
"I may not have gone where I intended to go, but I think I have ended up where I needed to be" DNA
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine A64 Devices khgoh 0 6,353 01-07-2016, 07:51 PM
Last Post: khgoh

Forum Jump:


Users browsing this thread: 1 Guest(s)