Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 10-21-2009, 08:20 PM
Dave Kelly
Newsgroup Contributor
 
Posts: n/a
Recording a radio station

If I had 'RhythmBox' configured to an internet radio station, that
data stream would be coming into the computer throught a port. Is
this correct?

If true, can I do something like this?

cat /dev/port > storage.file

TIA
Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 10-21-2009, 08:20 PM
  #2 (permalink)  
Old 10-21-2009, 10:30 PM
jellybean stonerfish
Newsgroup Contributor
 
Posts: n/a
Re: Recording a radio station

On Wed, 21 Oct 2009 20:21:28 -0700, Dave Kelly wrote:

> If I had 'RhythmBox' configured to an internet radio station, that data
> stream would be coming into the computer throught a port. Is this
> correct?
>
> If true, can I do something like this?
>
> cat /dev/port > storage.file
>
> TIA
> Dave


I don't have an answer for your question, but if you are trying to grab a
stream there may be other ways. If you right click the station in
rhythmbox, and choose properties, you can find the url of the stream.
Sometimes wget will work to grab a stream.

wget http://radio.hbr1.com:19800/trance.ogg

Sometimes the real stream is a step or two farther, for example:

http://media.hiof.no/streams/m3u/nrk...sk-172.ogg.m3u

will fetch the file "nrk-alltid-klassisk-172.ogg.m3u"
This file contains the string:

http://radio.hiof.no/nrk-alltid-klassisk-172.ogg

So the final command of:

wget http://radio.hiof.no/nrk-alltid-klassisk-172.ogg

will grab the stream. As wget is grabbing the stream to a file, you can
open another terminal and use mpg123 or ogg123 to play the file that wget
is creating.

If your streams are just mp3 or ogg you can also try "streamripper" to
grab the stream, and break it up into songs with proper names if lucky.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 10-22-2009, 12:40 AM
Tapio Salonsaari
Newsgroup Contributor
 
Posts: n/a
Re: Recording a radio station

On 2009-10-22, Dave Kelly <daveekelly1@embarqmail.com> wrote:
> If true, can I do something like this?
> cat /dev/port > storage.file


That most likely won't work. But you can achieve the results with i.e.
mplayer. Something like this: mplayer -dumpstream -dumpfile radio.mp3
http://url.of.the/radio

There's similar feature in many of the stream players, but I'm not
too familiar with them. VLC atleast can do the trick with nice GUI
frontend.

--
Take
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 10-30-2009, 06:50 AM
alex
Newsgroup Contributor
 
Posts: n/a
Re: Recording a radio station

Dave Kelly wrote:
> If I had 'RhythmBox' configured to an internet radio station, that
> data stream would be coming into the computer throught a port. Is
> this correct?
>
> If true, can I do something like this?
>
> cat /dev/port > storage.file
>
> TIA
> Dave


you can definitely do this in vlc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio Station asx file not playing in WMP11 heywoodg Windows Vista 5 01-23-2008 07:10 AM
trying to play radio station M&M Windows Media 1 09-23-2007 10:00 AM
Missing Radio Station Yoda of Borg Windows Media 1 06-12-2007 07:30 PM
When I try to play any radio station i get the following error :( BrianDotNet Windows Media 0 06-01-2007 06:40 PM
need help can't play radio station Wynstin Windows Media 0 02-04-2007 10:47 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 12:03 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0