Well, LAME is the best among them. I can’t assure you of the speed, but this community is really active and the sound quality is very good.
You can try Helix Mp3 Encoder . He did not see that this codec is actively developing, though.
But IMHO, the best place to ask these questions is in Hydrogenaudio , the “resource for audio enthusiasts.” This is a very old community (I remember how I used it in 2003) about audio coding in general. There are some developers there.
EDIT . I remembered that I had a very simple codec 5 years ago, which was really simple and found it in old records. It is called Shine Mp3 encoder .
The purpose of this encoder was not quality, but simplicity. I tried to simplify the encoding process as much as possible. Thus, Shine is a good starting point when a very simple MP3 encoder is required by a programmer.
Gmonc source share