protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.67k stars 194 forks source link

error : "Unable to load FFProbe" #496

Open beTravelwise opened 1 year ago

beTravelwise commented 1 year ago

There is no instructions anywhere to download FFMpeg or FFProbe. I have downloaded these put them in a folder on drive C and pointed my environment variables to the folder so they work when I open terminal and type FFMpeg. Regarding my Laravel project, I have added the paths to .ENV file and my laravel-ffmpeg.php file:

.ENV:

FFMPEG_BINARY=C:\PATH_programs\ffmpeg
FFPROBE_BINARY=C:\PATH_programs\ffprobe

laravel-ffmpeg.php

'ffmpeg.binaries' => env('FFMPEG_BINARY', 'C:\PATH_programs\ffmpeg'),
'ffprobe.binaries' => env('FFPROBE_BINARY', 'C:\PATH_programs\ffprobe'),

but still, I'm getting the error

isarjanfaza commented 1 year ago

No you can Ffmpeg folder move to root directory and replace with this code .ENV

FFMPEG_BINARIES=ffmpeg/ffmpeg
FFPROBE_BINARIES=ffmpeg/ffprobe

laravel-ffmpeg.php

'ffmpeg.binaries' => env('FFMPEG_BINARY', 'ffmpeg/ffmpeg'),
'ffprobe.binaries' => env('FFPROBE_BINARY', 'ffmpeg/ffprobe'),