Results 1 to 6 of 6
Can someone explain to me how I can listen to the stream at http://media.hiof.no/streams/m3u/nrk-mpetre-128.m3u in mpg123? I can't make it work....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-03-2003 #1Just Joined!
- Join Date
- Apr 2003
- Posts
- 6
Streaming in mpg123
Can someone explain to me how I can listen to the stream at http://media.hiof.no/streams/m3u/nrk-mpetre-128.m3u in mpg123? I can't make it work.
- 05-03-2003 #2Linux Enthusiast
- Join Date
- Feb 2003
- Location
- Ontario, Canada
- Posts
- 556
select open with /usr/bin/xmms (xmms should be there)
if you are using red hat 8 or higher you need to the mpg123 codec to listen to mp3's - go to the xmms website to get it.
- 05-03-2003 #3Just Joined!
- Join Date
- Apr 2003
- Posts
- 6
I should have mentioned that I am trying to use it in console only. I don't have the possibility to run X because it is a relatively old machine. Therefore, no XMMS

You do not know how to use mpg123 to play the stream?
- 05-04-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
mpg123 can't "play" m3u files. Download the m3u file and make mpg123 play from the actual URL in there instead. Note that if this is mpg321 and not truly mpg123, it can't play directly over HTTP, so you'll have to use wget and pipe it into mpg123, somewhat like this:
(When you have mpg321, mpg123 is a symlink pointing to mpg321)Code:wget -O - `wget -O - http://media.hiof.no/streams/m3u/nrk-mpetre-128.m3u` | mpg123 -
For better performance, you might have to pipe it through "buffer" as well. If you don't have buffer, search rpmfind.net for it.
- 05-04-2003 #5Linux User
- Join Date
- Feb 2003
- Location
- Norway, Asker
- Posts
- 267
or you can use mplayer, like "mplayer url"
- 05-04-2003 #6Just Joined!
- Join Date
- Apr 2003
- Posts
- 6
thanks! This worked perfectly.
Originally Posted by Dolda2000


Reply With Quote
