What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Reading MP3 Data in PHP

Reading MP3 Data in PHP
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. Huh?  Reading MP3 Data in PHP
Has anyone ever made/used/heard of a PHP script which can read data from within a MP3, such as track length?

I've tried a few scripts but they seemed to say less than winamp or whatever when i Played them.

Or does anyone know about any MP3 documentation or something?  So i can try and read the track length myself?

Cheers for any help :)
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
05-08-2005 09:21 PM
Profile E-Mail PM Web Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: Reading MP3 Data in PHP
a google search came up with this http://pear.php.net/package/MP3_ID/ might be of some use maybe.
05-08-2005 09:40 PM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. RE: Reading MP3 Data in PHP
Thanks, I just tried that and that one doesn't seem to work either.  Maybe I just have some dodgy MP3s.

Does anyone know of a program to check if a MP3 is fully valid, becuase these MP3s play fine, but there could still be bits missing
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
05-08-2005 10:01 PM
Profile E-Mail PM Web Find Quote Report
Chris.1
Full Member
***

Avatar
addicted to the net

Posts: 363
Reputation: 3
37 / Male / –
Joined: Jun 2003
RE: Reading MP3 Data in PHP
Try making sure you've got both IDv2/3 tags filled in?
05-09-2005 11:31 AM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. RE: Reading MP3 Data in PHP
I've found a way of doing it now.  As I only want to read the MP3 header, not the actual ID3 tags, cos all I want is the Duration of the track.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
05-09-2005 11:39 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On