You have posted this question in the "Media Foundation" forum. I don't believe MF has any support for AVI files.
As an alternative, perhaps DirectShow would be a better bet. If you are looking for a c# solution, check out the DESCombine sample in http://DirectShowNet.SourceForge.Net.
If wmv is a possibility, check out WindowsMediaNet at http://WindowsMediaNet.SourceForge.Net
Co-Author DirectShowNet & WindowsMediaNet