Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Opensource mp3 decode/play

Opensource mp3 decode/play
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 26, 2001, 07:56 PM
 
Anyone know of an open source mp3 decoder/player? Just the codec & algorithms is what I'm looking for. I don't want a actual player. I'm trying to avoid using the OSX proprietory API. Kindove defeats the purpose of languages like Java, but I do see where it helps to make excellent OSX applications. ;-)

BTW, Java code is prefered. But I guess I can always convert the code. I'm looking to write in Java, figure I'll play with Objective C later on.

Thanks

Ryan C.
     
Dedicated MacNNer
Join Date: Nov 2000
Location: Glasgow
Status: Offline
Reply With Quote
Apr 27, 2001, 05:47 AM
 
Did you look at LAME? Don't know much about it except that it's open source, and has something to do with MP3 encoding/decoding.

It's probably unix-oriented C rather than Java though.

HTH,
Fraser
PowerBook G4 17"
Power Mac G4/800, 1Gb RAM, 80Gb HDD, Superdrive, GeForce 4MX, Gateway 21" CRT, Apple Pro Speakers, iSub - Running Mac OS X Server 10.2
iBook 500, 192MbRAM - Running Mac OS X 10.2
iPod 5Gb
     
Mac Elite
Join Date: Jan 2001
Location: Sad King Billy's Monument on Hyperion
Status: Offline
Reply With Quote
May 2, 2001, 03:10 AM
 
What I want is a command line MP3 player that uses CoreAudio! That way I could have it play MP3s ALL the time--even with other users logged in! Muahaha.
I abused my signature until she cried.
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
May 2, 2001, 07:44 AM
 
mpg123 might work for you guys.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 2, 2001, 09:49 AM
 
Parallax is right. You're probably looking for something along the line of mpg123. Actually, nick shanks wrote a program called Music that uses mpg123 as it's front end. It can play music from the command line if you look inside the package and go to Contents->MacOS and use the mpg123 binary found there. I have no idea how he compiled it to play music from the command line in OS X, however. But, look into the mpg123 library for an nice, fast decoder. Also, if you check out the mpg123 site they actually do have a java version called jmpg.

Hope this helps,

mccullocht
     
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 2, 2001, 01:07 PM
 
Hey, I just found out where nick shanks got the code to run mpg123 on Mac OS X with sound output. Guillaume Outters wrote a patch for mpg123 that allows it to compile on Mac OS X with sound output, although I'm not exactly sure how because I haven't looked through the patch yet. You can get it at http://www.esiee.fr/~outtersg/

mccullocht
     
rwc9785  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 2, 2001, 01:54 PM
 
Sweet everyone tanks. Might be something fun to do in spare time this summer. (providing it exists)

Here is what I found. http://www.rabbitfarm.com/site/id3.html // some id3 source code http://www.mp3-tech.org/ // LOTS of mp3 encode/decode source http://www.iis.fhg.de/amm/download/index.html // these guys made mp3's
Those are about the best of them.


Ryan C
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2