Hi Mark, I appreciate your hard work in upgrading NAudio with Media Foundation Transform. With your latest version, when I was trying to convert wav file to mp3 using media foundation, the following exception 'No suitable MP3 encoders available' has occurred. I have both lame and fraunhofer mp3 codecs installed on my pc with windows 7 os(x86). Previously I did the same task with Acm (i.,e. using NAudio 1.6 version) and Lame, it was wokring fine with no codecs issue. Any help is greatly appreciated.
```
protected void Page_Load(object sender, EventArgs e)
{
using (var reader = new MediaFoundationReader("\\track.wav"))
{
MediaFoundationEncoder.EncodeToMp3(reader, "\\outputfile.mp3", 192000);
}
}
```
Comments: NAudio can only use what encoders are installed on your machine. The MediaFoundationEncoder class only uses Media Foundation codecs, not ACM codecs. So it is likely that your MP3 encoders are ACMs not MFTs. Use the NAudio demo apps to explore what codecs you actually have installed on your computer.