Working: USB webcam as IP camera using mjpeg_streamer
Posted: Wednesday 11 November 2015 20:21
Working: USB webcam as IP camera using mjpeg_streamer
following on from previous post it dawned on me to try this method.
So, compile mjpeg_streamer using this guide
http://blog.cudmore.io/post/2015/03/15/ ... pberry-pi/
Info on mjpeg_streamer parameters in this guide
http://skillfulness.blogspot.co.uk/2010 ... ation.html
Then the command line that worked for my old webcam is
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/input_uvc.so -f 2 -r QVGA" -o "/usr/local/lib/output_http.so -p 9090 -w /usr/local/www"
My webcam may now run faster now I tracked down why w1_bus_master was hogging cpu
Then to set up in domoticz
just add a new camera, point it to domoticz ip address (or 127.0.0.1 I guess)
if you use the command line above then its port is 9090
then ImageURL is ?action=snapshot
nice!
following on from previous post it dawned on me to try this method.
So, compile mjpeg_streamer using this guide
http://blog.cudmore.io/post/2015/03/15/ ... pberry-pi/
Info on mjpeg_streamer parameters in this guide
http://skillfulness.blogspot.co.uk/2010 ... ation.html
Then the command line that worked for my old webcam is
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/input_uvc.so -f 2 -r QVGA" -o "/usr/local/lib/output_http.so -p 9090 -w /usr/local/www"
My webcam may now run faster now I tracked down why w1_bus_master was hogging cpu
Then to set up in domoticz
just add a new camera, point it to domoticz ip address (or 127.0.0.1 I guess)
if you use the command line above then its port is 9090
then ImageURL is ?action=snapshot
nice!