Nestboxtech wrote: ↑
Fri Dec 08, 2017 11:10 pm
I was wondering if it would be possible to..
1) Capture audio event to an audio file format even if there is no movement detected?
2) Run an external script 'on audio event' (I couldnt see something like that in pikrellcam.conf)
The scenario I was considering is when I get a bird / squirrel having a go at the outside of the box, I dont have any way of recording that since there's no external camera. Being able to trigger recording of an audio file, e.g. audio over a certain threshold / or 'x' times per 'y' period would be interesting. I could also see an application for logging my Tawny owls night calling to each other where they regularly shout at each other near the nesting boxes without necessarily entering the box and triggering motion via the camera.
It's been on my todo to add an audio trigger to start a motion video and it should be one of the next things I do. In your case
for night or audio out of video view you would get uninteresting video but have the audio you want. I'm inclined to do this rather than
have separate audio file only handling. Aside from the more complicated user interface to handle separate audio files, an audio
trigger needs to start a video in case there will be subsequent motion.
The existing on_motion_begin/on_motion_end would run, but I'll have a way for the begin script to know if it was an audio
trigger and the end script to know if there were only audio trigger events.
Would that be good enough for you?