I am trying to create a thumbnail for my uploading video. searching for easiest way to generate thumbnail at the time of video upload itself. i think if some provide the code without using ffmpeg will be life saving for me. because i'm running my code on windows wamp or any other alternative welcomed too thank you.
my real code is in CodeIgniter, not able to figure out how to do it.
$postname = $this->input->post('post-name');
$configVideo['upload_path'] = './video';
$configVideo['max_size'] = '1000000024';
$configVideo['allowed_types'] = 'avi|flv|wmv|mp4';
$configVideo['overwrite'] = TRUE;
$configVideo['remove_spaces'] = TRUE;
$ext = get_mime_by_extension($_FILES['video']['name']);
$video_name = str_replace(' ', '_', $postname);
$configVideo['file_name'] = $video_name;
$this->load->library('upload', $configVideo);
$this->upload->initialize($configVideo);
if (!$this->upload->do_upload('video')) {
$msg = $this->upload->display_errors();
$this->session->set_flashdata('error', $msg);
} else {
$videoDetails = $this->upload->data();