My colleague Adam has already answered a similar question you sent through email. In his reply, he suggested using the Multimedia toolkit from LEAD Technologies http://www.leadtools.com/SDK/Multimedia/Multimedia-LE.htm
I would like to add that if you decide to use our M²Convert CMD application, you should contact sales@m2solutions.com to finalize licensing issues before you deploy your application.