Location:
![](/images/right.gif)
Search - ffmpeg-0.5.t
Search list
Description: ffmeg开源多媒体函数库,支持mpeg,mp3等多种音频视频格式-ffmeg open-source multi-media library, support mpeg, mp3 and other audio and video formats
Platform: |
Size: 2739200 |
Author: 刘理想 |
Hits:
Description: 1.下载ffmpeg-php扩展包和ffmpeg.exe(刚开始我以为不需要这个,本地windows测试缺一不可),解压后有以下文件
avcodec-51.dll
avformat-51.dll
avutil-49.dll
php_ffmpeg.dll
pthreadGC2.dll
2. 将四个文件拷贝到windows/system32目录下
avcodec-51.dll, avformat-51.dll, avutil-49.dll, pthreadGC2.dll
3.将php_ffmpeg.dll拷贝到php的ext目录下。
4. 然后需要到apache/bin文件下找到php.ini文件下允许使用dll文件加入extension=php_ffmpeg.dll 并确保这三个都是开启状态 extension=php_gd2.dll, extension=php_gettext.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_ffmpeg.dll
5.重启apache,输出phpinfo();方法查看环境配置,如看到以下信息则说明扩展安装成功。(1. download the ffmpeg-php extension package and ffmpeg.exe (I just started to think that you don't need this, the local windows test is all right), after unzip there are the following files
Avcodec-51.dll
Avformat-51.dll
Avutil-49.dll
Php_ffmpeg.dll
PthreadGC2.dll
2. copy four files to the windows/system32 directory
Avcodec-51.dll, avformat-51.dll, avutil-49.dll, pthreadGC2.dll
3. copy php_ffmpeg.dll to the EXT directory of PHP.
4., then we need to find the php.ini file under the apache/bin file, allowing DLL files to be added to extension=php_ffmpeg.dll, and make sure that these three are open states extension=php_gd2.dll, extension=php_gettext.dll.
Extension=php_gd2.dll
Extension=php_gettext.dll
Extension=php_ffmpeg.dll
5. restart Apache, output phpinfo (); method to view the environment configuration, and if you see the following information, the expansion installation is successful.)
Platform: |
Size: 60617728 |
Author: sdhd |
Hits: