Re: Regarding Accesing mp3 with php
| From: | tedd | Date: | Fri, 26 Jun 2009 15:17:53 +0000 |
| Subject: | Re: Regarding Accesing mp3 with php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294652@lists.php.net to get a copy of this message | ||
At 10:49 AM -0400 6/26/09, Daniel Brown wrote:
AND At 10:53 AM -0400 6/26/09, Robert Cummings wrote:The compression algorithm used for encoding, frequency and qualityof the file, and actual noise signature itself would throw this off. For example, a file with seven notes played in a period of 8 seconds will be larger than a file with one note played at the same volume for the same duration. Then take into account the bitrate, if there are ID3 tags or not, if there are compression comments embedded by the encoding software....
Dear $_DEITY no. Filesize is barely related to play time. He's going aboutit the correct way, using existing libraries that know how retrieve the information. I would probably try ffplay (part of ffmpeg package):I stand corrected. Actually, I stand leaning a little to the right. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com