用户登录
用户注册

分享至

获取音频文件的长度 php

  • 作者: 颜良师太
  • 来源: 51数据库
  • 2022-12-08

问题描述

如何在 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

软件
前端设计
程序设计
Java相关