Home >Backend Development >PHP Tutorial >PHP怎么根据时间段切割音频文件

PHP怎么根据时间段切割音频文件

WBOY
WBOYOriginal
2016-06-13 12:22:021405browse

PHP如何根据时间段切割音频文件?
我编写的网站需要对用户上传的音频文件(格式为pcm或wav)按照每60s进行循环处理
在网站后台采用PHP,如何对用户上传的音频文件进行按照60s来切割?
------解决思路----------------------
ffmpeg -i 音频文件名 -t 持续秒数 -ss 开始秒数 输出文件名
------解决思路----------------------
参考:http://www.thinksaas.cn/group/topic/346522/

Statement:
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