View Full Version : Are there any open source library for mp3 decoding?
Cherish_He
03-17-2006, 02:03 AM
I have read some source code for mp3 decoding, but such code is very hard to understand. Are there any open source libraries for mp3 decoding? Thank a lot. ^_^
fmod is a popular choice. www.fmod.org.
SigKILL
03-17-2006, 10:12 AM
For opensource the only one I know is SMPEG, but my guess is that there is alot more of them...
-si
SamuraiCrow
03-17-2006, 10:46 AM
fmod is a popular choice. www.fmod.org.
FMod source is only supplied with a commercial licence. It isn't totally open source.
Reedbeta
03-17-2006, 11:34 AM
http://www.zinf.org/
Cherish_He
03-19-2006, 01:30 AM
I just want to decode the mp3 to be PCM format in Windows XP, are there any open source libraries can do this? Thanks a lot. ^_^
Nils Pipenbrinck
03-19-2006, 02:21 AM
mpg123 fits the bill. The lib is under LGPL.
A bit smaller is AMP1.1 from Niklas Beisert (can be found here: http://www.cubic.org/sources.html)
Cherish_He
03-19-2006, 07:20 AM
mpg123 fits the bill. The lib is under LGPL.
A bit smaller is AMP1.1 from Niklas Beisert (can be found here: http://www.cubic.org/sources.html)
How can I get the lib mpg123? I want a Windows version. I went to the site of mpg123, and can only find a dll for windows, and I can not download this dll because the url link to a page which reports a 404 error.....
Are there any tutorial for the AMP1.1? I've download the souce code, but the sample is too complex to read.... Thanks a lot.
Nils Pipenbrinck
03-19-2006, 10:32 AM
How can I get the lib mpg123? I want a Windows version. I went to the site of mpg123, and can only find a dll for windows, and I can not download this dll because the url link to a page which reports a 404 error.....
Are there any tutorial for the AMP1.1? I've download the souce code, but the sample is too complex to read.... Thanks a lot.
I'm sure you'll find a mirror somewhere.. I even think mpg123 has a sourceforge site. It's a well known and widely used mp3 player on linux systems, so I'm sure there are hundrets of mirrors.
About AMP, it's not supported and there is little interest in that lib, but I like it just because of the fact, that it does mp3 decoding, nothing else.
It's really easy to use. Have you had a look at the README file? There's a really simple usage example in it. Btw, I'd suggest once you got it running you remove the binfile stuff and implement your own.
Cherish_He
03-20-2006, 07:17 AM
About AMP, it's not supported and there is little interest in that lib, but I like it just because of the fact, that it does mp3 decoding, nothing else.
It's really easy to use. Have you had a look at the README file? There's a really simple usage example in it. Btw, I'd suggest once you got it running you remove the binfile stuff and implement your own.
But can AMP be complied in Windows? I've download it from the site you gave me, but it does not tell me how to complied in Windows. And when I try to complied it, it said that some code could not be complied in Windows. Is there a Windows version for Windows?
Reedbeta
03-20-2006, 12:33 PM
Is there a Windows version for Windows?
No, but there's a Windows version for Linux.
Sorry, couldn't resist. :lol:
Cherish_He
03-22-2006, 02:37 AM
I've downloaded libmad and complied it to a lib successfully using VC++, but I don't know how to use the lib. There is an example in the package, but this example is for UNIX. Do somebody know how to use libmad to decode mp3 with VC++? Thanks a lot! ^_^
but this example is for UNIX.
So?
If it works for UNIX it should work for windows. Actually playing the sound is a different matter, however. I am sure you could easily find some tutorials on how to play sounds in windows.
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.