ahmadbadpey's avatar

Unable to load FFProbe on localhost

I know that there are similar questions But I see all and other topics on the web but I could not solve my problem.

In a Laravel App I want to use ffmpeg extension to create thumbnails images and do other actions on videos.

I followed all instructions described here (how-to-install-ffmpeg-on-windows).I added ffmpeg to my PATH.

All things worked fine via command line and windows recognized both ffmpeg and ffprobe but when I want to use FFmpeg on my codes I got Unable to load FFProbe error.

I locate ffmpeg downloaded folder at C:\ffmpeg.

I call FFMpeg like this in my controller :

$ffmpeg = \FFMpeg\FFMpeg::create([
    'ffmpeg.binaries' => 'C:/ffmpeg/bin/ffmpeg.exe',
    'fprobe.binaries' => 'C:/ffmpeg/bin/ffprobe.exe',
]);

As you can While I added ffmpeg to PATH and then specify location of both ffmpeg.exe and ffprobe.exe on calling create method but when run code I got that error.

I'm using laravel 5.3 and windows 8.

0 likes
1 reply
insaneakx's avatar

I have this problem too, the solution will be if you use administrator cmd, but how to do it? IDK

Please or to participate in this conversation.