Garethp Posted March 1, 2008 Share Posted March 1, 2008 Basically what I want to do is create a site similar to zamzar.com, where I can convert videos online. I understand that using FFMPEG is the best way to do this. Thing is, I am having problems installing it. I've been been to numerous tutorials which don't work and they all say to do this Copy avcodec.dll to system32 Copy avformat.dll to system32 Copy php_ffmpeg.dll to PHP/ext Write extension=php_ffmpeg.dll to php.ini I have done that and it still doesn't work. I am using EasyPHP 2.01b, can you please help me? Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/ Share on other sites More sharing options...
chanchelkumar Posted March 1, 2008 Share Posted March 1, 2008 Any help here????????????????? Am also in this problem Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480778 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 Where are you people getting these instructions from? There is no such extension in the php. Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480815 Share on other sites More sharing options...
Garethp Posted March 1, 2008 Author Share Posted March 1, 2008 Here was one place http://www.thescripts.com/forum/thread732941.html If you don't know of FFMPEG, might you suggest another solution to my project? Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480835 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 Have you also installed the ffmpeg program? Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480859 Share on other sites More sharing options...
Garethp Posted March 1, 2008 Author Share Posted March 1, 2008 I don't think so. I couldn't figure out how. I downloaded it and there was no exe... How do I install a program without an exe? Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480870 Share on other sites More sharing options...
wildteen88 Posted March 1, 2008 Share Posted March 1, 2008 ffmpeg will need to be compiled in order to be used on Windows. ffmpeg doesn't come in a precompiled package. This guide should help you with compiling ffmpeg for windows. You may find unofficial ffmpeg precompiled builds for windows here. Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-480990 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 You do realise that even (if/)after you get all of this working your going to have a pretty hard time finding a host that supports this ffmpeg extension? Simply for the fact that its not an official php extension. Most hosts (Linux) should however have ffmpeg (not the extension) installed, you can access this quite simply via the exec family of functions. Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-481199 Share on other sites More sharing options...
Garethp Posted March 2, 2008 Author Share Posted March 2, 2008 I'm running EasyPHP on my computer. I installed FFMPEG, I ran the exe, and I still can't get it to work. With EasyPHP, I right click on it's icon, go configuration, php extensions and the php_ffmpeg is highlighted red and I can't tick the box! Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-481314 Share on other sites More sharing options...
wildteen88 Posted March 2, 2008 Share Posted March 2, 2008 I have no experience of ffmpeg but I don't think ffmpeg comes as a php extension. Instead you just install the ffmpeg binaries on your computer then to use ffmpeg in your PHP scripts you use the exec family of functions as thorpe suggested. Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-481555 Share on other sites More sharing options...
Garethp Posted March 2, 2008 Author Share Posted March 2, 2008 If that is so, would you please suggest an alternative that I could use to complete my project? Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-481938 Share on other sites More sharing options...
trq Posted March 3, 2008 Share Posted March 3, 2008 If that is so, would you please suggest an alternative that I could use to complete my project? ffmpeg is probably your best solution. However, just reiterating what wildteen just said. There does actually appear to be a ffmpeg extension available for php, but as far as I can see it is not official. ie Its not contained in either the php source or PECL. What that meens is even if you get this extension installed and working on your development server your going to have a real hard time finding a host that will support this extension. Drop the extension idea, install ffmpeg, then access it via the command line and php's exec functions. I said all this a few posts ago by the way, seems you simply chose to ignore me. Quote Link to comment https://forums.phpfreaks.com/topic/93822-i-need-some-help-installing-ffmpeg/#findComment-482058 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.