Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479996 - media-libs/chromaprint-0.7 - fpcalc tool returns Fingerprint=AQAAAA in every file
Summary: media-libs/chromaprint-0.7 - fpcalc tool returns Fingerprint=AQAAAA in every ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-08-06 22:50 UTC by Octavio Ruiz (Ta^3)
Modified: 2014-02-10 16:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
chromaprint-0.7.patch (chromaprint-0.7.patch,794 bytes, patch)
2013-08-06 22:52 UTC, Octavio Ruiz (Ta^3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2013-08-06 22:50:23 UTC
Newer ffmpeg versions (eg media-video/ffmpeg-1.2.1) switched to decoding MP3 to a planar sample format and for some reason it failed to convert it to the regular packed format.

As result fpcal returns  Fingerprint=AQAAAA in every file.

Upstream already fixed this and this will also make that media-sound/picard is unable to upload and submit AcusticIDs.

https://bitbucket.org/acoustid/chromaprint/issue/3/fingerprint-aqaaaa-for-mp3-that-ffmpeg-can

https://bitbucket.org/acoustid/chromaprint/commits/564dd2fc27dbbede445eb52c346aa8dcda4ecc3f

Reproducible: Always
Comment 1 Octavio Ruiz (Ta^3) 2013-08-06 22:52:13 UTC
Created attachment 355286 [details, diff]
chromaprint-0.7.patch

Add this to 

/etc/portage/patches/media-libs/chromaprint/

it comes from https://bitbucket.org/acoustid/chromaprint/commits/564dd2fc27dbbede445eb52c346aa8dcda4ecc3f and it's made with the other gentoo patches in mind so it applies clean.
Comment 2 Raphaël Droz 2013-09-26 22:03:46 UTC
a6d27bc [1] seems needed too, but does not apply on top of 564dd2fc (hunk #2 of examples/fpcalc.c)

[1] https://bitbucket.org/acoustid/chromaprint/diff/examples/fpcalc.c?diff2=a6d27bcf15c5&at=master
Comment 3 Octavio Ruiz (Ta^3) 2013-11-19 17:13:25 UTC
This only applies to media-libs/chromaprint-0.7, it's solved with the release of media-libs/chromaprint-1.0 but meanwhile version 0.7 it's still in the tree and marked as stable, this patch should be applied to this version.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-02-10 16:39:12 UTC
This is fixed in 1.1, bug 500882 to follow stabilization