Home > php教程 > php手册 > body text

获取mp3文件元信息(如播放时长)

WBOY
Release: 2016-06-07 11:43:36
Original
1508 people have browsed it

封装为mp3file类,程序请下载附件
用法示例:function mp3_len($file) {<br>     $m = new mp3file($file);<br>     $a = $m->get_metadata();<br>     return $a['Length'] ? $a['Length'] : 0;<br> }

附件 mp3file.class.zip ( 2.76 KB 下载:336 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template