Is there a software I could use for this? Currently I'm using guvcview but it doesn't have the functionality afaik.

There is a tool called motion.

sudo apt-get install motion

when installed you could possibly run it with


It saves lots of jpg files in your personal folder, when there is motion detected in front of your webcam.

You can configure motion under /etc/motion/motion.conf to save an mpeg movie of the movement, instead or in addition to the jpegs...

sudo gedit /etc/motion/motion.conf

Here is a link to the Config Options, just in case:

Have Fun!

  • It records independently of any motion. How to exit the programm? – empedokles May 23 '14 at 14:01
  • @user262849 Ctrl-C in the terminal window where you run it or killall motion in another terminal window. – Rmano May 23 '14 at 15:15

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.