FFmpeg.NET fork from https://github.com/cmxl/FFmpeg.NET, Modified some code to adapt to a more flexible API