I am also facing this problem. I have XAMPP runing on Windows system and i have php 5.0 installed and GD library too.
I have got the ffmpeg_new.rar from a weblink (http://sourceforge.net/project/downl...e_mirror=jaist ) got from this thread. And i have also the same content in that folder.
In common folder
1) avcodec.dll
2) avformat.dll
In php5 folder
1) php_ffmpeg_20050618_nogif.dll
6) php_ffmpeg.dll
i followed and copied the avcodec.dll and
avformat.dll files to system32 folder.and i copied ffmpeg file into php\ext folder.Then i added tha extension = php_ffmpeg in php.ini file extension. And restarted XAMPP services.
I also tried keeping this php code in a file under this folder : ../xampp/htdocs/myprojectdir/ffmpeg/test.php
Expand|Select|Wrap|Line Numbers
- $extension = "ffmpeg";
- $extension_soname = $extension . "." . PHP_SHLIB_SUFFIX;
- $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;
- # // load extension
- if(!extension_loaded($extension)) {
- dl($extension_soname) or die("Can't load extension $extension_fullname\n");
- }
When i run this page from the Browser i got this warning:
Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=ffmpeg.dll in your php.ini in D:\xampp\htdocs\myband\ffmpeg\ffmpeg.php on line 9Any help/suggestion is greatly appreciated.
Can't load extension C:\php5/ffmpeg.dll
Cheers,
pranoy