1. A method for comparing a media sample and a media file, comprising: computing a set of sample fingerprints, each sample fingerprint characterizing a particular location within said media sample; obtaining a set of file fingerprints, each file fingerprint characterizing at least one file location within said media file; generating correspondences between said particular locations of said media sample and said file locations of said media file, wherein corresponding locations have equivalent fingerprints; and identifying said media sample and said media file if a plurality of said corresponding locations are substantially linearly related.