Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Recording a radio station

2 views
Skip to first unread message

Dave Kelly

unread,
Oct 21, 2009, 11:21:28 PM10/21/09
to
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

jellybean stonerfish

unread,
Oct 22, 2009, 1:24:30 AM10/22/09
to

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-alltid-klassisk-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.


Tapio Salonsaari

unread,
Oct 22, 2009, 3:34:08 AM10/22/09
to
On 2009-10-22, Dave Kelly <davee...@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

alex

unread,
Oct 30, 2009, 10:51:36 AM10/30/09
to

you can definitely do this in vlc.

0 new messages