billw2 / pikrellcam

Raspberry Pi motion vector detection program with OSD web interface.
GNU General Public License v3.0
262 stars 70 forks source link

Pre Capture without motion detection just by command #69

Open Cyber1000 opened 3 years ago

Cyber1000 commented 3 years ago

In an old post (https://www.raspberrypi.org/forums/viewtopic.php?t=152144) from 2016 it says:

Just configure a pre capture time large enough to cover the max replay time you want, then send record commands into the FIFO. Don't turn on motion detection if you just want replay recording.

record a 25 second video with 20 sec replay plus 5 more seconds:
$ echo record 20 5 > ~/pikrellcam/www/FIFO

That reads like I can do this without motion detection, but didn't get this to work. Is this outdated, did this ever work this way? Any idea, if this should work? (I want to trigger recording on executing a command, but I want to include 5s before this command)

Thanks!