PHP: How to generate thumbnail from a video using ffmpeg withPHP ?

$video = "your_video.mp4";
$output_file = "thumbnail.jpg";

exec("ffmpeg -i $video -ss 00:00:14.435 -vframes 1 $output_file", $out);

 

About admin

Check Also

Best Payment Methods / APIs to integrate with applications

Paypal Stripe BrainTree 2checkout

Leave a Reply

Your email address will not be published. Required fields are marked *