motion

motion uses a video4linux device for detecting movement. It makes snapshots of the movement which can be converted to MPEG movies in realtime (or later for low CPU usage), making it usable as an observation or security system. It can take actions like sending out email and SMS messages when detecting motion.

Tags multimedia Graphics Capture Video Security
Licenses GPL
Operating Systems POSIX Linux
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  26 Jul 2007 06:31
  • Rrelease-after

Changes: V4L2 devices are now supported along with V4L2_bayer, SN9C10X, MJPEG, and UYVY. Device status was enhanced. Debian packaging was improved. The SWF codec for movie creation was added. ucvideo track pan/tilt support was added. A FreeBSD directory for building ports was added.

  • Rrelease-mid
  •  08 Nov 2003 15:02
  • Rrelease-after

Changes: Bugfixes related to the use of ffmpeg and "ioctl (VIDIOCGCHAN): Invalid argument" error messages were implemented.

  • Rrelease-mid
  •  27 May 2003 15:34
  • Rrelease-after

Changes: More robust netcam code, and some bugfixes in the webcam code to handle closed connections better and prevent denial of service attacks.

  • Rrelease-mid
  •  14 Dec 2002 10:31
  • Rrelease-after

Changes: An ffmpeg segfault was fixed, and sending mail works correctly.

  • Rrelease-mid
  •  16 Jul 2002 14:07
  • Rrelease-after

Changes: The netcam code uses tmpfiles instead of pipes. MPEG files are opened with append to prevent overwriting time lapse videos.

Rss Recent comments

Rcomment-before 02 Jun 2004 17:18 Rcomment-trans eqhmcow Rcomment-after

Stable branch is completely outdated
If you are looking to use motion, be aware that the stable branch (3.0, latest version 3.0.7) is not being developed anymore, and the development versions (3.1, latest at time of writing is 3.1.14) are indeed just as stable if not more-so, and have many important bug-fixes and many new, useful features.

And if you do find a bug, please report it to the mailing list!

Rcomment-before 13 Jan 2003 09:47 Rcomment-trans fvh Rcomment-after

patch against 3.0.5
I created a patch which adds a configuration parameter "syslog" to motion. If enabled, motion will then log in syslog when it starts up, exits and when it detects motion or when errors occur. This patch also fiddles with socket-fd's so that you no longer get this annoying bind-problem ("socket already in use") when starting motion very quick after stopping it. Also a small performance improvement was made. Solved a problem when using certain versions of GLIBC, it would not create directories. This was caust by incorrect usage of sprintf(). Furthermore: set temporary buffers for filenames to correct max. size (PATH_MAX) instead of 255.
You can find the patch here: http://www.vanheusden.com/Linux/

26111704624ff23f143e580304c459da_thumb

Project Spotlight

UDAV

A cross-platform program for data visualization.

9e751297aba9a4bad02f2809faf34cc5_thumb

Project Spotlight

Performous

A cross-platform clone of the Playstation 2 game Singstar.