What C / C ++ open source audio compression options exist besides LAME MP3?

Is there any open source C / C ++ audio encoder besides LAME MP3? It does not have to be exactly in mp3 format, I need a "compressed digital audio file."

I don’t want to use Lame, because it is too large until the programmer can answer a simple question (to share a simple, but easily downloadable and readable project that contains only two simple functions ... Therefore, I'm tired of looking for help. I need that something new, but more readable than this library I found (mp3stego) )

"I do not want LAME because I am a fighter with his monopoly." Haha ..

+4
source share
6 answers

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.

+4
source

The LAME website has links to some alternative encoders, see this link for several alternatives.

When you say "mp3", do you mean ".mp3 file format" or "compressed digital audio file"? If you are open to other digital audio formats, I would recommend watching Ogg Vorbis or FLAC .

+7
source

It does not have to be exactly in mp3 format, I need a “compressed digital audio file”

Ogg Vorbis - better quality (for mega) than mp3, as well as the absence of licensing / legal problems.

+7
source

Again, GStreamer is a great tool for this kind of job.

+3
source

Blade is a largely non-existent ISO code based encoder with fewer lines of code than LAME. I had to change a couple of flags (remove -m486, replace -malign- * with -falign- *) so that it compiles, but it works.

You can also go to the ISO reference code, although this old copy of the ISO code seems incomplete and the real deal is expensive.

But I, like other people, think that you get help with LAME much more often than anything else.

+2
source

There is a FLAC - Free Flawless Audio Codec

+2
source

Source: https://habr.com/ru/post/1304113/


All Articles