开发者

C# Video Converter library

I am looking for a C# library(not commandline), com开发者_运维知识库merical or free, that has the power similar to FFempeg. Video encoding is most important.

Any suggestions?

Best Regards, Rune


You can try Mencoder GUI. It is no library (winforms application) but you can download sources and make anything you need: http://sourceforge.net/projects/mewig/files/ (you'll need mencoder.exe - www.mplayerhq.hu)


Take a look at FFLib - it is a .net wrapper around FFMpeg

Or you could roll your own - a good starting point is here


AVBlocks SDK provides a .NET API that can be used from C# and VB.NET. AVBlocks supports most major audio and video codecs.


Try out NReco.VideoConverter - free all-in-one-DLL .NET FFMpeg wrapper. It executes ffmpeg as separate process (not linked with ffmpeg DLL) so all GPL codecs are available.


You can use this nuget package:

I haven't seen any project fullfilling my expectaction so i decided to make my own. You can easily queue conversions and run it parallel, methods to convert media to different formats, send your own arguments to ffmpeg and parse output from ffmpeg + event listener with current progress.

Install-Package Xabe.FFmpeg

I'm trying to make easy to use, cross-platform FFmpeg wrapper.

You can find more information about this at Xabe.FFmpeg

More info here: Xabe.FFmpeg Documentation

Conversion is simple:

IConversionResult result = await Conversion.ToMp4(Resources.MkvWithAudio, output).Start();

If you want progress:

IConversion conversion = Conversion.ToMp4(Resources.MkvWithAudio, output);
conversion.OnProgress += (duration, length) => { currentProgress = duration; } 
await conversion.Start();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜