Convert * (mp3, m4p, and the likes) to OGG via Command Line for HTML5 compatibility
问题 What options do I have for converting MP3's to OGG on the fly using PHP? I assume the only way to do this is via the command line with an execute statement. Is this true? If so, what converters (and associated commands) would I be best off using? I have tried: oggenc2.exe but was told by the program that the MP3 I passed was not a valid filetype ffmpeg.exe but was unable to figure out how to go from mp3 to ogg (found how to go from ogg to mp3 though) Convert mp3 to ogg via php 回答1: You didn't