How to install ffmpeg and lame on Xampp for Mac?

1.9k views Asked by At

I've searched the internet for days to find out how to install ffmpeg (and lame) on XAMPP for Mac (PHP). But I didn't find the key to my quetsion.

I need to covert mp3's on my webserver (php) using lame, but I like to test it on my XAMPP for Mac first. I think I need the "php_ffmpeg.dll" which can be downloaded at Sourceforge. I found a step-by-step description here but this question only refers to XAMPP for Windows. But I need it for Mac.

Can anyone help to supply a step-by-step description?

1

There are 1 answers

10
bfavaretto On BEST ANSWER

The DLL file is not what you need, they're only for Windows.

Follow these instructions to install ffmpeg on your Mac, then use one of PHP's program execution functions to call the ffmpeg executable from your PHP code.