Php-ffmpeg: Unable to load FFProbe

Created on 19 Apr 2018  路  6Comments  路  Source: PHP-FFMpeg/PHP-FFMpeg

| Q | A
| -------------- | ---
| Bug? | may be
| New Feature? | no
| Version Used | latest master
| FFmpeg Version | N-90704-g23e994ca49
| OS | win7

Actual Behavior

How does PHP-FFMpeg behave at the moment?

{message: "Unable to load FFProbe", exception: "FFMpeg\Exception\ExecutableNotFoundException",鈥
exception
:
"FFMpeg\Exception\ExecutableNotFoundException"
file
:
"D:\www\magic\vendor\php-ffmpeg\php-ffmpegsrc\FFMpeg\Driver\FFProbeDriver.php"
line
:
50
message
:
"Unable to load FFProbe"

Expected Behavior

What is the behavior you expect?

Steps to Reproduce

What are the steps to reproduce this bug? Please add code examples,
screenshots or links to GitHub repositories that reproduce the problem.

Possible Solutions

If you have already ideas how to solve the issue, add them here.
Otherwise remove this section.

question

Most helpful comment

i use config array like this
$config = [
'ffmpeg.binaries' => 'D:/software/ffmpeg/bin/ffmpeg.exe',
'ffprobe.binaries' => 'D:/software/ffmpeg/bin/ffprobe.exe',
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
];
and my problem solved
thank you
windows must specify exact path
fuck windows

All 6 comments

Did you make sure to explicitly specify the path to the binaries?

In the future, please fill out the complete issue template.

I installed ffmpeg on D:software\ffmpeg folder
and my config is
$config = [
'ffmpeg.binaries' => 'D:/software/ffmpeg/bin/ffmpeg',
'ffprobe.binaries' => 'D:/software/ffmpeg/bin/ffprobe',
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
];

i also add it to environment path which i can run ffmpeg and ffprobe at any path

Could you add the .exe suffix to the binaries' path?

i use config array like this
$config = [
'ffmpeg.binaries' => 'D:/software/ffmpeg/bin/ffmpeg.exe',
'ffprobe.binaries' => 'D:/software/ffmpeg/bin/ffprobe.exe',
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
];
and my problem solved
thank you
windows must specify exact path
fuck windows

windows must specify exact path
fuck windows

馃榾

Glad it works!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdolnik picture mdolnik  路  4Comments

pascalbaljet picture pascalbaljet  路  4Comments

boomuo picture boomuo  路  3Comments

aminyazdanpanah picture aminyazdanpanah  路  6Comments

iki789 picture iki789  路  7Comments