r/BirdNET_Analyzer • • 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:

  1. Should I be choosing any encoding in particular?
  2. Are there any suitable RTSP PoE microphones (somewhat moisture resistant) I could buy that you know of?
  3. 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 :)

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/rayykz May 10 '24

Oh, I did something very similar with my lavalier actually haha. I placed the microphone just outside our window and closed the window to seal the glove around it. I was tempted to use an extension cable to place the mic at the end of our garden, but I wasn't sure how to waterproof the cable, especially since it would need to be quite long.