user:wellenschrat:linux:motion
Inhaltsverzeichnis
Motion
Installation
sudo apt install motion
Benutzung als normaler User
Bevor motion als normaler Benutzer gestartet werden kann, muss zunächst das versteckte1) Verzeichnis .motion
erstellt werden
mkdir /home/BENUTZER/.motion
und die Konfigurationsdatei motion.conf
in das zuvor erstelle Verzeichnis kopiert werden.
cp /etc/motion/motion.conf /home/BENUTZER/.motion/motion.conf
Danach sind noch die Parameter (log_files, framerate, target_dir) in der Datei motion.conf
anzupassen.
Die Konfigurationsdatei motion.conf
log_files
# File to write logs messages into. If not defined stderr and syslog is used. #log_file /var/log/motion/motion.log log_file /home/BENUTZER/motion.log
Framerate
# Maximum number of frames to be captured per second. # Valid range: 2-100. Default: 100 (almost no limit). #framerate 15 framerate 2
Zielverzeichnis festlegen
# Target directory for pictures, snapshots and movies #target_dir /var/lib/motion target_dir /home/BENUTZER/daten/alert
Stream im Browser
1)
Versteckte verzeichnisse erkennt man an dem Punkt.
user/wellenschrat/linux/motion.txt · Zuletzt geändert: 14.06.2024 von wllnschrt