Info::Installation de motion (détection vidéo)

De wiki_pcwiki2
Aller à la navigationAller à la recherche

KEYWORDS: MOTION, DÉTECTION VIDÉO

unix::motion::mask Le 07/03/2025
Le 12/02/2025:
Avec la version 4.7.0:
l'architecture est simple:

- Installations: apt install -y motion s-nail

- Service: /etc/systemd/system/multi-user.target.wants/motion.service

- Définitions: /etc/motion/motion.conf et /etc/motion/cameraX-YYY.conf

- Travail: /var/lib/motion/forExpedition/sendToOutSide.sh (le script qui distribue les films .AVI et les images .JPG dans un tgz)
           Attention à bien créer le fichier /var/lib/motion/forExpedition/.muttrc pour pouvoir envoyer des mail (avec s-nail)
 
- Logs: /var/log/motion

- Stockage: srv18::/cameras/motion