I have ffmpeg and ffprobe installed on my ubuntu system (can access it via command line)
ffmpeg and ffprobe are located in /usr/bin/
I installed these via composer
"php-ffmpeg/binary-driver": "dev-master",
"php-ffmpeg/php-ffmpeg": "^0.11.1",
I've done: use FFMpeg;
// in index() function//
$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => '/usr/bin/ffmpeg',
'ffprobe.binaries' => '/usr/bin/ffprobe'
]);
and still get
FFMpeg \ Exception \ ExecutableNotFoundException
Unable to load FFProbe
I have looked at about 30 forums for this and no luck, some direction would be helpful
UPDATE
I tried chmod +x /usr/bin/ffprobe
Then restarted, did nothing.
I then tried:
sudo chgrp www-data /usr/bin/ffprobe
sudo chmod g+x /usr/bin/ffprobe
Then restarted, did nothing.
UPDATE I forgot to mention that I am running php-fpm + nginx in docker.I added pbmedia wrapper for php-ffmpeg and If I run the laravel project without docker (php artisan serve) it works fine.
The issue now is that I need to reference the /usr/bin/ffprobe directory from within docker