Install FFMPEG to XAMPP

I installed xampp 1.7.4 with php version 5.3.5 on windows xp. How to install ffmpeg in xampp with php 5.3.5 on windows xp?

+4
source share
4 answers

You can follow the steps from here or follow these steps.

  • Download ffmpeg from here: https://ffmpeg.org/download.html
  • Copy the php_ffmpeg.dll file from the php5 folder to the C: \ wamp \ bin \ php \ php5.2.9-2 \ ext folder
  • Copy files from shared to windows / system32 folder
  • Add extension = php_ffmpeg.dll to php.ini file (\ apache ... php.ini)
  • Restarting all services (Apache, PHP ...)

And include the directive "extension = php_ffmpeg.dll" in php.ini.

+2
source

Sodobni-mediji.si worked, but some things need to be clarified.

Download: https://rapidshare.com/#!download|934l34|422916798|php_ffmpeg_v0.6.0_for_PHP_5.3.1.rar

  • unpack
  • copy the ffmpeg.exe file somewhere and remember the path for future use
  • move php_ffmpeg.dll to php extension dir (usually c: \ xampp \ php \ ext)
  • move all other files to Windows \ System32 (except COPYING.GPLv3.txt, readme.txt)
  • add extension = php_ffmpeg.dll to php.ini (usually c: \ xampp \ php \ php.ini)
  • restart apache with crossed fingers.
  • questions / answers http://www.apachefriends.org/f/viewtopic.php?f=16&t=41913

If you are using Windows 64bit, you will also need to copy all these DLL files to C: \ Windows \ SysWOW64 along with C: \ Windows \ System32.

You will probably have problems with toGdImage (), I have no idea how to fix this ...

+5
source

Go to apachefriends.org Here you will find a link to ffmpeg 0.6.0 for php 5.3.1.

  • Copy php_ffmpeg.dll to xampp \ php \ ext.
  • Copy the ffmpeg.exe file to the root directory of your site or somewhere else until you know where (you need to determine the path to it in your php file) ...
  • Copy everything else into windows / system32.
  • Add "extension = php_ffmpeg.dll" or delete ";" at the beginning of this line in the php.ini file (xampp \ php \ php.ini)
  • Restart Apache server ... and voila :)

This worked for me in PHP 5.3.1 and 5.3.5 :) I found this on apachefriends.org

Good luck :)

+3
source

If the above solution does not work, you can do the following:

  • Go to this URL: http://ffmpeg.zeranoe.com/builds/
  • Download static FFMPEG 32 or 64 bit (according to your system).
  • After downloading, you can see the file "ffmpeg.exe", copy and paste this file into your xampp directory (for example, C: \ xampp)
  • Then set this path to "C: \ xampp" in your application.
  • Enjoy ..
+2
source

All Articles