dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

Does the audio format listened to by dejavu have to be the same as the one I want to recognise?

Open fengzstrong opened this issue 4 years ago • 2 comments

Please help me.

fengzstrong avatar Jun 14 '20 12:06 fengzstrong

测试可以mp3和mp4进行比较,不用音频格式都相同。个人会进行后缀的统一修改,都用.mp3

Xuenew avatar Jul 08 '20 10:07 Xuenew

They don't have to be the same codec. I believe dejavu uses ffmpeg to decode to wav before fingerprinting and recognising.

However, from my own experience, I find that they do need to be the same sample rate. A track fingerprinted by dejavu from a 48kHz version of an mp3 will not match with a 44.1kHz version of the same song. Open to correction on that though.

outhud avatar Sep 21 '21 15:09 outhud