首页 > 解决方案 > Laravel FFMpeg 上传视频并根据请求连接

问题描述

当我从(表单 HTML)上传视频时遇到问题
我使用 Laravel FFMpeg
从我的控制器打包此代码

$file = $request->file('video'); // take video request
FFMpeg::fromDisk('public')
    ->open(['vid\vid_one.mp4' , $file]) // concat video here and i think there is a problem
    ->export()
    ->concatWithoutTranscoding()
    ->save('contacct.mp4');

标签: phplaravel

解决方案


推荐阅读