Listening to Online Radio

In the evenings I like to listen to The Last Word on . Unfortunately I’d also like to listen to Radio 1 from RTE. Here’s how I’ll do it:

  • TodayFM streams using the Microsoft ASX format. Mplayer understands this format with the right plugin and can even play online streams! What’s more, Mplayer can also save it’s output to a file. With this command I can save the stream for later listening:

    mplayer -ao pcm -aofile todayfm.wav -vc null -vo null

  • Mplayer can also play Realaudio but the one available through apt-get doesn’t so I’ll just listen to Radio 1 in realtime.

Does anyone know how I can pipe the output of Mplayer to lame or another mp3 encoder?

By Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Twitter.

2 replies on “Listening to Online Radio”

Leave a Reply