I ram coding a website that links to thousands of mp3's on the web, but i need to retrieve the duration of these files without first uploading them onto my server. I already tried using getid3 script but that requires you to have the mp3 file on your server. Any other way to achieve this?

Recommended Answers

All 3 Replies

Member Avatar for diafol

I don't think you can from file size as different encodings are possible. BUT there is this site that should allow you to do it:

http://getid3.org/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.