For anybody interested in a MDF and MF4 reader and editor check out asammdf on GitHub https://github.com/danielhrisca/asammdf