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 http://www.virtuetv.com/clients/srh/today_fm.asx
- 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?