Upload any video and convert to .mp4 online in .net

前端 未结 3 1799
予麋鹿
予麋鹿 2020-12-31 10:06

I have a strange requirement. User can upload their video of any format (or a limited format). We have to store them and convert them to .mp4 format so we c

3条回答
  •  粉色の甜心
    2020-12-31 10:35

    I know it's a bit old thread but if I get here other people see this too. You shoudn't use it process info to start ffmpeg. It is a lot to do with it. Xabe.FFmpeg you could do this by running just

    await Conversion.Convert("inputfile.mkv", "file.mp4").Start()
    

    This is one of easiest usage. This library provide fluent API to FFmpeg.

提交回复
热议问题