I recommend Zencoder (http://zencoder.com), built by the same folks that built Flix Cloud (http://flixcloud.com). We've put a ton of work into handling troublesome files, and we can support a wider range of input files than anyone out there. We're also the fastest service on the market and have (we think) a very developer-friendly API.