i want to create a thumbnails on video that uploaded, i've been using mmpeg, i've been try this code but it not working yet
this is my code on controller
use ffmpeg\FFMPEG;
public function store(Request $request)
{
$news = new News;
$filename = $request->file('attachment')->getClientOriginalName();
$request->file('attachment')->storeAs('attachment', $filename);
$thumbnails = new FFMPEG;
$thumbnails->getThumbnails($filename, 'thumbnails', 5);
}
i've been also setting on config/app.php like this
LinkThrow\Ffmpeg\Provider\FfmpegServiceProvider::class, //providers
'FFMPEG' => LinkThrow\Ffmpeg\Facade\FfmpegFacade::class, //aliases
the error is
Class 'ffmpeg\FFMPEG' not found
is there need to setting up on config/ffmpeg.php too ?