How to convert all audio formats to mp3 in php? [closed]
Question
How to convert all audio formats to mp3 in php
Solution
Using ffmpeg can be helpful. For details http://ffmpeg.org/
OTHER TIPS
at first you install ffmpeg on your system. (it is free), then in PHP you can call the ffmpeg to convert any audio file to mp3 using the system command like this:
<?php
$output = system("ffmpeg parameters...");
echo $output;
?>
see the ffmpeg documentation for examples how to call ffmpeg.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow