Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How to install ffmpeg PHP extension |
|
Author |
|
Kreten8
Joined: 27 Jan 2025 Posts: 5 Location: Kladno
|
Posted: Tue 28 Jan '25 8:21 Post subject: How to install ffmpeg PHP extension |
|
|
From here https://www.apachelounge.com/viewtopic.php?t=6359 I downloaded PHP 8.3.14 binaries, which contains the PHP extension php_ffmpeg.dll. I added it to the extensions section in php.ini. However, this is not enough for it to work, because it does not appear in phpinfo and after starting Apache, an error is written to the php log: Code: | [27-Jan-2025 09:49:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ffmpeg' (tried: c:/web/PHP83/ext\ffmpeg (The specified module was not found), c:/web/PHP83/ext\php_ffmpeg.dll (The specified module was not found)) in Unknown on line 0 |
However, c:/web/PHP83/ext\php_ffmpeg.dll exists.
Can someone advise me what I'm still missing - I assume some dll library? |
|
Back to top |
|
Kreten8
Joined: 27 Jan 2025 Posts: 5 Location: Kladno
|
Posted: Tue 28 Jan '25 10:16 Post subject: |
|
|
When I look inside php_ffmpeg.dll, there is a link to avutil-56.dll, which is not part of the distribution. And when I tried to find it on the Internet, the message "The specified module was not found" changed to "The specified procedure was not found". So this library is missing, but the one I downloaded is not the right one, so I need the one that was part of the project when compiling PHP. |
|
Back to top |
|
Kreten8
Joined: 27 Jan 2025 Posts: 5 Location: Kladno
|
Posted: Tue 28 Jan '25 12:18 Post subject: |
|
|
So I managed to install the ffmpeg extension in php 7.3.33, where the avutil library is bundled, but I lack any documentation for this extension. I am not able to write even a single line of correct code. What I need is to find out the total length of the mp3 file. |
|
Back to top |
|
|
|
|
|
|