获取音频文件的长度 php

2021-12-21 00:00:00 audio 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

相关文章