我不断收到一条错误消息,说“无法加载 FFprobe”我做错了什么吗?这是我的代码,顺便说一下我正在使用 Laravel
public function store(Request $request){
$this->validate($request, array([
'video' => 'required|mimes:mp4,flv,wmv,avi,mov,qt',
]));
$viddy=new Video;
//get the user requested file
$vid = $request->file('video');
//convert that file
$feefee=FFMPEG::convert()->input($vid)->bitrate(300, 'video')->output('bar.flv')->go();
$filename = $feefee->getClientOriginalName();
$path = $feefee->storeAs('introvideo',$filename);
$location = public_path('/vids',$filename);
$feefee->move($location);
$viddy->video = $filename;
$viddy->save();
最佳答案
关于laravel - 如何解决 : error Unable to load FFprobe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51125964/