[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Help: I need a proper method to detect 99% of all mp3 files
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2004-07-11 14:47:33
Message-ID: 200407111647.33825.kde () carewolf ! com
[Download RAW message or body]

On Thursday 08 July 2004 14:34, Matthias Welwarsky wrote:
> 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.
>
MP3-files are sometimes prepended with upto 14kbytes of crap that needs to be 
searched for synchronizations frames. If you dont skip ID3v2 frames, this 
will be quite common when reading iTunes mp3s with embedded pictures.

`Allan
_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic