title: Uploading video, with PHP serverside formatting & encoding
body: <p>We've currently developed an ExpressionEngine site (php), and are using a paid JWPlayer to display video uploaded by the client.</p>
  
  <p>At present we're running into a number of issues, as the client is:</p>
  
  <ol>
  <li>Uploading video at the wrong size</li>
  <li>Uploading video randomly in both flv or mp4 format</li>
  </ol>
  
  <p>And the player is chugging along terribly with multiple pauses throughout the video - sometimes buffering the entire clip before it is played.</p>
  
  <p>I know FFMPEG can be installed serverside, but I'm not sure of the way in which to go about this, and how it might interact between ExpressionEngine and JWPlayer.  I'm also not sure about the formatting - the ability for this automated encoding process to also crop/resize the video to suit the player dimensions on the site.  </p>
  
  <p>We would really like to have the videos playable on all browsers &amp; iOS devices.</p>
  
  <p>A HQ option would also be great where applicable, but it's just a nice to have - as we're struggling with the formatting / encoding issues first and foremost.</p>
  
  <p>Any help figuring out the best process, and what tools I might need would be greatly appreciated.</p>