I have a functionality to upload videos in laravel.
Now I have to crop the uploaded video first 20 seconds and need to save the cropped video into different directory.
I went through this package.
https://github.com/protonemedia/laravel-ffmpeg
I have installed the package. But not getting the code for crop. Can any one help?
2
Answers
I have got another solution. I have run this command:
And it works.
I have removed the package.
Ensure that you have configured your filesystem disk properly in the config/filesystems.php file. You might want to use the public disk for storing the cropped videos.
,