Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AIFFとWAVからMP3に変換できることは知っていますが、私のプロジェクトでは、AIFFとWAVの入力から3つの形式(AIFF、WAV、MP3)すべてを使用できるようにする必要があります。出来ますか?
<?php exec("ffmpeg -i file.wav -f aiff -ab 128000 -ar 44100 file.aif"); ?>
エレガントではありませんが、基礎となるシステムツールを使用してそれを行うことができますshell_exec()
shell_exec()