What Ubuntu software is there to use a webcam as a recording camera (Like a Security System). It NEEDS to detect movement in the room, take pictures and/or record.
7 Answers
You could try using motion (V4L capture program supporting motion detection), a command line only utility.
To install this from the standard repository, execute:
sudo apt install motion
It's been pretty useful for me. Keep in mind motion will not record any audio.
- 14,308
- 4
- 74
- 117
-
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 05 '11 at 23:44
ffmpeg
for video only:
ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 out.for audio and video:
ffmpeg -f oss -i /dev/dsp -f video4linux2 -s 320x240 -i /dev/video0 out.mpgZoneMinder surveillance system. Maybe the best and most complex open source tool.
- 14,308
- 4
- 74
- 117
- 7,134
- 1
- 23
- 27
-
-
1How 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
-
wxCam supports the movement detection.
Last release: 2011-11.
wxCam is a webcam application for linux. It supports video recording (in an avi uncompressed and Xvid format), snapshot taking, and some special commands for philips webcams, so you can also use the program for astronomy purposes. It supports both video4linux 1 and 2 drivers, so it should work on a very large number of devices.
- 14,308
- 4
- 74
- 117
- 2,346
- 2
- 23
- 28
Shinobi (source)
Shinobi is a ZoneMinder alternative.
The Open Source CCTV platform written in Node.JS (Camera Recorder - Security Surveillance Software). From its site:
- Records IP Cameras and Local Cameras
- Streams by WebSocket
- Save to WebM and MP4: Other formats will be added after codec choices are less confusing.
- API
- Get videos
- Get monitors
- Change monitor modes : Disabled, Watch, Record
- Embedding streams
Also: Webcamoid is a full featured and multiplatform webcam suite. Check here how to install.
- 14,308
- 4
- 74
- 117
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.
- 19,731
- 12
- 87
- 108
ffmpeg, Cheese, V4L are all great tools - simple to the max - and yet they lack motion detection capability.
If motion detection is a must you should really take a look at ZoneMinder (open source) and/or Xeoma (closed source but has a very simple free mode with motion detector and some notifications).
- 11
- 1