LinuxCommandLibrary

motion

video motion detection software

TLDR

Start motion detection

$ motion
copy
Use specific config file
$ motion -c [/etc/motion/motion.conf]
copy
Run in foreground
$ motion -n
copy
Run as daemon
$ motion -b
copy
Log to specific file
$ motion -l [/var/log/motion.log]
copy
Set process ID file
$ motion -p [/var/run/motion.pid]
copy

SYNOPSIS

motion [options]

DESCRIPTION

motion is a video motion detection software. It monitors camera feeds for movement.
The tool captures images and video when motion detected. Supports multiple cameras and streaming.

PARAMETERS

-c FILE

Configuration file path.
-n
Run in foreground (no daemon).
-b
Run as background daemon.
-l FILE
Log file location.
-p FILE
PID file location.
--help
Display help information.

CAVEATS

CPU intensive. Requires camera access. Configuration complex for advanced setups.

HISTORY

motion was created as an open source motion detection system for Linux security and surveillance applications.

SEE ALSO

ffmpeg(1), v4l2-ctl(1), vlc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community