Differences

This shows you the differences between two versions of the page.

doc:howto:webcam [2012/09/25 18:22]
lizby
doc:howto:webcam [2013/04/10 22:02] (current)
dz0rg
Line 47: Line 47:
</code> </code>
  * Now restart mjpg-streamer and open the URL http://192.168.1.1:8080/ in your web browser.   * Now restart mjpg-streamer and open the URL http://192.168.1.1:8080/ in your web browser.
 +===== Webcam Pan and Tilt Example with Microprocessor =====
 +Here is a writeup of using openWrt for a pan and tilt camera.  The devices were NSLU2 for openWrt and Picaxe for microcontroller, but the idea is the same with arduino as micro and other openWrt devices:
 +
 +http://www.picaxeforum.co.uk/showthread.php?13705
 +
 +Grey day today here in Nova Scotia, you can see at http://www.lyzby.com/cam.html
===== Troubleshooting ===== ===== Troubleshooting =====
 +
 +If the control page doesn't contain any of the controls, edit the file /etc/init.d/mjpg-streamer and replace these lines
 +
 +<code>
 +service_start /usr/bin/mjpg_streamer --input "input_uvc.so \
 +                --device $device --fps $fps --resolution $resolution" \         
 +                --output "output_http.so --www $www --port $port"
 +</code>
 +         
 +by (on a single line )
 +
 +<code>
 +service_start /usr/bin/mjpg_streamer --input "input_uvc.so --device $device --fps $fps --resolution $resolution" --output "output_http.so --www $www --port $port"
 +</code>
The command ''mjpg_streamer -h'' give you usage information and examples. The command ''mjpg_streamer -h'' give you usage information and examples.

Back to top

doc/howto/webcam.1348590166.txt.bz2 · Last modified: 2012/09/25 18:22 by lizby