Sunday, December 14, 2014

Raspberry Pi Streaming Webcam with Motion

To setup a streaming webcam:

sudo apt-get install motion

sudo vi /etc/motion/motion.conf  # to enable web access

sudo vi /etc/default/motion      # to enable the daemon to start


sudo service motion start


For motion configuration options, see: ConfigFileOptions

You might also need to add this to your /etc/rc.local file to enable to pi camera on boot:

sudo modprobe bcm2835-v4l2

And if you want to turn the camera led off, add the following to the /boot/config.txt file:

disable_camera_led=1

No comments:

Post a Comment