Help: I need a proper method to detect 99% of all mp3 files

Matthias Welwarsky mwelwarsky at
Thu Jul 8 13:34:49 BST 2004

On Tuesday 06 July 2004 14:52, Scott Wheeler wrote:
> On Tuesday 06 July 2004 12:49, Matthias Welwarsky wrote:
> > Well, the proper method is to parse the bitstream and see if it is
> > compliant to the standard. This is both quick and reliable, and works
> > with and without tags.
> Well, except for the quick part.  ;-)
> Operations like this are bound by disk speed, not code complexity or CPU
> time.

Hm? mp3 frames are typically around 400 byte long, and decoding a few of them 
is probably much less a hassle than parsing a tag. So the "disk speed" not an 
issue, not even over network or USB.

Reading an ID3v1 Tag at the end of a file takes more time due to the necessity 
to seek.


More information about the kde-multimedia mailing list