[vorbis] Obtaining tag-independent track uniqueness?

Tom Wadzinski orca_twadzins at yahoo.com
Tue Mar 12 20:21:02 PST 2002



>Why don't you just hash the first 300 kbytes like giFT does?  Then you
>can be content-neutral, and your implementation is greatly simplified.
>Third-party implementations might even get it right! ;-)
That would be an option, but requiring a content-specific solution is
useful if you gain a sufficient advantage from doing it.  I think that
there is precedence for this in the mp3 space.  From what I can gather,
Open Nap, and perhaps Napster, use a "hash the non-tag portion" strategy
(see http://opennap.sourceforge.net/napster.txt search in the text for
hash) and in Bitzi (see
http://bitzi.com/bboard/message?message_id=5119&forum_id=1667 search in
text for "audio part hash" ). 

>Besides that, imagine I download an Ogg from a P2P network and find
that
>it's not tagged.  I might decide to add at least ARTIST and TITLE tags.
>If you hash my tagged version against the original, but ignore the
tags,
>then you get the same hash for both files.  That's no good -- you can't
>swarm the file if it's not the same file on both sources.
I'm guessing that this is exactly how some of the current p2p programs
with swarming work that it is okay if different users have different
tags, because the songs get pieced together by swarming the non-tagging
content and a new tag is applied to resulting file.  Audiogalaxy appears
to work this way.
Note: If I understand you correctly swarming is receiving a single file
from several different sources, and piecing it together.

Also, p2p systems aren't the only purpose for a hash identification.
Personally, I mostly want it for large collection audio organization.
But I'm hoping that expanding the argument to p2p systems will help
convince in-the-know Vorbis folks that this is a problem worth
consideration.
 
I guess my point is that the non-metadata portion hash idea is not
"half-baked", so does anyone have any further thoughts on how to
actually go about achieving this with the existing APIs?  

<p>Tom Wadzinski

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list