Unable to load FFProbe #3265
Unanswered
articleten-andy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I upload a file and call the addMedia() method my file gets uploaded and placed in its correct numeric folder on the server (in storage), and the model is created in the database all fine.
However if it's a video file it fails on the process of creating the thumbnail with the following error.
Unable to load FFProbe {"userId":1,"exception":"[object] (FFMpeg\Exception\ExecutableNotFoundException(code: 0): Unable to load FFProbe at /home/staging/staging.mysite.co.uk/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50)
In my media-library config I have the lines
and I don't have anything overwriting those from my ENV.
I've checked the paths and ffmpeg and ffprobe exist in the bin folder.
Weirdly though if I run the artisan command...
php artisan media-library:regenerate --ids=1
...It does generate the thumbnail without any issue.
The above also ALL works fine when I run my site on windows under Laragon with a forced path to ffmpeg and ffprobe set in my ENV file.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions