LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2006, 08:12 AM   #1
OR13
Member
 
Registered: Jun 2006
Distribution: Fedora 14
Posts: 51

Rep: Reputation: 15
Redirecting sound from streamed audio


Hello
Every day I listen to an Internet radio broadcast on my computer, using Real Player 9 (RealOne). It's naturally a .ram stream.
I would like to be able to "tape" the broadcast - redirect this stream and save a few minutes as a sound file (any will do - wave, mp3, vorbis...).
Can I do this? If so, how can I? Is there an easy way?

Thank you,
O.R.


P.S.: This computer is mine, I have all the privilegies and access to the root user, etc.
 
Old 08-01-2006, 09:06 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
mplayer can capture RealAudio/Video streams. Just do

Code:
mplayer -dumpstream -dumpfile mystreamname.ra rtsp://path.to.stream/file.ram
You don't need root access for this, you can do it as an unprivileged user.
 
Old 08-01-2006, 09:21 AM   #3
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Rep: Reputation: 15
This works well for me. Same but diffrent I think.

mplayer -playlist playlist.ram -ao pcm -ao pcm:file=tmp.wav -vc dummy -vo null
 
Old 08-01-2006, 11:07 AM   #4
OR13
Member
 
Registered: Jun 2006
Distribution: Fedora 14
Posts: 51

Original Poster
Rep: Reputation: 15
Thank you both!!! This:
Quote:
Originally Posted by TheBrick
mplayer -playlist playlist.ram -ao pcm -ao pcm:file=tmp.wav -vc dummy -vo null
worked.

Thank you dearly,
O.R.
 
Old 12-23-2006, 09:33 PM   #5
nymusicman
Member
 
Registered: Jun 2004
Location: Aurora, IL
Distribution: Slackware Current
Posts: 162

Rep: Reputation: 30
I know this doesn't apply to live radio but there are some people that like to use this method to allow people to listen to things without having them.

I have an hour and a half stream to get and I was wondering if there was a program that could download and covert the stream rather than "record" while playing.

I guess what I'm saying is instead of waiting an hour and half to have it downloaded and then spend an hour and a half listening to it I would like something that could just download it and then convert it.
 
Old 12-24-2006, 08:41 AM   #6
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
nymusicman, what you can do is use mplayer to dump the stream and then listen to the stream while it's downloading. e.g.:

Code:
mplayer mms://stream.host.url/stream.path.asf -dumpstream -dumpfile mystream.asf &
mplayer mystream.asf
Hope this helps.
 
  


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
Sound card recognized but no sound on SoundMAX Integrated Digital Audio xzallion Fedora 46 12-13-2006 10:18 PM
audio cd works - mp3's, streaming audio, flash sound don't spoody_goon Linux - Software 7 07-08-2006 03:11 PM
Redirecting CD audio to OSS? jamyskis Linux - General 1 05-23-2006 01:10 PM
App to download streamed audio file ? kozaki Linux - Software 4 10-15-2005 08:20 AM
Ensoniq 5880 Audio PCI test sound okay but no Sound from CD Player ashok17 Linux - Hardware 0 10-04-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 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
Open Source Consulting | Domain Registration