title: how to get and store thumbnail of video file without ffmpeg?
body: <p>i am beginner in PHP and i don't know how to get thumbnail from video file in PHP. i didn't found specific solution that help me. i tried ffmpeg library. but now i want without ffmpeg thumbnail.so please help me. this is my codeigniter code. please review.</p>
  
  <pre><code>&lt;?php
  $extension = pathinfo($_FILES["url"]["name"], PATHINFO_EXTENSION);/* Get file extension */
  $filename = time() . '_' . mt_rand() . '.' . $extension;
  move_uploaded_file($_FILES['url']['tmp_name'], $destinationPath . $filename);
  $params['filename'] =$destinationPath.$filename;
  
  $params['thumbImageName'] =$destinationPath.$thumbImageName;
  
  
  
          $this-&gt;load-&gt;library('resize',$params);
          $this-&gt;resize-&gt;resizeImage(WEIGHT, HEIGHT);
          $this-&gt;resize-&gt;saveImage($destinationPath.$thumbImageName, 100);
  ?&gt;  
  </code></pre>