I made a code in php that extracts mp3 audio track from a video file using the exec
function to execute ffmpeg
.
All works fine on a local server using WAMP on windows. But when deploying the script to the server, I can not run ffmpeg
anymore because the server does not have the software.
Is there a class in pure PHP, or an API that is capable of the same or at least the basic ffmpeg functionality?