获取异常您的FFProbe版本太旧,不支持`-help`选项 [英] getting exception Your FFProbe version is too old and does not support `-help` option
问题描述
我通过sudo apt-get install ffmpeg
在终端上,当我运行/usr/bin/ffprobe -help
时,它可以正常运行,但不是从我的程序包中运行.相反,我在标题中得到了异常:Your FFProbe version is too old and soes not support '-help'
From a terminal, when I run /usr/bin/ffprobe -help
it runs properly, but it is not running from my package. Instead I get the exception in the title: Your FFProbe version is too old and soes not support '-help'
我正在使用laravel
,并且已经安装了此软件包 https://github.com/PHP-FFMpeg/PHP-FFMpeg
I am using laravel
and i have installed this package https://github.com/PHP-FFMpeg/PHP-FFMpeg
我要去哪里错了?
推荐答案
22天后我找到了解决此问题的方法
I found the solution to this issue after 22 days
第1步
下载ffmpeg 链接
第2步
提取并重命名ffmpeg
Extract and rename ffmpeg
第3步
Ubuntu
$ffmpeg = \FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => /home/shubhamazad/Downloads/ffmpeg/ffmpeg',
'ffprobe.binaries' =>/home/shubhamazad/Downloads/ffmpeg/ffprobe'
));
Windows
$ffmpeg = \FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' =>'C:\user\Downloads\ffmpeg\bin\ffmpeg.exe',
'ffprobe.binaries' =>'C:\user\Downloads\ffmpeg\bin\ffprobe.exe'
));
这篇关于获取异常您的FFProbe版本太旧,不支持`-help`选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!