<?phpfunction 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); ???}}?>
;
php自定义函数: amr转mp3格式
原文地址:http://www.cnblogs.com/upup2015/p/7786796.html