View Single Post
Old 29-01-02, 03:19 PM   #10
Stoepsel
Waiting For The Night To Fall...
 
Stoepsel's Avatar
 
Join Date: Jan 2002
Posts: 225
Default

Quote:
Originally posted by TankGirl

As there is no common header specifying the frame statistics of an mp3 file it seems indeed that scanning through all frames is the only way to determine reliably both the highest/lowest bitrates as well as the average bitrate. This may not be as heavy though as it sounds - we would not be decoding the mp3 file, just reading the bitrate figures from the individual frames. This might be wise to do at the same time when we calculate the hash number for the file contents.
Hmmmm, in my case that would mean scanning through roughly 6 gigs of mp3 files. Of course you don't have to decode all of that data but just rushing through it still needs a bit of time. Maybe a few minutes or so. And since it's an IO intensive operation, you will notice your computer almost come grinding to a halt.

But not everyone shares as many mp3s as I do, but some share even more. Maybe doing that scanning in a background low-priority task could be a workable solution...

Stoepsel
__________________
Who is General Failure and why is he reading my hard disk?
Stoepsel is offline   Reply With Quote