Score:1

Is there a way to make a "sound" surveillance script?

it flag

I'm looking a way to built something like a sound surveillance box.

I mean something that records audio/video on sound events captured by microphone.

For example it should record 5 seconds audio/video before the first sound/noise event and 5 seconds after the last sound/noise event.

This trick should run on raspberry then I'm looking for command line suggestion like ffmpeg, sox and so on.

Maybe I'll not find any integrated way to do that then it'll be enough that I can analyze 5 minutes of captured sounds and if true mux that with video otherwise if it's blank sound trash it.

Hope my question is enough clear.

David avatar
cn flag
Good trick record 5 seconds audio/video before, how would it ever know to start?
BiosRootKit avatar
it flag
obviously it should always record and after detect sounds.
pLumo avatar
in flag
Imo, as this question is not really ubuntu-specific you might find better answers in other related stackexchange sites.
pLumo avatar
in flag
You might want to check e.g. this: https://stackoverflow.com/questions/18406570/python-record-audio-on-detected-sound
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.