Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What ubuntu software is there to use the webcam as a recording camera (Like a Security System). It NEEDS to detect movement in the room, take pictures and/or record.

share|improve this question
up vote 6 down vote accepted

you could try using motion, a command line only utility. do a sudo apt-get install motion to get it from the repository. It's been pretty useful for me.

share|improve this answer
I gave the answer to lukasz but gave you a point because motion is console based and also very simple to use. It can be helpful for remote movement detection and things like that, hold the kids away from the PC at least. – Luis Alvarado Apr 5 '11 at 23:44

wxCam supports the movement detection.

share|improve this answer

Try Cheese, the standard webcam app in Ubuntu.

Its installed by default, go to Applications > Sound & Video

It has recording capabilities (video and sound), and it take snapshots as pictures. But i guess it lacks motion sensor.

share|improve this answer
  • ffmpeg

for video only:

ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 out.mpg

for audio and video:

ffmpeg -f oss -i /dev/dsp -f video4linux2 -s 320x240 -i /dev/video0 out.mpg

  • ZoneMinder surveillance system. Maybe the best and most complex open source tool

share|improve this answer
+1 for the explanation of ffmpeg with video and video+sound. – Luis Alvarado Apr 5 '11 at 23:44
How is the provided solutions capture the motion detection, please explain, I tried it and it did not work in motion detection. – Ashish Sharma Aug 28 '13 at 18:22
+1 @AshishSharma how does this do motion detection at all! – Dheeraj Bhaskar Nov 27 '14 at 10:05

guvcview Install guvcview is the best in the smooth video as if you are a recorder.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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