worldveil / dejavu

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

Decoding error with 32-bits files ? #80

Closed kursusHC closed 9 years ago

kursusHC commented 9 years ago

Decoding fails when submitting 32-bits files (.m4a in this case).

It works perfectly for 16-bits files (s16p according to ffmpeg) but for 32-bits files (s32p according to ffmpeg) I get an error :

Decoding failed. ffmpeg returned error code: {0}".format(retcode)

I know pydub does not support 24-bits but I thought it was ok with 32-bits.

I'm using latest version of Dejavu.

Thank you.

Example file here : http://wikisend.com/download/406618/32bitsError.m4a

thesunlover commented 9 years ago

Well with the provided file there were no errors on my machine. where do you get the decoding err? Edit: would be even better to paste the whole traceback

kursusHC commented 9 years ago

Thanks for the answer. I was running ffmpeg 1 which triggered this error, problem solved with ffmpeg 2.

thesunlover commented 9 years ago

You're welcome.