After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104361 - FEATUREREQUEST: TRM ID support
FEATUREREQUEST: TRM ID support
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal enhancement
: 0.4.0
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-24 19:50 UTC by Jorn Baayen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jorn Baayen 2003-01-24 19:50:57 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.
Comment 1 Christian Fredrik Kalager Schaller 2003-02-23 21:36:58 UTC
Marking this as a featurerequest
Comment 2 Benjamin Otte (Company) 2003-03-19 15:30:15 UTC
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?
Comment 3 Christian Fredrik Kalager Schaller 2003-05-12 13:06:30 UTC
Setting to needinfo. Jorn any info on this?
Comment 4 Jorn Baayen 2003-05-12 14:56:55 UTC
You just feed this musicbrainz function PCM data until it returns TRUE
+ the fingerprint.
Comment 5 Ronald Bultje 2003-05-12 16:53:44 UTC
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. ;).
Comment 6 Benjamin Otte (Company) 2003-05-14 15:05:55 UTC
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...
Comment 7 Thomas Vander Stichele 2003-09-02 22:56:36 UTC
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.
Comment 8 Jorn Baayen 2004-02-10 12:26:43 UTC
This seems to be implemented now, closing ..