Multimedia :: play MP3 stream with a (no GUI) command line playe



Hi
I duplicated your error by having xmms already running while trying to start mpg123.  Since xmms already had the output device in use mpg123 could not use it.  Maybe something you ran first still owned the device.
good luck

Quote (lothario @ Feb. 04 2006,05:52)
Quote (clacker @ Feb. 03 2006,13:05)
I would suggest using mplayer.  It plays and even saves streaming audio. Get it from the multimedia section of the repository.

Ok.  But, how do I install mplayer from the commandline without a GUI?

Use the mydsl-load command to load dsl packages from the command line:

mydsl-load mplayer.dsl

Quote (hawki @ Feb. 04 2006,04:45)
Hi
I duplicated your error by having xmms already running while trying to start mpg123.  Since xmms already had the output device in use mpg123 could not use it.  Maybe something you ran first still owned the device.
good luck

Ok, to avoid that I rebooted the system and the first thing I did was:

Quote
mpg123     http://rope.kgoam810.com/listenlive/listenlive.pls

The result:
Quote
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Directory: http:/
Playing MPEG stream from rope.kgoam810.com ...

[0:00] Decoding of rope.kgoam810.com finished.
That is it.  The whole thing took 2 seconds.  I did not hear anything.
What did I do wrong?  Please help.

I found that I had to run xmms first for some reason in order to get the mpg123 command to run the stream hawki sugested, and for whatever reason, it didn't run your stream.  I think it may need some library initialiazed or perhaps the connection to the site is spotty (even mplayer gave me some errors).

I loaded mplayer.dsl and tried that and it did play your stream from the command line:

mplayer http://rope.kgoam810.com/listenlive/listenlive.pls


original here.