hi,
i am having problem in making thumbnail of video. it is not working properly here is my code plz help
$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg';
$image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg";
$video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname";
$cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1";
exec($cmds);
thanx in advance