RE: [PHP] Find out how long an MP3 is

From: Date: Tue, 21 Nov 2000 20:59:51 +0000
Subject: RE: [PHP] Find out how long an MP3 is
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26524@lists.php.net to get a copy of this message
If you do a search on the net you can find TONS of docs on the MP3 file specification. IIRC, the length isn't part of the ID3 tag set but it is tagged in there somewhere... - James Atkinson -----Original Message----- From: David Tod Sigafoos [mailto:dsig@teleport.com] Sent: November 21, 2000 12:58 PM To: H. Wade Minter Cc: php-general@lists.php.net Subject: Re: [PHP] Find out how long an MP3 is Hello H., HWM> Does anyone know how to find out how long (mm:ss) an MP3 file is from PHP? Not sure right off .. doesn't seem to be part of the tagging system (at least in all cases) BUT there must be a way. I just opened a mp3 in musicmatch and it knew the file was 16 seconds. In looking at the file there does seem to be a TLEN tag in the middle with the correct number of seconds for this file. For another file (still showing the number of seconds in MM) that tag does not seem to be there. It must be somewhere in the file. You might want to go to the winamp/shoutcast forums and ask there .. -- DSig David Tod Sigafoos mailto:dsig@teleport.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#26524) next »