FFMpeg\FFMpeg::create(); не работает и выдаёт ошибку
Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutableNotFoundException: Executable not found, proposed : avprobe, ffprobe in D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\Alchemy\BinaryDriver\AbstractBinary.php:159
Stack trace:
#0 D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php(48): Alchemy\BinaryDriver\AbstractBinary::load()
#1 D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(220): FFMpeg\Driver\FFProbeDriver::create()
#2 D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFMpeg.php(130): FFMpeg\FFProbe::create()
#3 D:\domains\hey\scripts\check_the_files_to_add_to_post2.php(18): FFMpeg\FFMpeg::create()
#4 {main}
Next FFMpeg\Exception\ExecutableNotFoundException: Unable to load FFProbe in D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php:50
Stack trace:
#0 D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(220): FFMpeg\Driver\FFProbeDriver::create()
#1 D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFMpeg.php(130): FFMpeg\FFProbe::create()
#2 D:\domains\hey\scripts\check_the_files_to_add_to_post2.php(18): FFMpeg\FFMpeg::create()
#3 {main}
thrown in D:\domains\hey\scripts\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php on line 50
Мой код:
<?php
require __DIR__ .'\vendor\autoload.php';
$file_to_prev=$_FILES['file']['tmp_name'];
$file_after_prev="1.jpeg";
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open($file_to_prev);
$frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(2));
$frame->save($file_after_prev);
Как это починить?