Having heard about the new camera driver built into the kernel of the new Raspbian OS image, I decided to have a play, using my PS3 EyeToy camera. The steps below are based on this forum thread, with some changes to reflect my own experience. The Raspberry Pi supports a number of cameras, not just the EyeToy, so if you have a spare one lying around, give it a go.
- Install the ‘motion’package:
sudo apt-get install motion
- This should automatically install the required ‘ffmpeg’ package – if not you can just do sudo apt-get install ffmpeg.
- Edit the config file:
sudo nano /etc/motion/motion.conf
- To enable daemon mode (so you can run the software in the background without it tying up your terminal):
daemon on