The Raspberry Pi Motion Video Recorder is a proof of concept daemon that makes use of the motion estimation vectors available from the RPi's hardware accelerated H.264 encoder to detect and save clips of motion.
go1.8
. It may or may not work on versions prior to that.raspberrypi-firmware
but is not listed in the path. It must be in the path.mkfifo motion_vectors.fifo
go get -v github.com/bemasher/pmvr
go install -v github.com/bemasher/pmvr
pmvr
Except for determining magnitude of motion over each frame, we're just shuffling data around. PMVR is very light on resources:
Have any improvements or feature requests? Submit an issue and we'll discuss feasibility.