问题
I have a website where users can upload music and get it converted to mp3, but I need mp3 and ogg file support to play the music in html5. So, is there any php script that can convert mp3 to ogg?
回答1:
Use ffmpeg.
You can execute commands directly from your php script.
来源:https://stackoverflow.com/questions/5105134/convert-mp3-to-ogg-via-php