获取音频文件的长度 php

Get the length of an audio file php(获取音频文件的长度 php)
本文介绍了获取音频文件的长度 php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

如何在 php 中获取音频文件的长度.

How I can get the length of an audio file in php.

如果在 php 中太难了,那么任何其他方式都应该可以.

If it's too hard to do in php then any other way should work alright.

推荐答案

什么样的音频文件?mp3?哇?无论如何,您可能需要一些特定的库.请参阅:http://de.php.net/manual/en/refs.utilspec.audio.php

What kind of audio file? mp3? wav? Anyway you will probably need some specific library. See: http://de.php.net/manual/en/refs.utilspec.audio.php

这篇关于获取音频文件的长度 php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to make 5 random numbers with sum of 100(如何制作5个总和为100的随机数)
str_shuffle and randomness(str_shuffle 和随机性)
Algorithm for generating a random number(生成随机数的算法)
What#39;s the disadvantage of mt_rand?(mt_rand 的缺点是什么?)
What is the best way to generate a random key within PHP?(在 PHP 中生成随机密钥的最佳方法是什么?)
How to create a random string using PHP?(如何使用 PHP 创建随机字符串?)