aoakley.com
A Linux/BSD shell script to convert RealAudio streams such as BBC Radio Listen Again into .mp3 files (translation: it lets you record radio shows and play them on your iPod).
Public domain by Andrew Oakley.
Latest version always available from: www.aoakley.com/misc/getram
Requires MPlayer v1.0 or newer
Requires LAME
Requires mp3info
getram [-d] [-m] [-t N] http://site/path/filename.ram [outputfilename]
-d : datestamps yyyymmdd-outputfilename
-m : mono 24 kbit/s (default is stereo 96 kbit/s)
-t : timeout (stop recording) after N seconds
getram -d -t 1800 "http://www.bbc.co.uk/radio4/realplayer/media/fmg2.ram" Radio4-Live.mp3
...records 30 minutes of live BBC Radio 4 in 96kbit stereo and datestamps it.
getram -m http://www.bbc.co.uk/radio/aod/shows/rpms/radio4/latestnewsbulletin.ram
...records the whole of the most recent news bulletin in 24kbit mono.
You can find .ram URLs by going to BBC Radio 4 Listen Again, selecting a programme, right-clicking the "Listen in stand-alone RealPlayer" and copying the URL. Alternatively you can view the HTML source and look for the .ram URL. You may use any .ram streams, use is not limited to BBC Radio 4.
Public Domain - Andrew Oakley - 2007-09-10
| aoakley.com | Back - Home |