acoustid / chromaprint

C library for generating audio fingerprints used by AcoustID
Other
966 stars 132 forks source link

Fpcalc - Unable to determine fingerprint of file #134

Closed nlogozzo closed 1 year ago

nlogozzo commented 1 year ago

Hi, Tagger developer here. We were recently provided with some files to implement a new lyrics feature in Tagger, unrelated however, one of the files was unable to generate a fingerprint using fpcalc with the error:

ERROR: Error reading from the audio source (Invalid data found when processing input)
ERROR: Not enough audio data

The file can be found here: https://drive.proton.me/urls/KKKTXFCW3W#1tCqnQ0mqZhd (sorry for the link it's above 25 MB that GitHub allows) and is Annihilate.flac

phw commented 1 year ago

I just tried this with both fpcalc 1.5.1 binary from https://github.com/acoustid/chromaprint/releases/tag/v1.5.1 and the one provided by Ubuntu 23.04. No trouble with that file:

Maybe it is related to the ffmpeg version being used?

Official release binary:

% ./chromaprint-fpcalc-1.5.1-linux-x86_64/fpcalc -version
fpcalc version 1.5.1 (FFmpeg Lavc58.134.100 Lavf58.76.100 SwR3.9.100)

Ubuntu binary:

/usr/bin/fpcalc -version
fpcalc version 1.5.1 (FFmpeg Lavc59.18.100 Lavf59.16.100 SwR4.3.100)

Both output identical fingerprint:

% fpcalc Annihilate.flac                                        
DURATION=231
FINGERPRINT=AQADtGG2KJ_ww90C7eiR5js6Nse5D7jwo7mMFheOHMmPbpvRKjyOV0ePxkyOXPug_TBXw18giN2CqsWJJtwehHxyfNHxI8dTNDnaP9DRrzhZ4M-DH07xQ9wPfaiP7wkKj4V-nAncFKFYoWj0GOfxHj9-_CiP7w_y4w9EXih95Dou4VFw58h5NNdR70GPR0GX4wqhHz9-5A_uB9-O8siHvzB_aMcH_XiRN0bzoZWG4z7-JEMTJi96CV_Q_EcOZU8RUtsV9GHQJJF4fMuC-R0eXbiKIxePMwtzqEnyIEwq1CaepfhxMUmPh_gvvB9-Czf6MIzg5LlR00QO5QiP70ZtXMf9BD-cTjnyaD1UJ0f643mIR9IxVstR8koQ5h2-nEjaHJ_wDw1axnh3JN-C6HlR7Q6cNMfxC4wRnocWWvgvNM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IA7w5ARihgkiDFAAMIMIsxxBAkRAQhDlCCAKsAAEVAZQBhQgBAghEDCKSCIAAAIAiRQjhkJBAREGCMMQcoRhggACiBiCDPAEQIYCAwAJQAC1iImEFAIIGIER4AghIhCRDADgBGKMOSUAMIVA4hTSFAgCcCKEDOAAwZA4wwSxjiBHEIUGKWQQIABhxQxigmFBBDALGQhMkAxQKABBBCCkBIICQQJIs4IBYAjhAijJCDEAKooAsQgIzQBUFBFqFEEEGiI4IohIQSBBAilEBEGGUScAgoBAAx0DnFBgJVKASMIAMYoQBQgjIBBBAFWEUE4EUMCRkBwSBNBAIAcCASQAgQYwAhFCBAjhDIAAGRIRoIKQIhxyBBjrABAGYgMFEAQgAggxBIAAKFEACCNUEAoxCAgAgAAhAJEACAAIAAJ54BS0CAAHDMEGSEEk0QIJQgQwCjkiFAGcBIQAAYRAAQBzCAhhBLISEEFAQwRgIACBggghhMCAEcQMQgZhQwQwgABkDAAAEUEAAQIwqQiEhDDCAECASZEBkwAgoQRBiEFESDIASKOI0goY5QQChtInBDKGESIEkQho5BQABNkhUWQEmoIUMAAQgZHwAAqBAGGEOEQIAUIoZQyhBhBFBAKEQesEYRCQixSRikBgCEECaOQYAIRAAghiQyhEEFMGUQAMAI
nlogozzo commented 1 year ago

Ah forgot I opened this..I specified length=120 and then it worked.