RE: [PHP] Find out how long an MP3 is
| From: | Jason Cox | Date: | Tue, 21 Nov 2000 20:03:49 +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-26505@lists.php.net to get a copy of this message | ||
That's a tough one because the quality can be different which will translate
into the same track length but different file size. I think the best you're
going to get is an estimation. If you look at the file size, it's normally
about 1MB per minute. So a 4MB MP3 file would be about 4 minutes long.
Jason
-----Original Message-----
From: H. Wade Minter [mailto:minter@netraverse.com]
Sent: Tuesday, November 21, 2000 12:56 PM
To: php-general@lists.php.net
Subject: [PHP] Find out how long an MP3 is
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Does anyone know how to find out how long (mm:ss) an MP3 file is from PHP?
- --Wade
- --
H. Wade Minter | NeTraverse, Inc.
System Administrator | minter@netraverse.com
"Signs that might be omens say I'm going, going...
I'm goin' to Carolina in my mind."
--James Taylor, "Carolina In My Mind"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6GtNgX5y4ZKLK2pMRAj5jAKCCYENTi9AH2KYdBFEMv/0oz9oiygCfbRFW
KIRoeqWLM2Y9VcBhKVq12Lo=
=ezQ9
-----END PGP SIGNATURE-----
--
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
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net