Blog

Posted 2005/07/22

Recording an audio stream using Mplayer

To output straight to a WAV file (rather than just spool the raw stream to disk):
mplayer -vo null -vc null -ao pcm:file=output_audio.wav rtsp://rmv8.bbc.net.uk/radio4/worldtonight/worldtonight_tue.ra
The example is for a BBC Radio 4 Real Player stream.