Video Thumb From Video File
1-install ffmpeg
2-exec(‘ffmpeg -i /path/video.flv -f image2 -vframes 1 /path/thumbnail.jpg’);
1-install ffmpeg
2-exec(‘ffmpeg -i /path/video.flv -f image2 -vframes 1 /path/thumbnail.jpg’);
authorize Download this file on your local and pass keys and test it on your server
$picnamear=explode(‘.’,$_FILES[‘changePhoto’][‘name’]); $picnameext=$picnamear[count($picnamear)-1]; $picname=time().rand(1111,9999).”.$picnameext;