r/BirdNET_Analyzer • u/pwyuffarwytti • May 09 '24
Microphones and Encoding!
I've installed a few security cameras, and thought to use the audio feed (RTSP) from them to indentify birds. I'm running Birdnet on a Raspberry pi 5. It works brilliantly - and I'm very happy in general.
BUT!
From having looked at the spectrogram, it seems I get nothing coming in on the audio stream above about 4.5khz. This would probably explain why it has failed to spot a single bluetit despite there being hundreds of visits in a day (I'm guessing the bluetit call is above 4.5khz).
I've got a few options on the encoding of the audio stream: G.722.1; G.711ulaw; G.711alaw; MP2L2; G.726; AAC; PCM. I wonder if any of these have a frequency cutoff that would explain anything.
Failing that, I suspect the frequency response of the microphone hardware itself is lacking.
A few questions:
- Should I be choosing any encoding in particular?
- Are there any suitable RTSP PoE microphones (somewhat moisture resistant) I could buy that you know of?
- Should I just plug in a USB microphone with a long lead to the Pi and be done with it?
Thanks for reading this far, if you did :)
View all comments
Show parent comment
1
u/pwyuffarwytti May 10 '24
It's very basic, simple - but apparently effective!
I've got a small lavalier microphone. It has a small foam cover, but I need it to be waterproof. I cut off the small finger of a vinyl glove, stick the microphone in, and seal the end with... a small elastic band or tape, or something that'll keep it sealed. Try an get it snug and tight to avoid glove movement causing noise - but that's about it. It's still early days, so time will actually tell if it works well or not.