I’m stoked to be able to bring you this tutorial! In my previous tutorial, How to install ffmpeg-php for Windows Apache HTTP Server, I mentioned the limitation that all newer versions of PHP were compiled using VC9 and there wasn’t a compatible version of ffmpeg-php, but that has since changed! Special thanks to Sergey Fedotov, I now have a PHP 5.4 VC9 version of ffmpeg-php!
You’ll need PHP 5.4 already installed in order to install ffmpeg-php extension for Windows. You can either use http://pastebin.com/r8JDpxnL (or higher) or you can download and install PHP 5.4. If you’re wanting to test the installation (as done in this tutorial), then you’ll also need a video file.
If you are using XAMPP for this tutorial, you can ffmpeg-php+ from their website.
If you’re using a manual installation of PHP 5.4, you can download version 5.4+ on their Archives page.
ffmpeg-php For PHP 5.4 Windows Downloads
Here are the links needed to download ffmpeg-php and the requirements to install it. I’ve also added the links to the additional resources used in this tutorial.
- ffmpeg-php for PHP 5.4 Windows – 32-bit VC9 (Recommended) – ffmpeg-php for Windows PHP 5.4 x32. VC9 compiled
ffmpeg-php for Windows PHP 5.4 x32. VC9 compiled. Special thanks to Sergey Fedotov for these!
- ffmpeg-php for PHP 5.4 Windows – 64-bit VC9 – ffmpeg-php for Windows PHP 5.4 x64. VC9 compiled
ffmpeg-php for Windows PHP 5.4 x64. VC9 compiled. Special thanks to Sergey Fedotov for these!
- Example/Test ffmpeg-php script (Shown below) – ffmpeg-php example code
Example/Test ffmpeg-php Code