Ubuntu MPlayer not detecting end of stream

There is a bug in the Ubuntu multiverse version of MPlayer that bit me when trying to write the All Songs Considered script for Linux. At the end of the Real Audio stream, MPlayer continues to dump empty frames into the output file instead of exiting. This does not happen if you compile mplayer yourself with version 1.0RC1.

I recommend compiling from source if you’re attempting to record streaming audio.