LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2003, 05:57 PM   #1
Van Gogh
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Distribution: Fedora Core 2
Posts: 21

Rep: Reputation: 15
Streaming audio in Linux?


Hi,

Is it possible to access streaming audio in Linux (redhat 9)? I have been trying to use internet radio but haven't had success. Any info will be appreciated.

Thanks
 
Old 12-28-2003, 06:01 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
i suggest streamtuner
 
Old 12-28-2003, 06:35 PM   #3
Van Gogh
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by synaptical
i suggest streamtuner
Thanks for the info. I went to the site but I don't know where to look. I went here but didn't know what to do. Sorry if I sound dumb.
 
Old 12-28-2003, 11:32 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Well, I often listen to virgin because the FM signal isn't available outside London.

So, I go to the virgin site (link above), I click on the listen now link which swings me to the streaming/download page, they do various streams like windows media, realplayer and ogg and it depends which stream you select, on which media player you use.

You might change your profile so people know what distro you use (different distro's - different default media players etc etc) - anyway, my mandrake install, has xmms as a music media type player, and if I check the menu entry for video I have real player as well,and actually playing the streams is pretty similar.

So, XMMS, open that, then click the "PL" radio button and the playlist window should open, then hit the "load list" button, which opens another dialogue window, now presuming that you selected an ogg stream (I have a broadband service so I would use the 96vr.ogg stream) click on the file that you would have downloaded when you selected the stream (the file from virgin is called live.pls) from whatever site you want to listen to and click OK,
You should then have the option for the stream in the playlist window, which I would then double clik on and xmms buffers the stream and starts playing.

I don't know much about this streaming stuff, as I only managed to get xmms working by chance. Before that, I used realplayer because I was more familiar with it, the mehtod is pretty similar, i.e. download the file from the site you want to listen to but then using the dropdown I think it's "open file" that you need to select from, then it should buffer the stream and start it playing (though there's a registration thing to fill out with realplayer the first time you use it just uncheck the send me loads of shit option).

Hope this points you in the right direction

regards

John
 
Old 12-29-2003, 10:33 AM   #5
Van Gogh
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for the info, John. Unfortunately, I am unable to get even the stream from Virgin. I did exactly what you suggested. I get an "unable to connect to server" error. I have a broadband connection as well and I am able to listen to streams in Windows.

Still not able to see how to install streamtuner.


P.S.- I am trying to use XMMS as well.

Last edited by Van Gogh; 12-29-2003 at 10:40 AM.
 
Old 12-29-2003, 11:10 AM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
xmms should be able to handle streams on its own. streamtuner is just an app that gives you access to a lot of shoutcast streams in one place -- the actual stream is handled through your audio app. try one of the streams at http://somafm.com/ -- those are mp3 streams and they should open in xmms if your browser is configured properly (sometimes groove salad is a little buggy -- try one of the other ones). if they don't work, either configure your browser with the right mime types, or install plugger to handle them. http://fredrik.hubbe.net/plugger.html

if you are using Red hat, the problem might be related to their non-inclusion of certain audio codecs. can you listen to other audio in xmms besides streaming -- mp3s on your hard drive, for example? if not, the solution is very simple: do a google.com/linux search for the rpm, then install it as root with:
rpm -ivh <filename.rpm>

gl, keep us posted.
 
Old 12-30-2003, 12:28 AM   #7
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
I was thinking on similar lines synaptical, that's partly why I suggested trying virgin's ogg stream - even an idiot like me managed to listen to that without any problems.

I was trying to think what else Van Gogh might not have installed - but being a mandrake user, I drew a blank.

Does the redhat rpm for mp3's affect ogg streams/feeds as well ??

regards

John

p.s. and please don't think I'm being critical of you Van Gogh, I wouldn't dare. I just happen to be a n00b who's been meddling with linux for 2 years and what I really know about it could be written on the back of a very small postage stamp.
 
Old 12-30-2003, 01:19 AM   #8
Van Gogh
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks synaptical and bigjohn,

I tried uninstalling xmms and reinstalling it, running it from root. I also installed the mp3 plugin for xmms. I am not sure what other plugins i might need. Btw, I can't even play mp3s stored on my harddrive . I think I have installed the mp3 plugin, though. When I try to play mp3s from my hd, I get some binary characters in the player window. On the other hand, clicking some mp3 links on the web allows me to listen to them through the internet browser (Mozilla) itself! I don't know how.


bigjohn, no worries. I am a beginner and I know very little about Linux so any help is appreciated.
 
Old 12-30-2003, 12:58 PM   #9
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
if you can hear sound in other apps, the problem must be with xmms. go into the options/preferences, and see what the output plugin is. try setting it to different plugins and see if that helps. OSS probably would be a good choice. i'm trying to think of what seeing the binary numbers might mean, but i'm not coming up with anything. but who knows, it might have something to do with the plugin.

p.s. don't run it as root.

pps. the browser itself can't play sounds, it needs a helper app. if you could find out what that is, it might help sorting out the xmms problem.

>edit: another idea is to open xmms in a console, and see what error messages it gives you when you try to play something.

Last edited by synaptical; 12-30-2003 at 03:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Streaming Win Audio and Movies in Linux? LQtoto Linux - Software 6 06-15-2004 02:13 PM
What program/plugin in Linux works well for streaming audio/video? squirrels Linux - Newbie 7 06-10-2004 01:05 PM
Streaming video/audio from linux to net? Muddy Linux - Software 3 04-06-2004 09:03 PM
Can you listen to streaming audio with Linux? Lee Oswald Linux - General 3 12-15-2003 07:06 AM
What is a good streaming audio server for Linux?! lsakhvoruk Linux - Software 1 07-14-2002 07:33 AM


All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration