If you want to get around QuickTime, then write your own MP3 header reader. A 
short search on
Google turned up the following two pages. They look like they'll at least point 
you in the right
direction for what you need to do.

http://www.mp3-tech.org/programmer/frame_header.html

http://code.newobjects.com/asp/mp3/article.htm

Hope that helps,
~ Tomis


--- Arnaud Nicolet <[EMAIL PROTECTED]> wrote:

> Hello,
> Is there a way to get the duration of a movie file without actually 
> opening it as a movie? All the movies are in "mp3" format on a mp3 usb 
> drive.
> My application shows the total duration of the files on the disk. The 
> only way I've found to get the duration is to open them as a movie 
> (this freezes my application) and get the length.
> I believe using File.Length/HowManyBytesAreInASecondInAnMp3File will do 
> the trick, but what is the value of 
> HowManyBytesAreInASecondInAnMp3File?
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to