Search This Blog

Wednesday, August 17, 2016

OSMC (Raspberry pi) motion mmal

sudo modprobe bcm2835-v4l2

* Loading the module at boot time
echo bcm2835-v4l2 >> /etc/modules

chmod a+rw /dev/video0
v4l2-ctl --set-ctrl vertical_flip=1
v4l2-ctl --set-ctrl horizontal_flip=1

* Trim data cron example

5 5 * * * find /home/user/motion -mtime +7 -type f -delete
5 5 * * * find /home/user/motion -mtime +1 -type f -iname '*.jpg' -delete

No comments:

Post a Comment

Blog Archive