dongye9453 2012-06-22 10:16
浏览 140
已采纳

在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.

I have tried the below:

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...)

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

I get the following error in my PHP error log:

[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

Obviously I have placed the module in the ext folder.

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?

  • 写回答

2条回答 默认 最新

  • doujiu8479 2012-06-22 10:20
    关注

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

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器