views:

343

answers:

3

I want to convert video as it is uploaded to H.264 or an alternate HQ video to play in a flash player. I would like to support as many file formats as possible.

Can anyone recommend a tool. Thanks

EDIT: Need to be compatible on a Windows shared hosting account.

+1  A: 

You can use MPlayer and Interop that with C#. I know a lot of websites use it to convert uploaded files to flash.

Filip Ekberg
Does not look Windows compatible. I should have and have put that in my post.
Dustin Laine
Scroll down and look at the ports section, there is indeed a windows port of MPlayer.
BarrettJ
A: 

To display a H.264 encoded video in Flash, you can just change your extension to .flv.
In other cases, when you realy need to covert your video, you can take a look at Sharpffmpeg.

Pieter Nijs
A: 

Look into DirectShow filters, and WMEncoder (Windows Media Encoder) if you have the appropriate codecs installed, you can interface with DirectShow and WMEncoder to re-encode files.

Thijs Cramer