worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.36k stars 1.43k forks source link

AAC Direct input #94

Open cfarence opened 8 years ago

cfarence commented 8 years ago

Is there a way that I can feed a live AAC audio stream into dejavu for recognition? I thought about saving part of the stream to file and then running file recognize but I don't really want to add the time needed to save them then recognize. I need this to be almost as realtime as possible. I also thought about looping the audio back into the mic input somehow so I wouldn't have to change anything, but I thought it would be better to do that.

I've never played with pyaudio before, I'm trying to figure out where the audio goes into dejavu, but I'm not getting very far with that.

bboerendans commented 7 years ago

Would be a lovely feature. But don't know how to configure this either.

thesunlover commented 7 years ago

it depends on the ffpmeg extracting the AAC files to wav format. so you have to check that first

thesunlover commented 7 years ago

you also have to match the sample rates for the recorded files refer to issue #62 to know more about