.NET FFmpeg wrapper for video playback

SharpAffair picture SharpAffair · Jul 16, 2011 · Viewed 19k times · Source

Looking for an FFmpeg wrapper usable in .NET. The wrapper must support video playback with audio.

The following projects are incomplete FFmpeg wrappers:

http://code.google.com/p/ffmpeg-sharp/

http://sourceforge.net/projects/sharpffmpeg/

http://sourceforge.net/projects/ffqlay/

http://www.ffmpeg-csharp.com/

http://www.intuitive.sk/fflib/post/fflib-net-released.aspx

ffmpeg-sharp is the closest thing I've found, but it's also incomplete (no audio in video playback).

I'm quite sure that stable proprietary wrappers do exist, so I will award the bounty to anyone willing to share the code or able to find a complete third-party version.

Answer

user3103197 picture user3103197 · Dec 14, 2013

There is a great solution for binding FFmpeg into C#. Use the FFmpeg.Autogen from: https://github.com/Ruslan-B/FFmpeg.AutoGen. It also provides a good example when downloading the source (and it comes with precompied ffmpeg for 32 and 64 bits)!