| Q | A
| -------------- | ---
| Bug? | may be
| New Feature? | no
| Version Used | latest master
| FFmpeg Version | N-90704-g23e994ca49
| OS | win7
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"
What is the behavior you expect?
What are the steps to reproduce this bug? Please add code examples,
screenshots or links to GitHub repositories that reproduce the problem.
If you have already ideas how to solve the issue, add them here.
Otherwise remove this section.
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!
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