Here is a code for you to get image from a video
Most users that hosted with me and only 1 compliant about it
Here mate test this out on your hosting 😉
As i said start learning to code son other coding is crap lol
<?php
$video = 'movie.3gp';
$filename = "$video.jpg";
if (file_exists($filename)) {
make("$video");
}else{
$fh = fopen("$video.jpg", "w");
if($fh==false) die("unable to create file");
fputs ($fh, 1);
fclose ($fh);
make("$video");
}
function make($video){
// where ffmpeg is located
$ffmpeg = '/usr/local/bin/ffmpeg';
//where to save the image
$image = "$video.jpg";
//time to take screenshot at
$interval = 5;
//screenshot size
$size = '640x480';
//ffmpeg command
$cmd = "$ffmpeg -i $video -deinterlace -an -ss $interval -f mjpeg -t 1 -r 1 -y -s $size $image 2>&1";
$return = `$cmd`;
echo $return;
}
?>
Thank me Or Else !!
You will be frozen!
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…