title: How to convert video to mp4,webM,ogv while uploading ?
body: <p>i am using <a href="http://videojs.com/" rel="nofollow">videojs</a> to play video on my website(it's a HTML5 website) so for a better support i need to make 3 formats of each video mp4,webM,ogv.</p>
  
  <p>But in my website user can upload video also.</p>
  
  <p>So please tell me how can i automatically convert videos after/while uploading to these formats.</p>
  
  <p>I am using PHP5+JS for development.</p>