title: How to convert video files to H.264 in C#
body: <p>I've searched without any luck about how this can be done in C#. What i'm trying to archieve is a program that accepts video files and converts them to H.264. Here is an example of a page where you can do this interactively:</p>
  
  <p><a href="http://www.ofoct.com/video-converter/convert-to-h-264-video.html" rel="nofollow">http://www.ofoct.com/video-converter/convert-to-h-264-video.html</a></p>
  
  <p><strong>Question:</strong>
  How can I in .NET create a program that can do something similar to whats being done from that homepage I shared? Any help or input is highly appreciated, thanks! </p>
  
  <p><strong>EDIT:</strong>
  The reason i want to do this is because it seems like videos play in both iOS and Android devices when this is done, perhapps there is another way to make sure videos can play in both iOS and Android?</p>
  
  <p><strong>EDIT again:</strong>
  Lets say i film a Video on a phone Android/iOS, now I'm using a ASP.NET web api that I'd like to convert theese movies to H.264 before storing in Azure, Is this possible? If so, any pointers on how? </p>