Old 22nd April 2002, 13:25   #1
wanton
Junior Member
 
Join Date: Apr 2002
Location: behind you
Posts: 3
calculating track length & frame count

How do i calculate the track length of an mp3 file?
I can calculate the length(bytes) of a frame, then find the next frame and so on until the end of the file but that is VERY SLOW!
is there a way to accuratly calculate the number of frames in a file?
If so, how do i handle variable bitrate files and bitrate borrowing?

anything is good. thanks.
wanton is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump