• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

installing ffmpeg

php 搞代码 4年前 (2022-01-23) 34次浏览 已收录 0个评论

Posted by: vasi (—.128.7.55.dsl.dyn.forthnet.gr)

Date: January 09, 2011 10:37AM

Hi i wanted to install ffmpeg into wamp. after searching in several fora i found a process and followed it step by step.
A. have installed Wamp with setup: Apache 2.2.17, Php 5.2.16, MySQL 5.1.52
B. be aware that the current ffmpeg dll extension only works for PhP 5.2.xx
Steps to install ffmpeg:
1. activate GD2 Php Extension
2. Download ffmpeg.exe from [ffdshow.faireal.net]
3. Unpack the downloaded zip file. There will be three files inside: ffmpeg.exe, ffplay.exe, and pthreadGC2.dll
4. Download the FFMPEG windows dll files from [azzerti.free.

本&文来源gaodai^.ma#com搞#代!码网

搞gaodaima代码fr]
5. Unpack the downloaded zip file. You will need three files: php_ffmpeg.dll, avcodec.dll and avformat.dll.
6. Copy php_ffmpeg.dll in your wamp php extension folder: bin\php\php5.2.16\ext
7. Add the line “extension=php_ffmpeg.dll” (without the quotes) into php.ini right on the end of the extension= section
8. Copy avcodec.dll and avformat.dll and pthreadGC2.dll to C:\windows\system32
9. Click on the WAMP icon and click restart all services. Wait for WAMP to restart.
10. Copy ffmpeg.exe to C:\wamp\bin (Note: If you have installed WAMP to a different directory, copy the file to the /bin folder in your WAMP directory).
11. The path to FFMPEG is now: C:\wamp\bin\ffmpeg.exe
NOW – In Phpinfo it shows that ffmpeg extension is installed.
The question is.in step 10 and 11 it says that if i just place ffmpeg into the bin it will automatically define a path for it. Is that right or do i have to configure the wampserver configuration files to designate where the path to ffmpeg.exe is ?
all the best
vasilis

以上就介绍了installing ffmpeg,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:installing ffmpeg
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址