Good MP3 or OGG Decoder written in C
Asked Answered
E

4

6

Hey, I was looking for a good MP3 or OGG decoder that use the BSD license or public domain and that is also light-weight (something that comes with sources without the need of platform specific configuration).

Espadrille answered 18/10, 2010 at 21:58 Comment(0)
F
3

You're not likely to find one for mp3 as there are a handful of licensing issues.

OGG is simply a container format that can hold audio, video, and more. Perhaps you mean ogg vorbis. Check out stb_vorbis. It's a free, public-domain C vorbis codec.

Feil answered 18/10, 2010 at 22:6 Comment(4)
Can it decode to 16-bit stereo PCM? If so, tell me what function to use.Espadrille
@Tamir: I linked the site. I am not familiar with this product. You'll have to look at the information.Feil
Why would libmad which is GPL not be persecuted into extinction, but a BSD licensed version be?Thompson
Update: the MP3 technology became patent-free in the United States on 16 April 2017 when U.S. Patent 6,009,399, held by and administered by Technicolor, expired. iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/…Horotelic
M
2

Like this one?

Mighty answered 18/10, 2010 at 22:6 Comment(0)
I
2

The Xiph.org libvorbis is available in pretty much every distro, and satisfies your requirement for a BSD-3-Clause license. "Light" is always relative... Also from Xiph.org available is libtremor, a integer-only vorbis decoder.

Intersperse answered 23/2, 2012 at 13:22 Comment(0)
T
1

As other answers have mentioned, there are Vorbis decoders. The Fluendo MP3 decoder is MIT (simplified BSD) licensed.

Thompson answered 23/2, 2012 at 11:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.