`
<form action="v1.php" method="post" enctype="multipart/form-data">
<!--<input type="hidden" name="MAX_FILE_SIZE" value="500000" /> -->
<input type="file" id="file" name="file" />
<input type="submit" id="submit" name="submit" value="Upload File" />
</form>
<?php
if(isset($_POST['submit']))
{
$ffmpeg = "D:\\xampp\\ffmpeg"; //path of ffmpeg.exe file
$videoFile = $_FILES['file']['tmp_name'];
$imageFile = "D:\\xampp\\ffmpeg\1.jpg"; //output file name
$size = "100x50";
$getFromSecond = 5;
$cmd =" $ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile";
if(!shell_exec($cmd))
{
echo "created";
}
else
{
echo "error";
}
}
?>
`
this is my code...it shows msg of created..but thumbnail is not generated...
please help me out