ASP.NET C # programmatically convert video on the fly

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

Can I recommend a tool. Thanks

EDIT: You must be compatible with your Windows shared hosting account.

+4
source share
3 answers

You can use MPlayer and Interop, which is with C #. I know that many websites use it to convert downloaded files to flash.

+2
source

To display H.264 video in Flash, you can simply change the extension to .flv.
In other cases, when you really need to hide your video, you can take a look at Sharpffmpeg .

0
source

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

0
source

Source: https://habr.com/ru/post/1301318/


All Articles