Edited by MaqcBreaker at 2016-4-19 21:49
Hi,
i can only speak about orange pi pc but i think it will run also on opi2.
Load a image from armbian.com and install it. (
http://www.armbian.com/orange-pi-2/)
(root)
- apt-get update
- apt-get upgrade
- apt-get install subversion-tools libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++ imagemagick
Now you will (hopefully) find your device under "lsusb".
After this install mjpg-streamer:
- svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer mjpg-streamer
- cd mjpg-streamer
-
- make
- make install
Test ->
- mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -n -y -r 640x480 -f 15" -o "/usr/local/lib/output_http.so -n -w /usr/local/www -p 8080"
On my side it worked with a Logitech C170 Cam without any problems.
Bus 002 Device 002: ID 046d:082b Logitech, Inc.
Good luck!!!