Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I record a radio stream in Linux like the screamer in Windows? Does anyone have any idea or suggestion?

share|improve this question
    
Are you talking about radio from an FM receiver, or radio as a stream over the Internet? If the latter, what protocol does it use? –  Gilles Aug 7 '13 at 23:10

3 Answers 3

GUI

Audacity

If you want a GUI to do this you can do it using Audacity.

excerpt from wiki

In the drop-down menu on Audacity's Device Toolbar, choose “Wave Out” or “Stereo Mix” as the input source. (The exact name may be different, depending on your computer's sound drivers). On Windows, if you don't have a “Wave Out” or “Stereo Mix” option, or if it won't record, go to the system Control Panel and try to enable this option there. For instructions see: Using the Control Panel on the Wiki.

Streamtuner

You can also install streamtuner to browse radio stations.

# Debian/Ubuntu
$ apt-get install streamtuner

# Fedora/CentOS/RHEL
$ yum install streamtuner

screenshot of streamtuner

   ss of streamtuner

commandline

You can install streamripper like so:

# Debian/Ubuntu
$ sudo apt-get install streamripper

# Fedora/CentOS/RHEL
$ sudo yum install streamripper
example

To download a stream simply do the following:

$ streamripper <url>

This will save each stream into a .mp3 file.

References

share|improve this answer

I'm not familiar with screamer, but it sounds like streamripper is what you want. It may already be available in your distro or you can get it at http://streamripper.sourceforge.net/

share|improve this answer

Check my radio:

Example WeFunkRadio.

For the first download playlist and get server address & port:

# http://www.wefunkradio.com/play/shoutcast.pls
# cat shoutcast.pls 
[playlist]
NumberOfEntries=2
File1=http://wefunkhub.com/radiodrops/introdrop-keithmurray2.mp3
File2=http://stream-90.shoutcast.com:80/wefunk_radio_mp3_64kbps

This is the address of server: http://stream-90.shoutcast.com:80

To play stream:

# mplayer "http://stream-90.shoutcast.com:80"

To save stream:

# wget -O stream.mp3 "http://stream-90.shoutcast.com:80"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.