Hello to all! I have a question about using the FFMpeg library in Laravel.
How can I get several videos of different qualities from one video?
The code itself:
$video = $ffmpeg->open("D:/PROfit/PHP/htdocs/VideoTasc/public/file/".$fileName); $frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(37)); $name = explode('.',$fileName); $n= $name[0]; $frame->save('img/'.$n.'.jpg');