문제

I know it's possible to covert from AIFF and WAV to MP3, but in my project I need to have available all three formats (AIFF, WAV and MP3) from AIFF and WAV inputs. Is it possible?

도움이 되었습니까?

해결책

<?php
    exec("ffmpeg -i file.wav -f aiff -ab 128000 -ar 44100 file.aif");
?>

다른 팁

Not elegant, but you can use underlying system tools to do it via shell_exec()

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top