Ffmpeg Introduction
FFmpeg is a cross-platform command line software that records, converts, and plays videos and audios. It uses libavcodec codecs. FFmpeg official website is http://ffmpeg.org /.
The official website provides uncompiled FFmpeg source code. If you are interested, you can download the source code and compile it yourself. In general, we will be lazy and download the ready-made files.
Php_ffmpeg Resource
For the source code and compilation method, see:
Http://sergey89.ru/notes/ffmpeg-php-windows/
Download of various win32 versions:
Http://ffmpeg.arrozcru.org/builds/
Configuration method
1. Extract
2. Copy the php_ffmpeg.dll file to the extension directory of php.
3. Copy all other files to the SysWOW64 directory of Windows (Note: The 32-bit system is copied to the system32 directory of windows)
4. In the php. ini file, add extension = php_ffmpeg.dll.
5. Restart apache
You can use phpinfo () to view the installation result. If ffmpeg support enable appears, the installation is successful.
At the beginning, I copied the relevant file to system32, and there was always an error, prompting "unable to load dynamic library 'xx/xx/php_ffmpeg.dll '". Later I felt that the version was incorrect, I want to find the corresponding 64-bit php_ffmpeg.dll file. After a lot of detours, I finally saw the reprinted article.
The original version was not found, and many people posted on the Internet were reposted, but the links were missing. I have added two links here. I would like to thank the original author and have modified the text without permission. Please forgive me. In addition, I will provide the version I downloaded for you to download. My php5.3 version is:
Ffmpeg-php-5.3-win32-all.zip