<bdo id='rmYzz'></bdo><ul id='rmYzz'></ul>

      <tfoot id='rmYzz'></tfoot>
    1. <small id='rmYzz'></small><noframes id='rmYzz'>

    2. <i id='rmYzz'><tr id='rmYzz'><dt id='rmYzz'><q id='rmYzz'><span id='rmYzz'><b id='rmYzz'><form id='rmYzz'><ins id='rmYzz'></ins><ul id='rmYzz'></ul><sub id='rmYzz'></sub></form><legend id='rmYzz'></legend><bdo id='rmYzz'><pre id='rmYzz'><center id='rmYzz'></center></pre></bdo></b><th id='rmYzz'></th></span></q></dt></tr></i><div id='rmYzz'><tfoot id='rmYzz'></tfoot><dl id='rmYzz'><fieldset id='rmYzz'></fieldset></dl></div>
      <legend id='rmYzz'><style id='rmYzz'><dir id='rmYzz'><q id='rmYzz'></q></dir></style></legend>

    3. 如何在 WampServer 2.0 (Windows XP) 中安装 FFMpeg

      时间:2023-09-20
    4. <tfoot id='96LbD'></tfoot>

        <bdo id='96LbD'></bdo><ul id='96LbD'></ul>

        1. <small id='96LbD'></small><noframes id='96LbD'>

          <i id='96LbD'><tr id='96LbD'><dt id='96LbD'><q id='96LbD'><span id='96LbD'><b id='96LbD'><form id='96LbD'><ins id='96LbD'></ins><ul id='96LbD'></ul><sub id='96LbD'></sub></form><legend id='96LbD'></legend><bdo id='96LbD'><pre id='96LbD'><center id='96LbD'></center></pre></bdo></b><th id='96LbD'></th></span></q></dt></tr></i><div id='96LbD'><tfoot id='96LbD'></tfoot><dl id='96LbD'><fieldset id='96LbD'></fieldset></dl></div>

            • <legend id='96LbD'><style id='96LbD'><dir id='96LbD'><q id='96LbD'></q></dir></style></legend>

                  <tbody id='96LbD'></tbody>

                本文介绍了如何在 WampServer 2.0 (Windows XP) 中安装 FFMpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我需要在我的本地主机上安装 ffmpeg PHP 扩展,以便我可以测试我的一些脚本,但我在弄清楚如何做到这一点时遇到了麻烦.

                I need to install the ffmpeg PHP extension on my localhost so I can test few of my scripts but I am having troubles figuring out how to do that.

                我有 WampServer 2.0 和 PHP 5.2.9-2,我的操作系统是 Windows XP.请有人给我一步一步的说明.

                I have WampServer 2.0 with PHP 5.2.9-2, my OS is Windows XP. Please somebody give me step by step instructions.

                我在这里找到了一些 Windows 版本:http://sourceforge.net/projects/ffmpeg-php/files/

                I have found some Windows builds here: http://sourceforge.net/projects/ffmpeg-php/files/

                但我不知道要下载哪个以及如何处理文件.

                But I don't know which one to download and what to do with files.

                到目前为止我所做的:

                1. 下载 ffmpeg_new
                2. 将php_ffmpeg.dll从php5文件夹复制到C:wampinphpphp5.2.9-2ext
                3. 将文件从 common 复制到 windows/system32 文件夹
                4. 将 extension=php_ffmpeg.dll 添加到 php.ini 文件
                5. 重新启动所有服务(Apache、PHP...)

                使用此代码后出现错误:

                I am gettings an error after using this code:

                            $extension = 'ffmpeg';
                            $extension_soname = 'php_ffmpeg.dll';
                            $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;
                
                            // load extension
                            if(false === extension_loaded($extension)) {
                                if (false === dl($extension_soname))
                                    throw new Exception("Can't load extension $extension_fullname
                ");
                            }
                

                错误:

                Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=ffmpeg.dll in your php.ini in C:wampwwwhunnyhiveapplicationmodulesdefaultcontrollersMyAccountController.php on line 314
                

                另外,我也从上面得到了例外.

                Plus I also get the exception from above.

                推荐答案

                将此行添加到您的 php.ini 文件

                add this line to your php.ini file

                [PHP_ffmpeg]
                extension=php_ffmpeg.dll
                

                这篇关于如何在 WampServer 2.0 (Windows XP) 中安装 FFMpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:在后台运行一个 ffmpeg 进程 下一篇:ffmpeg MAMP“dyld:库未加载"错误

                相关文章

                最新文章

              1. <legend id='xbjEo'><style id='xbjEo'><dir id='xbjEo'><q id='xbjEo'></q></dir></style></legend>
                  <bdo id='xbjEo'></bdo><ul id='xbjEo'></ul>
              2. <small id='xbjEo'></small><noframes id='xbjEo'>

                <tfoot id='xbjEo'></tfoot>

                  <i id='xbjEo'><tr id='xbjEo'><dt id='xbjEo'><q id='xbjEo'><span id='xbjEo'><b id='xbjEo'><form id='xbjEo'><ins id='xbjEo'></ins><ul id='xbjEo'></ul><sub id='xbjEo'></sub></form><legend id='xbjEo'></legend><bdo id='xbjEo'><pre id='xbjEo'><center id='xbjEo'></center></pre></bdo></b><th id='xbjEo'></th></span></q></dt></tr></i><div id='xbjEo'><tfoot id='xbjEo'></tfoot><dl id='xbjEo'><fieldset id='xbjEo'></fieldset></dl></div>