在WAMP上安装FFMPEG [英] Install FFMPEG on WAMP

查看:258
本文介绍了在WAMP上安装FFMPEG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可能花了12个多小时尝试在WAMP上安装FFMPEG。我知道其他人在这个网站上回答了这个问题,但是我的设置不行。

I've probably spent over 12 hours trying to install FFMPEG on WAMP. I'm aware that other people have had this question answered on this site, however it does not work for my setup.

我尝试了以下内容:

Download ffmpeg_new
Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext
Copy files from common to the windows/system32 folder
Add extension=php_ffmpeg.dll to php.ini file
Restarted all services (Apache, PHP...)

我目前的设置是PHP 5.2.1,Apache 2.0.63。我有一台Windows 7 64位计算机。

My current setup is PHP 5.2.1, Apache 2.0.63. I have a Windows 7 64bit computer.

我的PHP错误日志中出现以下错误:

I get the following error in my PHP error log:

[ 2012年06月22日01:39:31] PHP警告:PHP启动:无法加载动态库c:/wamp/bin/php/php5.2.1/ext/php_ffmpeg.dll - 找不到指定的模块。
在未知的第0行

[22-Jun-2012 01:39:31] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.1/ext/php_ffmpeg.dll' - The specified module could not be found. in Unknown on line 0

显然我把模块放在ext文件夹中。

Obviously I have placed the module in the ext folder.

Phpinfo.php验证FFMPEG模块是否未加载。我已经尝试安装PHP 5.3(使用更高版本的FFMPEG版本),5.2.6和5.2.9-2,但是模块仍然无法加载。还有什么我应该尝试的吗?有64位Windows 7计算机有什么区别吗?

Phpinfo.php verifies that the FFMPEG module is not being loaded. I have tried installing PHP 5.3 (with a later FFMPEG version), 5.2.6 and 5.2.9-2, but the module still fails to load. Is there anything else I should try? Does having a 64bit Windows 7 computer make any difference?

推荐答案

是的,拥有64位计算机可能会有所作为。尝试将通用文件放在 C:\Windows\SysWow64 而不是 system32 中。

Yes, having a 64-bit computer may make a difference. Try putting the "common" files in C:\Windows\SysWow64 instead of system32.

如果不行,请尝试使用 DependencyWalker 来检查缺少DLL(用它打开php_ffmpeg.dll)

If that doesn't work, try using DependencyWalker to check the missing DLLs (open php_ffmpeg.dll with it)

这篇关于在WAMP上安装FFMPEG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆