title: need to create thumbnail for video uploading (very simple code)
body: <p>i have this page (very simple to show what i need) to upload flv files - i read some posts about ffmpeg-php but how to install in on the server if it's the solution and how to use it?</p>
  
  <pre><code>&lt;?php
  if(isset($_REQUEST['upload'])){
  $tmp_name = $_FILES['video']['tmp_name'];
  $name = $_FILES['video']['name'];
  $path = "videos/";
  move_uploaded_file($tmp_name,$path.$name);
  }
  else{
  ?&gt;
  &lt;form action="" method="post" enctype="multipart/form-data"&gt;
  &lt;input name="video" type="file" /&gt; &lt;input name="upload" type="submit" value="upload" /&gt;
  &lt;/form&gt;
  &lt;?php
  }
  ?&gt;
  </code></pre>
  
  <p>and need to create a thumbnail for video uploaded in another folder with the same name
  any help ? thanks in advance</p>