Converting uploaded audio files to mp3 using PHP/ffmpeg -


I have limited experience using PHP, but doing some searching around it seems that audio files It is possible to convert to a web page using Ffmpeg being uploaded to MP3. In order to be able to process all the audio files in MP3 format, I would need a PHP script, which can be downloaded from the uploading script Be uploaded using It said.

or in MP3 format, but more than 192 kbps, removing the original file after conversion, is it right to think that it can be obtained using PHP, and if If so, can someone start me with some code, or link to a webpage with any code?

Besides, I am currently using HostPapa to host my website, and I think they do not include ffmpeg, and do not even allow SSH. I have read on a website that I can still install the compiled version of FFPAP on a shared server, but I am not sure whether it will work on the HostPapa or I can use my host to do FMPP Will need to change. / P>

Welcome any advice from this!

Thanks,

Nick

You basically Run ffmpeg from PHP or use PHP-API like ffmpeg If you can not access the server through SSH and they do not have ffmpeg installed, then possibly it may be possible to use a precompile binary, but you can not be allowed to run commands or install software from PHP is.

Comments