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 > Need for Console MP3 player

Need for Console MP3 player
Thread Tools
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status: Offline
Reply With Quote
Dec 17, 2000, 08:50 PM
 
I need a console mp3 player, I found mpg123 on freshmeat, but the source package is not very standard. I'm not able to compile the package. I wonder if someone have been able to do so, or got a other programme.
     
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Dec 17, 2000, 09:58 PM
 
from both freshmeat and the authors page:
123mp3 is a frontend to BladeEnc and CDDA2WAV that produces MP3s from selected tracks on a CD in one automated process.
If you're looking to play mp3's...that might not be what you're looking for. Anyway, if you were going to use that I think you'd need BladeEnc and/or CDDA2WAY.

If you're looking for a console-based mp3 player you might try this page.

good luck!
     
BigMac2  (op)
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status: Offline
Reply With Quote
Dec 17, 2000, 10:05 PM
 
Thanks Bob... but there is a difference between 123mp3 and mpg123
I will try with BaMP
     
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Dec 18, 2000, 11:57 AM
 
Whoops!

I searched on freshmeat for mpg123 and that was the first thing to show up. I guess I should've paid more attention!

sorry about that!
     
Grizzled Veteran
Join Date: May 2000
Location: Any Town, USA
Status: Offline
Reply With Quote
Dec 19, 2000, 06:31 AM
 
How would I compile this for OS X? Do I need to use the included libs?

Originally posted by IamBob:
If you're looking for a console-based mp3 player you might try this page.
Change your world and you will change your mind.
     
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Arlington, VA
Status: Offline
Reply With Quote
Dec 19, 2000, 10:21 PM
 
I've had no luck thus far... It seems the sound interfaces aren't really complete yet. You can only (officially) get at sound from carbon. I'm not ready to port something so likely to break at this point, but once the interfaces are stable I may give it a go :-)

gb

n.b. I am having a go at a cl decoder, which I will then feed into a sound device when possible.

[This message has been edited by petard (edited 12-19-2000).]
     
BigMac2  (op)
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status: Offline
Reply With Quote
Dec 20, 2000, 03:32 AM
 
I got some audio stuff in /System/Library/Frameworks/System.framework/Versions/B/Headers/iokit/audio but I still can't compile mpg123 or BaMP... :-(.

     
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status: Offline
Reply With Quote
Dec 20, 2000, 07:09 AM
 
I don't know if this helps, but do have a streaming mp3 server running on my OSX box. I'm using JScream as the encoder, and Shoutcast as the server (both are console run). Everything works fine.
     
Fresh-Faced Recruit
Join Date: Jan 2001
Location: Seattle, WA
Status: Offline
Reply With Quote
Jan 6, 2001, 06:23 PM
 
Originally posted by anothermacguy:
I don't know if this helps, but do have a streaming mp3 server running on my OSX box. I'm using JScream as the encoder, and Shoutcast as the server (both are console run). Everything works fine.
I was able to get the same setup working on my box, but I've run into a problem. JRev (at www.jrev.org, formerly known as Jscream) seems to be a streamer, not an encoder. It can only stream existing mp3 files, so it's really not encoding anything...

Oh, and another minor snag (from the how-to):

Currently, jRev can only stream MP3 files of a single bitrate that is specified in the config file. If your files aren't encoded at the bitrate in the config file, they won't sound very good. Oh, and don't even think about using variable bitrate files.

I can confirm that files of a bitrate other than that which is specified in the config do, indeed, sound horrible. So this leaves me with the problem of either a) grouping my mp3s by bitrate (yeah right), or b) finding a streamer that is also an encoder (so that it could handle various bitrates). I've tried several other streamer solutions, including shout, and have had little success. I'm doing my best to learn how to overcome compiling problems, but it's a slow process.

On a happier note, I have found a couple of other things that may be of interest. Firstly, for those looking for alternatives to shoutcast, icecast 1.3.8 beta does compile (http://www.icecast.org/releases/icecast-1.3.8.beta2.tar.gz). I haven't tested it extensively, but it launches, so I'd immagine that it works okay.

Also, if you're anything like me, you have a large and deep directory forest that is your mp3 archive. Generating playlists for JRev (or any other streamer that can't recursively handle directories) would be a rather inefficient use of one's time. Instead, check out this nifty perl script called f2html.pl that does all this for you, and more. You'll need to install a perl module that enables perl to get at ID3 tags, but it's all very straightforward. Here's the link: http://freshmeat.net/projects/f2html...ight=f2html.pl

peash
-dre^
     
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status: Offline
Reply With Quote
Jan 8, 2001, 05:22 PM
 
Thanks dreness, I'll check out that link. I created a little script for making play lists easy, its pretty straight forward, but I would like to see what extra features this scripts has.

I played around with icecast too. I didn't like it that much, and went with JScream in the end. I hate that bitrate issue as well. I've been playing around with a couple console streamer/encoders, but have not found one I like yet. I hope you have better luck.
     
   
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 11:21 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