Thumbnail issue
Hi,
I am having problem with creating thumbnail this is my code
$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/***/ffmpeg';
$image=$_SERVER['DOCUMENT_ROOT'].'/***/***/***/'."$id.jpg";
$video =$_SERVER['DOCUMENT_ROOT'].'/***/***/'."$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);
Whenever i try to make thumbnail it gives me an error 'access is denied.
Can anyone help me thanx in advance
saadi06
Junior Poster in Training
73 posts since Oct 2010
Reputation Points: 12
Solved Threads: 1
i am using a web hosting server which is windows based and it is creating thumbnails locally but it create thumbnail for only one video whenever i enter another video to create thumbnail it is not creating can u help me thanx
saadi06
Junior Poster in Training
73 posts since Oct 2010
Reputation Points: 12
Solved Threads: 1
thanx i have got the problem solved it was hosting issue
saadi06
Junior Poster in Training
73 posts since Oct 2010
Reputation Points: 12
Solved Threads: 1