GNOME Bugzilla – Bug 104361
FEATUREREQUEST: TRM ID support
Last modified: 2004-12-22 21:47:04 UTC
It would be very cool to have the media-info stuff support calculating the TRM ID of a song. A TRM ID is an accoustic fingerprint of the song, to allow searching for the song in the musicbrainz.org database.
Marking this as a featurerequest
Out of interest: How is this fingerprint computed? Hashing the file? Hashing the decoded file? Something entirely different? I couldn't find an explanation on http://www.musicbrainz.org/ and I'm too lazy to browse the source of their tagger. Do you know of any white papers or similar?
Setting to needinfo. Jorn any info on this?
You just feed this musicbrainz function PCM data until it returns TRUE + the fingerprint.
Interesting... A good way to do this would be to make a trmidsink. That'd be not really useful for high-level use, but it'd be a "proper" gstreamer'ish way of fixing this. Mediainfo (or monkey-media) could hten create a higher-level function that does filesrc location=foo.bar ! spider ! trmidsink and listen to a signal... Just the first thing that pops up in my head. Flame me if this sounds like nonsense. ;).
Sounds good - just do it like md5sink with the right caps. OTOH I don't think it's a good idea (for musicbrainz) as different mp3 decoders create different pcm streams, but oh well...
I'm going to give this a shot. Benjamin, the TRM id is calculated in such a way that the actual encoding is less important; ie it does a good job of detecting tracks even when the encodings are different. There are test scripts in the sdk kit and so on.
This seems to be implemented now, closing ..