标签:函数 log return erro cal 高质量 质量 exist cti
<?php
function amr2mp3($file){
if (file_exists($file . ‘.mp3‘) == true) {
return;
} else {
$params = "-ab 256 -ar 16000 -ac 1 -vol 200";//16000 高质量
$command = "/usr/local/bin/ffmpeg -i $file.amr $params $file.mp3";
system($command, $error);
}
}
?>
;
标签:函数 log return erro cal 高质量 质量 exist cti
原文地址:http://www.cnblogs.com/upup2015/p/7786796.html