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.
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
wxCam supports the movement detection.
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.
guvcview is the best in the smooth video as if you are a recorder.
sudo apt-get install guvcview
Take a look at Shinobi: 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.
- Get videos
- Get monitors
- Change monitor modes : Disabled, Watch, Record
- Embedding streams
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).