play MP3 stream with a (no GUI) command line playeForum: Multimedia Topic: play MP3 stream with a (no GUI) command line playe started by: lothario Posted by lothario on Feb. 03 2006,20:28
I can play this MP3 stream in xmms.< http://rope.kgoam810.com/listenlive/listenlive.pls > Can I play this from just the command line only, without X and the GUI? This streaming audio is located on this page: < http://www.kgoam810.com/listenlive.asp > I have one older PC and the constraints are: 1. First ISA slot is being used by the network card. 2. Second ISA slot is being used by the sound card. 3. Third ISA slot is being used by a disk controller. 4. The disk controller on the motherboard cannot be used, it gives "disk controller failure" errors. 5. The motherboard has only 3 ISA slots. 6. The VGA port on the motherboard produces a flickering effect on the screen about 10 minutes after booting up. I've tried different monitors. Same results. But dsl-2.1b works just fine on this PC. I don't care about the VGA port because the PC is old and running X is not necessary for me. I would like to continue using this old PC as a streaming audio device. I want to ssh into this (now headless) PC and start playing the MP3 audio stream from just the command line. I could not figure out how to do this with xmms. Can I do this with some other player? What do you suggest? Posted by clacker on Feb. 03 2006,21:05
I would suggest using mplayer. It plays and even saves streaming audio. Get it from < the multimedia section of the repository. >
Posted by hawki on Feb. 04 2006,01:42
hiopen a terminal and try this. mpg123 < http://abcrad.ic.llnwd.net/stream/abcrad_kgo_kgo > good luck Posted by lothario on Feb. 04 2006,05:42
I tried it, here is the result:
But I can still stream this in xmms before and after mpg123. Can this be fixed? Posted by lothario on Feb. 04 2006,10:52
Ok. But, how do I install mplayer from the commandline without a GUI? Posted by hawki on Feb. 04 2006,12:45
HiI 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 Posted by clacker on Feb. 04 2006,13:13
Use the mydsl-load command to load dsl packages from the command line: mydsl-load mplayer.dsl Posted by lothario on Feb. 07 2006,06:17
Ok, to avoid that I rebooted the system and the first thing I did was:
The result:
What did I do wrong? Please help. Posted by clacker on Feb. 07 2006,13:58
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 > |